Mercurial > projects > dang
comparison lexer/Token.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 | 01c2c49775ef |
comparison
equal
deleted
inserted
replaced
157:bb01c1dc452a | 158:57b0b4464a0b |
---|---|
204 For, | 204 For, |
205 Switch, Case, Default, Break, | 205 Switch, Case, Default, Break, |
206 Return, Cast, | 206 Return, Cast, |
207 | 207 |
208 Module, Import, | 208 Module, Import, |
209 | |
210 New, | |
209 | 211 |
210 /* Attributes */ | 212 /* Attributes */ |
211 Public, Private, Package, Export, Protected, | 213 Public, Private, Package, Export, Protected, |
212 Static, | 214 Static, |
213 Final, | 215 Final, |
309 Tok.Const:"Const", | 311 Tok.Const:"Const", |
310 Tok.Abstract:"Abstract", | 312 Tok.Abstract:"Abstract", |
311 Tok.Override:"Override", | 313 Tok.Override:"Override", |
312 Tok.Deprecated:"Deprecated", | 314 Tok.Deprecated:"Deprecated", |
313 Tok.Auto:"Auto", | 315 Tok.Auto:"Auto", |
314 Tok.Extern:"Extern" | 316 Tok.Extern:"Extern", |
317 Tok.New:"New" | |
315 ]; | 318 ]; |
316 } | 319 } |