/** Return the text matched so far for the current token or any text override. */ public String getText() { if (state.text != null) { return state.text; } return input.substring(state.tokenStartCharIndex, getCharIndex() - 1); }