public class RegExpSymbol extends RegExp
BINARY_EXP, CHOICE_EXP, CONCAT_EXP, EMPTY, EMPTY_EXP, OPTION_EXP, PLUS_EXP, POWER_EXP, RANGE_EXP, STAR_EXP, SYMBOL_EXP, UNARY_EXP| Modifier and Type | Method and Description |
|---|---|
RegExp |
deepCopy()
This returns a deep copy of this RegExp.
|
boolean |
equals(java.lang.Object other)
Returns true iff the specified object is a
RegExpSymbol that has the same name as this.
|
static RegExpSymbol |
get(java.lang.Object object)
This is the public factory method for creating
RegExpSymbol objects.
|
java.lang.String |
name()
Returns this RegExpSymbol's name as a unique id.
|
RegExp |
normalize()
Returns this RegExpSymbol as its
own normal form.
|
java.lang.Object |
object()
Returns this RegExpSymbol's object.
|
void |
setName(java.lang.String name)
Sets the name of this RegExpSymbol to the specified
string.
|
RegExp |
shallowCopy()
This returns a shallow copy of this RegExp.
|
java.lang.String |
toString()
Returns a printable form for this RegExpSymbol.
|
int |
type()
This returns the specific type identifying this RegExp.
|
public final RegExp shallowCopy()
RegExpshallowCopy in class RegExppublic final RegExp deepCopy()
RegExppublic final int type()
RegExppublic final java.lang.Object object()
public final void setName(java.lang.String name)
public final java.lang.String name()
public static RegExpSymbol get(java.lang.Object object)
public final boolean equals(java.lang.Object other)
equals in class java.lang.Objectpublic final java.lang.String toString()
toString in class java.lang.Object