Package org.smtlib.impl
Class SMTExpr.FunctionDeclaration
java.lang.Object
org.smtlib.impl.Pos.Posable
org.smtlib.impl.Pos.Printable
org.smtlib.impl.SMTExpr.FunctionDeclaration
- All Implemented Interfaces:
IExpr.IFunctionDeclaration,INode,IPos.IPosable
- Enclosing class:
SMTExpr
public static class SMTExpr.FunctionDeclaration
extends Pos.Printable
implements IExpr.IFunctionDeclaration
Represents a function declaration header (name, sorted parameters, result sort), used in define-funs-rec.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected List<IExpr.IDeclaration> protected ISortprotected IExpr.ISymbolFields inherited from class org.smtlib.impl.Pos.Posable
pos -
Constructor Summary
ConstructorsConstructorDescriptionFunctionDeclaration(IExpr.ISymbol symbol, List<IExpr.IDeclaration> parameters, ISort sort) Creates a function declaration with the given name, parameter declarations, and result sort. -
Method Summary
Methods inherited from class org.smtlib.impl.Pos.Printable
toStringMethods inherited from class org.smtlib.impl.Pos.Posable
equals, hashCode, pos, setPosMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface org.smtlib.IPos.IPosable
pos, setPos
-
Field Details
-
symbol
-
parameters
-
sort
-
-
Constructor Details
-
FunctionDeclaration
Creates a function declaration with the given name, parameter declarations, and result sort.
-
-
Method Details
-
symbol
- Specified by:
symbolin interfaceIExpr.IFunctionDeclaration
-
parameters
- Specified by:
parametersin interfaceIExpr.IFunctionDeclaration
-
sort
- Specified by:
sortin interfaceIExpr.IFunctionDeclaration
-
accept
Description copied from interface:INodeThe accept method corresponding to IVisitor, to be implemented in each subclass as { return v.visit(this); }- Specified by:
acceptin interfaceINode- Type Parameters:
T- the return type desired from the visit methods- Parameters:
v- the visitor class- Returns:
- the value returned by the visit method
- Throws:
IVisitor.VisitorException
-