Mercurial > projects > ddmd
view dmd/OverloadSet.d @ 192:eb38fdcb3e62 default tip
updated to compile with dmd2.062
author | korDen |
---|---|
date | Sat, 02 Mar 2013 01:25:52 -0800 |
parents | b0d41ff5e0df |
children |
line wrap: on
line source
module dmd.OverloadSet; import dmd.common; import dmd.Dsymbol; import dmd.ArrayTypes; import dmd.DDMDExtensions; class OverloadSet : Dsymbol { mixin insertMemberExtension!(typeof(this)); Dsymbols a; // array of Dsymbols this() { register(); a = new Dsymbols(); } void push(Dsymbol s) { a.push(s); } override OverloadSet isOverloadSet() { return this; } override string kind() { return "overloadset"; } }