Class: EleetScript::NilNode
- Inherits:
-
LiteralNode
- Object
- LiteralNode
- EleetScript::NilNode
- Defined in:
- lib/lang/nodes.rb,
lib/lang/interpreter.rb
Instance Method Summary collapse
Methods inherited from LiteralNode
Instance Method Details
#eval(context) ⇒ Object
240 241 242 |
# File 'lib/lang/interpreter.rb', line 240 def eval(context) context.es_nil end |
#value ⇒ Object
65 66 67 |
# File 'lib/lang/nodes.rb', line 65 def value nil end |