Returns the one-based column number of the current lookahead token, relative to the current line in the stream.
Returns the current lookahead token, if this Input is in the
cont state.
Returns true when a lookahead token is immediately available.
i.e. this Input is in the cont state.
Returns true when no lookahead token is currently available, and
no additional input will ever become available. i.e. this Input is in
the done state.
Returns true when no lookahead token is currently available, but
additional input may be available at some point in the future. i.e. this
Input is in the empty state.
Returns true when no lookahead token is currently available due to
an error with the token stream. i.e. this Input is in the error state.
When true, trap() will return the input error
Returns the one-based line number of the current lookahead token, relative to the start of the stream.
Returns the byte offset of the current lookahead token, relative to the start of the stream.
Returns the input error. Only guaranteed to return an error when in the _ error_ state
Returns an InputBuffer in the done state.
Returns an InputBuffer} in the empty state.
Returns an InputBuffer in the error state, with the given input error.
Non-blocking token stream buffer.