Uses of Class
jflex.core.RegExp
-
Packages that use RegExp Package Description jflex.core -
-
Uses of RegExp in jflex.core
Subclasses of RegExp in jflex.core Modifier and Type Class Description classRegExp1Stores a regular expression from the rules section of a JFlex specification.classRegExp2Regular expression with two children (e.g.Methods in jflex.core that return RegExp Modifier and Type Method Description static RegExpRegExp. anyChar()Returns a regexp that matches any character:[^]RegExpMacros. getDefinition(String name)Fetches the definition of the macro with the specified name,RegExpRegExps. getLookAhead(int num)getLookAhead.RegExpRegExps. getRegExp(int num)getRegExp.RegExpRegExp. normalise(Macros m)Normalise the regular expression to eliminate macro use (expand them), and compound character class expression (compute their content).RegExpRegExp. resolveTilde()Recursively convert tilde (upto) expressions into negation and star.RegExpRegExp. rev()Creates a new regexp that matches the reverse text of this one.Methods in jflex.core with parameters of type RegExp Modifier and Type Method Description static RegExp1RegExp. checkPrimClass(RegExp r)Confirms that the parameter is a RegExp1 of type sym.PRIMCLASS.booleanMacros. insert(String name, RegExp definition)Stores a new macro and its definition.intRegExps. insert(int line, List<Integer> stateList, RegExp regExp, Action action, Boolean isBOL, RegExp lookAhead)insert.IntPairNFA. insertNFA(RegExp regExp)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 intSemCheck. length(RegExp re)Returns 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 RegExp Constructor Description RegExp2(int type, RegExp r1, RegExp r2)Constructor for RegExp2.RegExpException(RegExp e)Creates a new RegExpException for the specified regular expression.
-