org.fulib.scenarios.ast.expr.primary.AnswerLiteral Maven / Gradle / Ivy
// Generated by GenTreeSrc v0.10.2
// DO NOT EDIT - CHANGES WILL BE LOST ON RE-GENERATE
package org.fulib.scenarios.ast.expr.primary;
import org.fulib.scenarios.ast.Node;
import org.fulib.scenarios.ast.Positioned;
import org.fulib.scenarios.ast.expr.Expr;
public interface AnswerLiteral extends PrimaryExpr
{
// =============== Static Methods ===============
static AnswerLiteral of() { return new Impl(); }
// =============== Methods ===============
default R accept(AnswerLiteral.Visitor
visitor, P par) { return visitor.visit(this, par); }
@Override default
R accept(PrimaryExpr.Visitor
visitor, P par) { return visitor.visit(this, par); }
@Override default
R accept(Expr.Visitor
visitor, P par) { return visitor.visit(this, par); }
@Override default
R accept(Positioned.Visitor
visitor, P par) { return visitor.visit(this, par); }
@Override default
R accept(Node.Visitor
visitor, P par) { return visitor.visit(this, par); }
// =============== Classes ===============
class Impl extends Positioned.Impl implements AnswerLiteral
{
}
interface Visitor
{
// =============== Methods ===============
default R visit(AnswerLiteral answerLiteral, P par) { throw new UnsupportedOperationException(this.getClass().getName() + ".visit(" + answerLiteral.getClass().getName() + ")"); }
}
}