public class SaveNewNameCommand extends AbstractCommand<SaveNewNameCommand.Parameters>
TacletApp
which
matches certain criteria into an abbreviation for later use. A nice use case
is a manual loop invariant rule application, where the newly introduced
anonymizing Skolem constants can be saved for later interactive
instantiations. As for the LetCommand
, it is not allowed to call this
command multiple times with the same name argument (all names used for
remembering instantiations are "final").Modifier and Type | Class and Description |
---|---|
static class |
SaveNewNameCommand.Parameters |
documentation, log, proof, service, state, uiControl
Constructor and Description |
---|
SaveNewNameCommand() |
Modifier and Type | Method and Description |
---|---|
SaveNewNameCommand.Parameters |
evaluateArguments(EngineState state,
java.util.Map<java.lang.String,java.lang.String> arguments) |
void |
execute(AbstractUserInterfaceControl uiControl,
SaveNewNameCommand.Parameters params,
EngineState stateMap) |
java.lang.String |
getName()
Returns the name of this proof command.
|
execute, getArguments, getDocumentation
public SaveNewNameCommand.Parameters evaluateArguments(EngineState state, java.util.Map<java.lang.String,java.lang.String> arguments) throws java.lang.Exception
evaluateArguments
in interface ProofScriptCommand<SaveNewNameCommand.Parameters>
evaluateArguments
in class AbstractCommand<SaveNewNameCommand.Parameters>
java.lang.Exception
public void execute(AbstractUserInterfaceControl uiControl, SaveNewNameCommand.Parameters params, EngineState stateMap) throws ScriptException, java.lang.InterruptedException
execute
in interface ProofScriptCommand<SaveNewNameCommand.Parameters>
execute
in class AbstractCommand<SaveNewNameCommand.Parameters>
uiControl
- the current ui controllerparams
- the script argumentsstateMap
- the current stateScriptException
- if something bad happensjava.lang.InterruptedException
- if something bad happenspublic java.lang.String getName()
ProofScriptCommand
ProofScriptEngine