Uses of Class
jflex.RegExp
Packages that use RegExp
-
Uses of RegExp in jflex
Modifier and TypeClassDescriptionclassStores a regular expression from the rules section of a JFlex specification.classRegular expression with two children (e.g.Modifier and TypeFieldDescription(package private) RegExpRegExp2.r1(package private) RegExpRegExp2.r2Modifier and TypeFieldDescriptionRegExps.lookthe lookahead expressionMacros.macrosMaps names of macros to their definitionRegExps.regExpsthe regexpModifier and TypeMethodDescriptionRegExp.anyChar()Returns a regexp that matches any character:[^]private RegExpMacros.expandMacro(String name, RegExp definition) Expands the specified macro by replacing each macro usage with the stored definition.Macros.getDefinition(String name) Fetches the definition of the macro with the specified name,RegExps.getLookAhead(int num) getLookAhead.RegExps.getRegExp(int num) getRegExp.private RegExpLexParse.CUP$LexParse$actions.makeNL()private RegExpLexParse.CUP$LexParse$actions.makeRepeat(RegExp r, int n1, int n2, int line, int col) final RegExpRegExp.resolveTilde(Macros macros) Recursively convert tilde (upto) expressions into negation and star.final RegExpCreate a new regexp that matches the reverse text of this one.Modifier and TypeMethodDescriptionprivate RegExpMacros.expandMacro(String name, RegExp definition) Expands the specified macro by replacing each macro usage with the stored definition.booleanStores a new macro and its definition.intRegExps.insert(int line, List<Integer> stateList, RegExp regExp, Action action, Boolean isBOL, RegExp lookAhead) insert.private voidNFA.insertCCLNFA(RegExp regExp, int start, int end) Constructs a two state NFA for char class regexps, such that the NFA hasprivate voidNFA.insertLookAheadChoices(int baseEnd, Action a, RegExp lookAhead) Insert NFAs for the (finitely many) fixed length lookahead choices.Constructs an NFA for regExp such that the NFA hasprivate booleanLexParse.CUP$LexParse$actions.isDotOrNewlinePattern(RegExp r1, RegExp r2) static booleanSemCheck.isFiniteChoice(RegExp re) Returns true iff the expression is a finite choice of fixed length expressions.private booleanstatic intReturns length if expression has fixed length, -1 otherwise.private RegExpLexParse.CUP$LexParse$actions.makeRepeat(RegExp r, int n1, int n2, int line, int col) static booleanSemCheck.maybeEmtpy(RegExp re) Checks if the expression potentially matches the empty string.