Mercurial > projects > ddmd
view dmd/ThisDeclaration.d @ 114:e28b18c23469
added a module dmd.common for commonly used stuff
it currently holds code for consistency checking of predefined versions
also added a VisualD project file
author | Trass3r |
---|---|
date | Wed, 01 Sep 2010 18:21:58 +0200 |
parents | 2e2a5c3f943a |
children | e3afd1303184 |
line wrap: on
line source
module dmd.ThisDeclaration; import dmd.common; import dmd.VarDeclaration; import dmd.Dsymbol; import dmd.Loc; import dmd.Type; import dmd.Id; // For the "this" parameter to member functions class ThisDeclaration : VarDeclaration { this(Loc loc, Type t) { super(loc, t, Id.This, null); noauto = true; } override Dsymbol syntaxCopy(Dsymbol) { assert(false); } override ThisDeclaration isThisDeclaration() { return this; } }