(int ttype)
| 637 | } |
| 638 | |
| 639 | public Token newToken(int ttype) { |
| 640 | STToken t = new STToken(input, ttype, startCharIndex, input.index() -1); |
| 641 | t.setLine(startLine); |
| 642 | t.setCharPositionInLine(startCharPositionInLine); |
| 643 | return t; |
| 644 | } |
| 645 | |
| 646 | public Token newTokenFromPreviousChar(int ttype) { |
| 647 | STToken t = new STToken(input, ttype, input.index() -1, input.index() -1); |