CastExp

Possible to cast to one type while painting to another type

Constructors

this
this(Loc loc, Expression e, Type t)
Undocumented in source.
this
this(Loc loc, Expression e, ubyte mod)
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.
addDtorHook
Expression addDtorHook(Scope* sc)
Undocumented in source. Be warned that the author may not have intended to support it.
syntaxCopy
Expression syntaxCopy()
Undocumented in source. Be warned that the author may not have intended to support it.

Variables

mod
ubyte mod;
Undocumented in source.
to
Type to;
Undocumented in source.

Inherited Members

From UnaExp

e1
Expression e1;
Undocumented in source.
att1
Type att1;
Undocumented in source.
syntaxCopy
Expression syntaxCopy()
Undocumented in source. Be warned that the author may not have intended to support it.
incompatibleTypes
Expression incompatibleTypes()

The type for a unary expression is incompatible. Print error message.

setNoderefOperand
void setNoderefOperand()

Mark the operand as will never be dereferenced, which is useful info for @safe checks. Do before semantic() on operands rewrites them.

resolveLoc
Expression resolveLoc(Loc loc, Scope* sc)
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