2 // Compiler implementation of the D programming language
3 // Copyright (c) 1999-2006 by Digital Mars
5 // written by Walter Bright
6 // http://www.digitalmars.com
7 // License for redistribution is by either the Artistic License
8 // in artistic.txt, or the GNU General Public License in gnu.txt.
9 // See the included readme.txt for details.
23 struct DebugSymbol
: Dsymbol
27 DebugSymbol(Loc loc
, Identifier
*ident
);
28 DebugSymbol(Loc loc
, unsigned level
);
29 Dsymbol
*syntaxCopy(Dsymbol
*);
31 int addMember(Scope
*sc
, ScopeDsymbol
*s
, int memnum
);
32 void semantic(Scope
*sc
);
33 void toCBuffer(OutBuffer
*buf
, HdrGenState
*hgs
);
37 struct VersionSymbol
: Dsymbol
41 VersionSymbol(Loc loc
, Identifier
*ident
);
42 VersionSymbol(Loc loc
, unsigned level
);
43 Dsymbol
*syntaxCopy(Dsymbol
*);
45 int addMember(Scope
*sc
, ScopeDsymbol
*s
, int memnum
);
46 void semantic(Scope
*sc
);
47 void toCBuffer(OutBuffer
*buf
, HdrGenState
*hgs
);
51 #endif /* DMD_VERSION_H */