Mercurial > projects > dang
comparison ast/Exp.d @ 110:2deb4c1f0d93
Make it compile
author | Anders Halager <halager@gmail.com> |
---|---|
date | Sun, 25 May 2008 14:56:05 +0200 |
parents | d1f68bfb58ae |
children | c658172ca8a0 |
comparison
equal
deleted
inserted
replaced
109:d1f68bfb58ae | 110:2deb4c1f0d93 |
---|---|
35 this.expType = expType; | 35 this.expType = expType; |
36 this.loc = loc; | 36 this.loc = loc; |
37 } | 37 } |
38 | 38 |
39 /// Get the type of the expression | 39 /// Get the type of the expression |
40 DType type(); | 40 abstract DType type(); |
41 | 41 |
42 /// Indicates which type the expression is - to avoid a lot of casts | 42 /// Indicates which type the expression is - to avoid a lot of casts |
43 ExpType expType; | 43 ExpType expType; |
44 | 44 |
45 /// The environment of the expression | 45 /// The environment of the expression |
441 { | 441 { |
442 super(ExpType.StringExp, loc); | 442 super(ExpType.StringExp, loc); |
443 this.str = str; | 443 this.str = str; |
444 } | 444 } |
445 | 445 |
446 override DType type() { return null; } | |
447 | |
446 char[] str; | 448 char[] str; |
447 } | 449 } |
448 | 450 |
449 class PointerIdentifier : Identifier | 451 class PointerIdentifier : Identifier |
450 { | 452 { |