Class: Ruby::Symbol
- Inherits:
-
DelimitedAggregate
- Object
- Node
- Aggregate
- DelimitedAggregate
- Ruby::Symbol
- Defined in:
- lib/ruby/symbol.rb
Instance Attribute Summary
Attributes included from Node::Composite
Instance Method Summary collapse
-
#initialize(identifier, ldelim) ⇒ Symbol
constructor
A new instance of Symbol.
- #nodes ⇒ Object
- #value ⇒ Object
Methods inherited from Aggregate
#position, #position=, #prolog, #prolog=, #to_ruby
Methods inherited from Node
#<=>, #all_nodes, #column, #length, #row
Methods included from Conversions
Methods included from Node::Traversal
#has_token?, #has_type?, #has_value?, #is_instance_of?, #left_of?, #matches?, #position?, #right_of?, #select
Methods included from Node::Source
#context, #filename, #line, #lines, #src
Methods included from Node::Composite
Constructor Details
#initialize(identifier, ldelim) ⇒ Symbol
Returns a new instance of Symbol.
8 9 10 11 |
# File 'lib/ruby/symbol.rb', line 8 def initialize(identifier, ldelim) self.identifier = identifier super(ldelim) end |