* Advances the internal position by the characters in {code tokenText}. * This method is to be called only from within the parser. * @param {string} tokenText The token text which we examine to advance the * line / column location within the doc.
(tokenText)
| 1058 | * line / column location within the doc. |
| 1059 | */ |
| 1060 | advancePos(tokenText) { |
| 1061 | this.previousPos_ = this.pos_; |
| 1062 | this.pos_ += tokenText.length; |
| 1063 | } |
| 1064 | |
| 1065 | /** |
| 1066 | * Snapshots the previous internal position so that getLine / getCol will |