TypeSlice

This is so we can slice a TypeTuple

Constructors

this
this(Type next, Expression lwr, Expression upr)
Undocumented in source.

Members

Functions

accept
void accept(Visitor v)
Undocumented in source. Be warned that the author may not have intended to support it.
kind
const(char)* kind()
Undocumented in source. Be warned that the author may not have intended to support it.
syntaxCopy
TypeSlice syntaxCopy()
Undocumented in source. Be warned that the author may not have intended to support it.

Variables

lwr
Expression lwr;
Undocumented in source.
upr
Expression upr;
Undocumented in source.

Inherited Members

From TypeNext

next
Type next;
Undocumented in source.
checkDeprecated
void checkDeprecated(Loc loc, Scope* sc)
Undocumented in source. Be warned that the author may not have intended to support it.
hasWild
int hasWild()
Undocumented in source. Be warned that the author may not have intended to support it.
nextOf
Type nextOf()

For TypeFunction, nextOf() can return NULL if the function return type is meant to be inferred, and semantic() hasn't yet ben run on the function. After semantic(), it must no longer be NULL.

makeConst
Type makeConst()
Undocumented in source. Be warned that the author may not have intended to support it.
makeImmutable
Type makeImmutable()
Undocumented in source. Be warned that the author may not have intended to support it.
makeShared
Type makeShared()
Undocumented in source. Be warned that the author may not have intended to support it.
makeSharedConst
Type makeSharedConst()
Undocumented in source. Be warned that the author may not have intended to support it.
makeWild
Type makeWild()
Undocumented in source. Be warned that the author may not have intended to support it.
makeWildConst
Type makeWildConst()
Undocumented in source. Be warned that the author may not have intended to support it.
makeSharedWild
Type makeSharedWild()
Undocumented in source. Be warned that the author may not have intended to support it.
makeSharedWildConst
Type makeSharedWildConst()
Undocumented in source. Be warned that the author may not have intended to support it.
makeMutable
Type makeMutable()
Undocumented in source. Be warned that the author may not have intended to support it.
constConv
MATCH constConv(Type to)
Undocumented in source. Be warned that the author may not have intended to support it.
deduceWild
MOD deduceWild(Type t, bool isRef)
Undocumented in source. Be warned that the author may not have intended to support it.
transitive
void transitive()
Undocumented in source. Be warned that the author may not have intended to support it.
accept
void accept(Visitor v)
Undocumented in source. Be warned that the author may not have intended to support it.

Meta