Method: MODL::Parser::Parsed#enterModl
- Defined in:
- lib/modl/parser/parsed.rb
#enterModl(ctx) ⇒ Object
32 33 34 35 36 37 38 39 40 41 42 43 44 |
# File 'lib/modl/parser/parsed.rb', line 32 def enterModl(ctx) @global = GlobalParseContext.new if @global.nil? ctx_modl_structure = ctx.modl_structure ctx_modl_structure.each do |str| structure = ParsedStructure.new @global str.enter_rule(structure) @structures << structure end @global end |