Mercurial > projects > ddmd
view dmd/ThisDeclaration.d @ 185:13cf8da225ce
Merge.
author | Jacob Carlborg <doob@me.com> |
---|---|
date | Tue, 02 Nov 2010 08:49:51 +0100 |
parents | e3afd1303184 |
children | b0d41ff5e0df |
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) { register(); super(loc, t, Id.This, null); noauto = true; } override Dsymbol syntaxCopy(Dsymbol) { assert(false); } override ThisDeclaration isThisDeclaration() { return this; } }