Lines Matching refs:lexical
120 * Rpcalc Lexer:: The lexical analyzer.
136 * Ltcalc Lexer:: The lexical analyzer.
1849 The tokens come from a function called the "lexical analyzer" that
1851 parser calls the lexical analyzer each time it wants a new token. It
1853 may reflect this). Typically the lexical analyzer makes the tokens by
1860 functions. One is the lexical analyzer. Another is an error-reporting
1869 as the lexical analyzer function `yylex', the error reporting function
1901 2. Write a lexical analyzer to process input and pass tokens to the
1902 parser. The lexical analyzer may be written by hand in C (*note
1947 You need to declare the lexical analyzer `yylex' and the error printer
2009 * Rpcalc Lexer:: The lexical analyzer.
2149 grammatical error is seen or the lexical analyzer says there are no more
2242 The lexical analyzer's job is low-level parsing: converting characters
2244 tokens by calling the lexical analyzer. *Note The Lexical Analyzer
2247 Only a simple lexical analyzer is needed for the RPN calculator.
2248 This lexical analyzer skips blanks and tabs, then reads in numbers as
2253 The return value of the lexical analyzer function is a numeric code
2258 can use the same character literal in the lexical analyzer to express
2274 Here is the code for the lexical analyzer:
2276 /* The lexical analyzer returns a double floating point
2548 most of the work needed to use locations will be done in the lexical
2555 * Ltcalc Lexer:: The lexical analyzer.
2656 The next step is to rewrite the lexical analyzer, and make it able to
2705 Basically, the lexical analyzer performs the same processing as
2740 they are only single-character literals. The lexical analyzer `yylex'
3583 Declarations: Token Decl.). If you don't do that, the lexical
5020 is used for the lexical analyzer function `yylex'. *Note Calling
5537 lexical analyzer function. Thus, if you specify
5539 namespace' so that `%name-prefix' _only_ affects the lexical
5920 The "lexical analyzer" function, `yylex', recognizes tokens from the
5923 call it. The function is sometimes referred to as a lexical scanner.
7383 lexical analysis performed by the scanner, and the user's semantic
7667 lexical scanner is probably correct. The previous lookahead token
7763 There is some similarity between this technique and a lexical tie-in
7764 (described next), in that information which alters the lexical analysis
7767 purposes in the program. A true lexical tie-in has a special-purpose
7776 One way to handle context-dependency is the "lexical tie-in": a flag
7867 being aborted or not. So if you are using a lexical tie-in, you had
11028 User-supplied lexical analyzer function, called with no arguments
11289 from a lexical analyzer.
11348 the lexical analyzer. *Note Symbols::.
12369 * lexical analyzer: Lexical. (line 6)
12370 * lexical analyzer, purpose: Bison Parser. (line 6)
12371 * lexical analyzer, writing: Rpcalc Lexer. (line 6)
12372 * lexical tie-in: Lexical Tie-ins. (line 6)
12555 * writing a lexical analyzer: Rpcalc Lexer. (line 6)