Module: Rattler::Compiler::ParserGenerator::TokenPropogating
- Included in:
- GroupMatchGenerator, LabelGenerator, SkipGenerator, TokenGenerator
- Defined in:
- lib/rattler/compiler/parser_generator/token_propogating.rb
Instance Method Summary collapse
Instance Method Details
#gen_token(parser, scope = ParserScope.empty) ⇒ Object
:nodoc:
6 7 8 |
# File 'lib/rattler/compiler/parser_generator/token_propogating.rb', line 6 def gen_token(parser, scope = ParserScope.empty) propogate_gen parser.child, :token, scope end |