Class: RedParse::StartToken
- 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
Attributes included from RedParse::Stackable::Meta
#boolean_identity_params, #identity_params
Instance Method Summary collapse
- #image ⇒ Object (also: #to_s)
-
#initialize ⇒ StartToken
constructor
A new instance of StartToken.
- #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 RedParse::Stackable::Meta
#build_exemplars, #enumerate_exemplars, #identity_param
Methods included from Stackable
Constructor Details
#initialize ⇒ StartToken
Returns a new instance of StartToken.
5354 |
# File 'lib/redparse/node.rb', line 5354 def initialize; end |
Instance Method Details
#image ⇒ Object Also known as: to_s
5356 |
# File 'lib/redparse/node.rb', line 5356 def image; "(START)" end |
#reducer_ident ⇒ Object
17280 17281 17282 |
# File 'lib/redparse/ReduceWithsFor_RedParse_1_9.rb', line 17280 def reducer_ident :StartToken end |
#reducer_method(stack) ⇒ Object
17277 17278 17279 |
# File 'lib/redparse/ReduceWithsFor_RedParse_1_9.rb', line 17277 def reducer_method(stack) :reduce_with_tos_StartToken end |