- generateCode
void generateCode(FunctionNode node, CodeGenFlags flags)
Generates bytecode for FunctionNode
- generateCode
void generateCode(BlockNode node, CodeGenFlags flags)
generates bytecode for BlockNode
- generateCode
void generateCode(CodeNode node, CodeGenFlags flags)
generates bytecode for CodeNode
- generateCode
void generateCode(MemberSelectorNode node, CodeGenFlags flags)
generates bytecode for MemberSelectorNode
- generateCode
void generateCode(VariableNode node, CodeGenFlags flags)
generates bytecode for VariableNode.
- generateCode
void generateCode(ArrayNode node, CodeGenFlags flags)
generates bytecode for ArrayNode.
- generateCode
void generateCode(LiteralNode node, CodeGenFlags flags)
generates bytecode for LiteralNode.
- generateCode
void generateCode(NegativeValueNode node, CodeGenFlags flags)
generates bytecode for NegativeValueNode.
- generateCode
void generateCode(OperatorNode node, CodeGenFlags flags)
generates bytecode for OperatorNode.
- generateCode
void generateCode(SOperatorNode node, CodeGenFlags flags)
generates bytecode for SOperatorNode.
- generateCode
void generateCode(ReadElement node, CodeGenFlags flags)
generates bytecode for ReadElement
- generateCode
void generateCode(StatementNode node, CodeGenFlags flags)
generates bytecode for StatementNode
- generateCode
void generateCode(VarDeclareNode node, CodeGenFlags flags)
generates bytecode for VarDeclareNode
- generateCode
void generateCode(AssignmentNode node, CodeGenFlags flags)
generates bytecode for AssignmentNode
- generateCode
void generateCode(IfNode node, CodeGenFlags flags)
generates bytecode for IfNode
- generateCode
void generateCode(WhileNode node, CodeGenFlags flags)
generates bytecode for WhileNode
- generateCode
void generateCode(DoWhileNode node, CodeGenFlags flags)
generates bytecode for DoWhileNode
- generateCode
void generateCode(ForNode node, CodeGenFlags flags)
generates bytecode for ForNode
- generateCode
void generateCode(FunctionCallNode node, CodeGenFlags flags)
generates bytecode for FunctionCallNode
- generateCode
void generateCode(ReturnNode node, CodeGenFlags flags)
generates bytecode for ReturnNode
- generateCode
bool generateCode(ScriptNode node, Library scriptLibrary)
generates byte code for a ScriptNode. Use CodeGen.bytecode to get the generated bytecode
Contains functions to generate NaByteCode from AST nodes