Mercurial > projects > ddmd
diff dmd/DeleteDeclaration.d @ 0:10317f0c89a5
Initial commit
author | korDen |
---|---|
date | Sat, 24 Oct 2009 08:42:06 +0400 |
parents | |
children | 2e2a5c3f943a |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/dmd/DeleteDeclaration.d Sat Oct 24 08:42:06 2009 +0400 @@ -0,0 +1,65 @@ +module dmd.DeleteDeclaration; + +import dmd.FuncDeclaration; +import dmd.ArrayTypes; +import dmd.Loc; +import dmd.Dsymbol; +import dmd.Scope; +import dmd.OutBuffer; +import dmd.HdrGenState; +import dmd.STC; + +class DeleteDeclaration : FuncDeclaration +{ + Arguments arguments; + + this(Loc loc, Loc endloc, Arguments arguments) + { + assert(false); + super(loc, endloc, null, STC.init, null); + } + + Dsymbol syntaxCopy(Dsymbol) + { + assert(false); + } + + void semantic(Scope sc) + { + assert(false); + } + + void toCBuffer(OutBuffer buf, HdrGenState* hgs) + { + assert(false); + } + + string kind() + { + assert(false); + } + + bool isDelete() + { + assert(false); + } + + bool isVirtual() + { + assert(false); + } + + bool addPreInvariant() + { + assert(false); + } + + bool addPostInvariant() + { + assert(false); + } + +version (_DH) { + DeleteDeclaration isDeleteDeclaration() { return this; } +} +} \ No newline at end of file