Class: Plasma::Interpreter::SeqNode
- Inherits:
-
ColNode
- Object
- Treetop::Runtime::SyntaxNode
- PlasmaNode
- ColNode
- Plasma::Interpreter::SeqNode
- 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
234 235 236 237 238 239 240 |
# File 'lib/plasma/interpreter/plasma_grammarnode.rb', line 234 def evaluate(env) env.scope do |env| col.inject(nil) do |value, statement| statement.evaluate(env) end end end |