Class: Plasma::Interpreter::PlasmaNode

Inherits:
Treetop::Runtime::SyntaxNode
  • Object
show all
Defined in:
lib/plasma/interpreter/plasma_grammarnode.rb

Instance Method Summary collapse

Instance Method Details

#empty?Boolean

Returns:

  • (Boolean)


174
175
176
# File 'lib/plasma/interpreter/plasma_grammarnode.rb', line 174

def empty?
  false
end

#evaluate(env) ⇒ Object



170
171
172
# File 'lib/plasma/interpreter/plasma_grammarnode.rb', line 170

def evaluate(env)
  orb.evaluate(env)
end