spot 2.12.2
|
Public Member Functions | |
context (const parser &yyparser, const symbol_type &yyla) | |
const symbol_type & | lookahead () const |
symbol_kind_type | token () const |
const location_type & | location () const |
int | expected_tokens (symbol_kind_type yyarg[], int yyargn) const |
int tlyy::parser::context::expected_tokens | ( | symbol_kind_type | yyarg[], |
int | yyargn | ||
) | const |
Put in YYARG at most YYARGN of the expected tokens, and return the number of tokens stored in YYARG. If YYARG is null, return the number of expected tokens (guaranteed to be less than YYNTOKENS).