public final class ValueDeclarationFormula extends ValueDeclarationClass
| Modifier and Type | Method and Description |
|---|---|
void |
accept(ASTVisitor visitor)
Accept visitor for a visit.
|
void |
acceptChildren(ASTVisitor visitor)
Accept visitor for a visit to the children of this node.
|
static ValueDeclarationFormula |
construct(Identifier name,
Type type,
Formula value)
Create new declaration of a constant denoting a predicate.
|
Formula |
getFormula()
Get value of the declaration.
|
accept, construct, getSymbol, getTypegetName, getPosition, setPositionaccept, accept, print, printCore, toString, toStringCoreequals, getClass, hashCode, notify, notifyAll, wait, wait, waitgetNamegetPosition, setPositionprint, printCore, toString, toStringCorepublic static ValueDeclarationFormula construct(Identifier name, Type type, Formula value)
name - the name of the constant.type - its typevalue - its valuepublic Formula getFormula()
public void accept(ASTVisitor visitor)
accept in interface ASTaccept in class ValueDeclarationClassvisitor - the visitor who is accepted by this node.public void acceptChildren(ASTVisitor visitor)
acceptChildren in interface ASTacceptChildren in class ValueDeclarationClassvisitor - the visitor who is accepted by the children of this node.