Mercurial > projects > ddmd
diff dmd/TypeSlice.d @ 0:10317f0c89a5
Initial commit
author | korDen |
---|---|
date | Sat, 24 Oct 2009 08:42:06 +0400 |
parents | |
children | d42cd5917df4 |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/dmd/TypeSlice.d Sat Oct 24 08:42:06 2009 +0400 @@ -0,0 +1,52 @@ +module dmd.TypeSlice; + +import dmd.Type; +import dmd.TypeNext; +import dmd.MOD; +import dmd.Expression; +import dmd.Loc; +import dmd.Scope; +import dmd.Dsymbol; +import dmd.OutBuffer; +import dmd.HdrGenState; +import dmd.TY; + +class TypeSlice : TypeNext +{ + Expression lwr; + Expression upr; + + this(Type next, Expression lwr, Expression upr) + { + super(TY.init, null); + assert(false); + } + +version (DumbClone) { +} else { + Type clone() + { + assert(false); + } +} + + Type syntaxCopy() + { + assert(false); + } + + Type semantic(Loc loc, Scope sc) + { + assert(false); + } + + void resolve(Loc loc, Scope sc, Expression* pe, Type* pt, Dsymbol* ps) + { + assert(false); + } + + void toCBuffer2(OutBuffer buf, HdrGenState* hgs, MOD mod) + { + assert(false); + } +} \ No newline at end of file