public class RegExp1 extends RegExp
| Constructor and Description |
|---|
RegExp1(int type,
java.lang.Object content)
Constructs a new regular expression with one child object.
|
| Modifier and Type | Method and 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()
Returns a String-representation of this regular expression
|
anyChar, isCharClass, resolveTilde, rev, revString, sizepublic RegExp1(int type,
java.lang.Object content)
type - a value from the cup generated class sym, defining the
kind of this regular expressioncontent - the child of this expression