Class: Rubasteme::AST::CharacterNode

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) ⇒ CharacterNode

Returns a new instance of CharacterNode.



42
43
44
# File 'lib/rubasteme/ast/leaf_node.rb', line 42

def initialize(literal)
  super
end