Uses of Class
jflex.core.RegExp
Packages that use RegExp
-
Uses of RegExp in jflex.core
Subclasses of RegExp in jflex.coreModifier and TypeClassDescriptionclassStores a regular expression from the rules section of a JFlex specification.classRegular expression with two children (e.g. a | b)Methods in jflex.core that return RegExpModifier and TypeMethodDescriptionstatic RegExpRegExp.anyChar()Returns a regexp that matches any character:[^]RegExp.expandPreClasses(Map<Integer, IntCharSet> cache, CharClasses cl, boolean caseless) Expand pre-defined character classes into primitive IntCharSet classes.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 RegExpRegExp.normaliseCCLs(File f, int line) Normalise the regular expression to eliminate compound character class expression (compute their content).final RegExpRegExp.normaliseMacros(Macros m) Normalise the regular expression to eliminate macro use (expand them).final RegExpRegExp.resolveTilde()Recursively convert tilde (upto) expressions into negation and star.final RegExpRegExp.rev()Creates a new regexp that matches the reverse text of this one.Methods in jflex.core with parameters of type RegExpModifier and TypeMethodDescriptionstatic RegExp1RegExp.checkPrimClass(RegExp r) Confirms that the parameter is a RegExp1 of type sym.PRIMCLASS.booleanStores a new macro and its definition.intRegExps.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 booleanSemCheck.isFiniteChoice(RegExp re) Returns true iff the expression is a finite choice of fixed length expressions.static intReturns length if expression has fixed length, -1 otherwise.static booleanSemCheck.maybeEmtpy(RegExp re) Checks if the expression potentially matches the empty string.static IntCharSetRegExp.performClassOp(int op, IntCharSet l, IntCharSet r, RegExp ctxt) Performs the given set operation on the twoIntCharSetparameters.Constructors in jflex.core with parameters of type RegExpModifierConstructorDescriptionConstructor for RegExp2.Creates a new RegExpException for the specified regular expression.