Mercurial > projects > ddmd
view dmd/ThisDeclaration.d @ 181:aa70dca07cb0
ArrayExp.toCBuffer and TypeReturn.toCBuffer2
author | korDen |
---|---|
date | Mon, 18 Oct 2010 00:36:44 +0400 |
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; } }