Uses of Interface
org.smtlib.ICommand
Packages that use ICommand
Package
Description
This package contains the main classes and abstract interfaces for this
SMT-LIB tool; the tool provides a stand-alone SMT-LIB-compliant command-line
application, an application that responds to SMT-LIB commands over a
network port, and an SMT-LIB Java API.
This package contains implementations of the SMT-LIB commands,
implementing the interfaces defined in ICommand;
these implementations are independent of the concrete syntax that might
be used, except that each command object has methods that can parse or print
representations of the command in the standard (or potentially other) concrete syntaxes.
This package contains commands that are extensions to SMT-LIB.
This package is an implementation of the interfaces defined in org.smtlib.
This package is a concrete implementation of a particular concrete syntax for the abstract SMT-LIB semantics.
This package implements various instances of org.smtlib.ISolver, which are
specific solvers that wrap and interact with various off-the-shelf SMT solvers
currently available.
-
Uses of ICommand in org.smtlib
Subinterfaces of ICommand in org.smtlibModifier and TypeInterfaceDescriptionstatic interfaceInterface for the SMT-LIBassertcommand.static interfaceInterface for the SMT-LIBcheck-satcommand.static interfaceInterface for the SMT-LIBcheck-sat-assumingcommand.static interfaceInterface for a comment pseudo-command: not part of the SMT-LIB command grammar itself, but modeled as a real, typedICommand(see issue #115) so that every dispatch path -- execution, typed-visitor traversal, and printing -- treats it uniformly with every other command, rather than falling back onIVisitor's genericvisit(ICommand)handling (a reflection-based lookup inPrinter's case).static interfaceInterface for the SMT-LIBdeclare-constcommand.static interfaceInterface for the SMT-LIBdeclare-datatypecommand.static interfaceInterface for the SMT-LIBdeclare-datatypescommand.static interfaceInterface for the SMT-LIBdeclare-funcommand.static interfaceInterface for the SMT-LIBdeclare-sortcommand.static interfaceInterface for the SMT-LIBdeclare-sort-parametercommand.static interfaceInterface for the SMT-LIBdefine-constcommand.static interfaceInterface for the SMT-LIBdefine-funcommand.static interfaceInterface for the SMT-LIBdefine-fun-reccommand.static interfaceInterface for the SMT-LIBdefine-funs-reccommand.static interfaceInterface for the SMT-LIBdefine-sortcommand.static interfaceInterface for the SMT-LIBechocommand.static interfaceInterface for the SMT-LIBexitcommand.static interfaceInterface for the SMT-LIBget-assertionscommand.static interfaceInterface for the SMT-LIBget-assignmentcommand.static interfaceInterface for the SMT-LIBget-infocommand.static interfaceInterface for the SMT-LIBget-modelcommand (non-standard extension).static interfaceInterface for the SMT-LIBget-optioncommand.static interfaceInterface for the SMT-LIBget-proofcommand.static interfaceInterface for the SMT-LIBget-unsat-assumptionscommand.static interfaceInterface for the SMT-LIBget-unsat-corecommand.static interfaceInterface for the SMT-LIBget-valuecommand.static interfaceInterface for the SMT-LIBpopcommand.static interfaceInterface for the SMT-LIBpushcommand.static interfaceInterface for the SMT-LIBresetcommand.static interfaceInterface for the SMT-LIBreset-assertionscommand.static interfaceInterface for the SMT-LIBset-infocommand.static interfaceInterface for the SMT-LIBset-logiccommand.static interfaceInterface for the SMT-LIBset-optioncommand.Fields in org.smtlib with type parameters of type ICommandModifier and TypeFieldDescriptionSMT.Configuration.commandsHolds a mapping from command name to the class implementing the commandMethods in org.smtlib that return ICommandModifier and TypeMethodDescriptionIParser.parseCommand()Parses an SMT-LIB command, if the parser is looking at text representing a valid SMT-LIB command; returns null and logs errors if the text is not a valid command.Methods in org.smtlib that return types with arguments of type ICommandModifier and TypeMethodDescriptionICommand.IScript.commands()ICommand.IFinder.findCommand(String name) This method finds a class that implements the ICommand interface for the given class nameMethods in org.smtlib with parameters of type ICommandModifier and TypeMethodDescriptionvoidAdds a command to the end of the script's command list.protected StringAbstractSolver.correctResponse(ICommand cmd, String response) The solver's raw response to cmd (sent by sendCommand and waited for), corrected where the solver departs from SMT-LIB; an adapter overrides this to patch a specific non-conforming responseOnce the solver process has exited, every command but exit (and a comment, which has no response) answersAbstractSolver.exitedResponse(), including those an adapter answers itself or checks with its own queriesdefault IResponseExecutes the command on this solverbooleanWhetherAbstractSolver.sendPipelined(ICommand)may send the command without waiting for its response.protected IResponseAbstractSolver.sendChange(AbstractSolver.StackChange kind, ICommand cmd) Sends a command that changes the assertion stack, recording it (see recordChange)protected IResponseAbstractSolver.sendCommand(ICommand cmd) Translates the given command and sends it to the solver process, returning the parsed response.AbstractSolver.sendPipelined(ICommand cmd) Executes a command for whichAbstractSolver.pipelines(ICommand)is true, sending it to the solver without waiting for the response.protected static AbstractSolver.ShapeThe kind of response cmd hasstatic intUtils.sourceLine(ICommand cmd) The line of its source on which the command starts (counted from 1), or 0 if it has no source positionTypeChecker.validate(SMT.Configuration smtConfig, ICommand cmd) Validates non-syntactic well-formedness of a command (user IDs, duplicate names, list sizes).Method parameters in org.smtlib with type arguments of type ICommandModifier and TypeMethodDescriptionAbstractSolver.executePipelined(List<ICommand> commands) Executes the commands in order, as a script does: returns the first error, or else the last command's response.ICommand.IFactory.script(IExpr.IStringLiteral filename, List<ICommand> commands) Creates a script object containing the given filename or the given set of commands. -
Uses of ICommand in org.smtlib.command
Classes in org.smtlib.command that implement ICommandModifier and TypeClassDescriptionclassImplements the assert commandclassImplements the check-sat commandclassImplements the check-sat-assuming commandclassA synthetic pseudo-command representing a comment that appeared immediately before a real command in a script -- not part of the SMT-LIB command grammar itself, but modeled as a real, typedICommand.Icomment(see issue #115) rather than a genericICommand, so execution, typed-visitor traversal, and printing all dispatch to it the same way every other command does, with no reflection-based or generic-fallback special case.classImplements the declare-const command (syntactic sugar for declare-fun with no argument sorts)classImplements the declare-datatype commandclassImplements the declare-datatypes commandclassImplements the declare-fun commandclassImplements the declare-sort commandclassImplements the declare-sort-parameter commandclassImplements the define-const command: syntactic sugar for define-fun with no parametersclassImplements the define-fun commandclassImplements the define-fun-rec command (recursive function definition); syntactically identical to define-fun (seeC_define_fun), differing only in the dispatch target -- shares that class's fields, accessors, and constructor.classImplements the define-funs-rec commandclassImplements the define-sort commandclassImplements the echo commandclassImplements the exit commandclassImplements the get-assertions commandclassImplements the get-assignment commandclassImplements the get-info command.classImplements the get-model commandclassImplements the get-option commandclassImplements the get-proof commandclassImplements the get-unsat-assumptions commandclassImplements the get-unsat-core commandclassImplements the get-value commandclassImplements the pop commandclassImplements the push commandclassImplements the reset commandclassImplements the reset-assertions commandclassImplements the set-info commandclassImplements the set-logic command.classImplements the set-option command -
Uses of ICommand in org.smtlib.ext
Subinterfaces of ICommand in org.smtlib.extModifier and TypeInterfaceDescriptioninterfaceInterface for the SMT-LIBexeccommand (non-standard extension).interfaceInterface for the SMT-LIBwhatcommand (non-standard extension).Classes in org.smtlib.ext that implement ICommand -
Uses of ICommand in org.smtlib.impl
Classes in org.smtlib.impl that implement ICommandModifier and TypeClassDescriptionclassThis abstract class is the base class for all commands within this implementation.Fields in org.smtlib.impl with type parameters of type ICommandMethods in org.smtlib.impl that return types with arguments of type ICommandMethods in org.smtlib.impl with parameters of type ICommandModifier and TypeMethodDescriptionvoidAdds a command to the end of the scriptMethod parameters in org.smtlib.impl with type arguments of type ICommandModifier and TypeMethodDescriptionFactory.script(IExpr.IStringLiteral filename, List<ICommand> commands) Constructor parameters in org.smtlib.impl with type arguments of type ICommandModifierConstructorDescriptionScript(IExpr.IStringLiteral filename, List<ICommand> list) Constructs the script with the given list of commands, hijacking the list itself -
Uses of ICommand in org.smtlib.sexpr
Methods in org.smtlib.sexpr with parameters of type ICommandModifier and TypeMethodDescriptionprotected VoidPrinter.printCommand(ICommand e) Prints a no-argument command:(commandName()).protected VoidPrinter.printCommand(ICommand e, Printer.PrintArgs args) Prints(commandName() args)— the space between name and args is emitted here, so theargslambda should not prepend one.Fallback for extension command types not covered by a specific visit method; uses reflection to invokewrite(Printer)on the command object. -
Uses of ICommand in org.smtlib.solvers
Methods in org.smtlib.solvers with parameters of type ICommandModifier and TypeMethodDescriptionOnce exited, every command but exit (and a comment) answers as a process-based solver's wouldbooleanNever pipelined: commands are executed here, not sent to a processbooleanNever pipelined: this adapter sends and corrects commands by its own meansSolver_z3_4_3.sendCommand(ICommand cmd)