Class: Rubasteme::AST::IdentifierNode
- Defined in:
- lib/rubasteme/ast/leaf_node.rb
Instance Attribute Summary
Attributes inherited from LeafNode
Instance Method Summary collapse
- #identifier ⇒ Object
-
#initialize(literal) ⇒ IdentifierNode
constructor
A new instance of IdentifierNode.
Methods inherited from LeafNode
Methods inherited from Node
Constructor Details
#initialize(literal) ⇒ IdentifierNode
Returns a new instance of IdentifierNode.
32 33 34 |
# File 'lib/rubasteme/ast/leaf_node.rb', line 32 def initialize(literal) super end |
Instance Method Details
#identifier ⇒ Object
36 37 38 |
# File 'lib/rubasteme/ast/leaf_node.rb', line 36 def identifier literal end |