Class: Sol::NullNode

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

Instance Attribute Summary

Attributes inherited from LiteralNode

#value

Instance Method Summary collapse

Constructor Details

#initializeNullNode

Returns a new instance of NullNode.



46
47
48
49
50
# File 'lib/sol/nodes.rb', line 46

def initialize

  super(nil)

end

Instance Method Details

#eval(context) ⇒ Object



87
88
89
90
91
# File 'lib/sol/interpreter.rb', line 87

def eval(context)  

	RuntimeModel::Runtime["null"]

end