Mercurial > projects > dil
diff trunk/src/dil/semantic/Symbols.d @ 615:a05457530ac2
Added member ident to class Symbol.
Commented out inheritance of dil.semantic.Symbol by class dil.semantic.Type.
author | Aziz K?ksal <aziz.koeksal@gmail.com> |
---|---|
date | Tue, 08 Jan 2008 22:15:59 +0100 |
parents | 8c5b1558244b |
children | 0749f30ef2d0 |
line wrap: on
line diff
--- a/trunk/src/dil/semantic/Symbols.d Tue Jan 08 21:28:53 2008 +0100 +++ b/trunk/src/dil/semantic/Symbols.d Tue Jan 08 22:15:59 2008 +0100 @@ -37,9 +37,8 @@ } /// Aggregates have function and field members. -class Aggregate : ScopeSymbol +abstract class Aggregate : ScopeSymbol { - Identifier* ident; /// The name of this aggregate. Function[] funcs; Variable[] fields; @@ -123,11 +122,10 @@ class Variable : Symbol { - StorageClass stc; - LinkageType linkType; + StorageClass stc; /// The storage classes. + LinkageType linkType; /// The linkage type. - Type type; - Identifier* ident; + Type type; /// The type of this variable. this(StorageClass stc, LinkageType linkType, Type type, Identifier* ident, Node varDecl)