method

state

state()
public

The scanner’s state of the current token. This value is the bitwise OR of zero or more of the +Ripper::EXPR_*+ constants.