'Return the text matched so far for the current token or any
text override.'

def getText(self):

    if (self._state.text is not None):
        return self._state.text
    return self.input.substring(self._state.tokenStartCharIndex, (self.getCharIndex() - 1))
