Class: EXEL::InstructionNode
- Defined in:
- lib/exel/instruction_node.rb
Overview
A leaf node in the AST that contains an instruction (Instruction, ListenInstruction) to be executed
Instance Attribute Summary
Attributes inherited from ASTNode
Instance Method Summary collapse
Methods inherited from ASTNode
#add_child, #initialize, #start
Constructor Details
This class inherits a constructor from EXEL::ASTNode
Instance Method Details
#run(context) ⇒ Object
8 9 10 |
# File 'lib/exel/instruction_node.rb', line 8 def run(context) @instruction.execute(context) end |