A B C D E F G H I J L M N O P Q R S T U V W Y Z _ 

A

Action - Class in JFlex
Encapsulates an action in the specification.
Action(String, int) - Constructor for class JFlex.Action
Creates a new Action object with specified content and line number.
Action(int) - Constructor for class JFlex.Action
Creates a new Action object of the specified kind.
ACTION - Static variable in interface JFlex.sym
 
action_obj - Variable in class JFlex.LexParse
Instance of action encapsulation class.
action_table() - Method in class JFlex.LexParse
Access to parse-action table.
add(int) - Method in class JFlex.CharSet
 
add(Vector, Action) - Method in class JFlex.EOFActions
 
add(Integer, Action) - Method in class JFlex.EOFActions
 
add(IntCharSet) - Method in class JFlex.IntCharSet
 
add(Interval) - Method in class JFlex.IntCharSet
 
add(char) - Method in class JFlex.IntCharSet
 
add(StateSet) - Method in class JFlex.StateSet
 
addEpsilonTransition(int, int) - Method in class JFlex.NFA
 
addPair(int, int) - Method in class JFlex.StatePairList
 
addRegExp(int) - Method in class JFlex.NFA
Add a regexp to this NFA.
addStandaloneRule() - Method in class JFlex.NFA
Add a standalone rule that has minimum priority, fires a transition on all single input characters and has a "print yytext" action.
addState(int) - Method in class JFlex.StateSet
 
addStates(int, Vector) - Method in class JFlex.RegExps
 
addTransition(int, char, int) - Method in class JFlex.DFA
 
addTransition(int, int, int) - Method in class JFlex.NFA
 
ALREADY_RUNNING - Static variable in class JFlex.ErrorMessages
 
and(IntCharSet) - Method in class JFlex.IntCharSet
 
anyChar() - Method in class JFlex.RegExp
Returns a regexp that matches any character: [^]
ASCII - Static variable in interface JFlex.sym
 

B

BACKWARD_ACTION - Static variable in class JFlex.Action
Action of the backward pass for lookahead
BANG - Static variable in interface JFlex.sym
 
BAR - Static variable in interface JFlex.sym
 
breaks() - Method in class JFlex.PackEmitter
Execute line/chunk break if necessary.

C

CANNOT_OPEN - Static variable in class JFlex.ErrorMessages
 
CANNOT_READ_SKEL - Static variable in class JFlex.ErrorMessages
 
CCLASS - Static variable in interface JFlex.sym
 
CCLASSNOT - Static variable in interface JFlex.sym
 
CHAR - Static variable in interface JFlex.sym
 
CHAR_I - Static variable in interface JFlex.sym
 
characters() - Method in class JFlex.CharSet
 
CHARCLASS - Static variable in class JFlex.LexScan
 
CHARCLASS_MACRO - Static variable in class JFlex.ErrorMessages
 
CharClasses - Class in JFlex
 
CharClasses(int) - Constructor for class JFlex.CharClasses
Constructs a new CharClass object that provides space for classes of characters from 0 to maxCharCode.
CharClassException - Exception in JFlex
This Exception is used in class CharClasses.
CharClassException() - Constructor for exception JFlex.CharClassException
Creates a new CharClassException without message
CharClassException(String) - Constructor for exception JFlex.CharClassException
Creates a new CharClassException with the specified message
CharClassInterval - Class in JFlex
Stores an interval of characters together with the character class A character belongs to an interval, if its Unicode value is greater than or equal to the Unicode value of start and smaller than or euqal to the Unicode value of end.
CharClassInterval(int, int, int) - Constructor for class JFlex.CharClassInterval
Creates a new CharClassInterval from start to end that belongs to character class charClass.
CharSet - Class in JFlex
 
CharSet() - Constructor for class JFlex.CharSet
 
CharSet(int, int) - Constructor for class JFlex.CharSet
 
CHARSET_2_SMALL - Static variable in class JFlex.ErrorMessages
 
CharSetEnumerator - Class in JFlex
Enumerator for the elements of a CharSet.
CharSetEnumerator(CharSet) - Constructor for class JFlex.CharSetEnumerator
 
check() - Method in class JFlex.CharClasses
Check consistency of the stored classes [debug].
check(RegExps, Macros, File) - Static method in class JFlex.SemCheck
Performs semantic analysis for all expressions.
checkActions(LexScan, LexParse) - Method in class JFlex.DFA
Check that all actions can actually be matched in this DFA.
checkActions() - Method in class JFlex.RegExps
 
checkErrors() - Static method in class JFlex.Out
throws a GeneratorException if there are any errors recorded
checkLookAheads() - Method in class JFlex.RegExps
 
chunks - Variable in class JFlex.PackEmitter
number of existing string chunks
clear() - Method in class JFlex.StateSet
 
CLOSEBRACKET - Static variable in interface JFlex.sym
 
CLOSECLASS - Static variable in interface JFlex.sym
 
column - Variable in exception JFlex.ScannerException
 
COMMA - Static variable in interface JFlex.sym
 
COMMENT - Static variable in class JFlex.LexScan
 
complement(StateSet) - Method in class JFlex.StateSet
Returns the set of elements that contained are in the specified set but are not contained in this set.
conc(Object, Object) - Static method in class JFlex.LexScan
 
CONCAT - Static variable in interface JFlex.sym
 
concExc(Object, Object) - Static method in class JFlex.LexScan
 
constName() - Method in class JFlex.PackEmitter
Convert array name into all uppercase internal scanner constant name.
contains(char) - Method in class JFlex.IntCharSet
 
contains(char) - Method in class JFlex.Interval
Return true iff point is contained in this intervall.
contains(Interval) - Method in class JFlex.Interval
Return true iff this intervall completely contains the other one.
containsElements() - Method in class JFlex.CharSet
 
containsElements() - Method in class JFlex.IntCharSet
 
containsElements() - Method in class JFlex.StateSet
 
containsSet(StateSet) - Method in class JFlex.StateSet
 
copy() - Method in class JFlex.IntCharSet
Return a (deep) copy of this char set
copy() - Method in class JFlex.Interval
Make a copy of this interval.
COPY - Static variable in class JFlex.LexScan
 
copy() - Method in class JFlex.StateSet
 
copy(StateSet) - Method in class JFlex.StateSet
Copy specified StateSet into this.
copyChoice(int) - Method in class JFlex.Action
 
CountEmitter - Class in JFlex
An emitter for an array encoded as count/value pairs in a string.
CountEmitter(String) - Constructor for class JFlex.CountEmitter
Create a count/value emitter for a specific field.
CS2SMALL_CHAR - Static variable in class JFlex.ErrorMessages
 
CS2SMALL_STRING - Static variable in class JFlex.ErrorMessages
 
CTOR_ARG - Static variable in class JFlex.ErrorMessages
 
CTOR_ARG - Static variable in class JFlex.LexScan
 
CTOR_DEBUG - Static variable in class JFlex.ErrorMessages
 
CUPSYM_AFTER_CUP - Static variable in class JFlex.ErrorMessages
 
currentLine() - Method in class JFlex.LexScan
 

D

DASH - Static variable in interface JFlex.sym
 
DEBUG - Static variable in class JFlex.Options
If true, additional verbose debug information is produced This is a compile time option
debug(String) - Static method in class JFlex.Out
Dump debug information to System.out Use like this if (Out.DEBUG) Out.debug(message) to save performance during normal operation (when DEBUG is turned off).
debug_next_token() - Method in class JFlex.LexScan
Same as next_token but also prints the token to standard out for debugging.
DELIMITER - Static variable in interface JFlex.sym
 
DFA - Class in JFlex
DFA representation in JFlex.
DFA(int, int, int) - Constructor for class JFlex.DFA
 
DFA_IS - Static variable in class JFlex.ErrorMessages
 
DFA_TOOK - Static variable in class JFlex.ErrorMessages
 
diff() - Method in class JFlex.Timer
Return the number of milliseconds the timer has been running.
DIGITCLASS - Static variable in interface JFlex.sym
 
do_action(int, lr_parser, Stack, int) - Method in class JFlex.LexParse
Invoke a user supplied parse action.
DOLLAR - Static variable in interface JFlex.sym
 
dot - Static variable in class JFlex.Options
If true, jflex will write graphviz .dot files for generated automata
dotFormat() - Method in class JFlex.DFA
 
dotFormat() - Method in class JFlex.NFA
 
dump() - Method in class JFlex.CharClasses
Dump charclasses to the dump output stream
dump - Static variable in class JFlex.Options
If true, you will be flooded with information (e.g.
dump(String) - Static method in class JFlex.Out
All parts of JFlex, that want to provide dump information should use this method for their output.
dumpTable() - Method in class JFlex.NFA
 

E

EATWSPNL - Static variable in class JFlex.LexScan
 
emit(int, int) - Method in class JFlex.CountEmitter
Emit one count/value pair.
emit() - Method in class JFlex.Emitter
Main Emitter method.
emit(int) - Method in class JFlex.HiLowEmitter
Emit one value using two characters.
emitActionTable() - Method in class JFlex.Emitter
 
emitInit() - Method in class JFlex.PackEmitter
Emit declaration of decoded member and open first chunk.
emitNext() - Method in class JFlex.Skeleton
Emits the next part of the skeleton
Emitter - Class in JFlex
This class manages the actual code generation, putting the scanner together, filling in skeleton sections etc.
Emitter(File, LexParse, DFA) - Constructor for class JFlex.Emitter
 
emitUC(int) - Method in class JFlex.PackEmitter
Emit single unicode character.
emitUnpack() - Method in class JFlex.CountEmitter
Emits count/value unpacking code for the generated array.
emitUnpack() - Method in class JFlex.HiLowEmitter
Emits hi/low pair unpacking code for the generated array.
emitUnpack() - Method in class JFlex.PackEmitter
Emit the unpacking code.
EMPTY - Static variable in class JFlex.StateSet
 
EMPTY_MATCH - Static variable in class JFlex.ErrorMessages
 
end - Variable in class JFlex.Interval
 
endsWithJavadoc(StringBuffer) - Static method in class JFlex.Emitter
Try to find out if user code ends with a javadoc comment
EOF - Static variable in interface JFlex.sym
 
EOF_IN_ACTION - Static variable in class JFlex.ErrorMessages
 
EOF_IN_COMMENT - Static variable in class JFlex.ErrorMessages
 
EOF_IN_MACROS - Static variable in class JFlex.ErrorMessages
 
EOF_IN_REGEXP - Static variable in class JFlex.ErrorMessages
 
EOF_IN_STATES - Static variable in class JFlex.ErrorMessages
 
EOF_IN_STRING - Static variable in class JFlex.ErrorMessages
 
EOF_SINGLERULE - Static variable in class JFlex.ErrorMessages
 
EOF_sym() - Method in class JFlex.LexParse
EOF Symbol index.
EOF_WO_ACTION - Static variable in class JFlex.ErrorMessages
 
EOFActions - Class in JFlex
A simple table to store EOF actions for each lexical state.
EOFActions() - Constructor for class JFlex.EOFActions
 
EOFRULE - Static variable in interface JFlex.sym
 
EOL_IN_CHARCLASS - Static variable in class JFlex.ErrorMessages
 
equals(Object) - Method in class JFlex.Action
Test for equality to another object.
equals(Object) - Method in class JFlex.IntCharSet
o instanceof Interval
equals(Object) - Method in class JFlex.Interval
Return true if o is an intervall with the same borders.
equals(Object) - Method in class JFlex.StateSet
 
EQUALS - Static variable in interface JFlex.sym
 
error(String) - Static method in class JFlex.Out
print error message (string)
error(ErrorMessages) - Static method in class JFlex.Out
print error message (code)
error(ErrorMessages, String) - Static method in class JFlex.Out
print error message with data
error(ErrorMessages, File) - Static method in class JFlex.Out
IO error message for a file (displays file name in parentheses).
error(File, ErrorMessages, int, int) - Static method in class JFlex.Out
print error message with location information
error - Static variable in interface JFlex.sym
 
error_sym() - Method in class JFlex.LexParse
error Symbol index.
ErrorMessages - Class in JFlex
Central class for all kinds of JFlex messages.
expand() - Method in class JFlex.Macros
Expands all stored macros, so that getDefinition always returns a defintion that doesn't contain any macro usages.

F

file - Variable in exception JFlex.ScannerException
 
FILE_CYCLE - Static variable in class JFlex.ErrorMessages
 
FILE_WRITE - Static variable in class JFlex.ErrorMessages
 
FINITE_CHOICE - Static variable in class JFlex.Action
Action of a lookahead expression r1/r2 with a finite choice of fixed lengths in r2
FIXED_BASE - Static variable in class JFlex.Action
Action of a lookahead expression r1/r2 with fixed length r1
FIXED_LOOK - Static variable in class JFlex.Action
Action of a lookahead expression r1/r2 with fixed length r2
FORWARD_ACTION - Static variable in class JFlex.Action
Action of the 2nd forward pass for lookahead
FULL - Static variable in interface JFlex.sym
 

G

gen_method - Static variable in class JFlex.Options
default code generation method
GENERAL_LOOK - Static variable in class JFlex.Action
Action of a general lookahead expression
generate(File) - Static method in class JFlex.Main
Generates a scanner for the specified input file.
generate(String[]) - Static method in class JFlex.Main
 
GeneratorException - Exception in JFlex
Thrown when code generation has to be aborted.
GeneratorException() - Constructor for exception JFlex.GeneratorException
 
get(ErrorMessages) - Static method in class JFlex.ErrorMessages
 
get(ErrorMessages, String) - Static method in class JFlex.ErrorMessages
 
get(ErrorMessages, String, String) - Static method in class JFlex.ErrorMessages
 
get(ErrorMessages, int) - Static method in class JFlex.ErrorMessages
 
getAction(int) - Method in class JFlex.EOFActions
 
getAction(int) - Method in class JFlex.RegExps
 
getAndRemoveElement() - Method in class JFlex.StateSet
Returns one element of the set and removes it.
getBaseName(String) - Static method in class JFlex.Emitter
Computes base name of the class name.
getCaseless() - Method in class JFlex.IntCharSet
Create a caseless version of this charset.
getCharClasses() - Method in class JFlex.LexParse
 
getClassCode(char) - Method in class JFlex.CharClasses
Returns the code of the character class the specified character belongs to.
getClassCodes(Vector) - Method in class JFlex.CharClasses
Returns an array that contains the character class codes of all characters in the specified set of input characters.
getDefault() - Method in class JFlex.EOFActions
 
getDefinition(String) - Method in class JFlex.Macros
Fetches the definition of the macro with the specified name,
getDFA() - Method in class JFlex.NFA
Returns an DFA that accepts the same language as this NFA.
getDir() - Static method in class JFlex.Options
 
getEntryState() - Method in class JFlex.Action
Return the corresponding entry state for the forward DFA (if this is a general lookahead expression)
getEOFActions() - Method in class JFlex.LexParse
 
getHigherPriority(Action) - Method in class JFlex.Action
Compares the priority value of this Action with the specified action.
getInclusiveStates() - Method in class JFlex.LexicalStates
returns the code of all inclusive states
getIntervals() - Method in class JFlex.CharClasses
Returns an array of all CharClassIntervalls in this char class collection.
getLine(int) - Method in class JFlex.RegExps
 
getLookAhead(int) - Method in class JFlex.RegExps
 
getLookEntry(int) - Method in class JFlex.RegExps
 
getLookLength() - Method in class JFlex.Action
The length of the lookahead or base if this is a fixed length lookahead action.
getMaxCharCode() - Method in class JFlex.CharClasses
Returns the greatest Unicode value of the current input character set.
getNext() - Method in class JFlex.IntCharSet
 
getNotClassCodes(Vector) - Method in class JFlex.CharClasses
Returns an array that contains the character class codes of all characters that are not in the specified set of input characters.
getNum() - Method in class JFlex.RegExps
 
getNumber(String) - Method in class JFlex.LexicalStates
returns the number (code) of a declared state, null if no such state has been declared.
getNumClasses() - Method in class JFlex.CharClasses
Returns the current number of character classes.
getRegExp(int) - Method in class JFlex.RegExps
 
getStates(int) - Method in class JFlex.RegExps
 

H

hashCode() - Method in class JFlex.Action
Calculate hash value.
hashCode() - Method in class JFlex.StateSet
 
hasMoreElements() - Method in class JFlex.CharSetEnumerator
 
hasMoreElements() - Method in class JFlex.StateSetEnumerator
 
HAT - Static variable in interface JFlex.sym
 
HiLowEmitter - Class in JFlex
HiLowEmitter
HiLowEmitter(String) - Constructor for class JFlex.HiLowEmitter
Create new emitter for values in [0, 0xFFFFFFFF] using hi/low encoding.

I

IDENT - Static variable in interface JFlex.sym
 
init_actions() - Method in class JFlex.LexParse
Action encapsulation object initializer.
insert(String, boolean) - Method in class JFlex.LexicalStates
insert a new state declaration
insert(String, RegExp) - Method in class JFlex.Macros
Stores a new macro and its definition.
insert(int, Vector, RegExp, Action, Boolean, RegExp) - Method in class JFlex.RegExps
 
insert(Vector, Action) - Method in class JFlex.RegExps
 
insertNFA(RegExp) - Method in class JFlex.NFA
Constructs an NFA for regExp such that the NFA has exactly one start state, exactly one end state, no transitions leading out of the end state no transitions leading into the start state
INT_AND_TYPE - Static variable in class JFlex.ErrorMessages
 
IntCharSet - Class in JFlex
CharSet implemented with intervalls [fixme: optimizations possible]
IntCharSet() - Constructor for class JFlex.IntCharSet
 
IntCharSet(char) - Constructor for class JFlex.IntCharSet
 
IntCharSet(Interval) - Constructor for class JFlex.IntCharSet
 
IntCharSet(Vector) - Constructor for class JFlex.IntCharSet
 
Interval - Class in JFlex
An intervall of characters with basic operations.
Interval(char, char) - Constructor for class JFlex.Interval
Constuct a new intervall from start to end.
Interval(Interval) - Constructor for class JFlex.Interval
Copy constructor
IO_ERROR - Static variable in class JFlex.ErrorMessages
 
isBOL(int) - Method in class JFlex.RegExps
 
isCharClass(Macros) - Method in class JFlex.RegExp
Find out if this regexp is a char class or equivalent to one.
isElement(int) - Method in class JFlex.CharSet
 
isElement(int) - Method in class JFlex.StateSet
 
isEmittable() - Method in class JFlex.Action
Return true if code for this is action should be emitted, false if it is a BACK/FORWARD lookahead action.
isEOF(int) - Method in class JFlex.RegExps
 
isEOFAction(Object) - Method in class JFlex.EOFActions
 
isEquiv(Action) - Method in class JFlex.Action
Returns true iff the parameter is an Action with the same content as this one.
isFiniteChoice(RegExp) - Static method in class JFlex.SemCheck
Returns true iff the expression is a finite choice of fixed length expressions.
isGenLookAction() - Method in class JFlex.Action
Return true iff this is action belongs to a general lookahead rule.
isUsed(String) - Method in class JFlex.Macros
Tests if a macro has been used.

J

JAVA_CODE - Static variable in class JFlex.LexScan
 
JFlex - package JFlex
 
JLETTERCLASS - Static variable in interface JFlex.sym
 
JLETTERDIGITCLASS - Static variable in interface JFlex.sym
 
jlex - Static variable in class JFlex.Options
strict JLex compatibility

L

LBRACE - Static variable in interface JFlex.sym
 
length(RegExp) - Static method in class JFlex.SemCheck
Returns length if expression has fixed length, -1 otherwise.
LESSTHAN - Static variable in interface JFlex.sym
 
LETTERCLASS - Static variable in interface JFlex.sym
 
LexicalStates - Class in JFlex
Simple symbol table, mapping lexical state names to integers.
LexicalStates() - Constructor for class JFlex.LexicalStates
constructs a new lexical state symbol table
LexParse - Class in JFlex
CUP v0.11a beta 20060608 generated parser.
LexParse() - Constructor for class JFlex.LexParse
Default constructor.
LexParse(Scanner) - Constructor for class JFlex.LexParse
Constructor which sets the default scanner.
LexParse(Scanner, SymbolFactory) - Constructor for class JFlex.LexParse
Constructor which sets the default scanner.
LexParse(LexScan) - Constructor for class JFlex.LexParse
 
LexScan - Class in JFlex
The lexer of JFlex.
LexScan(Reader) - Constructor for class JFlex.LexScan
Creates a new scanner There is also a java.io.InputStream version of this constructor.
LexScan(InputStream) - Constructor for class JFlex.LexScan
Creates a new scanner.
LEXSTATE_UNDECL - Static variable in class JFlex.ErrorMessages
 
line - Variable in exception JFlex.ScannerException
 
line - Static variable in class JFlex.Skeleton
The skeleton
lookAhead() - Method in class JFlex.Action
Return kind of lookahead.
LOOKAHEAD - Static variable in interface JFlex.sym
 
LOOKAHEAD_NEEDS_ACTION - Static variable in class JFlex.ErrorMessages
 
lookString() - Method in class JFlex.Action
String representation of the lookahead kind of this action.
LOWERCLASS - Static variable in interface JFlex.sym
 

M

MACRO_CYCLE - Static variable in class JFlex.ErrorMessages
 
MACRO_DEF_MISSING - Static variable in class JFlex.ErrorMessages
 
MACRO_UNDECL - Static variable in class JFlex.ErrorMessages
 
MacroException - Exception in JFlex
This Exception is used in the macro expander to report cycles or undefined macro usages.
MacroException() - Constructor for exception JFlex.MacroException
Creates a new MacroException without message
MacroException(String) - Constructor for exception JFlex.MacroException
Creates a new MacroException with the specified message
MACROS - Static variable in class JFlex.LexScan
 
Macros - Class in JFlex
Symbol table and expander for macros.
Macros() - Constructor for class JFlex.Macros
Creates a new macro expander.
MACROUSE - Static variable in interface JFlex.sym
 
main(String[]) - Static method in class JFlex.LexScan
Runs the scanner on input files.
Main - Class in JFlex
This is the main class of JFlex controlling the scanner generation process.
Main() - Constructor for class JFlex.Main
 
main(String[]) - Static method in class JFlex.Main
Starts the generation process with the files in argv or pops up a window to choose a file, when argv doesn't have any file entries.
makeClass(IntCharSet, boolean) - Method in class JFlex.CharClasses
Updates the current partition, so that the specified set of characters gets a new character class.
makeClass(char, boolean) - Method in class JFlex.CharClasses
Creates a new character class for the single character singleChar.
makeClass(String, boolean) - Method in class JFlex.CharClasses
Creates a new character class for each character of the specified String.
makeClass(Vector, boolean) - Method in class JFlex.CharClasses
Updates the current partition, so that the specified set of characters gets a new character class.
makeClassNot(Vector, boolean) - Method in class JFlex.CharClasses
Updates the current partition, so that the set of all characters not contained in the specified set of characters gets a new character class.
makePrivate() - Static method in class JFlex.Skeleton
Make the skeleton private.
markAll(StatePairList[][], boolean[][]) - Method in class JFlex.StatePairList
 
markUsed(String) - Method in class JFlex.Macros
Marks a makro as used.
maxChar - Static variable in class JFlex.CharClasses
the largest character that can be used in char classes
maybeEmtpy(RegExp) - Static method in class JFlex.SemCheck
Checks if the expression potentially matches the empty string.
message - Variable in exception JFlex.ScannerException
 
MIN_DFA_IS - Static variable in class JFlex.ErrorMessages
 
MIN_TOOK - Static variable in class JFlex.ErrorMessages
 
minimize() - Method in class JFlex.DFA
Implementation of Hopcroft's O(n log n) minimization algorithm, follows description by D.
MORETHAN - Static variable in interface JFlex.sym
 

N

name - Variable in class JFlex.PackEmitter
name of the generated array (mixed case, no yy prefix)
names() - Method in class JFlex.LexicalStates
returns the names of all states
NEVER_MATCH - Static variable in class JFlex.ErrorMessages
 
next_token() - Method in class JFlex.LexScan
Resumes scanning until the next regular expression is matched, the end of input is encountered or an I/O-Error occurs.
nextElement() - Method in class JFlex.CharSetEnumerator
 
nextElement() - Method in class JFlex.StateSetEnumerator
 
NFA - Class in JFlex
NFA representation in JFlex.
NFA(int, int) - Constructor for class JFlex.NFA
 
NFA(int, LexScan, RegExps, Macros, CharClasses) - Constructor for class JFlex.NFA
Construct new NFA.
NFA_IS - Static variable in class JFlex.ErrorMessages
 
NFA_STATES - Static variable in class JFlex.ErrorMessages
 
NFA_TOOK - Static variable in class JFlex.ErrorMessages
 
NFASize(Macros) - Method in class JFlex.RegExps
 
NL - Static variable in class JFlex.Out
platform dependent newline sequence
nl() - Method in class JFlex.PackEmitter
emit newline
no_backup - Static variable in class JFlex.Options
don't write backup files if this is true
NO_BUFFER_SIZE - Static variable in class JFlex.ErrorMessages
 
NO_DIRECTORY - Static variable in class JFlex.ErrorMessages
 
NO_LAST_ACTION - Static variable in class JFlex.ErrorMessages
 
NO_LEX_SPEC - Static variable in class JFlex.ErrorMessages
 
NO_MATCHING_BR - Static variable in class JFlex.ErrorMessages
 
no_minimize - Static variable in class JFlex.Options
don't run minimization algorithm if this is true
NO_SKEL_FILE - Static variable in class JFlex.ErrorMessages
 
NO_TARGET - Static variable in class JFlex.DFA
The code for "no target state" in the transition table.
NOACTION - Static variable in interface JFlex.sym
 
NORMAL - Static variable in class JFlex.Action
A normal action
normalize(String, File) - Static method in class JFlex.Emitter
Constructs a file in Options.getDir() or in the same directory as another file.
NOT_AT_BOL - Static variable in class JFlex.ErrorMessages
 
NOT_READABLE - Static variable in class JFlex.ErrorMessages
 
numActions() - Method in class JFlex.EOFActions
 
number() - Method in class JFlex.LexicalStates
returns the number of declared states
numEntryStates() - Method in class JFlex.NFA
 
numIntervalls() - Method in class JFlex.IntCharSet
 

O

old_minimize() - Method in class JFlex.DFA
Much simpler, but slower and less memory efficient minimization algorithm.
OPENBRACKET - Static variable in interface JFlex.sym
 
OPENCLASS - Static variable in interface JFlex.sym
 
Options - Class in JFlex
Collects all global JFlex options.
Options() - Constructor for class JFlex.Options
 
Out - Class in JFlex
In this class all output to the java console is filtered.
Out() - Constructor for class JFlex.Out
 
out - Variable in class JFlex.PackEmitter
output buffer
OUT_OF_MEMORY - Static variable in class JFlex.ErrorMessages
 

P

PACK - Static variable in class JFlex.Options
code generation method: maximum packing
PackEmitter - Class in JFlex
Encodes int arrays as strings.
PackEmitter(String) - Constructor for class JFlex.PackEmitter
Create new emitter for an array.
parseOptions(String[]) - Static method in class JFlex.Main
 
PARSING_TOOK - Static variable in class JFlex.ErrorMessages
 
PLUS - Static variable in interface JFlex.sym
 
POINT - Static variable in interface JFlex.sym
 
print(String) - Static method in class JFlex.Out
Report generation progress.
print(String) - Method in class JFlex.RegExp
Returns a String-representation of this regular expression with the specified indentation.
print(String) - Method in class JFlex.RegExp1
Returns a String-representation of this regular expression with the specified indentation.
print(String) - Method in class JFlex.RegExp2
 
printBlocks(int[], int[], int[], int) - Method in class JFlex.DFA
 
printInvDelta(int[][], int[]) - Method in class JFlex.DFA
 
printL(int[], int[], int) - Method in class JFlex.DFA
 
println(String) - Static method in class JFlex.Out
Report generation progress.
println(ErrorMessages, String) - Static method in class JFlex.Out
Report generation progress.
println(ErrorMessages, int) - Static method in class JFlex.Out
Report generation progress.
println(String) - Method in class JFlex.PackEmitter
 
println() - Method in class JFlex.StdOutWriter
Begin a new line.
printSystemInfo() - Static method in class JFlex.Out
Print system information (e.g.
printTable(boolean[][]) - Method in class JFlex.DFA
 
printUsage() - Static method in class JFlex.Main
 
production_table() - Method in class JFlex.LexParse
Access to production table.
progress - Static variable in class JFlex.Options
If true, progress dots will be printed

Q

QUESTION - Static variable in interface JFlex.sym
 
QUIL_CUPSYM - Static variable in class JFlex.ErrorMessages
 
QUIL_EOFTHROW - Static variable in class JFlex.ErrorMessages
 
QUIL_INITTHROW - Static variable in class JFlex.ErrorMessages
 
QUIL_SCANERROR - Static variable in class JFlex.ErrorMessages
 
QUIL_THROW - Static variable in class JFlex.ErrorMessages
 
QUIL_YYLEXTHROW - Static variable in class JFlex.ErrorMessages
 

R

RBRACE - Static variable in interface JFlex.sym
 
readDefault() - Static method in class JFlex.Skeleton
(Re)load the default skeleton.
READING - Static variable in class JFlex.ErrorMessages
 
READING_SKEL - Static variable in class JFlex.ErrorMessages
 
readSkel(BufferedReader) - Static method in class JFlex.Skeleton
Reads an external skeleton file from a BufferedReader.
readSkelFile(File) - Static method in class JFlex.Skeleton
Reads an external skeleton file for later use with this class.
reduce_table() - Method in class JFlex.LexParse
Access to reduce_goto table.
REGEXP - Static variable in class JFlex.LexScan
 
RegExp - Class in JFlex
Stores a regular expression of rules section in a JFlex-specification.
RegExp(int) - Constructor for class JFlex.RegExp
Create a new regular expression of the specified type.
RegExp1 - Class in JFlex
Stores a regular expression from the rules section of a JFlex specification.
RegExp1(int, Object) - Constructor for class JFlex.RegExp1
Constructs a new regular expression with one child object.
RegExp2 - Class in JFlex
Regular expression with two children (e.g.
RegExp2(int, RegExp, RegExp) - Constructor for class JFlex.RegExp2
 
REGEXP_EXPECTED - Static variable in class JFlex.ErrorMessages
 
REGEXPEND - Static variable in interface JFlex.sym
 
RegExps - Class in JFlex
Stores all rules of the specification for later access in RegExp -> NFA
RegExps() - Constructor for class JFlex.RegExps
 
REGEXPSTART - Static variable in class JFlex.LexScan
 
remove(int) - Method in class JFlex.StateSet
 
REPEAT - Static variable in interface JFlex.sym
 
REPEAT_GREATER - Static variable in class JFlex.ErrorMessages
 
REPEAT_ZERO - Static variable in class JFlex.ErrorMessages
 
REPEATEXP - Static variable in class JFlex.LexScan
 
replace(String, String, String) - Static method in class JFlex.Skeleton
Replaces a with b in c.
report_error(String, Object) - Method in class JFlex.LexParse
 
report_fatal_error(String, Object) - Method in class JFlex.LexParse
 
requestBugReport(Error) - Static method in class JFlex.Out
Request a bug report for an unexpected Exception/Error.
reset(StateSet) - Method in class JFlex.StateSetEnumerator
 
resetCounters() - Static method in class JFlex.Out
reset error and warning counters
resolveTilde(Macros) - Method in class JFlex.RegExp
Recursively convert tilde (upto) expressions into negation and star.
rev(Macros) - Method in class JFlex.RegExp
Create a new regexp that matches the reverse text of this one.
revString(String) - Static method in class JFlex.RegExp
 

S

scanner - Variable in class JFlex.LexParse
 
ScannerException - Exception in JFlex
This Exception could be thrown while scanning the specification (e.g.
ScannerException(ErrorMessages) - Constructor for exception JFlex.ScannerException
Creates a new ScannerException with a message only.
ScannerException(File, ErrorMessages) - Constructor for exception JFlex.ScannerException
Creates a new ScannerException for a file with a message only.
ScannerException(ErrorMessages, int) - Constructor for exception JFlex.ScannerException
Creates a new ScannerException with a message and line number.
ScannerException(File, ErrorMessages, int) - Constructor for exception JFlex.ScannerException
Creates a new ScannerException for a file with a message and line number.
ScannerException(File, ErrorMessages, int, int) - Constructor for exception JFlex.ScannerException
Creates a new ScannerException with a message, line number and column.
SemCheck - Class in JFlex
Performs simple semantic analysis on regular expressions.
SemCheck() - Constructor for class JFlex.SemCheck
 
setAction(int, Action) - Method in class JFlex.DFA
 
setDefaults() - Static method in class JFlex.Options
Sets all options back to default values.
setDir(String) - Static method in class JFlex.Options
Set output directory
setDir(File) - Static method in class JFlex.Options
Set output directory
setEnd(char) - Method in class JFlex.Interval
Set a new last character
setEntryState(int) - Method in class JFlex.Action
Set the corresponding entry state for the forward DFA of this action (if this is a general lookahead expression)
setEntryState(int, int) - Method in class JFlex.DFA
 
setFile(File) - Method in class JFlex.LexScan
 
setFinal(int, boolean) - Method in class JFlex.DFA
 
setGUIMode(TextArea) - Static method in class JFlex.Out
Switches to GUI mode if text is not null
setGUIMode(TextArea) - Method in class JFlex.StdOutWriter
Set the TextArea to write text to.
setLookAction(int, int) - Method in class JFlex.Action
Sets the lookahead kind and data for this action
setMaxCharCode(int) - Method in class JFlex.CharClasses
Sets the largest Unicode value of the current input character set.
setNumLexStates(int) - Method in class JFlex.EOFActions
 
setOutputStream(OutputStream) - Static method in class JFlex.Out
Sets a new output stream and switches to non-gui mode.
setSkeleton(File) - Static method in class JFlex.Options
 
setStart(char) - Method in class JFlex.Interval
Set a new first character
setValTranslation(int) - Method in class JFlex.CountEmitter
Translate all values by given amount.
showPosition(File, int, int) - Static method in class JFlex.Out
prints a line of a file with marked position.
showPosition(File, int) - Static method in class JFlex.Out
print a line of a file
SilentExit - Exception in JFlex
Signals a silent exit (no statistics printout).
SilentExit() - Constructor for exception JFlex.SilentExit
 
size() - Method in class JFlex.CharSet
 
size(Macros) - Method in class JFlex.RegExp
The approximate number of NFA states this expression will need (only works correctly after macro expansion and without negation)
SKEL_IO_ERROR - Static variable in class JFlex.ErrorMessages
 
SKEL_IO_ERROR_DEFAULT - Static variable in class JFlex.ErrorMessages
 
Skeleton - Class in JFlex
This class stores the skeleton of generated scanners.
Skeleton(PrintWriter) - Constructor for class JFlex.Skeleton
Creates a new skeleton (iterator) instance.
STAR - Static variable in interface JFlex.sym
 
start - Variable in class JFlex.Interval
 
start() - Method in class JFlex.Timer
Start the timer.
start_production() - Method in class JFlex.LexParse
Indicates start production.
start_state() - Method in class JFlex.LexParse
Indicates start state.
STATE_IDENT_EXP - Static variable in class JFlex.ErrorMessages
 
STATELIST - Static variable in class JFlex.LexScan
 
StatePairList - Class in JFlex
A list of pairs of states.
StatePairList() - Constructor for class JFlex.StatePairList
 
STATES - Static variable in class JFlex.LexScan
 
states() - Method in class JFlex.StateSet
 
StateSet - Class in JFlex
A set of NFA states (= integers).
StateSet() - Constructor for class JFlex.StateSet
 
StateSet(int) - Constructor for class JFlex.StateSet
 
StateSet(int, int) - Constructor for class JFlex.StateSet
 
StateSet(StateSet) - Constructor for class JFlex.StateSet
 
StateSetEnumerator - Class in JFlex
Enumerates the states of a StateSet.
StateSetEnumerator() - Constructor for class JFlex.StateSetEnumerator
creates a new StateSetEnumerator that is not yet associated with a StateSet.
StateSetEnumerator(StateSet) - Constructor for class JFlex.StateSetEnumerator
 
statistics() - Static method in class JFlex.Out
print error and warning statistics
StdOutWriter - Class in JFlex
Convenience class for JFlex stdout, redirects output to a TextArea if in GUI mode.
StdOutWriter() - Constructor for class JFlex.StdOutWriter
A StdOutWriter, attached to System.out, no gui mode
StdOutWriter(OutputStream) - Constructor for class JFlex.StdOutWriter
A StdOutWrite, attached to the specified output stream, no gui mode
stop() - Method in class JFlex.Timer
Stop the timer.
STRING - Static variable in interface JFlex.sym
 
STRING_CONTENT - Static variable in class JFlex.LexScan
lexical states
STRING_I - Static variable in interface JFlex.sym
 
sub(IntCharSet) - Method in class JFlex.IntCharSet
 
SWITCH - Static variable in class JFlex.Options
code generation method: switch statement
sym - Interface in JFlex
CUP generated interface containing symbol constants.
SYNTAX_ERROR - Static variable in class JFlex.ErrorMessages
 

T

TABLE - Static variable in class JFlex.Options
code generation method: traditional
THIS_IS_JFLEX - Static variable in class JFlex.ErrorMessages
 
TILDE - Static variable in interface JFlex.sym
 
time - Static variable in class JFlex.Options
If true, jflex will print time statistics about the generation process
time(ErrorMessages, Timer) - Static method in class JFlex.Out
Report time statistic data.
time(String) - Static method in class JFlex.Out
Report time statistic data.
Timer - Class in JFlex
Very simple timer for code generation time statistics.
Timer() - Constructor for class JFlex.Timer
Construct a new timer that starts immediatly.
toString() - Method in class JFlex.Action
Returns the String representation of this object.
toString(int) - Method in class JFlex.CharClasses
Return a string representation of one char class
toString() - Method in class JFlex.CharClasses
Return a string representation of the char classes stored in this class.
toString() - Method in class JFlex.CharClassInterval
returns string representation of this class interval
toString() - Method in class JFlex.CharSet
 
toString() - Method in class JFlex.DFA
 
toString(int[]) - Method in class JFlex.DFA
 
toString() - Method in class JFlex.IntCharSet
Make a string representation of this char set.
toString() - Method in class JFlex.Interval
Get a String representation of this intervall.
toString() - Method in class JFlex.NFA
 
toString() - Method in class JFlex.PackEmitter
Return current output buffer.
toString() - Method in class JFlex.RegExp
Returns a String-representation of this regular expression
toString() - Method in class JFlex.RegExp1
Returns a String-representation of this regular expression
toString() - Method in class JFlex.RegExp2
 
toString() - Method in class JFlex.StateSet
 
toString() - Method in class JFlex.Timer
Return a string representation of the timer.
TOTAL_TIME - Static variable in class JFlex.ErrorMessages
 

U

UNEXPECTED_CHAR - Static variable in class JFlex.ErrorMessages
 
UNEXPECTED_EOF - Static variable in class JFlex.ErrorMessages
 
UNEXPECTED_NL - Static variable in class JFlex.ErrorMessages
 
UNICODE - Static variable in interface JFlex.sym
 
UNKNOWN_COMMANDLINE - Static variable in class JFlex.ErrorMessages
 
UNKNOWN_OPTION - Static variable in class JFlex.ErrorMessages
 
UNKNOWN_SYNTAX - Static variable in class JFlex.ErrorMessages
 
UNTERMINATED_STR - Static variable in class JFlex.ErrorMessages
 
unused() - Method in class JFlex.Macros
Returns all unused macros.
UPPERCLASS - Static variable in interface JFlex.sym
 
user_init() - Method in class JFlex.LexParse
User initialization code.
USERCODE - Static variable in interface JFlex.sym
 

V

verbose - Static variable in class JFlex.Options
If false, only error/warning output will be generated
version - Static variable in class JFlex.Main
JFlex version

W

warning(String) - Static method in class JFlex.Out
print a warning without position information
warning(ErrorMessages, int) - Static method in class JFlex.Out
print a warning with line information
warning(File, ErrorMessages, int, int) - Static method in class JFlex.Out
print warning message with location information
write(int) - Method in class JFlex.StdOutWriter
Write a single character.
write(char[], int, int) - Method in class JFlex.StdOutWriter
Write a portion of an array of characters.
write(String, int, int) - Method in class JFlex.StdOutWriter
Write a portion of a string.
WRITE_TOOK - Static variable in class JFlex.ErrorMessages
 
writeDot(File) - Method in class JFlex.DFA
 
writeDot(File) - Method in class JFlex.NFA
 
WRONG_SKELETON - Static variable in class JFlex.ErrorMessages
 

Y

yybegin(int) - Method in class JFlex.LexScan
Enters a new lexical state
yycharat(int) - Method in class JFlex.LexScan
Returns the character at position pos from the matched text.
yyclose() - Method in class JFlex.LexScan
Closes the input stream.
YYEOF - Static variable in class JFlex.LexScan
This character denotes the end of file
YYINITIAL - Static variable in class JFlex.LexScan
 
yylength() - Method in class JFlex.LexScan
Returns the length of the matched text region.
yymoreStreams() - Method in class JFlex.LexScan
Returns true iff there are still streams left to read from on the stream stack.
yypopStream() - Method in class JFlex.LexScan
Closes the current input stream and continues to read from the one on top of the stream stack.
yypushback(int) - Method in class JFlex.LexScan
Pushes the specified amount of characters back into the input stream.
yypushStream(Reader) - Method in class JFlex.LexScan
Stores the current input stream on a stack, and reads from a new stream.
yyreset(Reader) - Method in class JFlex.LexScan
Resets the scanner to read from a new input stream.
yystate() - Method in class JFlex.LexScan
Returns the current lexical state.
yytext() - Method in class JFlex.LexScan
Returns the text matched by the current regular expression.

Z

ZERO_STATES - Static variable in class JFlex.ErrorMessages
 

_

_action_table - Static variable in class JFlex.LexParse
Parse-action table.
_production_table - Static variable in class JFlex.LexParse
Production table.
_reduce_table - Static variable in class JFlex.LexParse
reduce_goto table.
A B C D E F G H I J L M N O P Q R S T U V W Y Z _