question: @ SafeVarargs public final Token < TokenType > expect ( TokenType ... expected ) throws SimpleParserException { if ( hasType ( expected ) ) return this ; throw new SimpleParserException ( line , column , "Expected " + Arrays . toString ( expected ) + ", but got " + toString ( ) ) ; }
target:  Ensures that this token has one of the given expected types.