     Ref,
     Text,
     Value,
-    patternIntern, uniqueIndex
+    patternIntern, uniqueIndex, indexCount
   }

      return patt

    textDeriv: (node) ->
      return new NotAllowed("#{this}", this, node)

    toString: ->
      if @_toStringCache is undefined

        return @internChoice(pattern1, pattern2)
      else
        if @choiceMap[pattern.uniqueIndex] isnt undefined
          return @notAllowed()
      return pattern

    choice: (pattern1, pattern2) ->
