Class: EleetScript::SymbolNode
- Inherits:
-
LiteralNode
- Object
- LiteralNode
- EleetScript::SymbolNode
- Defined in:
- lib/lang/nodes.rb,
lib/lang/interpreter.rb
Instance Method Summary collapse
Methods inherited from LiteralNode
Instance Method Details
#eval(context) ⇒ Object
132 133 134 |
# File 'lib/lang/interpreter.rb', line 132 def eval(context) context.root_ns["Symbol"].new_with_value(value, context.namespace_context) end |