_nt_require_statement (Treetop::Compiler::Metagrammar)

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

            i0, s0 = index, []
            r2 = _nt_space
            if r2
              r1 = r2
            else
              r1 = instantiate_node(SyntaxNode,input, index...index)
            end
            s0 << r1
            if r1
              if input.index("require", index) == index
                r3 = instantiate_node(SyntaxNode,input, index...(index + 7))
                @index += 7
              else
                terminal_parse_failure("require")
                r3 = nil
              end
              s0 << r3
              if r3
                s4, i4 = [], index
                loop do
                  if input.index(Regexp.new('[ \\t]'), index) == index
                    r5 = instantiate_node(SyntaxNode,input, index...(index + 1))
                    @index += 1
                  else
                    r5 = nil
                  end
                  if r5
                    s4 << r5
                  else
                    break
                  end
                end
                if s4.empty?
                  self.index = i4
                  r4 = nil
                else
                  r4 = instantiate_node(SyntaxNode,input, i4...index, s4)
                end
                s0 << r4
                if r4
                  s6, i6 = [], index
                  loop do
                    if input.index(Regexp.new('[^\\n\\r]'), index) == index
                      r7 = instantiate_node(SyntaxNode,input, index...(index + 1))
                      @index += 1
                    else
                      r7 = nil
                    end
                    if r7
                      s6 << r7
                    else
                      break
                    end
                  end
                  if s6.empty?
                    self.index = i6
                    r6 = nil
                  else
                    r6 = instantiate_node(SyntaxNode,input, i6...index, s6)
                  end
                  s0 << r6
                  if r6
                    if input.index(Regexp.new('[\\n\\r]'), index) == index
                      r8 = instantiate_node(SyntaxNode,input, index...(index + 1))
                      @index += 1
                    else
                      r8 = nil
                    end
                    s0 << r8
                  end
                end
              end
            end
            if s0.last
              r0 = instantiate_node(SyntaxNode,input, i0...index, s0)
              r0.extend(RequireStatement0)
            else
              self.index = i0
              r0 = nil
            end

            node_cache[:require_statement][start_index] = r0

            return r0
          end