Home | History | Annotate | Download | only in yacc

Lines Matching refs:to

20 Adepts of the original yacc will have no trouble adapting to this
25 directory for examples of how to write and build yacc programs.
28 to be given an argument that conforms to the following interface:
37 Error is equivalent to yyerror in the original yacc.
39 Code inside the grammar actions may refer to the variable yylex,
40 which holds the yyLexer passed to yyParse.
42 Clients that need to understand more about the parser state can
44 returns a yyParser conforming to the following interface:
52 to yyNewParser().Parse(yylex).
54 Lookahead can be called during grammar actions to read (but not consume)
57 or has consumed the token returned by the most recent call to Lex),
58 Lookahead returns -1. Calling Lookahead is equivalent to reading
62 distinct packages. If that is impossible, the "-p prefix" flag to
65 referenced by yacc's generated code. Setting it to distinct values
66 allows multiple grammars to be placed in a single package.