Chris Lattner
|
2bafb0e8fb
|
Introduce new NamedDecl and FuncDecl classes. The difference between the two is syntactic sugar, so most clients want NamedDecl. This doesn't implement FuncDecl yet, which isn't a high prio for me in the short term.
Swift SVN r77
|
2010-07-24 19:09:09 +00:00 |
|
Chris Lattner
|
a860fe44db
|
implement support for printing types, add them to -ast-dump
Swift SVN r58
|
2010-07-22 06:33:03 +00:00 |
|
Chris Lattner
|
f7c8e53359
|
implement isa/dyncast and dumping support for exprs.
We can now parse and print this:
var x3 = 4+5*4+12/97;
into:
(vardecl 'x3'
(binary_expr
(binary_expr
(integer_literal 4)
(binary_expr
(integer_literal 5)
(integer_literal 4)))
(binary_expr
(integer_literal 12)
(integer_literal 97))))
Swift SVN r46
|
2010-07-19 06:52:08 +00:00 |
|
Chris Lattner
|
547b2a8003
|
implement vardecl dumping and Casting.h support for decls.
Swift SVN r45
|
2010-07-19 06:39:56 +00:00 |
|
Chris Lattner
|
340a7faa01
|
stub out Decl AST's.
Swift SVN r37
|
2010-07-19 04:59:13 +00:00 |
|