Module: Rattler::BackEnd::ParserGenerator::TokenPropogating

Included in:
DirectActionGenerator, DispatchActionGenerator, GroupMatchGenerator, LabelGenerator, SkipGenerator, TokenGenerator
Defined in:
lib/rattler/back_end/parser_generator/token_propogating.rb

Instance Method Summary collapse

Instance Method Details

#gen_token(parser, scope = {}) ⇒ Object

:nodoc:



6
7
8
# File 'lib/rattler/back_end/parser_generator/token_propogating.rb', line 6

def gen_token(parser, scope={})
  propogate_gen parser.child, :token, scope
end