Class: Rubasteme::AST::StringNode

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(literal) ⇒ StringNode

Returns a new instance of StringNode.



48
49
50
# File 'lib/rubasteme/ast/leaf_node.rb', line 48

def initialize(literal)
  super
end