_nt_keyword_inside_grammar (Treetop::Compiler::Metagrammar)

    # File lib/treetop/compiler/metagrammar.rb, line 2793
          def _nt_keyword_inside_grammar
            start_index = index
            if node_cache[:keyword_inside_grammar].has_key?(index)
              cached = node_cache[:keyword_inside_grammar][index]
              @index = cached.interval.end if cached
              return cached
            end

            i0, s0 = index, []
            i1 = index
            if input.index('rule', index) == index
              r2 = instantiate_node(SyntaxNode,input, index...(index + 4))
              @index += 4
            else
              terminal_parse_failure('rule')
              r2 = nil
            end
            if r2
              r1 = r2
            else
              if input.index('end', index) == index
                r3 = instantiate_node(SyntaxNode,input, index...(index + 3))
                @index += 3
              else
                terminal_parse_failure('end')
                r3 = nil
              end
              if r3
                r1 = r3
              else
                self.index = i1
                r1 = nil
              end
            end
            s0 << r1
            if r1
              i4 = index
              r5 = _nt_non_space_char
              if r5
                r4 = nil
              else
                self.index = i4
                r4 = instantiate_node(SyntaxNode,input, index...index)
              end
              s0 << r4
            end
            if s0.last
              r0 = instantiate_node(SyntaxNode,input, i0...index, s0)
              r0.extend(KeywordInsideGrammar0)
            else
              self.index = i0
              r0 = nil
            end

            node_cache[:keyword_inside_grammar][start_index] = r0

            return r0
          end