public class RePairGuard extends RePairSymbol
| Modifier and Type | Field and Description |
|---|---|
protected boolean |
isEmpty |
protected RePairRule |
rule |
| Constructor and Description |
|---|
RePairGuard(RePairRule rule)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
int |
getLevel()
This will be overridden in the non-Terminal symbol, i.e.
|
RePairRule |
getRule() |
int |
hashCode() |
boolean |
isGuard()
This is overridden in Guard.
|
boolean |
isNullPlaceholder() |
String |
toExpandedString() |
String |
toString() |
getStringPosition, setStringPositionprotected RePairRule rule
protected boolean isEmpty
public RePairGuard(RePairRule rule)
rule - the rule to wrap.public RePairRule getRule()
public String toExpandedString()
toExpandedString in class RePairSymbolpublic String toString()
toString in class RePairSymbolpublic boolean isGuard()
RePairSymbolisGuard in class RePairSymbolpublic int getLevel()
RePairSymbolgetLevel in class RePairSymbolpublic int hashCode()
hashCode in class RePairSymbolpublic boolean equals(Object obj)
equals in class RePairSymbolpublic boolean isNullPlaceholder()
Copyright © 2021 JMotif. All rights reserved.