Package jflex.core
Class LexParse.CUP$LexParse$actions
java.lang.Object
jflex.core.LexParse.CUP$LexParse$actions
- Enclosing class:
LexParse
Cup generated class to encapsulate user supplied action code.
-
Field Summary
FieldsModifier and TypeFieldDescription(package private) CharClasses(package private) EOFActions(package private) Macrosprivate final LexParse(package private) Map<Integer, IntCharSet> (package private) RegExps(package private) LexScan(package private) Integer(package private) Timer -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal java_cup.runtime.SymbolCUP$LexParse$do_action(int CUP$LexParse$act_num, java_cup.runtime.lr_parser CUP$LexParse$parser, Stack<java_cup.runtime.Symbol> CUP$LexParse$stack, int CUP$LexParse$top) Method splitting the generated action code into several parts.final java_cup.runtime.SymbolCUP$LexParse$do_action_part00000000(int CUP$LexParse$act_num, java_cup.runtime.lr_parser CUP$LexParse$parser, Stack<java_cup.runtime.Symbol> CUP$LexParse$stack, int CUP$LexParse$top) Method 0 with the actual generated action code for actions 0 to 300.(package private) voidfatalError(ErrorMessages message) (package private) voidfatalError(ErrorMessages message, int line, int col) private booleanisDotOrNewlinePattern(RegExp r1, RegExp r2) private booleanprivate RegExpmakeNL()private RegExpmakeRepeat(RegExp r, int n1, int n2, int line, int col) private RegExpprimClass(int content) private RegExpprimClass(int start, int end) private RegExpprimClass(IntCharSet set) (package private) voidsyntaxError(ErrorMessages message) (package private) voidsyntaxError(ErrorMessages message, int line) (package private) voidsyntaxError(ErrorMessages message, int line, int col) (package private) voidwarning(ErrorMessages message, int line, int col)
-
Field Details
-
scanner
LexScan scanner -
charClasses
CharClasses charClasses -
regExps
RegExps regExps -
macros
Macros macros -
stateNumber
Integer stateNumber -
t
Timer t -
eofActions
EOFActions eofActions -
preclassCache
Map<Integer,IntCharSet> preclassCache -
parser
-
-
Constructor Details
-
CUP$LexParse$actions
CUP$LexParse$actions(LexParse parser) Constructor
-
-
Method Details
-
fatalError
-
fatalError
-
syntaxError
-
syntaxError
-
syntaxError
-
warning
-
isDotOrNewlinePattern
-
isNewline
-
makeRepeat
-
makeNL
-
primClass
-
primClass
-
primClass
-
CUP$LexParse$do_action_part00000000
public final java_cup.runtime.Symbol CUP$LexParse$do_action_part00000000(int CUP$LexParse$act_num, java_cup.runtime.lr_parser CUP$LexParse$parser, Stack<java_cup.runtime.Symbol> CUP$LexParse$stack, int CUP$LexParse$top) throws Exception Method 0 with the actual generated action code for actions 0 to 300.- Throws:
Exception
-
CUP$LexParse$do_action
public final java_cup.runtime.Symbol CUP$LexParse$do_action(int CUP$LexParse$act_num, java_cup.runtime.lr_parser CUP$LexParse$parser, Stack<java_cup.runtime.Symbol> CUP$LexParse$stack, int CUP$LexParse$top) throws Exception Method splitting the generated action code into several parts.- Throws:
Exception
-