public class RePairSymbol extends Object
| Constructor and Description |
|---|
RePairSymbol()
Constructor.
|
RePairSymbol(String token,
int stringPosition)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
int |
getLevel()
This will be overridden in the non-Terminal symbol, i.e.
|
int |
getStringPosition()
The position getter.
|
int |
hashCode() |
boolean |
isGuard()
This is overridden in Guard.
|
void |
setStringPosition(int saxStringPosition)
The position setter.
|
String |
toExpandedString() |
String |
toString() |
public RePairSymbol()
public RePairSymbol(String token, int stringPosition)
token - the payload.stringPosition - the position of the symbol in the string.public boolean isGuard()
public int getStringPosition()
public void setStringPosition(int saxStringPosition)
saxStringPosition - the position to set.public int getLevel()
public String toExpandedString()
Copyright © 2021 JMotif. All rights reserved.