token
Returns the token with absolute id, forcing lexing forward if necessary.
A lazy source reports a released id (already discarded under it.unibo.tuprolog.parser.TokenRetention.RELEASE_COMMITTED) as IllegalArgumentException and an id beyond EOF as IndexOutOfBoundsException; a materialized source reports every id outside its retained range as IndexOutOfBoundsException.