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