public enum ReturnExpr extends java.lang.Enum<ReturnExpr> implements Sentence.Visitor<java.lang.Object,Expr>
| Enum Constant and Description |
|---|
INSTANCE |
| Modifier and Type | Method and Description |
|---|---|
static ReturnExpr |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ReturnExpr[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Expr |
visit(AnswerSentence answerSentence,
java.lang.Object par) |
Expr |
visit(ConditionalSentence conditionalSentence,
java.lang.Object par) |
Expr |
visit(SentenceList sentenceList,
java.lang.Object par) |
Expr |
visit(Sentence sentence,
java.lang.Object par) |
public static final ReturnExpr INSTANCE
public static ReturnExpr[] values()
for (ReturnExpr c : ReturnExpr.values()) System.out.println(c);
public static ReturnExpr valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullpublic Expr visit(Sentence sentence, java.lang.Object par)
visit in interface Sentence.Visitor<java.lang.Object,Expr>public Expr visit(SentenceList sentenceList, java.lang.Object par)
visit in interface Sentence.Visitor<java.lang.Object,Expr>visit in interface SentenceList.Visitor<java.lang.Object,Expr>public Expr visit(AnswerSentence answerSentence, java.lang.Object par)
visit in interface AnswerSentence.Visitor<java.lang.Object,Expr>visit in interface Sentence.Visitor<java.lang.Object,Expr>public Expr visit(ConditionalSentence conditionalSentence, java.lang.Object par)
visit in interface ConditionalSentence.Visitor<java.lang.Object,Expr>visit in interface Sentence.Visitor<java.lang.Object,Expr>