public interface InheritanceSentence extends Sentence
| Modifier and Type | Interface and Description |
|---|---|
static class |
InheritanceSentence.Impl |
static interface |
InheritanceSentence.Visitor<P,R> |
| Modifier and Type | Method and Description |
|---|---|
default <P,R> R |
accept(InheritanceSentence.Visitor<P,R> visitor,
P par) |
default <P,R> R |
accept(Node.Visitor<P,R> visitor,
P par) |
default <P,R> R |
accept(Positioned.Visitor<P,R> visitor,
P par) |
default <P,R> R |
accept(Sentence.Visitor<P,R> visitor,
P par) |
Type |
getSubType() |
Type |
getSuperType() |
static InheritanceSentence |
of(Type subType,
Type superType) |
void |
setSubType(Type subType) |
void |
setSuperType(Type superType) |
getPosition, of, setPositionstatic InheritanceSentence of(Type subType, Type superType)
Type getSubType()
void setSubType(Type subType)
Type getSuperType()
void setSuperType(Type superType)
default <P,R> R accept(InheritanceSentence.Visitor<P,R> visitor, P par)
default <P,R> R accept(Sentence.Visitor<P,R> visitor, P par)
default <P,R> R accept(Positioned.Visitor<P,R> visitor, P par)
accept in interface Positionedaccept in interface Sentencedefault <P,R> R accept(Node.Visitor<P,R> visitor, P par)