Class RegExp1
java.lang.Object
jflex.core.RegExp
jflex.core.RegExp1
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
- Author:
- Gerwin Klein
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class RegExp
anyChar, checkPrimClass, expandPreClasses, isCharClass, makeCCLs, normaliseCCLs, normaliseMacros, performClassOp, resolveTilde, rev, size, typeName
-
Constructor Details
-
RegExp1
Constructs a new regular expression with one child object.- Parameters:
type- a value from the cup generated class sym, defining the kind of this regular expressioncontent- the child of this expression
-
-
Method Details
-
print
Description copied from class:RegExpReturns a String-representation of this regular expression with the specified indentation. -
toString
-