C# Class StmtNodeVisitor_CodeEmitor, DailyProjects

Inheritance: IStmtNodeVisitor
Exibir arquivo Open project: GHScan/DailyProjects Class Usage Examples

Public Methods

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

Private Methods

Method Description
allocLocal ( ) : LocalBuilder
freeLocal ( LocalBuilder l ) : void

Method Details

StmtNodeVisitor_CodeEmitor() public method

public StmtNodeVisitor_CodeEmitor ( CodeEmitor, emitor, FuncMeta, meta ) : System
emitor CodeEmitor,
meta FuncMeta,
return System

emit() public method

public emit ( ) : void
return void

getArg() public method

public getArg ( string name ) : int
name string
return int

getLocal() public method

public getLocal ( string name ) : LocalBuilder
name string
return LocalBuilder

visit() public method

public visit ( StmtNode_Assign, node ) : void
node StmtNode_Assign,
return void

visit() public method

public visit ( StmtNode_Block, node ) : void
node StmtNode_Block,
return void

visit() public method

public visit ( StmtNode_Break, node ) : void
node StmtNode_Break,
return void

visit() public method

public visit ( StmtNode_Call, node ) : void
node StmtNode_Call,
return void

visit() public method

public visit ( StmtNode_Continue, node ) : void
node StmtNode_Continue,
return void

visit() public method

public visit ( StmtNode_DeclareArg, node ) : void
node StmtNode_DeclareArg,
return void

visit() public method

public visit ( StmtNode_DeclareLocal, node ) : void
node StmtNode_DeclareLocal,
return void

visit() public method

public visit ( StmtNode_For, node ) : void
node StmtNode_For,
return void

visit() public method

public visit ( StmtNode_IfElse, node ) : void
node StmtNode_IfElse,
return void

visit() public method

public visit ( StmtNode_Return, node ) : void
node StmtNode_Return,
return void

visit() public method

public visit ( StmtNode_Stmts, node ) : void
node StmtNode_Stmts,
return void