• Home
  • Raw
  • Download

Lines Matching refs:lexical

118 * Lexer: Rpcalc Lexer.  The lexical analyzer.
134 * Lexer: Ltcalc Lexer. The lexical analyzer.
1419 The tokens come from a function called the "lexical analyzer" that
1421 parser calls the lexical analyzer each time it wants a new token. It
1423 may reflect this). Typically the lexical analyzer makes the tokens by
1430 the lexical analyzer. Another is an error-reporting function which the
1438 `yy' or `YY'. This includes interface functions such as the lexical
1471 2. Write a lexical analyzer to process input and pass tokens to the
1472 parser. The lexical analyzer may be written by hand in C (*note
1517 You need to declare the lexical analyzer `yylex' and the error printer
1579 * Lexer: Rpcalc Lexer. The lexical analyzer.
1717 grammatical error is seen or the lexical analyzer says there are no more
1807 The lexical analyzer's job is low-level parsing: converting characters
1809 tokens by calling the lexical analyzer. *Note The Lexical Analyzer
1812 Only a simple lexical analyzer is needed for the RPN calculator.
1813 This lexical analyzer skips blanks and tabs, then reads in numbers as
1818 The return value of the lexical analyzer function is a numeric code
1823 can use the same character literal in the lexical analyzer to express
1839 Here is the code for the lexical analyzer:
1841 /* The lexical analyzer returns a double floating point
2108 most of the work needed to use locations will be done in the lexical
2115 * Lexer: Ltcalc Lexer. The lexical analyzer.
2211 The next step is to rewrite the lexical analyzer, and make it able to
2260 Basically, the lexical analyzer performs the same processing as
2295 they are only single-character literals. The lexical analyzer `yylex'
2846 Declarations: Token Decl.). If you don't do that, the lexical
3934 is used for the lexical analyzer function `yylex'. *Note Calling
4244 The "lexical analyzer" function, `yylex', recognizes tokens from the
4247 call it. The function is sometimes referred to as a lexical scanner.
5544 lexical scanner is probably correct. The previous look-ahead token
5642 There is some similarity between this technique and a lexical tie-in
5643 (described next), in that information which alters the lexical analysis
5646 purposes in the program. A true lexical tie-in has a special-purpose
5655 One way to handle context-dependency is the "lexical tie-in": a flag
5748 being aborted or not. So if you are using a lexical tie-in, you had
7657 User-supplied lexical analyzer function, called with no arguments
7843 from a lexical analyzer.
7902 the lexical analyzer. *Note Symbols::.
8637 * lexical analyzer: Lexical. (line 6)
8638 * lexical analyzer, purpose: Bison Parser. (line 6)
8639 * lexical analyzer, writing: Rpcalc Lexer. (line 6)
8640 * lexical tie-in: Lexical Tie-ins. (line 6)
8784 * writing a lexical analyzer: Rpcalc Lexer. (line 6)