Module: Rattler::BackEnd::ParserGenerator::SkipPropogating

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

Instance Method Summary collapse

Instance Method Details

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



11
12
13
# File 'lib/rattler/back_end/parser_generator/skip_propogating.rb', line 11

def gen_intermediate_skip(parser, scope={})
  propogate_gen parser.child, :intermediate_skip, scope
end

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

:nodoc:



7
8
9
# File 'lib/rattler/back_end/parser_generator/skip_propogating.rb', line 7

def gen_skip(parser, scope={})
  propogate_gen parser.child, :skip, scope
end