Mercurial > projects > dil
diff trunk/src/dil/semantic/Symbols.d @ 798:c24be8d4f6ab
Added documentation comments.
author | Aziz K?ksal <aziz.koeksal@gmail.com> |
---|---|
date | Sat, 01 Mar 2008 02:53:06 +0100 |
parents | f4b9680c0e16 |
children |
line wrap: on
line diff
--- a/trunk/src/dil/semantic/Symbols.d Fri Feb 29 22:51:24 2008 +0100 +++ b/trunk/src/dil/semantic/Symbols.d Sat Mar 01 02:53:06 2008 +0100 @@ -68,6 +68,7 @@ } } +/// A class symbol. class Class : Aggregate { this(Identifier* name, Node classNode) @@ -76,6 +77,7 @@ } } +/// An interface symbol. class Interface : Aggregate { this(Identifier* name, Node interfaceNode) @@ -84,6 +86,7 @@ } } +/// A union symbol. class Union : Aggregate { this(Identifier* name, Node unionNode) @@ -92,6 +95,7 @@ } } +/// A struct symbol. class Struct : Aggregate { this(Identifier* name, Node structNode) @@ -100,6 +104,7 @@ } } +/// An enum symbol. class Enum : ScopeSymbol { TypeEnum type; @@ -114,6 +119,7 @@ } } +/// A template symbol. class Template : ScopeSymbol { this(Identifier* name, Node templateNode) @@ -122,6 +128,7 @@ } } +/// A function symbol. class Function : ScopeSymbol { Protection prot; /// The protection. @@ -137,6 +144,7 @@ } } +/// A variable symbol. class Variable : Symbol { Protection prot; /// The protection. @@ -158,6 +166,7 @@ } } +/// An enum member symbol. class EnumMember : Variable { this(Identifier* name, @@ -169,6 +178,7 @@ } } +/// An alias symbol. class Alias : Symbol { this(Identifier* name, Node aliasNode) @@ -177,10 +187,9 @@ } } -/++ - A list of symbols that share the same identifier. - These can be functions, templates and aggregates with template parameter lists. -+/ +/// A list of symbols that share the same identifier. +/// +/// These can be functions, templates and aggregates with template parameter lists. class OverloadSet : Symbol { Symbol[] symbols;