   patterns: null
   allPatterns: null
   createEndPattern: null
-  anchor: -1
+  anchorPosition: -1
 
   constructor: (@grammar, {@scopeName, patterns, @endPattern}) ->
     patterns ?= []

        tokens = [new Token(value: line[start...end], scopes: scopes)]
    if @pushRule
      ruleToPush = @pushRule.getRuleToPush(line, captureIndices)
      ruleToPush.anchor = captureIndices[2]
      stack.push(ruleToPush)
    else if @popRule
      stack.pop()

        ))
        break

    ruleStack.forEach (rule) -> rule.clearAnchorPosition()
    { tokens, ruleStack }

  ruleForInclude: (name) ->
