|
| Builder (std::shared_ptr< hilti::Context > context) |
|
Statement | block () |
|
Expression | addTmp (const std::string &prefix, const Expression &init) |
|
Expression | addTmp (const std::string &prefix, const Type &t, const std::vector< Expression > &args={}) |
|
Expression | addTmp (const std::string &prefix, const Type &t, const Expression &init) |
|
void | addLocal (ID id, Type t, Meta m=Meta()) |
|
void | addLocal (ID id, Expression init, Meta m=Meta()) |
|
void | addLocal (ID id, Type t, Expression init, Meta m=Meta()) |
|
void | addLocal (ID id, Type t, std::vector< hilti::Expression > args, Meta m=Meta()) |
|
void | addExpression (const Expression &expr) |
|
void | addAssert (Expression cond, std::string msg, Meta m=Meta()) |
|
void | addAssign (Expression dst, Expression src, const Meta &m=Meta()) |
|
void | addSumAssign (Expression dst, Expression src, const Meta &m=Meta()) |
|
void | addAssign (ID dst, Expression src, const Meta &m=Meta()) |
|
void | addBreak (Meta m=Meta()) |
|
void | addContinue (Meta m=Meta()) |
|
void | addSumAssign (ID dst, Expression src, const Meta &m=Meta()) |
|
void | addCall (ID id, std::vector< Expression > v, const Meta &m=Meta()) |
|
void | addMemberCall (Expression self, const ID &id, std::vector< Expression > v, const Meta &m=Meta()) |
|
void | addComment (std::string comment, hilti::statement::comment::Separator separator=hilti::statement::comment::Separator::Before, const Meta &m=Meta()) |
|
void | addReturn (Expression e, Meta m=Meta()) |
|
void | addReturn (Ctor c, const Meta &m=Meta()) |
|
void | addReturn (Meta m=Meta()) |
|
void | addThrow (Expression excpt, Meta m=Meta()) |
|
void | addRethrow (Meta m=Meta()) |
|
void | addDebugMsg (const std::string &stream, const std::string &fmt, std::vector< Expression > args={}) |
|
void | addDebugIndent (const std::string &stream) |
|
void | addDebugDedent (const std::string &stream) |
|
void | addPrint (const std::vector< Expression > &exprs) |
|
void | addPrint (const Expression &expr) |
|
auto | addWhile (const statement::Declaration &init, Expression cond, Meta m=Meta()) |
|
auto | addWhile (Expression cond, Meta m=Meta()) |
|
auto | addWhileElse (const statement::Declaration &init, Expression cond, Meta m=Meta()) |
|
auto | addWhileElse (Expression cond, Meta m=Meta()) |
|
auto | addIf (const statement::Declaration &init, Expression cond, Meta m=Meta()) |
|
auto | addIf (const statement::Declaration &init, Meta m=Meta()) |
|
auto | addIf (Expression cond, Meta m=Meta()) |
|
auto | addIfElse (const statement::Declaration &init, Expression cond, Meta m=Meta()) |
|
auto | addIfElse (const statement::Declaration &init, Meta m=Meta()) |
|
auto | addIfElse (Expression cond, Meta m=Meta()) |
|
auto | addBlock (Meta m=Meta()) |
|
auto | addSwitch (Expression cond, Meta m=Meta()) |
|
auto | addSwitch (const statement::Declaration &init, Expression cond, Meta m=Meta()) |
|
auto | addTry (Meta m=Meta()) |
|
bool | empty () const |
|