Eval

The Eval class represent an evaluation of a statement. It may or may not succeed.

Alias This

cx

Members

Functions

asDouble
double asDouble()
asInt
int asInt()

Returns the evaluation result as integer if the kind is Int.

asLong
long asLong()
asStr
string asStr()
asUnsigned
ulong asUnsigned()
dispose
void dispose()

Trusted: on the assumption that dispose as implemented by the LLVM community is good _enough_. Any bugs should by now have been found.

isUnsignedInt
bool isUnsignedInt()
isValid
bool isValid()
Undocumented in source. Be warned that the author may not have intended to support it.
kind
CXEvalResultKind kind()
Undocumented in source. Be warned that the author may not have intended to support it.

Variables

cx
CType cx;
Undocumented in source.

Meta