_nt_include_declaration (Treetop::Compiler::Metagrammar)

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

            i0, s0 = index, []
            if input.index('include', index) == index
              r1 = instantiate_node(SyntaxNode,input, index...(index + 7))
              @index += 7
            else
              terminal_parse_failure('include')
              r1 = nil
            end
            s0 << r1
            if r1
              r2 = _nt_space
              s0 << r2
              if r2
                if input.index(Regexp.new('[A-Z]'), index) == index
                  r3 = instantiate_node(SyntaxNode,input, index...(index + 1))
                  @index += 1
                else
                  r3 = nil
                end
                s0 << r3
                if r3
                  s4, i4 = [], index
                  loop do
                    i5 = index
                    r6 = _nt_alphanumeric_char
                    if r6
                      r5 = r6
                    else
                      if input.index('::', index) == index
                        r7 = instantiate_node(SyntaxNode,input, index...(index + 2))
                        @index += 2
                      else
                        terminal_parse_failure('::')
                        r7 = nil
                      end
                      if r7
                        r5 = r7
                      else
                        self.index = i5
                        r5 = nil
                      end
                    end
                    if r5
                      s4 << r5
                    else
                      break
                    end
                  end
                  r4 = instantiate_node(SyntaxNode,input, i4...index, s4)
                  s0 << r4
                end
              end
            end
            if s0.last
              r0 = instantiate_node(SyntaxNode,input, i0...index, s0)
              r0.extend(IncludeDeclaration0)
              r0.extend(IncludeDeclaration1)
            else
              self.index = i0
              r0 = nil
            end

            node_cache[:include_declaration][start_index] = r0

            return r0
          end