Package org.smtlib.command
Class C_define_funs_rec
java.lang.Object
org.smtlib.impl.Pos.Posable
org.smtlib.impl.Pos.Printable
org.smtlib.impl.Command
org.smtlib.command.C_define_funs_rec
- All Implemented Interfaces:
ICommand,ICommand.Idefine_funs_rec,INode,IPos.IPosable
Implements the define-funs-rec command
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.smtlib.ICommand
ICommand.Iassert, ICommand.Icheck_sat, ICommand.Icheck_sat_assuming, ICommand.Icomment, ICommand.Ideclare_const, ICommand.Ideclare_datatype, ICommand.Ideclare_datatypes, ICommand.Ideclare_fun, ICommand.Ideclare_sort, ICommand.Ideclare_sort_parameter, ICommand.Idefine_const, ICommand.Idefine_fun, ICommand.Idefine_fun_rec, ICommand.Idefine_funs_rec, ICommand.Idefine_sort, ICommand.Iecho, ICommand.Iexit, ICommand.IFactory, ICommand.IFinder, ICommand.Iget_assertions, ICommand.Iget_assignment, ICommand.Iget_info, ICommand.Iget_model, ICommand.Iget_option, ICommand.Iget_proof, ICommand.Iget_unsat_assumptions, ICommand.Iget_unsat_core, ICommand.Iget_value, ICommand.Ipop, ICommand.Ipush, ICommand.Ireset, ICommand.Ireset_assertions, ICommand.IScript, ICommand.Iset_info, ICommand.Iset_logic, ICommand.Iset_option -
Field Summary
FieldsModifier and TypeFieldDescriptionThe list of defining bodies, one per declarationstatic final StringThe command nameprotected List<IExpr.IFunctionDeclaration> The list of function declarations (name, parameters, result sort)Fields inherited from class org.smtlib.impl.Command
trailingTextFields inherited from class org.smtlib.impl.Pos.Posable
pos -
Constructor Summary
ConstructorsConstructorDescriptionC_define_funs_rec(List<IExpr.IFunctionDeclaration> declarations, List<IExpr> bodies) Constructs a command instance -
Method Summary
Modifier and TypeMethodDescription<T> TThe accept method corresponding to IVisitor, to be implemented in each subclass as { return v.visit(this); }bodies()Returns the list of defining expressions (bodies), parallel toICommand.Idefine_funs_rec.declarations().The command nameReturns the list of function declarations.Executes the command on the given solver; presumes that the command type-checked successfully.static C_define_funs_recParses the command arguments and creates a command instanceMethods inherited from class org.smtlib.impl.Command
error, setTrailingText, trailingText, write, writeArgsMethods 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
-
commandName
The command name- See Also:
-
declarations
The list of function declarations (name, parameters, result sort) -
bodies
The list of defining bodies, one per declaration
-
-
Constructor Details
-
C_define_funs_rec
Constructs a command instance
-
-
Method Details
-
commandName
The command name- Specified by:
commandNamein interfaceICommand- Specified by:
commandNamein classCommand
-
declarations
Description copied from interface:ICommand.Idefine_funs_recReturns the list of function declarations.- Specified by:
declarationsin interfaceICommand.Idefine_funs_rec
-
bodies
Description copied from interface:ICommand.Idefine_funs_recReturns the list of defining expressions (bodies), parallel toICommand.Idefine_funs_rec.declarations().- Specified by:
bodiesin interfaceICommand.Idefine_funs_rec
-
parse
Parses the command arguments and creates a command instance- Throws:
IParser.ParserException
-
execute
Description copied from interface:ICommandExecutes the command on the given solver; presumes that the command type-checked successfully. -
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
-