- CANNOT_OPEN - Static variable in class jflex.ErrorMessages
-
- CANNOT_READ_SKEL - Static variable in class jflex.ErrorMessages
-
- caselessMatchPartitions - Static variable in class jflex.unicode.data.Unicode_1_1
-
- caselessMatchPartitions - Static variable in class jflex.unicode.data.Unicode_2_0
-
- caselessMatchPartitions - Static variable in class jflex.unicode.data.Unicode_2_1
-
- caselessMatchPartitions - Static variable in class jflex.unicode.data.Unicode_3_0
-
- caselessMatchPartitions - Static variable in class jflex.unicode.data.Unicode_3_1
-
- caselessMatchPartitions - Static variable in class jflex.unicode.data.Unicode_3_2
-
- caselessMatchPartitions - Static variable in class jflex.unicode.data.Unicode_4_0
-
- caselessMatchPartitions - Static variable in class jflex.unicode.data.Unicode_4_1
-
- caselessMatchPartitions - Static variable in class jflex.unicode.data.Unicode_5_0
-
- caselessMatchPartitions - Static variable in class jflex.unicode.data.Unicode_5_1
-
- caselessMatchPartitions - Static variable in class jflex.unicode.data.Unicode_5_2
-
- caselessMatchPartitions - Static variable in class jflex.unicode.data.Unicode_6_0
-
- caselessMatchPartitions - Static variable in class jflex.unicode.data.Unicode_6_1
-
- caselessMatchPartitions - Static variable in class jflex.unicode.data.Unicode_6_2
-
- caselessMatchPartitions - Static variable in class jflex.unicode.data.Unicode_6_3
-
- caselessMatchPartitions - Static variable in class jflex.unicode.data.Unicode_7_0
-
- caselessMatchPartitionSize - Static variable in class jflex.unicode.data.Unicode_1_1
-
- caselessMatchPartitionSize - Static variable in class jflex.unicode.data.Unicode_2_0
-
- caselessMatchPartitionSize - Static variable in class jflex.unicode.data.Unicode_2_1
-
- caselessMatchPartitionSize - Static variable in class jflex.unicode.data.Unicode_3_0
-
- caselessMatchPartitionSize - Static variable in class jflex.unicode.data.Unicode_3_1
-
- caselessMatchPartitionSize - Static variable in class jflex.unicode.data.Unicode_3_2
-
- caselessMatchPartitionSize - Static variable in class jflex.unicode.data.Unicode_4_0
-
- caselessMatchPartitionSize - Static variable in class jflex.unicode.data.Unicode_4_1
-
- caselessMatchPartitionSize - Static variable in class jflex.unicode.data.Unicode_5_0
-
- caselessMatchPartitionSize - Static variable in class jflex.unicode.data.Unicode_5_1
-
- caselessMatchPartitionSize - Static variable in class jflex.unicode.data.Unicode_5_2
-
- caselessMatchPartitionSize - Static variable in class jflex.unicode.data.Unicode_6_0
-
- caselessMatchPartitionSize - Static variable in class jflex.unicode.data.Unicode_6_1
-
- caselessMatchPartitionSize - Static variable in class jflex.unicode.data.Unicode_6_2
-
- caselessMatchPartitionSize - Static variable in class jflex.unicode.data.Unicode_6_3
-
- caselessMatchPartitionSize - Static variable in class jflex.unicode.data.Unicode_7_0
-
- CCLASS - Static variable in interface jflex.sym
-
- CCLASS - Static variable in interface jflex.sym
-
- CCLASSNOT - Static variable in interface jflex.sym
-
- CCLASSNOT - Static variable in interface jflex.sym
-
- CENTER - Static variable in interface jflex.gui.Handles
-
- CENTER_CENTER - Static variable in interface jflex.gui.Handles
-
- CENTER_LEFT - Static variable in interface jflex.gui.Handles
-
- CENTER_RIGHT - Static variable in interface jflex.gui.Handles
-
- CHAR - Static variable in interface jflex.sym
-
- CHAR - Static variable in interface jflex.sym
-
- CHAR_I - 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_CODEPOINT - Static variable in class jflex.LexScan
-
- CHARCLASS_MACRO - Static variable in class jflex.ErrorMessages
-
- CharClasses - Class in jflex
-
- CharClasses() - Constructor for class jflex.CharClasses
-
Constructs a new CharClasses object.
- 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
-
- close() - Method in class jflex.gui.OptionsDialog
-
- CLOSEBRACKET - Static variable in interface jflex.sym
-
- CLOSEBRACKET - Static variable in interface jflex.sym
-
- CLOSECLASS - Static variable in interface jflex.sym
-
- CLOSECLASS - Static variable in interface jflex.sym
-
- CODEPOINT_OUT_OF_RANGE - Static variable in class jflex.ErrorMessages
-
- column - Variable in exception jflex.ScannerException
-
- COMMA - Static variable in interface jflex.sym
-
- 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
-
- 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(int) - Method in class jflex.IntCharSet
-
- contains(int) - Method in class jflex.Interval
-
Return true
iff point
is contained in this interval.
- contains(Interval) - Method in class jflex.Interval
-
Return true
iff this interval 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
-
- DASH - Static variable in interface jflex.sym
-
- DASH - Static variable in interface jflex.sym
-
- DEBUG - Static variable in class jflex.Options
-
If true, additional verbose debug information is produced.
- 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
-
- 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.
- DIFFERENCE - Static variable in interface jflex.sym
-
- DIFFERENCE - Static variable in interface jflex.sym
-
- DIGITCLASS - Static variable in interface jflex.sym
-
- DIGITCLASS - Static variable in interface jflex.sym
-
- DIGITCLASSNOT - Static variable in interface jflex.sym
-
- DIGITCLASSNOT - Static variable in interface jflex.sym
-
- do_action(int, lr_parser, Stack, int) - Method in class jflex.LexParse
-
Invoke a user supplied parse action.
- do_action(int, lr_parser, Stack, int) - Method in class jflex.LexParse
-
Invoke a user supplied parse action.
- doLayout() - Method in class jflex.gui.GridPanel
-
- DOLLAR - Static variable in interface jflex.sym
-
- 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
- DOT_BAR_NEWLINE_DOES_NOT_MATCH_ALL_CHARS - Static variable in class jflex.ErrorMessages
-
- 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.
- emitInputStreamCtor - Static variable in class jflex.Options
-
If true, the generated scanner will include a constructor taking an InputStream.
- 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
-
- EMITTING_INPUTSTREAM_CTOR - Static variable in class jflex.ErrorMessages
-
- 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
-
- EMPTY_MATCH_LOOK - Static variable in class jflex.ErrorMessages
-
- end - Variable in class jflex.Interval
-
- endsWithJavadoc(StringBuilder) - Static method in class jflex.Emitter
-
Try to find out if user code ends with a javadoc comment,
maybe followed by one or more annotations
- EOF - Static variable in interface jflex.sym
-
- 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_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
-
- 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 interval
with the same borders.
- equals(Object) - Method in class jflex.StateSet
-
- EQUALS - Static variable in interface jflex.sym
-
- 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 - Static variable in interface jflex.sym
-
- error_sym() - Method in class jflex.LexParse
-
error
Symbol index.
- error_sym() - Method in class jflex.LexParse
-
error
Symbol index.
- ErrorMessages - Class in jflex
-
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.
- 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
-
- generationFinished(boolean) - Method in class jflex.gui.MainFrame
-
- GeneratorException - Exception in jflex
-
Thrown when code generation has to be aborted.
- GeneratorException() - Constructor for exception jflex.GeneratorException
-
- GeneratorThread - Class in jflex.gui
-
Low priority thread for code generation (low priority
that gui has time for screen updates)
- GeneratorThread(MainFrame, String, String) - Constructor for class jflex.gui.GeneratorThread
-
Create a new GeneratorThread, but do not run it yet.
- 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(UnicodeProperties) - Method in class jflex.IntCharSet
-
Create a caseless version of this charset.
- getCaselessMatches(int) - Method in class jflex.unicode.UnicodeProperties
-
Returns a set of character intervals representing all characters
that are case-insensitively equivalent to the given character,
including the given character itself.
- getCharClasses() - Method in class jflex.LexParse
-
- getCharClasses() - Method in class jflex.LexParse
-
- getCharClasses() - Method in class jflex.LexScan
-
- getClassCode(int) - Method in class jflex.CharClasses
-
Returns the code of the character class the specified character belongs to.
- getClassCodes(List<Interval>) - 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,
- 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
-
- 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
- getIntCharSet(String) - Method in class jflex.unicode.UnicodeProperties
-
Returns the character interval set associated with the given property value
for the selected Unicode version.
- getIntervals() - Method in class jflex.CharClasses
-
Returns an array of all CharClassIntervals in this
char class collection.
- getIntervals() - Method in class jflex.IntCharSet
-
- 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.
- getMaximumCodePoint() - Method in class jflex.unicode.UnicodeProperties
-
Returns the maximum code point for the selected Unicode version.
- getNext() - Method in class jflex.IntCharSet
-
- getNotClassCodes(List<Interval>) - 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
-
- getPropertyValues() - Method in class jflex.unicode.UnicodeProperties
-
Returns the set of all properties, property values, and their aliases
supported by the specified Unicode version.
- getRegExp(int) - Method in class jflex.RegExps
-
- getStates(int) - Method in class jflex.RegExps
-
- getSymbolContainer() - Method in class jflex.LexParse
-
- getSymbolContainer() - Method in class jflex.LexParse
-
- getUnicodeProperties() - Method in class jflex.LexScan
-
- GridPanel - Class in jflex.gui
-
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
-
- GridPanelConstraint - Class in jflex.gui
-
Constraints for layout elements of GridLayout
- GridPanelConstraint(int, int, int, int, int, Component) - Constructor for class jflex.gui.GridPanelConstraint
-
- IDENT - Static variable in interface jflex.sym
-
- IDENT - Static variable in interface jflex.sym
-
- IMPOSSIBLE_CHARCLASS_RANGE - Static variable in class jflex.ErrorMessages
-
- init(int, LexScan) - Method in class jflex.CharClasses
-
Provides space for classes of characters from 0 to maxCharCode.
- init_actions() - Method in class jflex.LexParse
-
Action encapsulation object initializer.
- 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, List<Integer>, RegExp, Action, Boolean, RegExp) - Method in class jflex.RegExps
-
- insert(List<Integer>, 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 intervals
[fixme: optimizations possible]
- IntCharSet() - Constructor for class jflex.IntCharSet
-
- IntCharSet(int) - Constructor for class jflex.IntCharSet
-
- IntCharSet(Interval) - Constructor for class jflex.IntCharSet
-
- IntCharSet(List<Interval>) - Constructor for class jflex.IntCharSet
-
- INTERSECTION - Static variable in interface jflex.sym
-
- INTERSECTION - Static variable in interface jflex.sym
-
- Interval - Class in jflex
-
An interval of characters with basic operations.
- Interval(int, int) - Constructor for class jflex.Interval
-
Constuct a new interval from start
to end
.
- Interval(Interval) - Constructor for class jflex.Interval
-
Copy constructor
- intervals - Static variable in class jflex.unicode.data.Unicode_1_1
-
- intervals - Static variable in class jflex.unicode.data.Unicode_2_0
-
- intervals - Static variable in class jflex.unicode.data.Unicode_2_1
-
- intervals - Static variable in class jflex.unicode.data.Unicode_3_0
-
- intervals - Static variable in class jflex.unicode.data.Unicode_3_1
-
- intervals - Static variable in class jflex.unicode.data.Unicode_3_2
-
- intervals - Static variable in class jflex.unicode.data.Unicode_4_0
-
- intervals - Static variable in class jflex.unicode.data.Unicode_4_1
-
- intervals - Static variable in class jflex.unicode.data.Unicode_5_0
-
- intervals - Static variable in class jflex.unicode.data.Unicode_5_1
-
- intervals - Static variable in class jflex.unicode.data.Unicode_5_2
-
- intervals - Static variable in class jflex.unicode.data.Unicode_6_0
-
- intervals - Static variable in class jflex.unicode.data.Unicode_6_1
-
- intervals - Static variable in class jflex.unicode.data.Unicode_6_2
-
- intervals - Static variable in class jflex.unicode.data.Unicode_6_3
-
- intervals - Static variable in class jflex.unicode.data.Unicode_7_0
-
- INVALID_UNICODE_PROPERTY - Static variable in class jflex.ErrorMessages
-
- 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.
- 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
-
- 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.
- MainFrame - Class in jflex.gui
-
JFlex main application frame (GUI mode only)
- MainFrame() - Constructor for class jflex.gui.MainFrame
-
- 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(int, 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(List<Interval>, boolean) - Method in class jflex.CharClasses
-
Updates the current partition, so that the specified set of characters
gets a new character class.
- makeClassNot(List<Interval>, 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
- maximumCodePoint - Static variable in class jflex.unicode.data.Unicode_1_1
-
- maximumCodePoint - Static variable in class jflex.unicode.data.Unicode_2_0
-
- maximumCodePoint - Static variable in class jflex.unicode.data.Unicode_2_1
-
- maximumCodePoint - Static variable in class jflex.unicode.data.Unicode_3_0
-
- maximumCodePoint - Static variable in class jflex.unicode.data.Unicode_3_1
-
- maximumCodePoint - Static variable in class jflex.unicode.data.Unicode_3_2
-
- maximumCodePoint - Static variable in class jflex.unicode.data.Unicode_4_0
-
- maximumCodePoint - Static variable in class jflex.unicode.data.Unicode_4_1
-
- maximumCodePoint - Static variable in class jflex.unicode.data.Unicode_5_0
-
- maximumCodePoint - Static variable in class jflex.unicode.data.Unicode_5_1
-
- maximumCodePoint - Static variable in class jflex.unicode.data.Unicode_5_2
-
- maximumCodePoint - Static variable in class jflex.unicode.data.Unicode_6_0
-
- maximumCodePoint - Static variable in class jflex.unicode.data.Unicode_6_1
-
- maximumCodePoint - Static variable in class jflex.unicode.data.Unicode_6_2
-
- maximumCodePoint - Static variable in class jflex.unicode.data.Unicode_6_3
-
- maximumCodePoint - Static variable in class jflex.unicode.data.Unicode_7_0
-
- 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
-
- MORETHAN - Static variable in interface jflex.sym
-
- RBRACE - Static variable in interface jflex.sym
-
- 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.
- 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_CODEPOINT_SEQUENCE - Static variable in class jflex.LexScan
-
- REGEXP_EXPECTED - Static variable in class jflex.ErrorMessages
-
- REGEXPEND - Static variable in interface jflex.sym
-
- 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 - 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_error(String, Object) - Method in class jflex.LexParse
-
- report_fatal_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
-
- run() - Method in class jflex.gui.GeneratorThread
-
Run the generator thread.
- scanner - Variable in class jflex.CharClasses
-
- scanner - Variable in class jflex.LexParse
-
- 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.
- setDestdir(File) - Method in class jflex.anttask.JFlexTask
-
- setDir(String) - Static method in class jflex.Options
-
Set output directory
- setDir(File) - 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(int) - 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.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.
- setInputStreamCtor(boolean) - Method in class jflex.anttask.JFlexTask
-
- setInsets(Insets) - Method in class jflex.gui.GridPanel
-
- setJLex(boolean) - Method in class jflex.anttask.JFlexTask
-
- setLegacyDot(boolean) - Method in class jflex.anttask.JFlexTask
-
- 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.
- 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
-
- 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(int) - Method in class jflex.Interval
-
Set a new first character
- setTime(boolean) - Method in class jflex.anttask.JFlexTask
-
- setTimeStatistics(boolean) - Method in class jflex.anttask.JFlexTask
-
- setUnusedWarning(boolean) - Method in class jflex.anttask.JFlexTask
-
- setup() - Method in class jflex.gui.OptionsDialog
-
- 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, 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
-
- 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_production() - Method in class jflex.LexParse
-
Indicates start production.
- start_state() - Method in class jflex.LexParse
-
Indicates start state.
- 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 - Static variable in interface jflex.sym
-
- STRING_CODEPOINT_SEQUENCE - Static variable in class jflex.LexScan
-
- STRING_CONTENT - Static variable in class jflex.LexScan
-
- STRING_I - Static variable in interface jflex.sym
-
- STRING_I - Static variable in interface jflex.sym
-
- sub(IntCharSet) - Method in class jflex.IntCharSet
-
- sym - Interface in jflex
-
CUP generated interface containing symbol constants.
- sym - Interface in jflex
-
CUP generated interface containing symbol constants.
- SYMMETRICDIFFERENCE - Static variable in interface jflex.sym
-
- SYMMETRICDIFFERENCE - Static variable in interface jflex.sym
-
- SYNTAX_ERROR - Static variable in class jflex.ErrorMessages
-
- terminalNames - Static variable in interface jflex.sym
-
- terminalNames - Static variable in interface jflex.sym
-
- THIS_IS_JFLEX - Static variable in class jflex.ErrorMessages
-
- TILDE - Static variable in interface jflex.sym
-
- 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.
- TOP - Static variable in interface jflex.gui.Handles
-
- TOP_CENTER - Static variable in interface jflex.gui.Handles
-
- TOP_LEFT - Static variable in interface jflex.gui.Handles
-
- TOP_RIGHT - Static variable in interface jflex.gui.Handles
-
- 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 interval.
- 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
-