Mercurial > projects > ddmd
view dmd/OverloadSet.d @ 77:ad4792a1cfd6
more D-ification container accessing
author | Eldar Insafutdinov <e.insafutdinov@gmail.com> |
---|---|
date | Sun, 29 Aug 2010 14:36:55 +0100 |
parents | 7e0d548de9e6 |
children | e28b18c23469 |
line wrap: on
line source
module dmd.OverloadSet; import dmd.Dsymbol; import dmd.ArrayTypes; class OverloadSet : Dsymbol { Dsymbols a; // array of Dsymbols this() { a = new Dsymbols(); } void push(Dsymbol s) { a.push(s); } override OverloadSet isOverloadSet() { return this; } override string kind() { return "overloadset"; } }