Mercurial > projects > ddmd
view dmd/NewAnonClassExp.d @ 0:10317f0c89a5
Initial commit
author | korDen |
---|---|
date | Sat, 24 Oct 2009 08:42:06 +0400 |
parents | |
children | 2e2a5c3f943a |
line wrap: on
line source
module dmd.NewAnonClassExp; import dmd.Expression; import dmd.OutBuffer; import dmd.Loc; import dmd.Scope; import dmd.ClassDeclaration; import dmd.HdrGenState; import dmd.ArrayTypes; import dmd.TOK; class NewAnonClassExp : Expression { /* thisexp.new(newargs) class baseclasses { } (arguments) */ Expression thisexp; // if !NULL, 'this' for class being allocated Expressions newargs; // Array of Expression's to call new operator ClassDeclaration cd; // class being instantiated Expressions arguments; // Array of Expression's to call class constructor this(Loc loc, Expression thisexp, Expressions newargs, ClassDeclaration cd, Expressions arguments) { assert(false); super(loc, TOK.init, 0); } Expression syntaxCopy() { assert(false); } Expression semantic(Scope sc) { assert(false); } bool checkSideEffect(int flag) { assert(false); } void toCBuffer(OutBuffer buf, HdrGenState hgs) { assert(false); } bool canThrow() { assert(false); } }