public final class AtomicFormula extends TermApplication implements Formula
| Modifier and Type | Field and Description |
|---|---|
static int |
precedence |
| Modifier and Type | Method and Description |
|---|---|
void |
accept(ASTVisitor visitor)
Accept visitor for a visit.
|
void |
accept(ASTVisitorOld visitor)
Accept visitor for a visit.
|
static AtomicFormula |
construct(Term fun,
Term[] args)
Construct application expression.
|
int |
getPrecedence()
Get precedence value of the formula operator
(higher precedence value means higher binding power)
|
getArguments, getFunctionacceptChildren, getArgumentExpressions, getFunctionExpressiongetPosition, isLeftAssociative, isRightAssociative, setPositionaccept, accept, print, printCore, toString, toStringCoreequals, getClass, hashCode, notify, notifyAll, wait, wait, waitisLeftAssociative, isRightAssociativegetPosition, setPositionacceptChildren, print, printCore, toString, toStringCorepublic static final int precedence
public static AtomicFormula construct(Term fun, Term[] args)
fun - the function that is being applied.args - the arguments to which the function is applied.public int getPrecedence()
getPrecedence in interface ExpressiongetPrecedence in class ExpressionBasepublic void accept(ASTVisitorOld visitor)
accept in interface ASTaccept in class ApplicationExpressionvisitor - the visitor who is accepted by this node.public void accept(ASTVisitor visitor)
accept in interface ASTaccept in class TermApplicationvisitor - the visitor who is accepted by this node.