Logo Search packages:      
Sourcecode: jflex version File versions

JFlex::DFA Class Reference

Inheritance diagram for JFlex::DFA:

JFlex::ErrorMessages

List of all members.


Detailed Description

DFA representation in JFlex. Contains minimization algorithm.

Author:
Gerwin Klein
Version:
JFlex 1.3.5,
Revision
1.27
,
Date
2001/10/08 10:07:58

Definition at line 35 of file DFA.java.


Public Member Functions

void addTransition (int start, char input, int dest)
void checkActions (LexScan scanner, LexParse parser)
 DFA (int numLexStates, int numInp)
String dotFormat ()
void minimize ()
void printTable (boolean[][] equiv)
void setAction (int state, Action stateAction)
void setFinal (int state, boolean isFinalState)
void setLexState (int lState, int trueState)
void setPushback (int state, boolean isPushbackState)
String toString ()
void writeDot (File file)

Public Attributes

int CHARCLASS_MACRO = 15
int CHARSET_2_SMALL = 12
int CS2SMALL_CHAR = 14
int CS2SMALL_STRING = 13
int CUPSYM_AFTER_CUP = 47
int EOF_IN_ACTION = 20
int EOF_IN_COMMENT = 21
int EOF_IN_MACROS = 23
int EOF_IN_REGEXP = 25
int EOF_IN_STATES = 24
int EOF_IN_STRING = 22
int EOF_SINGLERULE = 2
int EOF_WO_ACTION = 1
int EOL_IN_CHARCLASS = 45
int FILE_CYCLE = 40
int FILE_WRITE = 41
int LEXSTATE_UNDECL = 6
int LOOKAHEAD_ERROR = 29
int MACRO_UNDECL = 11
int NEVER_MATCH = 43
int NO_BUFFER_SIZE = 38
int NO_DIRECTORY = 30
int NO_LAST_ACTION = 28
int NO_LEX_SPEC = 27
int NO_MATCHING_BR = 19
int NO_SKEL_FILE = 31
int NOT_AT_BOL = 18
int NOT_READABLE = 39
int OUT_OF_MEMORY = 33
int QUIL_CUPSYM = 46
int QUIL_EOFTHROW = 35
int QUIL_INITTHROW = 34
int QUIL_SCANERROR = 42
int QUIL_THROW = 44
int QUIL_YYLEXTHROW = 36
int REGEXP_EXPECTED = 10
int REPEAT_GREATER = 9
int REPEAT_ZERO = 8
int STATE_IDENT_EXP = 7
int SYNTAX_ERROR = 17
int UNEXPECTED_CHAR = 4
int UNEXPECTED_EOF = 26
int UNEXPECTED_NL = 5
int UNKNOWN_OPTION = 3
int UNKNOWN_SYNTAX = 16
int UNTERMINATED_STR = 0
int WRONG_SKELETON = 32
int ZERO_STATES = 37

Static Public Attributes

static final int NO_TARGET = -1

Package Attributes

Action[] action
boolean[] isFinal
boolean[] isLookEnd
boolean[] isPushback
int lexState []
String messages []
int numInput
int numStates
int[][] table
Hashtable usedActions = new Hashtable()

Private Member Functions

void ensureStateCapacity (int newNumStates)

Static Private Attributes

static final int STATES = 500

The documentation for this class was generated from the following file:

Generated by  Doxygen 1.6.0   Back to index