Class: Plasma::Interpreter::DeclNode
- Inherits:
-
ColNode
- Object
- Treetop::Runtime::SyntaxNode
- PlasmaNode
- ColNode
- Plasma::Interpreter::DeclNode
- Defined in:
- lib/plasma/interpreter/plasma_grammarnode.rb
Instance Method Summary collapse
Methods inherited from ColNode
Methods inherited from PlasmaNode
Instance Method Details
#evaluate(env) ⇒ Object
226 227 228 229 230 |
# File 'lib/plasma/interpreter/plasma_grammarnode.rb', line 226 def evaluate(env) col.inject(nil) do |value, statement| statement.evaluate(env) end end |