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

        i0 = index
        r1 = _nt_single_quoted_string
        if r1
          r0 = r1
          r0.extend(QuotedString0)
        else
          r2 = _nt_double_quoted_string
          if r2
            r0 = r2
            r0.extend(QuotedString0)
          else
            self.index = i0
            r0 = nil
          end
        end

        node_cache[:quoted_string][start_index] = r0

        return r0
      end