Uses of Class
jflex.core.RegExp
Packages that use RegExp
-
Uses of RegExp in jflex.core
Subclasses of RegExp in jflex.coreModifier and TypeClassDescriptionclass
Stores a regular expression from the rules section of a JFlex specification.class
Regular expression with two children (e.g.Methods in jflex.core that return RegExpModifier and TypeMethodDescriptionstatic RegExp
RegExp.anyChar()
Returns a regexp that matches any character:[^]
Macros.getDefinition
(String name) Fetches the definition of the macro with the specified name,RegExps.getLookAhead
(int num) getLookAhead.RegExps.getRegExp
(int num) getRegExp.final RegExp
Normalise the regular expression to eliminate macro use (expand them), and compound character class expression (compute their content).final RegExp
RegExp.resolveTilde()
Recursively convert tilde (upto) expressions into negation and star.final RegExp
RegExp.rev()
Creates a new regexp that matches the reverse text of this one.Methods in jflex.core with parameters of type RegExpModifier and TypeMethodDescriptionstatic RegExp1
RegExp.checkPrimClass
(RegExp r) Confirms that the parameter is a RegExp1 of type sym.PRIMCLASS.boolean
Stores a new macro and its definition.int
RegExps.insert
(int line, List<Integer> stateList, RegExp regExp, Action action, Boolean isBOL, RegExp lookAhead) insert.Constructs an NFA for regExp such that the NFA hasstatic boolean
SemCheck.isFiniteChoice
(RegExp re) Returns true iff the expression is a finite choice of fixed length expressions.static int
Returns length if expression has fixed length, -1 otherwise.static boolean
SemCheck.maybeEmtpy
(RegExp re) Checks if the expression potentially matches the empty string.static IntCharSet
RegExp.performClassOp
(int op, IntCharSet l, IntCharSet r, RegExp ctxt) Performs the given set operation on the twoIntCharSet
parameters.Constructors in jflex.core with parameters of type RegExpModifierConstructorDescriptionConstructor for RegExp2.Creates a new RegExpException for the specified regular expression.