Class: RedParse::GoalPostToken
- Defined in:
- lib/redparse/node.rb,
lib/redparse/ReduceWithsFor_RedParse_1_9.rb,
lib/redparse/ReduceWithsFor_RedParse_1_8.rb
Overview
not to appear in final tree
Instance Attribute Summary collapse
-
#offset ⇒ Object
readonly
Returns the value of attribute offset.
Attributes included from Stackable::Meta
#boolean_identity_params, #identity_params
Instance Method Summary collapse
- #ident ⇒ Object
- #image ⇒ Object
-
#initialize(offset) ⇒ GoalPostToken
constructor
A new instance of GoalPostToken.
- #reducer_ident ⇒ Object
- #reducer_method(stack) ⇒ Object
Methods inherited from Token
#begin_parsetree, #data, #lvalue, #rescue_parsetree, #short_inspect, #to_parsetree, #unary
Methods included from Stackable::Meta
#build_exemplars, #enumerate_exemplars, #identity_param
Methods included from Stackable
Constructor Details
#initialize(offset) ⇒ GoalPostToken
Returns a new instance of GoalPostToken.
5371 |
# File 'lib/redparse/node.rb', line 5371 def initialize(offset); @offset=offset end |
Instance Attribute Details
#offset ⇒ Object (readonly)
Returns the value of attribute offset.
5373 5374 5375 |
# File 'lib/redparse/node.rb', line 5373 def offset @offset end |
Instance Method Details
#ident ⇒ Object
5372 |
# File 'lib/redparse/node.rb', line 5372 def ident; "|" end |
#image ⇒ Object
5375 |
# File 'lib/redparse/node.rb', line 5375 def image; "|" end |
#reducer_ident ⇒ Object
17160 17161 17162 |
# File 'lib/redparse/ReduceWithsFor_RedParse_1_9.rb', line 17160 def reducer_ident :GoalPostToken end |
#reducer_method(stack) ⇒ Object
17157 17158 17159 |
# File 'lib/redparse/ReduceWithsFor_RedParse_1_9.rb', line 17157 def reducer_method(stack) :reduce_with_tos_GoalPostToken end |