public abstract class QuantifiedExpression extends ExpressionBase
Constructor and Description |
---|
QuantifiedExpression(java.lang.String quantifier,
TypedIdentifier[] variables,
Expression base)
constructs quantified expression from quantifier, variables, and base
|
Modifier and Type | Method and Description |
---|---|
AST |
accept(ASTVisitor visitor)
Accept visitor for a visit.
|
abstract QuantifiedExpression |
construct(TypedIdentifier[] variables,
Expression base)
Construct quantified expression.
|
Expression |
getBase()
get base expression
|
int |
getPriority()
get binding level for printing (lower numbers mean greater binding power)
|
TypedIdentifier[] |
getVariables()
get quantified variables
|
Expression |
instantiate()
return copy of AST with value references instantiated by the substitutions
set in the corresponding declaration identifiers
|
void |
printCore(java.io.PrintWriter out)
Prints text representation on out (without new line termination).
|
fmrisc.ProofNavigator.Syntax.QuantifiedExpression.Substitution |
substitution()
return copy of AST with value references instantiated by the substitutions
set in the corresponding declaration identifiers
|
printPriority
print, printParens, toString
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
print, printParens, toString
public QuantifiedExpression(java.lang.String quantifier, TypedIdentifier[] variables, Expression base)
quantifier
- the name of the quantifier used for printingvariables
- the variable sequencebase
- the base expressionpublic int getPriority()
getPriority
in interface Expression
getPriority
in class ExpressionBase
public TypedIdentifier[] getVariables()
public Expression getBase()
public fmrisc.ProofNavigator.Syntax.QuantifiedExpression.Substitution substitution()
public void printCore(java.io.PrintWriter out)
public Expression instantiate()
public AST accept(ASTVisitor visitor)
visitor
- the visitor who is accepted by this node.public abstract QuantifiedExpression construct(TypedIdentifier[] variables, Expression base)
variables
- typed variables.base
- an expression.