(int ttype)
| 653 | } |
| 654 | |
| 655 | public Token newToken(int ttype) { |
| 656 | STToken t = new STToken(input, ttype, startCharIndex, input.index() -1); |
| 657 | t.setLine(startLine); |
| 658 | t.setCharPositionInLine(startCharPositionInLine); |
| 659 | return t; |
| 660 | } |
| 661 | |
| 662 | public Token newTokenFromPreviousChar(int ttype) { |
| 663 | STToken t = new STToken(input, ttype, input.index() -1, input.index() -1); |