Mercurial > projects > ddmd
view dmd/OverloadSet.d @ 74:7e0d548de9e6
Switch Arrays of Dsymbols to the new templated Vector type
author | Eldar Insafutdinov <e.insafutdinov@gmail.com> |
---|---|
date | Sun, 29 Aug 2010 09:43:40 +0100 |
parents | 2e2a5c3f943a |
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"; } }