public class VerifyCommand extends AbstractProjectCommand<VerifyCommand.Result>
| Modifier and Type | Class and Description |
|---|---|
static class |
VerifyCommand.Result
Result kind for this command
|
| Modifier and Type | Field and Description |
|---|---|
protected boolean |
counterexamples
Signals that counterexample generation should be performed.
|
protected boolean |
printProof
Signals whether proofs should be printed to the console.
|
protected int |
proofLimit
Set the maximum size for a proof.
|
protected int |
proofWidth
Set the display width for the proof printer
|
protected boolean |
verbose
Signals that verbose output should be produced.
|
protected boolean |
verify
Signals that compile-time verification of source files should be
performed.
|
protected wyfs.lang.Content.Filter<WyalFile> |
wyalExcludes
Identifies which wyal source files should not be considered for
compilation.
|
protected wyfs.lang.Content.Filter<WyalFile> |
wyalIncludes
Identifies which wyal source files should be considered for compilation.
|
logger, registry, wyaldir, wycsdir| Constructor and Description |
|---|
VerifyCommand(wyfs.lang.Content.Registry registry,
wycc.util.Logger logger) |
VerifyCommand(wyfs.lang.Content.Registry registry,
wycc.util.Logger logger,
OutputStream sysout,
OutputStream syserr) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
addCompilationBuildRules(wybs.util.StdProject project)
Add build rules necessary for compiling whiley source files into binary
wyil files.
|
protected void |
addWhiley2WyalBuildRule(wybs.util.StdProject project)
Add the rule for compiling Whiley source files into WyIL files.
|
protected VerifyCommand.Result |
compile(wybs.util.StdProject project,
List<wyfs.lang.Path.Entry<WyalFile>> entries) |
String |
describe(String option) |
VerifyCommand.Result |
execute(List<wyfs.lang.Path.Entry<WyalFile>> entries) |
VerifyCommand.Result |
execute(String... args) |
void |
findCounterexamples(WyalFile.Declaration.Assert assertion,
wybs.util.StdProject project) |
String |
getDescription() |
String |
getName() |
void |
set(String option,
Object value) |
describeWyaldir, get, getOptions, initialiseProject, setWyaldir, setWyaldirprotected boolean verbose
protected boolean verify
protected boolean counterexamples
protected boolean printProof
protected int proofLimit
protected int proofWidth
protected wyfs.lang.Content.Filter<WyalFile> wyalIncludes
protected wyfs.lang.Content.Filter<WyalFile> wyalExcludes
whileyIncludes
. By default, no files files reachable from srcdir are excluded.public VerifyCommand(wyfs.lang.Content.Registry registry,
wycc.util.Logger logger)
public VerifyCommand(wyfs.lang.Content.Registry registry,
wycc.util.Logger logger,
OutputStream sysout,
OutputStream syserr)
public String getDescription()
public String describe(String option)
describe in interface wycc.lang.Feature.Configurabledescribe in class AbstractProjectCommand<VerifyCommand.Result>public void set(String option, Object value) throws wycc.lang.Feature.ConfigurationError
set in interface wycc.lang.Feature.Configurableset in class AbstractProjectCommand<VerifyCommand.Result>wycc.lang.Feature.ConfigurationErrorpublic VerifyCommand.Result execute(String... args)
public VerifyCommand.Result execute(List<wyfs.lang.Path.Entry<WyalFile>> entries)
protected VerifyCommand.Result compile(wybs.util.StdProject project, List<wyfs.lang.Path.Entry<WyalFile>> entries)
protected void addCompilationBuildRules(wybs.util.StdProject project)
project - protected void addWhiley2WyalBuildRule(wybs.util.StdProject project)
project - public void findCounterexamples(WyalFile.Declaration.Assert assertion, wybs.util.StdProject project)
public String getName()
Copyright © 2017. All rights reserved.