public class RefinedDefaultNonterminal extends Object implements RefinedNonterminal
| Constructor and Description |
|---|
RefinedDefaultNonterminal(Nonterminal nonterminal,
HeapAutomatonState state) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object otherObject) |
String |
getLabel() |
int |
getRank() |
HeapAutomatonState |
getState() |
int |
hashCode() |
boolean |
isReductionTentacle(int tentacle) |
void |
setReductionTentacle(int tentacle) |
String |
toString() |
void |
unsetReductionTentacle(int tentacle) |
RefinedNonterminal |
withState(HeapAutomatonState state)
Provides the same symbol with the provided annotation.
|
public RefinedDefaultNonterminal(Nonterminal nonterminal, HeapAutomatonState state)
public HeapAutomatonState getState()
getState in interface RefinedNonterminalpublic RefinedNonterminal withState(HeapAutomatonState state)
RefinedNonterminalwithState in interface RefinedNonterminalstate - The new annotation.public int getRank()
getRank in interface Nonterminalpublic String getLabel()
getLabel in interface Nonterminalpublic boolean isReductionTentacle(int tentacle)
isReductionTentacle in interface Nonterminaltentacle - The position in the sequence of attached nodes that should be checked.public void setReductionTentacle(int tentacle)
setReductionTentacle in interface Nonterminaltentacle - The position in the sequence of attached nodes that should be marked
as a reduction tentacle.public void unsetReductionTentacle(int tentacle)
unsetReductionTentacle in interface Nonterminaltentacle - The position in the sequence of attached nodes that should be marked
as "not a reduction tentacle".Copyright © 2019. All rights reserved.