Class: StringNode

Inherits:
LiteralNode show all
Defined in:
lib/turmali/nodes.rb,
lib/turmali/interpreter.rb

Instance Attribute Summary

Attributes inherited from LiteralNode

#value

Instance Method Summary collapse

Instance Method Details

#eval(context) ⇒ Object



35
36
37
# File 'lib/turmali/interpreter.rb', line 35

def eval(context)
  Constants["String"].new_with_value(value)
end