Package jflex.core
Class RegExp1
- java.lang.Object
-
- jflex.core.RegExp
-
- jflex.core.RegExp1
-
public class RegExp1 extends RegExp
Stores a regular expression from the rules section of a JFlex specification.This class provides storage for one Object of content. It is used for all regular expressions that are constructed from one object.
For instance: a* is new RegExp1(sym.STAR, 'a');
- Version:
- JFlex 1.9.1
-
-
Constructor Summary
Constructors Constructor Description RegExp1(int type, java.lang.Object content)
Constructs a new regular expression with one child object.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
print(java.lang.String tab)
Returns a String-representation of this regular expression with the specified indentation.java.lang.String
toString()
-
Methods inherited from class jflex.core.RegExp
anyChar, checkPrimClass, expandPreClasses, isCharClass, makeCCLs, normaliseCCLs, normaliseMacros, performClassOp, resolveTilde, rev, revString, size, typeName
-
-
-
-
Method Detail
-
print
public java.lang.String print(java.lang.String tab)
Description copied from class:RegExp
Returns a String-representation of this regular expression with the specified indentation.
-
-