dil.semantic.Analysis

Members

Functions

debugBranchChoice
bool debugBranchChoice(Token* cond, CompilationContext context)

Returns true if the first branch (of a debug declaration/statement) or false if the else-branch should be compiled in.

integerPromotion
void integerPromotion(Expression e)

Performs an integer promotion on the type of e, according to spec.

pragmaSemantic
void pragmaSemantic(Scope scop, Token* pragmaLoc, Identifier* ident, Expression[] args)

Common semantics for pragma declarations and statements.

pragma_lib
void pragma_lib(Scope scop, Token* pragmaLoc, Expression[] args)

Evaluates a lib pragma.

pragma_msg
void pragma_msg(Scope scop, Token* pragmaLoc, Expression[] args)

Evaluates a msg pragma.

versionBranchChoice
bool versionBranchChoice(Token* cond, CompilationContext context)

Returns true if the first branch (of a version declaration/statement) or false if the else-branch should be compiled in.

Meta

Authors

Aziz Köksal

License

GPL3 $(Maturity average)