Home | History | Annotate | Download | only in src

Lines Matching full:lookahead

1401 /* Establish the initial context for the current lookahead if no initial
1405 the initial context for a lookahead as the context in which the
1406 parser initially examines that lookahead in order to select a
1407 syntactic action. Thus, if the lookahead eventually proves
1411 lookahead's place. Moreover, it is the context after which any
1419 lookahead token, it should also be invoked before reporting a syntax
1424 current lookahead, then check if that lookahead can eventually be
1446 /* Discard any previous initial lookahead context because of Event,
1447 which may be a lookahead change or an invalidation of the currently
1448 established initial context for the current lookahead.
1450 The most common example of a lookahead change is a shift. An example
1452 occurs when the lookahead is syntactically erroneous for the
1455 current lookahead is syntactically acceptable. If it fails to find
1456 such a context, it discards the lookahead. */
1486 YYDPRINTF ((stderr, "LAC: checking lookahead %s:", yytname[yytoken]));
1713 - The only way there can be no lookahead present (in yychar) is if
1715 detecting the absence of a lookahead is sufficient to determine
1718 - Don't assume there isn't a lookahead just because this state is a
1726 during error recovery, leaving behind the current lookahead.
1881 /* The lookahead symbol. */
1907 /* The semantic value of the lookahead symbol. */
1910 /* Location data for the lookahead symbol. */
1960 /* Lookahead token as an internal (translated) token number. */
2101 lookahead token if we need one and don't already have one. */
2103 /* First try to decide what to do without reference to lookahead token. */
2108 /* Not known => get a lookahead token if don't already have one. */
2110 /* YYCHAR is either YYEMPTY or YYEOF or a valid lookahead symbol. */
2151 /* Shift the lookahead token. */
2911 before the lookahead is translated. */
2940 /* Make sure we have latest lookahead translation. See comments at
2991 /* If just tried and failed to reuse lookahead token after an
3008 /* Else will try to reuse lookahead token after shifting the error
3067 current lookahead token, the shift below will for sure. */
3076 the lookahead. YYLOC is available though. */
3114 /* Make sure we have latest lookahead translation. See comments at
3117 yydestruct ("Cleanup: discarding lookahead",