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

        i0 = index
        if input.index('+', index) == index
          r1 = instantiate_node(OneOrMore,input, index...(index + 1))
          @index += 1
        else
          terminal_parse_failure('+')
          r1 = nil
        end
        if r1
          r0 = r1
        else
          if input.index('*', index) == index
            r2 = instantiate_node(ZeroOrMore,input, index...(index + 1))
            @index += 1
          else
            terminal_parse_failure('*')
            r2 = nil
          end
          if r2
            r0 = r2
          else
            self.index = i0
            r0 = nil
          end
        end

        node_cache[:repetition_suffix][start_index] = r0

        return r0
      end