| 1 | This is flex.info, produced by makeinfo version 4.5 from flex.texi.
|
|---|
| 2 |
|
|---|
| 3 | INFO-DIR-SECTION Programming
|
|---|
| 4 | START-INFO-DIR-ENTRY
|
|---|
| 5 | * flex: (flex). Fast lexical analyzer generator (lex replacement).
|
|---|
| 6 | END-INFO-DIR-ENTRY
|
|---|
| 7 |
|
|---|
| 8 |
|
|---|
| 9 | The flex manual is placed under the same licensing conditions as the
|
|---|
| 10 | rest of flex:
|
|---|
| 11 |
|
|---|
| 12 | Copyright (C) 1990, 1997 The Regents of the University of California.
|
|---|
| 13 | All rights reserved.
|
|---|
| 14 |
|
|---|
| 15 | This code is derived from software contributed to Berkeley by Vern
|
|---|
| 16 | Paxson.
|
|---|
| 17 |
|
|---|
| 18 | The United States Government has rights in this work pursuant to
|
|---|
| 19 | contract no. DE-AC03-76SF00098 between the United States Department of
|
|---|
| 20 | Energy and the University of California.
|
|---|
| 21 |
|
|---|
| 22 | Redistribution and use in source and binary forms, with or without
|
|---|
| 23 | modification, are permitted provided that the following conditions are
|
|---|
| 24 | met:
|
|---|
| 25 |
|
|---|
| 26 | 1. Redistributions of source code must retain the above copyright
|
|---|
| 27 | notice, this list of conditions and the following disclaimer.
|
|---|
| 28 |
|
|---|
| 29 | 2. Redistributions in binary form must reproduce the above copyright
|
|---|
| 30 | notice, this list of conditions and the following disclaimer in the
|
|---|
| 31 | documentation and/or other materials provided with the
|
|---|
| 32 | distribution.
|
|---|
| 33 | Neither the name of the University nor the names of its contributors
|
|---|
| 34 | may be used to endorse or promote products derived from this software
|
|---|
| 35 | without specific prior written permission.
|
|---|
| 36 |
|
|---|
| 37 | THIS SOFTWARE IS PROVIDED "AS IS" AND WITHOUT ANY EXPRESS OR IMPLIED
|
|---|
| 38 | WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF
|
|---|
| 39 | MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
|
|---|
| 40 |
|
|---|
| 41 | File: flex.info, Node: Concept Index, Next: Index of Functions and Macros, Prev: Indices, Up: Indices
|
|---|
| 42 |
|
|---|
| 43 | Concept Index
|
|---|
| 44 | =============
|
|---|
| 45 |
|
|---|
| 46 | * Menu:
|
|---|
| 47 |
|
|---|
| 48 | * $ as normal character in patterns: Patterns.
|
|---|
| 49 | * %array, advantages of: Matching.
|
|---|
| 50 | * %array, use of: Matching.
|
|---|
| 51 | * %array, with C++: Matching.
|
|---|
| 52 | * %option nowrap: Generated Scanner.
|
|---|
| 53 | * %pointer, and unput(): Actions.
|
|---|
| 54 | * %pointer, use of: Matching.
|
|---|
| 55 | * %top: Definitions Section.
|
|---|
| 56 | * %{ and %}, in Definitions Section: Definitions Section.
|
|---|
| 57 | * %{ and %}, in Rules Section: Actions.
|
|---|
| 58 | * <<EOF>>, use of: EOF.
|
|---|
| 59 | * [] in patterns: Patterns.
|
|---|
| 60 | * ^ as non-special character in patterns: Patterns.
|
|---|
| 61 | * accessor functions, use of: Accessor Methods.
|
|---|
| 62 | * actions: Actions.
|
|---|
| 63 | * actions, embedded C strings: Actions.
|
|---|
| 64 | * actions, redefining YY_BREAK: Misc Macros.
|
|---|
| 65 | * actions, use of { and }: Actions.
|
|---|
| 66 | * aliases, how to define: Definitions Section.
|
|---|
| 67 | * arguments, command-line: Scanner Options.
|
|---|
| 68 | * array, default size for yytext: User Values.
|
|---|
| 69 | * backing up, eliminating: Performance.
|
|---|
| 70 | * backing up, eliminating by adding error rules: Performance.
|
|---|
| 71 | * backing up, eliminating with catch-all rule: Performance.
|
|---|
| 72 | * backing up, example of eliminating: Performance.
|
|---|
| 73 | * BEGIN: Actions.
|
|---|
| 74 | * BEGIN, explanation: Start Conditions.
|
|---|
| 75 | * beginning of line, in patterns: Patterns.
|
|---|
| 76 | * bison, bridging with flex: Bison Bridge.
|
|---|
| 77 | * bison, parser: Bison Bridge.
|
|---|
| 78 | * bison, scanner to be called from bison: Bison Bridge.
|
|---|
| 79 | * BOL, checking the BOL flag: Misc Macros.
|
|---|
| 80 | * BOL, in patterns: Patterns.
|
|---|
| 81 | * BOL, setting it: Misc Macros.
|
|---|
| 82 | * braces in patterns: Patterns.
|
|---|
| 83 | * bugs, reporting: Reporting Bugs.
|
|---|
| 84 | * C code in flex input: Definitions Section.
|
|---|
| 85 | * C++: Cxx.
|
|---|
| 86 | * C++ and %array: User Values.
|
|---|
| 87 | * C++ I/O, customizing: How do I use my own I/O classes in a C++ scanner?.
|
|---|
| 88 | * C++ scanners, including multiple scanners: Cxx.
|
|---|
| 89 | * C++ scanners, use of: Cxx.
|
|---|
| 90 | * c++, experimental form of scanner class: Cxx.
|
|---|
| 91 | * C++, multiple different scanners: Cxx.
|
|---|
| 92 | * C-strings, in actions: Actions.
|
|---|
| 93 | * case-insensitive, effect on character classes: Patterns.
|
|---|
| 94 | * character classes in patterns: Patterns.
|
|---|
| 95 | * character classes in patterns, syntax of: Patterns.
|
|---|
| 96 | * character classes, equivalence of: Patterns.
|
|---|
| 97 | * clearing an input buffer: Multiple Input Buffers.
|
|---|
| 98 | * command-line options: Scanner Options.
|
|---|
| 99 | * comments in flex input: Definitions Section.
|
|---|
| 100 | * comments in the input: Comments in the Input.
|
|---|
| 101 | * comments, discarding: Actions.
|
|---|
| 102 | * comments, example of scanning C comments: Start Conditions.
|
|---|
| 103 | * comments, in actions: Actions.
|
|---|
| 104 | * comments, in rules section: Comments in the Input.
|
|---|
| 105 | * comments, syntax of: Comments in the Input.
|
|---|
| 106 | * comments, valid uses of: Comments in the Input.
|
|---|
| 107 | * compressing whitespace: Actions.
|
|---|
| 108 | * concatenation, in patterns: Patterns.
|
|---|
| 109 | * copyright of flex: Copyright.
|
|---|
| 110 | * counting characters and lines: Simple Examples.
|
|---|
| 111 | * customizing I/O in C++ scanners: How do I use my own I/O classes in a C++ scanner?.
|
|---|
| 112 | * default rule <1>: Matching.
|
|---|
| 113 | * default rule: Simple Examples.
|
|---|
| 114 | * defining pattern aliases: Definitions Section.
|
|---|
| 115 | * Definitions, in flex input: Definitions Section.
|
|---|
| 116 | * deleting lines from input: Actions.
|
|---|
| 117 | * discarding C comments: Actions.
|
|---|
| 118 | * distributing flex: Copyright.
|
|---|
| 119 | * ECHO: Actions.
|
|---|
| 120 | * ECHO, and yyout: Generated Scanner.
|
|---|
| 121 | * embedding C code in flex input: Definitions Section.
|
|---|
| 122 | * end of file, in patterns: Patterns.
|
|---|
| 123 | * end of line, in negated character classes: Patterns.
|
|---|
| 124 | * end of line, in patterns: Patterns.
|
|---|
| 125 | * end-of-file, and yyrestart(): Generated Scanner.
|
|---|
| 126 | * EOF and yyrestart(): Generated Scanner.
|
|---|
| 127 | * EOF in patterns, syntax of: Patterns.
|
|---|
| 128 | * EOF, example using multiple input buffers: Multiple Input Buffers.
|
|---|
| 129 | * EOF, explanation: EOF.
|
|---|
| 130 | * EOF, pushing back: Actions.
|
|---|
| 131 | * EOL, in negated character classes: Patterns.
|
|---|
| 132 | * EOL, in patterns: Patterns.
|
|---|
| 133 | * error messages, end of buffer missed: Lex and Posix.
|
|---|
| 134 | * error reporting, diagnostic messages: Diagnostics.
|
|---|
| 135 | * error reporting, in C++: Cxx.
|
|---|
| 136 | * error rules, to eliminate backing up: Performance.
|
|---|
| 137 | * escape sequences in patterns, syntax of: Patterns.
|
|---|
| 138 | * exiting with yyterminate(): Actions.
|
|---|
| 139 | * experimental form of c++ scanner class: Cxx.
|
|---|
| 140 | * extended scope of start conditions: Start Conditions.
|
|---|
| 141 | * file format: Format.
|
|---|
| 142 | * file format, serialized tables: Tables File Format.
|
|---|
| 143 | * flushing an input buffer: Multiple Input Buffers.
|
|---|
| 144 | * flushing the internal buffer: Actions.
|
|---|
| 145 | * format of flex input: Format.
|
|---|
| 146 | * format of input file: Format.
|
|---|
| 147 | * freeing tables: Loading and Unloading Serialized Tables.
|
|---|
| 148 | * getting current start state with YY_START: Start Conditions.
|
|---|
| 149 | * halting with yyterminate(): Actions.
|
|---|
| 150 | * handling include files with multiple input buffers: Multiple Input Buffers.
|
|---|
| 151 | * header files, with C++: Cxx.
|
|---|
| 152 | * include files, with C++: Cxx.
|
|---|
| 153 | * input file, Definitions section: Definitions Section.
|
|---|
| 154 | * input file, Rules Section: Rules Section.
|
|---|
| 155 | * input file, user code Section: User Code Section.
|
|---|
| 156 | * input(): Actions.
|
|---|
| 157 | * input(), and C++: Actions.
|
|---|
| 158 | * input, format of: Format.
|
|---|
| 159 | * input, matching: Matching.
|
|---|
| 160 | * keywords, for performance: Performance.
|
|---|
| 161 | * lex (traditional) and POSIX: Lex and Posix.
|
|---|
| 162 | * LexerInput, overriding: How do I use my own I/O classes in a C++ scanner?.
|
|---|
| 163 | * LexerOutput, overriding: How do I use my own I/O classes in a C++ scanner?.
|
|---|
| 164 | * limitations of flex: Limitations.
|
|---|
| 165 | * literal text in patterns, syntax of: Patterns.
|
|---|
| 166 | * loading tables at runtime: Loading and Unloading Serialized Tables.
|
|---|
| 167 | * m4: M4 Dependency.
|
|---|
| 168 | * Makefile, example of implicit rules: Makefiles and Flex.
|
|---|
| 169 | * Makefile, explicit example: Makefiles and Flex.
|
|---|
| 170 | * Makefile, syntax: Makefiles and Flex.
|
|---|
| 171 | * matching C-style double-quoted strings: Start Conditions.
|
|---|
| 172 | * matching, and trailing context: Matching.
|
|---|
| 173 | * matching, length of: Matching.
|
|---|
| 174 | * matching, multiple matches: Matching.
|
|---|
| 175 | * member functions, C++: Cxx.
|
|---|
| 176 | * memory management: Memory Management.
|
|---|
| 177 | * memory, allocating input buffers: Multiple Input Buffers.
|
|---|
| 178 | * memory, considerations for reentrant scanners: Init and Destroy Functions.
|
|---|
| 179 | * memory, deleting input buffers: Multiple Input Buffers.
|
|---|
| 180 | * memory, for start condition stacks: Start Conditions.
|
|---|
| 181 | * memory, serialized tables <1>: Loading and Unloading Serialized Tables.
|
|---|
| 182 | * memory, serialized tables: Serialized Tables.
|
|---|
| 183 | * methods, c++: Cxx.
|
|---|
| 184 | * minimal scanner: Matching.
|
|---|
| 185 | * multiple input streams: Multiple Input Buffers.
|
|---|
| 186 | * name definitions, not POSIX: Lex and Posix.
|
|---|
| 187 | * negating ranges in patterns: Patterns.
|
|---|
| 188 | * newline, matching in patterns: Patterns.
|
|---|
| 189 | * non-POSIX features of flex: Lex and Posix.
|
|---|
| 190 | * nowrap, %option: Generated Scanner.
|
|---|
| 191 | * NULL character in patterns, syntax of: Patterns.
|
|---|
| 192 | * octal characters in patterns: Patterns.
|
|---|
| 193 | * options, command-line: Scanner Options.
|
|---|
| 194 | * overriding LexerInput: How do I use my own I/O classes in a C++ scanner?.
|
|---|
| 195 | * overriding LexerOutput: How do I use my own I/O classes in a C++ scanner?.
|
|---|
| 196 | * overriding the memory routines: Overriding The Default Memory Management.
|
|---|
| 197 | * Pascal-like language: Simple Examples.
|
|---|
| 198 | * pattern aliases, defining: Definitions Section.
|
|---|
| 199 | * pattern aliases, expansion of: Patterns.
|
|---|
| 200 | * pattern aliases, how to define: Definitions Section.
|
|---|
| 201 | * pattern aliases, use of: Definitions Section.
|
|---|
| 202 | * patterns and actions on different lines: Lex and Posix.
|
|---|
| 203 | * patterns, character class equivalence: Patterns.
|
|---|
| 204 | * patterns, end of line: Patterns.
|
|---|
| 205 | * patterns, grouping and precedence: Patterns.
|
|---|
| 206 | * patterns, in rules section: Patterns.
|
|---|
| 207 | * patterns, invalid trailing context: Patterns.
|
|---|
| 208 | * patterns, matching: Matching.
|
|---|
| 209 | * patterns, precedence of operators: Patterns.
|
|---|
| 210 | * patterns, repetitions with grouping: Patterns.
|
|---|
| 211 | * patterns, special characters treated as non-special: Patterns.
|
|---|
| 212 | * patterns, syntax: Patterns.
|
|---|
| 213 | * patterns, tuning for performance: Performance.
|
|---|
| 214 | * patterns, valid character classes: Patterns.
|
|---|
| 215 | * performance optimization, matching longer tokens: Performance.
|
|---|
| 216 | * performance optimization, recognizing keywords: Performance.
|
|---|
| 217 | * performance, backing up: Performance.
|
|---|
| 218 | * performance, considerations: Performance.
|
|---|
| 219 | * performance, using keywords: Performance.
|
|---|
| 220 | * popping an input buffer: Multiple Input Buffers.
|
|---|
| 221 | * POSIX and lex: Lex and Posix.
|
|---|
| 222 | * POSIX comp;compliance: Lex and Posix.
|
|---|
| 223 | * POSIX, character classes in patterns, syntax of: Patterns.
|
|---|
| 224 | * preprocessor macros, for use in actions: Actions.
|
|---|
| 225 | * pushing an input buffer: Multiple Input Buffers.
|
|---|
| 226 | * pushing back characters with unput: Actions.
|
|---|
| 227 | * pushing back characters with unput(): Actions.
|
|---|
| 228 | * pushing back characters with yyless: Actions.
|
|---|
| 229 | * pushing back EOF: Actions.
|
|---|
| 230 | * ranges in patterns: Patterns.
|
|---|
| 231 | * ranges in patterns, negating: Patterns.
|
|---|
| 232 | * recognizing C comments: Start Conditions.
|
|---|
| 233 | * reentrant scanners, multiple interleaved scanners: Reentrant Uses.
|
|---|
| 234 | * reentrant scanners, recursive invocation: Reentrant Uses.
|
|---|
| 235 | * reentrant, accessing flex variables: Global Replacement.
|
|---|
| 236 | * reentrant, accessor functions: Accessor Methods.
|
|---|
| 237 | * reentrant, API explanation: Reentrant Overview.
|
|---|
| 238 | * reentrant, calling functions: Extra Reentrant Argument.
|
|---|
| 239 | * reentrant, example of: Reentrant Example.
|
|---|
| 240 | * reentrant, explanation: Reentrant.
|
|---|
| 241 | * reentrant, extra data: Extra Data.
|
|---|
| 242 | * reentrant, initialization: Init and Destroy Functions.
|
|---|
| 243 | * regular expressions, in patterns: Patterns.
|
|---|
| 244 | * REJECT: Actions.
|
|---|
| 245 | * REJECT, calling multiple times: Actions.
|
|---|
| 246 | * REJECT, performance costs: Performance.
|
|---|
| 247 | * reporting bugs: Reporting Bugs.
|
|---|
| 248 | * restarting the scanner: Lex and Posix.
|
|---|
| 249 | * RETURN, within actions: Generated Scanner.
|
|---|
| 250 | * rules, default: Simple Examples.
|
|---|
| 251 | * rules, in flex input: Rules Section.
|
|---|
| 252 | * scanner, definition of: Introduction.
|
|---|
| 253 | * sections of flex input: Format.
|
|---|
| 254 | * serialization: Serialized Tables.
|
|---|
| 255 | * serialization of tables: Creating Serialized Tables.
|
|---|
| 256 | * serialized tables, multiple scanners: Creating Serialized Tables.
|
|---|
| 257 | * stack, input buffer pop: Multiple Input Buffers.
|
|---|
| 258 | * stack, input buffer push: Multiple Input Buffers.
|
|---|
| 259 | * stacks, routines for manipulating: Start Conditions.
|
|---|
| 260 | * start condition, applying to multiple patterns: Start Conditions.
|
|---|
| 261 | * start conditions: Start Conditions.
|
|---|
| 262 | * start conditions, behavior of default rule: Start Conditions.
|
|---|
| 263 | * start conditions, exclusive: Start Conditions.
|
|---|
| 264 | * start conditions, for different interpretations of same input: Start Conditions.
|
|---|
| 265 | * start conditions, in patterns: Patterns.
|
|---|
| 266 | * start conditions, inclusive: Start Conditions.
|
|---|
| 267 | * start conditions, inclusive v.s. exclusive: Start Conditions.
|
|---|
| 268 | * start conditions, integer values: Start Conditions.
|
|---|
| 269 | * start conditions, multiple: Start Conditions.
|
|---|
| 270 | * start conditions, special wildcard condition: Start Conditions.
|
|---|
| 271 | * start conditions, use of a stack: Start Conditions.
|
|---|
| 272 | * start conditions, use of wildcard condition (<*>): Start Conditions.
|
|---|
| 273 | * start conditions, using BEGIN: Start Conditions.
|
|---|
| 274 | * stdin, default for yyin: Generated Scanner.
|
|---|
| 275 | * stdout, as default for yyout: Generated Scanner.
|
|---|
| 276 | * strings, scanning strings instead of files: Multiple Input Buffers.
|
|---|
| 277 | * tables, creating serialized: Creating Serialized Tables.
|
|---|
| 278 | * tables, file format: Tables File Format.
|
|---|
| 279 | * tables, freeing: Loading and Unloading Serialized Tables.
|
|---|
| 280 | * tables, loading and unloading: Loading and Unloading Serialized Tables.
|
|---|
| 281 | * terminating with yyterminate(): Actions.
|
|---|
| 282 | * token: Matching.
|
|---|
| 283 | * trailing context, in patterns: Patterns.
|
|---|
| 284 | * trailing context, limits of: Patterns.
|
|---|
| 285 | * trailing context, matching: Matching.
|
|---|
| 286 | * trailing context, performance costs: Performance.
|
|---|
| 287 | * trailing context, variable length: Performance.
|
|---|
| 288 | * unput(): Actions.
|
|---|
| 289 | * unput(), and %pointer: Actions.
|
|---|
| 290 | * unput(), pushing back characters: Actions.
|
|---|
| 291 | * user code, in flex input: User Code Section.
|
|---|
| 292 | * username expansion: Simple Examples.
|
|---|
| 293 | * using integer values of start condition names: Start Conditions.
|
|---|
| 294 | * verbatim text in patterns, syntax of: Patterns.
|
|---|
| 295 | * warning, dangerous trailing context: Limitations.
|
|---|
| 296 | * warning, rule cannot be matched: Diagnostics.
|
|---|
| 297 | * warnings, diagnostic messages: Diagnostics.
|
|---|
| 298 | * whitespace, compressing: Actions.
|
|---|
| 299 | * yacc interface: Yacc.
|
|---|
| 300 | * yacc, interface: Yacc.
|
|---|
| 301 | * YY_CURRENT_BUFFER, and multiple buffers Finally, the macro: Multiple Input Buffers.
|
|---|
| 302 | * YY_EXTRA_TYPE, defining your own type: Extra Data.
|
|---|
| 303 | * YY_FLUSH_BUFFER(): Actions.
|
|---|
| 304 | * YY_INPUT: Generated Scanner.
|
|---|
| 305 | * YY_INPUT, overriding: Generated Scanner.
|
|---|
| 306 | * YY_START, example: Start Conditions.
|
|---|
| 307 | * YY_USER_ACTION to track each time a rule is matched: Misc Macros.
|
|---|
| 308 | * yyalloc, overriding: Overriding The Default Memory Management.
|
|---|
| 309 | * yyfree, overriding: Overriding The Default Memory Management.
|
|---|
| 310 | * yyin: Generated Scanner.
|
|---|
| 311 | * yyinput(): Actions.
|
|---|
| 312 | * yyleng: Matching.
|
|---|
| 313 | * yyleng, modification of: Actions.
|
|---|
| 314 | * yyless(): Actions.
|
|---|
| 315 | * yyless(), pushing back characters: Actions.
|
|---|
| 316 | * yylex(), in generated scanner: Generated Scanner.
|
|---|
| 317 | * yylex(), overriding: Generated Scanner.
|
|---|
| 318 | * yylex, overriding the prototype of: Generated Scanner.
|
|---|
| 319 | * yylineno, in a reentrant scanner: Reentrant Functions.
|
|---|
| 320 | * yylineno, performance costs: Performance.
|
|---|
| 321 | * yymore(): Actions.
|
|---|
| 322 | * yymore() to append token to previous token: Actions.
|
|---|
| 323 | * yymore(), mega-kludge: Actions.
|
|---|
| 324 | * yymore, and yyleng: Actions.
|
|---|
| 325 | * yymore, performance penalty of: Actions.
|
|---|
| 326 | * yyout: Generated Scanner.
|
|---|
| 327 | * yyrealloc, overriding: Overriding The Default Memory Management.
|
|---|
| 328 | * yyrestart(): Generated Scanner.
|
|---|
| 329 | * yyterminate(): Actions.
|
|---|
| 330 | * yytext: Matching.
|
|---|
| 331 | * yytext, default array size: User Values.
|
|---|
| 332 | * yytext, memory considerations: A Note About yytext And Memory.
|
|---|
| 333 | * yytext, modification of: Actions.
|
|---|
| 334 | * yytext, two types of: Matching.
|
|---|
| 335 | * yywrap(): Generated Scanner.
|
|---|
| 336 | * yywrap, default for: Generated Scanner.
|
|---|
| 337 | * |, in actions: Actions.
|
|---|
| 338 | * |, use of: Actions.
|
|---|
| 339 |
|
|---|
| 340 |
|
|---|
| 341 | File: flex.info, Node: Index of Functions and Macros, Next: Index of Variables, Prev: Concept Index, Up: Indices
|
|---|
| 342 |
|
|---|
| 343 | Index of Functions and Macros
|
|---|
| 344 | =============================
|
|---|
| 345 |
|
|---|
| 346 | This is an index of functions and preprocessor macros that look like
|
|---|
| 347 | functions. For macros that expand to variables or constants, see *Note
|
|---|
| 348 | Index of Variables::.
|
|---|
| 349 |
|
|---|
| 350 | * Menu:
|
|---|
| 351 |
|
|---|
| 352 | * BEGIN: Start Conditions.
|
|---|
| 353 | * debug (C++ only): Cxx.
|
|---|
| 354 | * LexerError (C++ only): Cxx.
|
|---|
| 355 | * LexerInput (C++ only): Cxx.
|
|---|
| 356 | * LexerOutput (C++ only): Cxx.
|
|---|
| 357 | * lineno (C++ only): Cxx.
|
|---|
| 358 | * set_debug (C++ only): Cxx.
|
|---|
| 359 | * switch_streams (C++ only): Cxx.
|
|---|
| 360 | * YY_AT_BOL: Misc Macros.
|
|---|
| 361 | * yy_create_buffer: Multiple Input Buffers.
|
|---|
| 362 | * yy_delete_buffer: Multiple Input Buffers.
|
|---|
| 363 | * yy_flush_buffer: Multiple Input Buffers.
|
|---|
| 364 | * yy_new_buffer: Multiple Input Buffers.
|
|---|
| 365 | * YY_NEW_FILE (now obsolete): EOF.
|
|---|
| 366 | * yy_pop_state: Start Conditions.
|
|---|
| 367 | * yy_push_state: Start Conditions.
|
|---|
| 368 | * yy_scan_buffer: Multiple Input Buffers.
|
|---|
| 369 | * yy_scan_bytes: Multiple Input Buffers.
|
|---|
| 370 | * yy_scan_string: Multiple Input Buffers.
|
|---|
| 371 | * yy_set_bol: Misc Macros.
|
|---|
| 372 | * yy_set_interactive: Misc Macros.
|
|---|
| 373 | * yy_switch_to_buffer: Multiple Input Buffers.
|
|---|
| 374 | * yy_top_state: Start Conditions.
|
|---|
| 375 | * yyFlexLexer constructor (C++ only): Cxx.
|
|---|
| 376 | * yyget_debug: Reentrant Functions.
|
|---|
| 377 | * yyget_extra <1>: Reentrant Functions.
|
|---|
| 378 | * yyget_extra: Extra Data.
|
|---|
| 379 | * yyget_in: Reentrant Functions.
|
|---|
| 380 | * yyget_leng: Reentrant Functions.
|
|---|
| 381 | * yyget_lineno: Reentrant Functions.
|
|---|
| 382 | * yyget_out: Reentrant Functions.
|
|---|
| 383 | * yyget_text: Reentrant Functions.
|
|---|
| 384 | * YYLeng (C++ only): Cxx.
|
|---|
| 385 | * yylex (C++ version): Cxx.
|
|---|
| 386 | * yylex (reentrant version): Bison Bridge.
|
|---|
| 387 | * yylex_destroy: Init and Destroy Functions.
|
|---|
| 388 | * yylex_init: Init and Destroy Functions.
|
|---|
| 389 | * yypop_buffer_state: Multiple Input Buffers.
|
|---|
| 390 | * yypush_buffer_state: Multiple Input Buffers.
|
|---|
| 391 | * yyrestart: User Values.
|
|---|
| 392 | * yyset_debug: Reentrant Functions.
|
|---|
| 393 | * yyset_extra <1>: Reentrant Functions.
|
|---|
| 394 | * yyset_extra: Extra Data.
|
|---|
| 395 | * yyset_in: Reentrant Functions.
|
|---|
| 396 | * yyset_lineno: Reentrant Functions.
|
|---|
| 397 | * yyset_out: Reentrant Functions.
|
|---|
| 398 | * yytables_destroy: Loading and Unloading Serialized Tables.
|
|---|
| 399 | * yytables_fload: Loading and Unloading Serialized Tables.
|
|---|
| 400 | * YYText (C++ only): Cxx.
|
|---|
| 401 |
|
|---|
| 402 |
|
|---|
| 403 | File: flex.info, Node: Index of Variables, Next: Index of Data Types, Prev: Index of Functions and Macros, Up: Indices
|
|---|
| 404 |
|
|---|
| 405 | Index of Variables
|
|---|
| 406 | ==================
|
|---|
| 407 |
|
|---|
| 408 | This is an index of variables, constants, and preprocessor macros
|
|---|
| 409 | that expand to variables or constants.
|
|---|
| 410 |
|
|---|
| 411 | * Menu:
|
|---|
| 412 |
|
|---|
| 413 | * INITIAL: Start Conditions.
|
|---|
| 414 | * YY_CURRENT_BUFFER: User Values.
|
|---|
| 415 | * YY_END_OF_BUFFER_CHAR: Multiple Input Buffers.
|
|---|
| 416 | * YY_NUM_RULES: Misc Macros.
|
|---|
| 417 | * YY_START <1>: User Values.
|
|---|
| 418 | * YY_START: Start Conditions.
|
|---|
| 419 | * yyextra: Extra Data.
|
|---|
| 420 | * yyin: User Values.
|
|---|
| 421 | * yyleng: User Values.
|
|---|
| 422 | * yylloc: Bison Bridge.
|
|---|
| 423 | * YYLMAX: User Values.
|
|---|
| 424 | * yylval: Bison Bridge.
|
|---|
| 425 | * yylval, with yacc: Yacc.
|
|---|
| 426 | * yyout: User Values.
|
|---|
| 427 | * yyscanner (reentrant only): Extra Reentrant Argument.
|
|---|
| 428 | * yytext <1>: User Values.
|
|---|
| 429 | * yytext: Matching.
|
|---|
| 430 |
|
|---|
| 431 |
|
|---|
| 432 | File: flex.info, Node: Index of Data Types, Next: Index of Hooks, Prev: Index of Variables, Up: Indices
|
|---|
| 433 |
|
|---|
| 434 | Index of Data Types
|
|---|
| 435 | ===================
|
|---|
| 436 |
|
|---|
| 437 | * Menu:
|
|---|
| 438 |
|
|---|
| 439 | * FlexLexer (C++ only): Cxx.
|
|---|
| 440 | * YY_BUFFER_STATE: Multiple Input Buffers.
|
|---|
| 441 | * YY_EXTRA_TYPE (reentrant only): Extra Data.
|
|---|
| 442 | * yy_size_t: Multiple Input Buffers.
|
|---|
| 443 | * yyFlexLexer (C++ only): Cxx.
|
|---|
| 444 | * YYLTYPE: Bison Bridge.
|
|---|
| 445 | * yyscan_t (reentrant only): About yyscan_t.
|
|---|
| 446 | * YYSTYPE: Bison Bridge.
|
|---|
| 447 |
|
|---|
| 448 |
|
|---|
| 449 | File: flex.info, Node: Index of Hooks, Next: Index of Scanner Options, Prev: Index of Data Types, Up: Indices
|
|---|
| 450 |
|
|---|
| 451 | Index of Hooks
|
|---|
| 452 | ==============
|
|---|
| 453 |
|
|---|
| 454 | This is an index of "hooks" that the user may define. These hooks
|
|---|
| 455 | typically correspond to specific locations in the generated scanner,
|
|---|
| 456 | and may be used to insert arbitrary code.
|
|---|
| 457 |
|
|---|
| 458 | * Menu:
|
|---|
| 459 |
|
|---|
| 460 | * YY_BREAK: Misc Macros.
|
|---|
| 461 | * YY_USER_ACTION: Misc Macros.
|
|---|
| 462 | * YY_USER_INIT: Misc Macros.
|
|---|
| 463 |
|
|---|
| 464 |
|
|---|
| 465 | File: flex.info, Node: Index of Scanner Options, Prev: Index of Hooks, Up: Indices
|
|---|
| 466 |
|
|---|
| 467 | Index of Scanner Options
|
|---|
| 468 | ========================
|
|---|
| 469 |
|
|---|
| 470 | * Menu:
|
|---|
| 471 |
|
|---|
| 472 | * -+: Code-Level And API Options.
|
|---|
| 473 | * --7bit: Options Affecting Scanner Behavior.
|
|---|
| 474 | * --8bit: Options Affecting Scanner Behavior.
|
|---|
| 475 | * --align: Options for Scanner Speed and Size.
|
|---|
| 476 | * --always-interactive: Options Affecting Scanner Behavior.
|
|---|
| 477 | * --array: Code-Level And API Options.
|
|---|
| 478 | * --backup: Debugging Options.
|
|---|
| 479 | * --batch: Options Affecting Scanner Behavior.
|
|---|
| 480 | * --bison-bridge: Code-Level And API Options.
|
|---|
| 481 | * --bison-locations: Code-Level And API Options.
|
|---|
| 482 | * --c++: Code-Level And API Options.
|
|---|
| 483 | * --case-insensitive: Options Affecting Scanner Behavior.
|
|---|
| 484 | * --debug: Debugging Options.
|
|---|
| 485 | * --default: Options Affecting Scanner Behavior.
|
|---|
| 486 | * --ecs: Options for Scanner Speed and Size.
|
|---|
| 487 | * --fast: Options for Scanner Speed and Size.
|
|---|
| 488 | * --full: Options for Scanner Speed and Size.
|
|---|
| 489 | * --header-file: Options for Specifing Filenames.
|
|---|
| 490 | * --help: Miscellaneous Options.
|
|---|
| 491 | * --interactive: Options Affecting Scanner Behavior.
|
|---|
| 492 | * --lex-compat: Options Affecting Scanner Behavior.
|
|---|
| 493 | * --main: Code-Level And API Options.
|
|---|
| 494 | * --meta-ecs: Options for Scanner Speed and Size.
|
|---|
| 495 | * --never-interactive: Options Affecting Scanner Behavior.
|
|---|
| 496 | * --nodefault: Debugging Options.
|
|---|
| 497 | * --noline: Code-Level And API Options.
|
|---|
| 498 | * --nounistd: Code-Level And API Options.
|
|---|
| 499 | * --nowarn: Debugging Options.
|
|---|
| 500 | * --option-ansi-definitions: Code-Level And API Options.
|
|---|
| 501 | * --option-ansi-prototypes: Code-Level And API Options.
|
|---|
| 502 | * --outfile: Options for Specifing Filenames.
|
|---|
| 503 | * --perf-report: Debugging Options.
|
|---|
| 504 | * --pointer: Code-Level And API Options.
|
|---|
| 505 | * --posix: Options Affecting Scanner Behavior.
|
|---|
| 506 | * --prefix: Code-Level And API Options.
|
|---|
| 507 | * --read: Options for Scanner Speed and Size.
|
|---|
| 508 | * --reentrant: Code-Level And API Options.
|
|---|
| 509 | * --skel: Options for Specifing Filenames.
|
|---|
| 510 | * --stack: Options Affecting Scanner Behavior.
|
|---|
| 511 | * --stdinit: Options Affecting Scanner Behavior.
|
|---|
| 512 | * --stdout: Options for Specifing Filenames.
|
|---|
| 513 | * --tables-file: Options for Specifing Filenames.
|
|---|
| 514 | * --tables-verify: Options for Specifing Filenames.
|
|---|
| 515 | * --trace: Debugging Options.
|
|---|
| 516 | * --verbose: Debugging Options.
|
|---|
| 517 | * --version: Miscellaneous Options.
|
|---|
| 518 | * --warn: Debugging Options.
|
|---|
| 519 | * --yyclass: Code-Level And API Options.
|
|---|
| 520 | * --yylineno: Options Affecting Scanner Behavior.
|
|---|
| 521 | * --yywrap: Options Affecting Scanner Behavior.
|
|---|
| 522 | * -7: Options Affecting Scanner Behavior.
|
|---|
| 523 | * -8: Options Affecting Scanner Behavior.
|
|---|
| 524 | * -b: Debugging Options.
|
|---|
| 525 | * -B: Options Affecting Scanner Behavior.
|
|---|
| 526 | * -c: Miscellaneous Options.
|
|---|
| 527 | * -C: Options for Scanner Speed and Size.
|
|---|
| 528 | * -Ca: Options for Scanner Speed and Size.
|
|---|
| 529 | * -Ce: Options for Scanner Speed and Size.
|
|---|
| 530 | * -CF: Options for Scanner Speed and Size.
|
|---|
| 531 | * -Cf: Options for Scanner Speed and Size.
|
|---|
| 532 | * -Cm: Options for Scanner Speed and Size.
|
|---|
| 533 | * -Cr: Options for Scanner Speed and Size.
|
|---|
| 534 | * -d: Debugging Options.
|
|---|
| 535 | * -F: Options for Scanner Speed and Size.
|
|---|
| 536 | * -f: Options for Scanner Speed and Size.
|
|---|
| 537 | * -h: Miscellaneous Options.
|
|---|
| 538 | * -I: Options Affecting Scanner Behavior.
|
|---|
| 539 | * -i: Options Affecting Scanner Behavior.
|
|---|
| 540 | * -L: Code-Level And API Options.
|
|---|
| 541 | * -l: Options Affecting Scanner Behavior.
|
|---|
| 542 | * -n: Miscellaneous Options.
|
|---|
| 543 | * -o: Options for Specifing Filenames.
|
|---|
| 544 | * -p: Debugging Options.
|
|---|
| 545 | * -P: Code-Level And API Options.
|
|---|
| 546 | * -R: Code-Level And API Options.
|
|---|
| 547 | * -s: Debugging Options.
|
|---|
| 548 | * -T: Debugging Options.
|
|---|
| 549 | * -t: Options for Specifing Filenames.
|
|---|
| 550 | * -V: Miscellaneous Options.
|
|---|
| 551 | * -v: Debugging Options.
|
|---|
| 552 | * -w: Debugging Options.
|
|---|
| 553 | * -X: Options Affecting Scanner Behavior.
|
|---|
| 554 | * 7bit: Options Affecting Scanner Behavior.
|
|---|
| 555 | * 8bit: Options Affecting Scanner Behavior.
|
|---|
| 556 | * align: Options for Scanner Speed and Size.
|
|---|
| 557 | * always-interactive: Options Affecting Scanner Behavior.
|
|---|
| 558 | * ansi-definitions: Code-Level And API Options.
|
|---|
| 559 | * ansi-prototypes: Code-Level And API Options.
|
|---|
| 560 | * array: Code-Level And API Options.
|
|---|
| 561 | * backup: Debugging Options.
|
|---|
| 562 | * batch: Options Affecting Scanner Behavior.
|
|---|
| 563 | * bison-bridge: Code-Level And API Options.
|
|---|
| 564 | * bison-locations: Code-Level And API Options.
|
|---|
| 565 | * c++: Code-Level And API Options.
|
|---|
| 566 | * case-insensitive: Options Affecting Scanner Behavior.
|
|---|
| 567 | * debug: Debugging Options.
|
|---|
| 568 | * default: Options Affecting Scanner Behavior.
|
|---|
| 569 | * ecs: Options for Scanner Speed and Size.
|
|---|
| 570 | * fast: Options for Scanner Speed and Size.
|
|---|
| 571 | * full: Options for Scanner Speed and Size.
|
|---|
| 572 | * header-file: Options for Specifing Filenames.
|
|---|
| 573 | * interactive: Options Affecting Scanner Behavior.
|
|---|
| 574 | * lex-compat: Options Affecting Scanner Behavior.
|
|---|
| 575 | * main: Code-Level And API Options.
|
|---|
| 576 | * meta-ecs: Options for Scanner Speed and Size.
|
|---|
| 577 | * nodefault: Debugging Options.
|
|---|
| 578 | * noline: Code-Level And API Options.
|
|---|
| 579 | * nounistd: Code-Level And API Options.
|
|---|
| 580 | * nowarn: Debugging Options.
|
|---|
| 581 | * noyyalloc: Overriding The Default Memory Management.
|
|---|
| 582 | * outfile: Options for Specifing Filenames.
|
|---|
| 583 | * perf-report: Debugging Options.
|
|---|
| 584 | * pointer: Code-Level And API Options.
|
|---|
| 585 | * posix: Options Affecting Scanner Behavior.
|
|---|
| 586 | * prefix: Code-Level And API Options.
|
|---|
| 587 | * read: Options for Scanner Speed and Size.
|
|---|
| 588 | * reentrant: Code-Level And API Options.
|
|---|
| 589 | * stack: Options Affecting Scanner Behavior.
|
|---|
| 590 | * stdinit: Options Affecting Scanner Behavior.
|
|---|
| 591 | * stdout: Options for Specifing Filenames.
|
|---|
| 592 | * tables-file: Options for Specifing Filenames.
|
|---|
| 593 | * tables-verify: Options for Specifing Filenames.
|
|---|
| 594 | * trace: Debugging Options.
|
|---|
| 595 | * verbose: Debugging Options.
|
|---|
| 596 | * warn: Debugging Options.
|
|---|
| 597 | * yyclass: Code-Level And API Options.
|
|---|
| 598 | * yylineno: Options Affecting Scanner Behavior.
|
|---|
| 599 | * yywrap: Options Affecting Scanner Behavior.
|
|---|
| 600 |
|
|---|
| 601 |
|
|---|