public final class LetFormula extends LetExpression implements Formula
inKeyword, letKeyword, precedence| Modifier and Type | Method and Description |
|---|---|
void |
accept(ASTVisitor visitor)
Accept visitor for a visit.
|
static LetFormula |
construct(ValueDefinition[] d,
Formula b)
Construct formula with local value definitions.
|
Formula |
getBody()
Get body.
|
ValueDefinition[] |
getDefinitions()
Get definitions.
|
accept, acceptChildren, getPrecedencegetPosition, isLeftAssociative, isRightAssociative, setPositionaccept, accept, print, printCore, toString, toStringCoreequals, getClass, hashCode, notify, notifyAll, wait, wait, waitgetPrecedence, isLeftAssociative, isRightAssociativegetPosition, setPositionaccept, acceptChildren, print, printCore, toString, toStringCorepublic static LetFormula construct(ValueDefinition[] d, Formula b)
d - the definitions.b - the body of the formula.public ValueDefinition[] getDefinitions()
getDefinitions in class LetExpressionpublic Formula getBody()
getBody in class LetExpressionpublic void accept(ASTVisitor visitor)
accept in interface ASTaccept in class LetExpressionvisitor - the visitor who is accepted by this node.