(int ttype)
| 669 | } |
| 670 | |
| 671 | public Token newToken(int ttype) { |
| 672 | STToken t = new STToken(input, ttype, startCharIndex, input.index()-1); |
| 673 | t.setLine(startLine); |
| 674 | t.setCharPositionInLine(startCharPositionInLine); |
| 675 | return t; |
| 676 | } |
| 677 | |
| 678 | public Token newTokenFromPreviousChar(int ttype) { |
| 679 | STToken t = new STToken(input, ttype, input.index()-1, input.index()-1); |