- 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, char, File) - Static method in class JFlex.SemCheck
-
Performs semantic analysis for all expressions.
- checkActions(LexScan, LexParse) - Method in class JFlex.DFA
-
- checkActions() - Method in class JFlex.RegExps
-
- checkErrors() - Static method in class JFlex.Out
-
throws a GeneratorException if there are any errors recorded
- 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
-
- 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
-
- CUPSYM_AFTER_CUP - Static variable in class JFlex.ErrorMessages
-
- currentLine() - Method in class JFlex.LexScan
-
- 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) - 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
-
- 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
-
- 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.
- gen_method - Static variable in class JFlex.Options
-
default code generation method
- 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.
- 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
-
- 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
- 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.
- getRegExp(int) - Method in class JFlex.RegExps
-
- getStates(int) - Method in class JFlex.RegExps
-
- 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
- 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
-
- 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
- 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.
- 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.
- 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.
- setPushback(int, boolean) - Method in class JFlex.DFA
-
- 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
-
- 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
-