Class: StringNode
- Inherits:
-
LiteralNode
- Object
- Struct
- LiteralNode
- StringNode
- Defined in:
- lib/turmali/nodes.rb,
lib/turmali/interpreter.rb
Instance Attribute Summary
Attributes inherited from LiteralNode
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 |