Concept Index

Jump to:   [   %   ^   <   |   $  
A   B   C   D   E   F   G   H   I   K   L   M   N   O   P   R   S   T   U   V   W   Y  
Index EntrySection

[
[] in patternsPatterns

%
%{ and %}, in Definitions SectionDefinitions Section
%{ and %}, in Rules SectionActions
%array, advantages ofMatching
%array, use ofMatching
%array, with C++Matching
%option noyywrappGenerated Scanner
%pointer, and unput()Actions
%pointer, use ofMatching
%topDefinitions Section

^
^ as non-special character in patternsPatterns

<
<<EOF>>, use ofEOF

|
|, in actionsActions
|, use ofActions

$
$ as normal character in patternsPatterns

A
accessor functions, use ofAccessor Methods
actionsActions
actions, embedded C stringsActions
actions, redefining YY_BREAKMisc Macros
actions, use of { and }Actions
aliases, how to defineDefinitions Section
arguments, command-lineScanner Options
array, default size for yytextUser Values

B
backing up, eliminatingPerformance
backing up, eliminating by adding error rulesPerformance
backing up, eliminating with catch-all rulePerformance
backing up, example of eliminatingPerformance
BEGINActions
BEGIN, explanationStart Conditions
beginning of line, in patternsPatterns
bison, bridging with flexBison Bridge
bison, parserBison Bridge
bison, scanner to be called from bisonBison Bridge
BOL, checking the BOL flagMisc Macros
BOL, in patternsPatterns
BOL, setting itMisc Macros
braces in patternsPatterns
bugs, reportingReporting Bugs

C
C code in flex inputDefinitions Section
C-strings, in actionsActions
C++Cxx
C++ and %arrayUser Values
C++ I/O, customizingHow do I use my own I/O classes in a C++ scanner?
C++ scanners, including multiple scannersCxx
C++ scanners, use ofCxx
c++, experimental form of scanner classCxx
C++, multiple different scannersCxx
case-insensitive, effect on character classesPatterns
character classes in patternsPatterns
character classes in patterns, syntax ofPatterns
character classes, equivalence ofPatterns
clearing an input bufferMultiple Input Buffers
command-line optionsScanner Options
comments in flex inputDefinitions Section
comments in the inputComments in the Input
comments, discardingActions
comments, example of scanning C commentsStart Conditions
comments, in actionsActions
comments, in rules sectionComments in the Input
comments, syntax ofComments in the Input
comments, valid uses ofComments in the Input
compressing whitespaceActions
concatenation, in patternsPatterns
copyright of flexCopyright
counting characters and linesSimple Examples
customizing I/O in C++ scannersHow do I use my own I/O classes in a C++ scanner?

D
default ruleSimple Examples
default ruleMatching
defining pattern aliasesDefinitions Section
Definitions, in flex inputDefinitions Section
deleting lines from inputActions
discarding C commentsActions
distributing flexCopyright

E
ECHOActions
ECHO, and yyoutGenerated Scanner
embedding C code in flex inputDefinitions Section
end of file, in patternsPatterns
end of line, in negated character classesPatterns
end of line, in patternsPatterns
end-of-file, and yyrestart()Generated Scanner
EOF and yyrestart()Generated Scanner
EOF in patterns, syntax ofPatterns
EOF, example using multiple input buffersMultiple Input Buffers
EOF, explanationEOF
EOF, pushing backActions
EOL, in negated character classesPatterns
EOL, in patternsPatterns
error messages, end of buffer missedLex and Posix
error reporting, diagnostic messagesDiagnostics
error reporting, in C++Cxx
error rules, to eliminate backing upPerformance
escape sequences in patterns, syntax ofPatterns
exiting with yyterminate()Actions
experimental form of c++ scanner classCxx
extended scope of start conditionsStart Conditions

F
file formatFormat
file format, serialized tablesTables File Format
flushing an input bufferMultiple Input Buffers
flushing the internal bufferActions
format of flex inputFormat
format of input fileFormat
freeing tablesLoading and Unloading Serialized Tables

G
getting current start state with YY_STARTStart Conditions

H
halting with yyterminate()Actions
handling include files with multiple input buffersMultiple Input Buffers
handling include files with multiple input buffersMultiple Input Buffers
header files, with C++Cxx

I
include files, with C++Cxx
input file, Definitions sectionDefinitions Section
input file, Rules SectionRules Section
input file, user code SectionUser Code Section
input, format ofFormat
input, matchingMatching
input()Actions
input(), and C++Actions

K
keywords, for performancePerformance

L
lex (traditional) and POSIXLex and Posix
LexerInput, overridingHow do I use my own I/O classes in a C++ scanner?
LexerOutput, overridingHow do I use my own I/O classes in a C++ scanner?
limitations of flexLimitations
literal text in patterns, syntax ofPatterns
loading tables at runtimeLoading and Unloading Serialized Tables

M
m4M4 Dependency
Makefile, example of implicit rulesMakefiles and Flex
Makefile, explicit exampleMakefiles and Flex
Makefile, syntaxMakefiles and Flex
matching C-style double-quoted stringsStart Conditions
matching, and trailing contextMatching
matching, length ofMatching
matching, multiple matchesMatching
member functions, C++Cxx
memory managementMemory Management
memory, allocating input buffersMultiple Input Buffers
memory, considerations for reentrant scannersInit and Destroy Functions
memory, deleting input buffersMultiple Input Buffers
memory, for start condition stacksStart Conditions
memory, serialized tablesSerialized Tables
memory, serialized tablesLoading and Unloading Serialized Tables
methods, c++Cxx
minimal scannerMatching
multiple input streamsMultiple Input Buffers

N
name definitions, not POSIXLex and Posix
negating ranges in patternsPatterns
newline, matching in patternsPatterns
non-POSIX features of flexLex and Posix
noyywrap, %optionGenerated Scanner
NULL character in patterns, syntax ofPatterns

O
octal characters in patternsPatterns
options, command-lineScanner Options
overriding LexerInputHow do I use my own I/O classes in a C++ scanner?
overriding LexerOutputHow do I use my own I/O classes in a C++ scanner?
overriding the memory routinesOverriding The Default Memory Management

P
Pascal-like languageSimple Examples
pattern aliases, definingDefinitions Section
pattern aliases, expansion ofPatterns
pattern aliases, how to defineDefinitions Section
pattern aliases, use ofDefinitions Section
patterns and actions on different linesLex and Posix
patterns, character class equivalencePatterns
patterns, commonCommon Patterns
patterns, end of linePatterns
patterns, grouping and precedencePatterns
patterns, in rules sectionPatterns
patterns, invalid trailing contextPatterns
patterns, matchingMatching
patterns, precedence of operatorsPatterns
patterns, repetitions with groupingPatterns
patterns, special characters treated as non-specialPatterns
patterns, syntaxPatterns
patterns, syntaxPatterns
patterns, tuning for performancePerformance
patterns, valid character classesPatterns
performance optimization, matching longer tokensPerformance
performance optimization, recognizing keywordsPerformance
performance, backing upPerformance
performance, considerationsPerformance
performance, using keywordsPerformance
popping an input bufferMultiple Input Buffers
POSIX and lexLex and Posix
POSIX comp;complianceLex and Posix
POSIX, character classes in patterns, syntax ofPatterns
preprocessor macros, for use in actionsActions
pushing an input bufferMultiple Input Buffers
pushing back characters with unputActions
pushing back characters with unput()Actions
pushing back characters with yylessActions
pushing back EOFActions

R
ranges in patternsPatterns
ranges in patterns, negatingPatterns
recognizing C commentsStart Conditions
reentrant scanners, multiple interleaved scannersReentrant Uses
reentrant scanners, recursive invocationReentrant Uses
reentrant, accessing flex variablesGlobal Replacement
reentrant, accessor functionsAccessor Methods
reentrant, API explanationReentrant Overview
reentrant, calling functionsExtra Reentrant Argument
reentrant, example ofReentrant Example
reentrant, explanationReentrant
reentrant, extra dataExtra Data
reentrant, initializationInit and Destroy Functions
regular expressions, in patternsPatterns
REJECTActions
REJECT, calling multiple timesActions
REJECT, performance costsPerformance
reporting bugsReporting Bugs
restarting the scannerLex and Posix
RETURN, within actionsGenerated Scanner
rules, defaultSimple Examples
rules, in flex inputRules Section

S
scanner, definition ofIntroduction
sections of flex inputFormat
serializationSerialized Tables
serialization of tablesCreating Serialized Tables
serialized tables, multiple scannersCreating Serialized Tables
stack, input buffer popMultiple Input Buffers
stack, input buffer pushMultiple Input Buffers
stacks, routines for manipulatingStart Conditions
start condition, applying to multiple patternsStart Conditions
start conditionsStart Conditions
start conditions, behavior of default ruleStart Conditions
start conditions, exclusiveStart Conditions
start conditions, for different interpretations of same inputStart Conditions
start conditions, in patternsPatterns
start conditions, inclusiveStart Conditions
start conditions, inclusive v.s. exclusiveStart Conditions
start conditions, integer valuesStart Conditions
start conditions, multipleStart Conditions
start conditions, special wildcard conditionStart Conditions
start conditions, use of a stackStart Conditions
start conditions, use of wildcard condition (<*>)Start Conditions
start conditions, using BEGINStart Conditions
stdin, default for yyinGenerated Scanner
stdout, as default for yyoutGenerated Scanner
strings, scanning strings instead of filesMultiple Input Buffers

T
tables, creating serializedCreating Serialized Tables
tables, file formatTables File Format
tables, freeingLoading and Unloading Serialized Tables
tables, loading and unloadingLoading and Unloading Serialized Tables
terminating with yyterminate()Actions
tokenMatching
trailing context, in patternsPatterns
trailing context, limits ofPatterns
trailing context, matchingMatching
trailing context, performance costsPerformance
trailing context, variable lengthPerformance

U
unput()Actions
unput(), and %pointerActions
unput(), pushing back charactersActions
user code, in flex inputUser Code Section
username expansionSimple Examples
using integer values of start condition namesStart Conditions

V
verbatim text in patterns, syntax ofPatterns

W
warning, dangerous trailing contextLimitations
warning, rule cannot be matchedDiagnostics
warnings, diagnostic messagesDiagnostics
whitespace, compressingActions

Y
yacc interfaceYacc
yacc, interfaceYacc
YY_CURRENT_BUFFER, and multiple buffers Finally, the macroMultiple Input Buffers
YY_EXTRA_TYPE, defining your own typeExtra Data
YY_FLUSH_BUFFERActions
YY_INPUTGenerated Scanner
YY_INPUT, overridingGenerated Scanner
YY_START, exampleStart Conditions
YY_USER_ACTION to track each time a rule is matchedMisc Macros
yyalloc, overridingOverriding The Default Memory Management
yyfree, overridingOverriding The Default Memory Management
yyinGenerated Scanner
yyinput()Actions
yylengMatching
yyleng, modification ofActions
yyless()Actions
yyless(), pushing back charactersActions
yylex, overriding the prototype ofGenerated Scanner
yylex(), in generated scannerGenerated Scanner
yylex(), overridingGenerated Scanner
yylineno, in a reentrant scannerReentrant Functions
yylineno, performance costsPerformance
yymore, and yylengActions
yymore, performance penalty ofActions
yymore()Actions
yymore() to append token to previous tokenActions
yymore(), mega-kludgeActions
yyoutGenerated Scanner
yyrealloc, overridingOverriding The Default Memory Management
yyrestart()Generated Scanner
yyterminate()Actions
yytextMatching
yytext, default array sizeUser Values
yytext, memory considerationsA Note About yytext And Memory
yytext, modification ofActions
yytext, two types ofMatching
yywrap, default forGenerated Scanner
yywrap()Generated Scanner