Alphabetical Index

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

_

_action_table - static field in class JFlex.LexParse
Parse-action table.
_production_table - static field in class JFlex.LexParse
Production table.
_reduce_table - static field in class JFlex.LexParse
reduce_goto table.

A

Action - class JFlex.Action
Encapsulates an action in the specification.
ACTION - static field in class JFlex.sym
Action(String,int) - constructor for class JFlex.Action
Creates a new Action object with specified content and line number.
action_obj - field in class JFlex.LexParse
Instance of action encapsulation class.
action_table() - method in class JFlex.LexParse
Access to parse-action table.
add(char) - method in class JFlex.IntCharSet
add(int) - method in class JFlex.CharSet
add(int,int,Component) - method in class JFlex.gui.GridPanel
add(int,int,int,Component) - method in class JFlex.gui.GridPanel
add(int,int,int,int,Component) - method in class JFlex.gui.GridPanel
add(int,int,int,int,int,Component) - method in class JFlex.gui.GridPanel
add(Integer,JFlex.Action) - method in class JFlex.EOFActions
add(JFlex.IntCharSet) - method in class JFlex.IntCharSet
add(JFlex.Interval) - method in class JFlex.IntCharSet
add(JFlex.StateSet) - method in class JFlex.StateSet
add(Vector,JFlex.Action) - method in class JFlex.EOFActions
addEpsilonTransition(int,int) - method in class JFlex.NFA
addPair(int,int) - method in class JFlex.StatePairList
addRegExp(int) - method in class JFlex.NFA
addStandaloneRule() - method in class JFlex.NFA
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
AllTests - class JFlex.tests.AllTests
AllTests
ALREADY_RUNNING - static field in class JFlex.ErrorMessages
and(JFlex.IntCharSet) - method in class JFlex.IntCharSet
AntTaskTests - class JFlex.tests.AntTaskTests
Unit tests for the jflex ant task.
AntTaskTests(String) - constructor for class JFlex.tests.AntTaskTests
Constructor for AntTaskTests.

B

BANG - static field in class JFlex.sym
BAR - static field in class JFlex.sym
BOTTOM - static field in class JFlex.gui.Handles
BOTTOM_CENTER - static field in class JFlex.gui.Handles
BOTTOM_LEFT - static field in class JFlex.gui.Handles
BOTTOM_RIGHT - static field in class JFlex.gui.Handles
breaks() - method in class JFlex.PackEmitter
Execute line/chunk break if necessary.

C

CANNOT_OPEN - static field in class JFlex.ErrorMessages
CANNOT_READ_SKEL - static field in class JFlex.ErrorMessages
CCLASS - static field in class JFlex.sym
CCLASSNOT - static field in class JFlex.sym
CENTER - static field in class JFlex.gui.Handles
CENTER_CENTER - static field in class JFlex.gui.Handles
CENTER_LEFT - static field in class JFlex.gui.Handles
CENTER_RIGHT - static field in class JFlex.gui.Handles
CHAR - static field in class JFlex.sym
CHAR_I - static field in class JFlex.sym
characters() - method in class JFlex.CharSet
CHARCLASS - static field in class JFlex.LexScan
CHARCLASS_MACRO - static field in class JFlex.ErrorMessages
CharClasses - class JFlex.CharClasses
CharClasses(int) - constructor for class JFlex.CharClasses
Constructs a new CharClass object that provides space for classes of characters from 0 to maxCharCode.
CharClassesTest - class JFlex.tests.CharClassesTest
CharClassesTest
CharClassesTest(String) - constructor for class JFlex.tests.CharClassesTest
Constructor for CharClassesTest.
This Exception is used in class CharClasses.
CharClassException() - constructor for class JFlex.CharClassException
Creates a new CharClassException without message
CharClassException(String) - constructor for class JFlex.CharClassException
Creates a new CharClassException with the specified message
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.
Creates a new CharClassInterval from start to end that belongs to character class charClass.
CharSet - class JFlex.CharSet
CharSet() - constructor for class JFlex.CharSet
CharSet(int,int) - constructor for class JFlex.CharSet
CHARSET_2_SMALL - static field in class JFlex.ErrorMessages
Enumerator for the elements of a CharSet.
check() - method in class JFlex.CharClasses
Check consistency of the stored classes [debug].
Performs semantic analysis for all expressions.
checkActions() - method in class JFlex.RegExps
checkErrors() - static method in class JFlex.Out
throws a GeneratorException if there are any errors recorded
chunks - field in class JFlex.PackEmitter
number of existing string chunks
clear() - method in class JFlex.StateSet
close() - method in class JFlex.gui.OptionsDialog
CLOSEBRACKET - static field in class JFlex.sym
CLOSECLASS - static field in class JFlex.sym
column - field in class JFlex.ScannerException
COMMA - static field in class JFlex.sym
COMMENT - static field in class JFlex.LexScan
complement(JFlex.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 field in class 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(JFlex.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(JFlex.StateSet) - method in class JFlex.StateSet
COPY - static field in class JFlex.LexScan
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() - method in class JFlex.StateSet
copy(JFlex.StateSet) - method in class JFlex.StateSet
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 field in class JFlex.ErrorMessages
CS2SMALL_STRING - static field in class JFlex.ErrorMessages
CUPSYM_AFTER_CUP - static field in class JFlex.ErrorMessages
currentLine() - method in class JFlex.LexScan

D

DASH - static field in class JFlex.sym
DEBUG - static field 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 field in class JFlex.sym
DFA - class JFlex.DFA
DFA representation in JFlex.
DFA(int,int) - constructor for class JFlex.DFA
DFA_IS - static field in class JFlex.ErrorMessages
DFA_TOOK - static field in class JFlex.ErrorMessages
diff() - method in class JFlex.Timer
Return the number of milliseconds the timer has been running.
DIGITCLASS - static field in class JFlex.sym
Invoke a user supplied parse action.
doLayout() - method in class JFlex.gui.GridPanel
DOLLAR - static field in class JFlex.sym
dot - static field 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 - static field in class JFlex.Options
If true, you will be flooded with information (e.g.
dump() - method in class JFlex.CharClasses
Dump charclasses to the dump output stream
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 field in class JFlex.LexScan
emit() - method in class JFlex.Emitter
Main Emitter method.
emit(int) - method in class JFlex.HiLowEmitter
Emit one value using two characters.
emit(int,int) - method in class JFlex.CountEmitter
Emit one count/value pair.
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 JFlex.Emitter
This class manages the actual code generation, putting the scanner together, filling in skeleton sections etc.
Emitter(File,JFlex.LexParse,JFlex.DFA) - constructor for class JFlex.Emitter
EmitterTest - class JFlex.tests.EmitterTest
Some unit tests for the jflex Emitter class
EmitterTest(String) - constructor for class JFlex.tests.EmitterTest
Constructor for EmitterTest.
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 field in class JFlex.StateSet
end - field 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 field in class JFlex.sym
EOF_IN_ACTION - static field in class JFlex.ErrorMessages
EOF_IN_COMMENT - static field in class JFlex.ErrorMessages
EOF_IN_MACROS - static field in class JFlex.ErrorMessages
EOF_IN_REGEXP - static field in class JFlex.ErrorMessages
EOF_IN_STATES - static field in class JFlex.ErrorMessages
EOF_IN_STRING - static field in class JFlex.ErrorMessages
EOF_SINGLERULE - static field in class JFlex.ErrorMessages
EOF_sym() - method in class JFlex.LexParse
EOF Symbol index.
EOF_WO_ACTION - static field in class JFlex.ErrorMessages
EOFActions - class JFlex.EOFActions
A simple table to store EOF actions for each lexical state.
EOFRULE - static field in class JFlex.sym
EOL_IN_CHARCLASS - static field in class JFlex.ErrorMessages
EQUALS - static field in class JFlex.sym
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.IntPair
equals(Object) - method in class JFlex.StateSet
error - static field in class JFlex.sym
error(File,JFlex.ErrorMessages,int,int) - static method in class JFlex.Out
print error message with location information
error(JFlex.ErrorMessages) - static method in class JFlex.Out
print error message (code)
error(JFlex.ErrorMessages,File) - static method in class JFlex.Out
IO error message for a file (displays file name in parentheses).
error(JFlex.ErrorMessages,String) - static method in class JFlex.Out
print error message with data
error(String) - static method in class JFlex.Out
print error message (string)
error_sym() - method in class JFlex.LexParse
error Symbol index.
Central class for all kinds of JFlex messages.
execute() - method in class JFlex.anttask.JFlexTask
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 - field in class JFlex.ScannerException
FILE_CYCLE - static field in class JFlex.ErrorMessages
FILE_WRITE - static field in class JFlex.ErrorMessages
FILL - static field in class JFlex.gui.Handles
findPackageAndClass() - method in class JFlex.anttask.JFlexTask
Peek into .flex file to get package and class name
FULL - static field in class JFlex.sym

G

gen_method - static field in class JFlex.Options
default code generation method
generate(argv[]) - static method in class JFlex.Main
generate(File) - static method in class JFlex.Main
Generates a scanner for the specified input file.
generationFinished(boolean) - method in class JFlex.gui.MainFrame
Thrown when code generation has to be aborted.
GeneratorException() - constructor for class JFlex.GeneratorException
Low priority thread for code generation (low priority that gui has time for screen updates)
Create a new GeneratorThread, but do not run it yet.
get(JFlex.ErrorMessages) - static method in class JFlex.ErrorMessages
get(JFlex.ErrorMessages,int) - static method in class JFlex.ErrorMessages
get(JFlex.ErrorMessages,String) - 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.
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.
getClassName() - method in class JFlex.anttask.JFlexTask
getDefault() - method in class JFlex.EOFActions
getDefinition(String) - method in class JFlex.Macros
Fetches the definition of the macro with the specified name,

The definition will either be the same as stored (expand() not called), or an equivalent one, that doesn't contain any macro usages (expand() called before).

getDFA() - method in class JFlex.NFA
Returns an DFA that accepts the same language as this NFA.
getDir() - static method in class JFlex.Options
getEOFActions() - method in class JFlex.LexParse
getHigherPriority(JFlex.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
getIntervalls() - 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
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.
getPackage() - method in class JFlex.anttask.JFlexTask
getPreferredSize() - method in class JFlex.gui.GridPanel
getPreferredSize() - method in class JFlex.gui.MainFrame
getRegExp(int) - method in class JFlex.RegExps
getStates(int) - method in class JFlex.RegExps
GridPanel - class JFlex.gui.GridPanel
Grid layout manager like GridLayout but with predefinable grid size.
GridPanel(int,int) - constructor for class JFlex.gui.GridPanel
GridPanel(int,int,int,int) - constructor for class JFlex.gui.GridPanel
Constraints for layout elements of GridLayout

H

Handles - interface JFlex.gui.Handles
Constants used for GridLayout
hashCode() - method in class JFlex.Action
Calculate hash value.
hashCode() - method in class JFlex.IntPair
hashCode() - method in class JFlex.StateSet
hasMoreElements() - method in class JFlex.CharSetEnumerator
hasMoreElements() - method in class JFlex.StateSetEnumerator
HAT - static field in class JFlex.sym
HiLowEmitter
HiLowEmitter(String) - constructor for class JFlex.HiLowEmitter
Create new emitter for values in [0, 0xFFFFFFFF] using hi/low encoding.

I

IDENT - static field in class 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,JFlex.RegExp) - method in class JFlex.Macros
Stores a new macro and its definition.
insert(Vector,JFlex.Action) - method in class JFlex.RegExps
insertNFA(JFlex.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
IntCharSet - class JFlex.IntCharSet
CharSet implemented with intervalls [fixme: optimizations possible]
IntCharSet() - constructor for class JFlex.IntCharSet
IntCharSet(char) - constructor for class JFlex.IntCharSet
IntCharSet(JFlex.Interval) - constructor for class JFlex.IntCharSet
IntCharSet(Vector) - constructor for class JFlex.IntCharSet
Interval - class JFlex.Interval
An intervall of characters with basic operations.
Interval(char,char) - constructor for class JFlex.Interval
Constuct a new intervall from start to end.
Interval(JFlex.Interval) - constructor for class JFlex.Interval
Copy constructor
IntPair - class JFlex.IntPair
Simple pair of integers.
IO_ERROR - static field in class JFlex.ErrorMessages
isBOL(int) - method in class JFlex.RegExps
isCharClass(JFlex.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
isEOF(int) - method in class JFlex.RegExps
isEOFAction(Object) - method in class JFlex.EOFActions
isEquiv(JFlex.Action) - method in class JFlex.Action
Returns true iff the parameter is an Action with the same content as this one.
isLookAction() - method in class JFlex.Action
Return look ahead flag.
isUsed(String) - method in class JFlex.Macros
Tests if a macro has been used.

J

JAVA_CODE - static field in class JFlex.LexScan
JFlexTask - class JFlex.anttask.JFlexTask
JFlex task class
JFlexTask() - constructor for class JFlex.anttask.JFlexTask
JLETTERCLASS - static field in class JFlex.sym
JLETTERDIGITCLASS - static field in class JFlex.sym
jlex - static field in class JFlex.Options
strict JLex compatibility

L

LBRACE - static field in class JFlex.sym
LESSTHAN - static field in class JFlex.sym
LETTERCLASS - static field in class JFlex.sym
Simple symbol table, mapping lexical state names to integers.
LexicalStates() - constructor for class JFlex.LexicalStates
constructs a new lexical state symbol table
LexParse - class JFlex.LexParse
CUP v0.11a beta 20060608 generated parser.
LexParse() - constructor for class JFlex.LexParse
Default constructor.
LexParse(java_cup.runtime.Scanner) - constructor for class JFlex.LexParse
Constructor which sets the default scanner.
Constructor which sets the default scanner.
LexParse(JFlex.LexScan) - constructor for class JFlex.LexParse
LexScan - class JFlex.LexScan
The lexer of JFlex.
LexScan(java.io.InputStream) - constructor for class JFlex.LexScan
Creates a new scanner.
LexScan(java.io.Reader) - constructor for class JFlex.LexScan
Creates a new scanner There is also a java.io.InputStream version of this constructor.
LEXSTATE_UNDECL - static field in class JFlex.ErrorMessages
line - field in class JFlex.ScannerException
line - static field in class JFlex.Skeleton
The skeleton
LOOKAHEAD - static field in class JFlex.sym
LOOKAHEAD_ERROR - static field in class JFlex.ErrorMessages
LOWERCLASS - static field in class JFlex.sym

M

MACRO_CYCLE - static field in class JFlex.ErrorMessages
MACRO_DEF_MISSING - static field in class JFlex.ErrorMessages
MACRO_UNDECL - static field in class JFlex.ErrorMessages
This Exception is used in the macro expander to report cycles or undefined macro usages.
MacroException() - constructor for class JFlex.MacroException
Creates a new MacroException without message
MacroException(String) - constructor for class JFlex.MacroException
Creates a new MacroException with the specified message
Macros - class JFlex.Macros
Symbol table and expander for macros.
MACROS - static field in class JFlex.LexScan
Macros() - constructor for class JFlex.Macros
Creates a new macro expander.
MACROUSE - static field in class JFlex.sym
Main - class JFlex.Main
This is the main class of JFlex controlling the scanner generation process.
main(argv[]) - static method in class JFlex.LexScan
Runs the scanner on input files.
main(argv[]) - 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.
main(String[]) - static method in class JFlex.tests.AllTests
MainFrame - class JFlex.gui.MainFrame
JFlex main application frame (GUI mode only)
MainFrame() - constructor for class JFlex.gui.MainFrame
makeClass(char,boolean) - method in class JFlex.CharClasses
Creates a new character class for the single character singleChar.
Updates the current partition, so that the specified set of characters gets a new character class.
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.
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.
markUsed(String) - method in class JFlex.Macros
Marks a makro as used.
maxChar - static field in class JFlex.CharClasses
the largest character that can be used in char classes
message - field in class JFlex.ScannerException
MIN_DFA_IS - static field in class JFlex.ErrorMessages
MIN_TOOK - static field 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 field in class JFlex.sym

N

name - field 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 field 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 JFlex.NFA
NFA representation in JFlex.
NFA(int,int) - constructor for class JFlex.NFA
NFA_IS - static field in class JFlex.ErrorMessages
NFA_STATES - static field in class JFlex.ErrorMessages
NFA_TOOK - static field in class JFlex.ErrorMessages
NFASize(JFlex.Macros) - method in class JFlex.RegExps
NL - static field in class JFlex.Out
platform dependent newline sequence
nl() - method in class JFlex.PackEmitter
emit newline
no_backup - static field in class JFlex.Options
don't write backup files if this is true
NO_BUFFER_SIZE - static field in class JFlex.ErrorMessages
NO_DIRECTORY - static field in class JFlex.ErrorMessages
NO_LAST_ACTION - static field in class JFlex.ErrorMessages
NO_LEX_SPEC - static field in class JFlex.ErrorMessages
NO_MATCHING_BR - static field in class JFlex.ErrorMessages
no_minimize - static field in class JFlex.Options
don't run minimization algorithm if this is true
NO_SKEL_FILE - static field in class JFlex.ErrorMessages
NO_TARGET - static field in class JFlex.DFA
The code for "no target state" in the transition table.
NOACTION - static field in class JFlex.sym
normalize(String,File) - static method in class JFlex.Emitter
Constructs a file in Options.getDir() or in the same directory as another file.
normalizeOutdir() - method in class JFlex.anttask.JFlexTask
Sets the actual output directory if not already set.
NOT_AT_BOL - static field in class JFlex.ErrorMessages
NOT_READABLE - static field in class JFlex.ErrorMessages
numActions() - method in class JFlex.EOFActions
number() - method in class JFlex.LexicalStates
returns the number of declared states
numIntervalls() - method in class JFlex.IntCharSet

O

old_minimize() - method in class JFlex.DFA
OPENBRACKET - static field in class JFlex.sym
OPENCLASS - static field in class JFlex.sym
Options - class JFlex.Options
Collects all global JFlex options.
OptionsDialog - class JFlex.gui.OptionsDialog
A dialog for setting JFlex options
OptionsDialog(Frame) - constructor for class JFlex.gui.OptionsDialog
Create a new options dialog
Out - class JFlex.Out
In this class all output to the java console is filtered.
out - field in class JFlex.PackEmitter
output buffer
OUT_OF_MEMORY - static field in class JFlex.ErrorMessages

P

PACK - static field in class JFlex.Options
code generation method: maximum packing
PackEmitter - class JFlex.PackEmitter
Encodes int arrays as strings.
PackEmitter(String) - constructor for class JFlex.PackEmitter
Create new emitter for an array.
PackEmitterTest - class JFlex.tests.PackEmitterTest
PackEmitterTest
PackEmitterTest() - constructor for class JFlex.tests.PackEmitterTest
Constructor for PackEmitterTest.
parseOptions(argv[]) - static method in class JFlex.Main
PARSING_TOOK - static field in class JFlex.ErrorMessages
PLUS - static field in class JFlex.sym
POINT - static field in class 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
Returns a String-representation of this regular expression with the specified indentation.
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() - method in class JFlex.StdOutWriter
Begin a new line.
println(JFlex.ErrorMessages,int) - static method in class JFlex.Out
Report generation progress.
println(JFlex.ErrorMessages,String) - static method in class JFlex.Out
Report generation progress.
println(String) - static method in class JFlex.Out
Report generation progress.
println(String) - method in class JFlex.PackEmitter
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 field in class JFlex.Options
If true, progress dots will be printed

Q

QUESTION - static field in class JFlex.sym
QUIL_CUPSYM - static field in class JFlex.ErrorMessages
QUIL_EOFTHROW - static field in class JFlex.ErrorMessages
QUIL_INITTHROW - static field in class JFlex.ErrorMessages
QUIL_SCANERROR - static field in class JFlex.ErrorMessages
QUIL_THROW - static field in class JFlex.ErrorMessages
QUIL_YYLEXTHROW - static field in class JFlex.ErrorMessages

R

RBRACE - static field in class JFlex.sym
readDefault() - static method in class JFlex.Skeleton
(Re)load the default skeleton.
READING - static field in class JFlex.ErrorMessages
READING_SKEL - static field 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 - class JFlex.RegExp
Stores a regular expression of rules section in a JFlex-specification.
REGEXP - static field in class JFlex.LexScan
lexical states
RegExp(int) - constructor for class JFlex.RegExp
Create a new regular expression of the specified type.
RegExp1 - class JFlex.RegExp1
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 JFlex.RegExp2
Regular expression with two children (e.g.
RegExp2(int,JFlex.RegExp,JFlex.RegExp) - constructor for class JFlex.RegExp2
REGEXP_EXPECTED - static field in class JFlex.ErrorMessages
REGEXPEND - static field in class JFlex.sym
RegExps - class JFlex.RegExps
Stores all rules of the specification for later access in RegExp -> NFA
RegExps() - constructor for class JFlex.RegExps
REGEXPSTART - static field in class JFlex.LexScan
RegExpTests - class JFlex.tests.RegExpTests
Unit tests for JFlex.RegExp
RegExpTests(String) - constructor for class JFlex.tests.RegExpTests
Constructor for RegExpTests.
remove(int) - method in class JFlex.StateSet
REPEAT - static field in class JFlex.sym
REPEAT_GREATER - static field in class JFlex.ErrorMessages
REPEAT_ZERO - static field in class JFlex.ErrorMessages
REPEATEXP - static field 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
requestBugReport(Error) - static method in class JFlex.Out
Request a bug report for an unexpected Exception/Error.
resetCounters() - static method in class JFlex.Out
reset error and warning counters
run() - method in class JFlex.gui.GeneratorThread
Run the generator thread.

S

scanner - field in class JFlex.LexParse
This Exception could be thrown while scanning the specification (e.g.
Creates a new ScannerException for a file with a message only.
Creates a new ScannerException for a file with a message and line number.
Creates a new ScannerException with a message, line number and column.
Creates a new ScannerException with a message only.
Creates a new ScannerException with a message and line number.
SemCheck - class JFlex.SemCheck
Performs simple semantic analysis on regular expressions.
setAction(int,JFlex.Action) - method in class JFlex.DFA
setDefaults() - static method in class JFlex.Options
Sets all options back to default values.
setDestdir(File) - method in class JFlex.anttask.JFlexTask
setDir(File) - static method in class JFlex.Options
Set output directory
setDir(String) - static method in class JFlex.Options
Set output directory
setDot(boolean) - method in class JFlex.anttask.JFlexTask
setDump(boolean) - method in class JFlex.anttask.JFlexTask
setEnd(char) - method in class JFlex.Interval
Set a new last character
setFile(File) - method in class JFlex.anttask.JFlexTask
setFile(File) - method in class JFlex.LexScan
setFinal(int,boolean) - method in class JFlex.DFA
setGenerateDot(boolean) - method in class JFlex.anttask.JFlexTask
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.
setInsets(Insets) - method in class JFlex.gui.GridPanel
setJLex(boolean) - method in class JFlex.anttask.JFlexTask
setLexState(int,int) - method in class JFlex.DFA
setLookAction(boolean) - method in class JFlex.Action
Sets the look ahead flag for this action
setMaxCharCode(int) - method in class JFlex.CharClasses
Sets the larges Unicode value of the current input character set.
setNobak(boolean) - method in class JFlex.anttask.JFlexTask
setNomin(boolean) - method in class JFlex.anttask.JFlexTask
setNumLexStates(int) - method in class JFlex.EOFActions
setOutdir(File) - method in class JFlex.anttask.JFlexTask
setOutputStream(OutputStream) - static method in class JFlex.Out
Sets a new output stream and switches to non-gui mode.
setPack(boolean) - method in class JFlex.anttask.JFlexTask
setPushback(int,boolean) - method in class JFlex.DFA
setSkel(File) - method in class JFlex.anttask.JFlexTask
setSkeleton(File) - method in class JFlex.anttask.JFlexTask
setSkeleton(File) - static method in class JFlex.Options
setSkipMinimization(boolean) - method in class JFlex.anttask.JFlexTask
setStart(char) - method in class JFlex.Interval
Set a new first character
setSwitch(boolean) - method in class JFlex.anttask.JFlexTask
setTable(boolean) - method in class JFlex.anttask.JFlexTask
setTime(boolean) - method in class JFlex.anttask.JFlexTask
setTimeStatistics(boolean) - method in class JFlex.anttask.JFlexTask
setUp() - method in class JFlex.tests.AntTaskTests
setup() - method in class JFlex.gui.OptionsDialog
setUp() - method in class JFlex.tests.PackEmitterTest
setValTranslation(int) - method in class JFlex.CountEmitter
Translate all values by given amount.
setVerbose(boolean) - method in class JFlex.anttask.JFlexTask
showOptions() - method in class JFlex.gui.MainFrame
showPosition(File,int) - static method in class JFlex.Out
print a line of a file
showPosition(File,int,int) - static method in class JFlex.Out
prints a line of a file with marked position.
SilentExit - class JFlex.SilentExit
Signals a silent exit (no statistics printout).
size() - method in class JFlex.CharSet
size(JFlex.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 field in class JFlex.ErrorMessages
SKEL_IO_ERROR_DEFAULT - static field in class JFlex.ErrorMessages
Skeleton - class JFlex.Skeleton
This class stores the skeleton of generated scanners.
Skeleton(PrintWriter) - constructor for class JFlex.Skeleton
Creates a new skeleton (iterator) instance.
SkeletonTest - class JFlex.tests.SkeletonTest
SkeletonTest
SkeletonTest(String) - constructor for class JFlex.tests.SkeletonTest
Constructor for SkeletonTest.
STAR - static field in class JFlex.sym
start - field 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 field in class JFlex.ErrorMessages
STATELIST - static field in class JFlex.LexScan
A list of pairs of states.
StatePairList() - constructor for class JFlex.StatePairList
STATES - static field in class JFlex.LexScan
states() - method in class JFlex.StateSet
StateSet - class JFlex.StateSet
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(JFlex.StateSet) - constructor for class JFlex.StateSet
Enumerates the states of a StateSet.
StateSetEnumerator() - constructor for class JFlex.StateSetEnumerator
creates a new StateSetEnumerator that is not yet associated with a StateSet.
statistics() - static method in class JFlex.Out
print error and warning statistics
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 field in class JFlex.sym
STRING_CONTENT - static field in class JFlex.LexScan
STRING_I - static field in class JFlex.sym
sub(JFlex.IntCharSet) - method in class JFlex.IntCharSet
suite() - static method in class JFlex.tests.AllTests
SWITCH - static field in class JFlex.Options
code generation method: switch statement
sym - interface JFlex.sym
CUP generated interface containing symbol constants.
SYNTAX_ERROR - static field in class JFlex.ErrorMessages

T

TABLE - static field in class JFlex.Options
code generation method: traditional
testAdd1() - method in class JFlex.tests.CharClassesTest
testAdd2() - method in class JFlex.tests.CharClassesTest
testAdd3() - method in class JFlex.tests.CharClassesTest
testAddChar() - method in class JFlex.tests.CharClassesTest
testCaseless() - method in class JFlex.tests.CharClassesTest
testCharClass() - method in class JFlex.tests.RegExpTests
testCodeGen() - method in class JFlex.tests.AntTaskTests
testCopy() - method in class JFlex.tests.CharClassesTest
testDefault() - method in class JFlex.tests.SkeletonTest
testDefaultDir() - method in class JFlex.tests.AntTaskTests
testDestdir() - method in class JFlex.tests.AntTaskTests
testDot() - method in class JFlex.tests.AntTaskTests
testDump() - method in class JFlex.tests.AntTaskTests
testEmitUCplain() - method in class JFlex.tests.PackEmitterTest
testInit() - method in class JFlex.tests.PackEmitterTest
testJavadoc() - method in class JFlex.tests.EmitterTest
testJlex() - method in class JFlex.tests.AntTaskTests
testLineBreak() - method in class JFlex.tests.PackEmitterTest
testMakePrivate() - method in class JFlex.tests.SkeletonTest
testMergeLast() - method in class JFlex.tests.CharClassesTest
testNobak() - method in class JFlex.tests.AntTaskTests
testNomin() - method in class JFlex.tests.AntTaskTests
testOutdir() - method in class JFlex.tests.AntTaskTests
testPackageAndClass() - method in class JFlex.tests.AntTaskTests
testPackageAndClassDefaults() - method in class JFlex.tests.AntTaskTests
testReplace() - method in class JFlex.tests.SkeletonTest
testSkel() - method in class JFlex.tests.AntTaskTests
testSkipMinimization() - method in class JFlex.tests.AntTaskTests
testTime() - method in class JFlex.tests.AntTaskTests
testVerbose() - method in class JFlex.tests.AntTaskTests
THIS_IS_JFLEX - static field in class JFlex.ErrorMessages
TILDE - static field in class JFlex.sym
time - static field in class JFlex.Options
If true, jflex will print time statistics about the generation process
time(JFlex.ErrorMessages,JFlex.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 JFlex.Timer
Very simple timer for code generation time statistics.
Timer() - constructor for class JFlex.Timer
Construct a new timer that starts immediatly.
TOP - static field in class JFlex.gui.Handles
TOP_CENTER - static field in class JFlex.gui.Handles
TOP_LEFT - static field in class JFlex.gui.Handles
TOP_RIGHT - static field in class JFlex.gui.Handles
toString() - method in class JFlex.Action
Returns the String representation of this object.
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() - 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.IntPair
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
Returns a String-representation of this regular expression
toString() - method in class JFlex.StateSet
toString() - method in class JFlex.Timer
Return a string representation of the timer.
toString(int) - method in class JFlex.CharClasses
Return a string representation of one char class
toString(int[]) - method in class JFlex.DFA
TOTAL_TIME - static field in class JFlex.ErrorMessages

U

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

V

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

W

warning(File,JFlex.ErrorMessages,int,int) - static method in class JFlex.Out
print warning message with location information
warning(JFlex.ErrorMessages,int) - static method in class JFlex.Out
print a warning with line information
warning(String) - static method in class JFlex.Out
print a warning without position information
write(buf[],int,int) - method in class JFlex.StdOutWriter
Write a portion of an array of characters.
write(int) - method in class JFlex.StdOutWriter
Write a single character.
write(String,int,int) - method in class JFlex.StdOutWriter
Write a portion of a string.
WRITE_TOOK - static field in class JFlex.ErrorMessages
writeDot(File) - method in class JFlex.DFA
writeDot(File) - method in class JFlex.NFA
WRONG_SKELETON - static field 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 field in class JFlex.LexScan
This character denotes the end of file
YYINITIAL - static field 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(java.io.Reader) - method in class JFlex.LexScan
Stores the current input stream on a stack, and reads from a new stream.
yyreset(java.io.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 field in class JFlex.ErrorMessages