Class: EleetScript::NilNode

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

Instance Method Summary collapse

Methods inherited from LiteralNode

#to_s

Instance Method Details

#eval(context) ⇒ Object



240
241
242
# File 'lib/lang/interpreter.rb', line 240

def eval(context)
  context.es_nil
end

#valueObject



65
66
67
# File 'lib/lang/nodes.rb', line 65

def value
  nil
end