(int ttype)
| 661 | } |
| 662 | |
| 663 | public Token newToken(int ttype) { |
| 664 | STToken t = new STToken(input, ttype, startCharIndex, input.index() -1); |
| 665 | t.setLine(startLine); |
| 666 | t.setCharPositionInLine(startCharPositionInLine); |
| 667 | return t; |
| 668 | } |
| 669 | |
| 670 | public Token newTokenFromPreviousChar(int ttype) { |
| 671 | STToken t = new STToken(input, ttype, input.index() -1, input.index() -1); |