Method | Description | |
---|---|---|
StmtNodeVisitor_CodeEmitor ( CodeEmitor, emitor, FuncMeta, meta ) : System | ||
emit ( ) : void | ||
getArg ( string name ) : int | ||
getLocal ( string name ) : LocalBuilder | ||
visit ( StmtNode_Assign, node ) : void | ||
visit ( StmtNode_Block, node ) : void | ||
visit ( StmtNode_Break, node ) : void | ||
visit ( StmtNode_Call, node ) : void | ||
visit ( StmtNode_Continue, node ) : void | ||
visit ( StmtNode_DeclareArg, node ) : void | ||
visit ( StmtNode_DeclareLocal, node ) : void | ||
visit ( StmtNode_For, node ) : void | ||
visit ( StmtNode_IfElse, node ) : void | ||
visit ( StmtNode_Return, node ) : void | ||
visit ( StmtNode_Stmts, node ) : void |
Method | Description | |
---|---|---|
allocLocal ( ) : LocalBuilder | ||
freeLocal ( LocalBuilder l ) : void |
public StmtNodeVisitor_CodeEmitor ( CodeEmitor, emitor, FuncMeta, meta ) : System | ||
emitor | CodeEmitor, | |
meta | FuncMeta, | |
return | System |
public getLocal ( string name ) : LocalBuilder | ||
name | string | |
return | LocalBuilder |
public visit ( StmtNode_Assign, node ) : void | ||
node | StmtNode_Assign, | |
return | void |
public visit ( StmtNode_Continue, node ) : void | ||
node | StmtNode_Continue, | |
return | void |
public visit ( StmtNode_DeclareArg, node ) : void | ||
node | StmtNode_DeclareArg, | |
return | void |
public visit ( StmtNode_DeclareLocal, node ) : void | ||
node | StmtNode_DeclareLocal, | |
return | void |
public visit ( StmtNode_IfElse, node ) : void | ||
node | StmtNode_IfElse, | |
return | void |
public visit ( StmtNode_Return, node ) : void | ||
node | StmtNode_Return, | |
return | void |