Class: Rubasteme::AST::EmptyListNode

Inherits:
LeafNode show all
Defined in:
lib/rubasteme/ast/leaf_node.rb

Instance Attribute Summary

Attributes inherited from LeafNode

#literal

Instance Method Summary collapse

Methods inherited from LeafNode

#to_a

Methods inherited from Node

#to_a, #to_s, #type

Constructor Details

#initialize(_ = nil) ⇒ EmptyListNode

Returns a new instance of EmptyListNode.



20
21
22
# File 'lib/rubasteme/ast/leaf_node.rb', line 20

def initialize(_ = nil)
  super("()")
end