Mercurial > projects > dang
comparison lexer/Keyword.d @ 158:57b0b4464a0b
Parsing "new", putting it in AST and performs some tests on it. Eg. if the contructor exists and the params matches.
author | Anders Johnsen <skabet@gmail.com> |
---|---|
date | Tue, 22 Jul 2008 00:33:58 +0200 |
parents | 0ea5d2f3e96b |
children | 08f68d684047 |
comparison
equal
deleted
inserted
replaced
157:bb01c1dc452a | 158:57b0b4464a0b |
---|---|
44 "typeid" : Tok.Typeid, | 44 "typeid" : Tok.Typeid, |
45 "typeof" : Tok.Typeof, | 45 "typeof" : Tok.Typeof, |
46 "sizeof" : Tok.Sizeof, | 46 "sizeof" : Tok.Sizeof, |
47 "alias" : Tok.Alias, | 47 "alias" : Tok.Alias, |
48 "this" : Tok.This, | 48 "this" : Tok.This, |
49 "new" : Tok.New, | |
49 // "super" : Tok.Super, | 50 // "super" : Tok.Super, |
50 | 51 |
51 // control flow | 52 // control flow |
52 "if" : Tok.If, | 53 "if" : Tok.If, |
53 "else" : Tok.Else, | 54 "else" : Tok.Else, |