Class: Sol::NullNode
- Inherits:
-
LiteralNode
- Object
- Struct
- LiteralNode
- Sol::NullNode
- Defined in:
- lib/sol/nodes.rb,
lib/sol/interpreter.rb
Instance Attribute Summary
Attributes inherited from LiteralNode
Instance Method Summary collapse
- #eval(context) ⇒ Object
-
#initialize ⇒ NullNode
constructor
A new instance of NullNode.
Constructor Details
#initialize ⇒ NullNode
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 |