Constructor and Description |
---|
Satisfies(ParamSymbol method,
StateType stype,
TaskFolder invariants,
java.util.Vector<TheorySymbol> theories,
Declaration[][] decls,
ErrorStream out)
Create a judgement processor.
|
Terminates(ParamSymbol method,
StateType stype,
TaskFolder tasks,
java.util.Vector<TheorySymbol> theories,
Declaration[][] decls,
ErrorStream out)
Create a termination judgement processor.
|
Modifier and Type | Method and Description |
---|---|
Declaration |
SpecLangParser.declaration() |
Modifier and Type | Method and Description |
---|---|
java.util.Vector<Declaration> |
SpecLangParser.declarations() |
Modifier and Type | Method and Description |
---|---|
Declaration[] |
ClassicalProblem.getDeclarations()
Get the declarations.
|
Constructor and Description |
---|
ClassicalProblem(Declaration[] decls,
Formula goal,
ErrorStream out)
Construct a proving problem.
|
StateProblem(Declaration[] decls,
Formula goal,
java.util.Map<Symbol,Symbol> map,
StateType stateType,
Type stringType,
java.util.Collection<VariableSymbol> variables,
java.util.Collection<ClassSymbol> exceptions,
ErrorStream out)
Construct a proving problem.
|
Modifier and Type | Method and Description |
---|---|
Declaration |
Symbol.getDeclaration()
Get declaration of variable (if any).
|
Declaration |
SymbolBase.getDeclaration()
Get declaration of variable (if any).
|
Declaration |
ParameterSymbol.getDeclaration()
Get the declaration of this parameter.
|
Declaration |
ValueSymbol.getDeclaration()
Get declaration.
|
Declaration[][] |
LogicEnvironment.getDeclarations()
Get sequence of ordered declarations sequences where declarations in a
later sequence supersede the previous declarations.
|
Modifier and Type | Method and Description |
---|---|
static ValueSymbol |
ValueSymbol.construct(Identifier name,
Type type,
Declaration decl)
Construct value symbol.
|
boolean |
LogicChecking.process(Declaration[] decls)
Type-check declaration sequence in current theory.
|
ValueSymbol |
LogicEnvironment.putValue(Identifier name,
Type type,
Declaration decl)
Attempts to put value into value table
|
Modifier and Type | Interface and Description |
---|---|
interface |
Definition
Interface to any kind of logical definition.
|
interface |
ValueDeclaration
Interface to a value declaration.
|
interface |
ValueDefinition
Interface to a value definition.
|
Modifier and Type | Class and Description |
---|---|
class |
AxiomDefinition
The definition of an axiom
|
class |
DeclarationBase
The base class of declarations.
|
class |
DefinitionBase
The base class of definitions.
|
class |
FormulaDefinition
The definition of a formula
|
class |
TypeDeclaration
The declaration of a type.
|
class |
TypeDefinition
The definition of a type.
|
class |
TypedIdentifier
An identifier with a type.
|
class |
ValueDeclarationClass
The declaration of a value.
|
class |
ValueDeclarationFormula
The declaration of a value (predicate) initialized by a formula
|
class |
ValueDeclarationInitialized
The declaration of a value with initialization.
|
class |
ValueDefinitionClass
The definition of a value.
|
Modifier and Type | Interface and Description |
---|---|
interface |
CompilationUnit
Interface to a compilation unit.
|
interface |
ParamDeclaration
The interface to declarations with parameters
|
interface |
ProgramDeclaration
Interface to a program declaration.
|
interface |
TopDeclaration
The interface to declarations.
|
interface |
VariableDeclaration
The interface to declarations introducing variables with types
|
Modifier and Type | Class and Description |
---|---|
class |
ClassDeclaration
A class declaration
|
class |
ClassMethodDeclaration
A class method declaration.
|
class |
ClassVariableDeclaration
A class variable declaration.
|
class |
CompilationUnitBase
Base class of a compilation unit.
|
class |
ConstructorDeclaration
A constructor declaration.
|
class |
DeclCallStatement
A method call statement with a result value initializing a local variable.
|
class |
DeclNewStatement
A constructor call statement with a result value initializing a local variable.
|
class |
GlobalVariableDeclaration
A global variable declaration.
|
class |
MethodDeclaration
A method declaration.
|
class |
ObjectMethodDeclaration
An object method declaration.
|
class |
ObjectVariableDeclaration
An object variable declaration.
|
class |
ParamDeclarationBase
The base class for a declaration with parameters.
|
class |
Parameter
A parameter i.e.
|
class |
TopDeclarationBase
A top-level declaration inside a class.
|
class |
VariableDeclarationBase
The base class of declarations introducing variables with types.
|
class |
VariableStatement
A local variable declaration
|
Modifier and Type | Class and Description |
---|---|
class |
TheoryDeclaration
The declaration of a logical theory.
|
Modifier and Type | Method and Description |
---|---|
Declaration[] |
UnitSpec.getDeclarations()
Get declarations introduced in unit.
|
Declaration[] |
TheoryDeclaration.getDeclarations()
Get declarations introduced in unit.
|
Modifier and Type | Method and Description |
---|---|
static TheoryDeclaration |
TheoryDeclaration.construct(Name pname,
Import[] imports,
Identifier name,
Name[] theories,
Declaration[] decls)
Construct a theory declaration
|
Modifier and Type | Method and Description |
---|---|
static TheoryDeclaration |
TheoryDeclaration.construct(Name pname,
java.util.Vector<Import> imports,
Identifier name,
java.util.Vector<Name> theories,
java.util.Vector<Declaration> decls)
Construct a theory.
|
void |
UnitSpec.setDeclarations(java.util.Vector<Declaration> ds)
Set declarations introduced by unit.
|
Modifier and Type | Field and Description |
---|---|
Declaration[] |
FlattenDeclarations.Result.decls |
Modifier and Type | Method and Description |
---|---|
static FlattenDeclarations.Result |
FlattenDeclarations.flatten(java.util.Vector<TheorySymbol> theories,
Declaration[][] decls,
Formula goal,
TheorySymbol theory)
Flatten a task with nested declarations.
|
static void |
PreconditionTasks.generate(ParamSymbol method,
java.util.Map<Statement,Formula> preMap,
StateType stateType,
Name[] stateVars,
Name[] stateExcs,
java.util.Vector<TheorySymbol> theories,
Declaration[][] decls,
ErrorStream out)
Construct the precondition tasks for a given method.
|
static void |
ClassTasks.register(ClassSymbol csymbol,
java.util.Vector<TheorySymbol> theories,
Declaration[][] decls,
ErrorStream out)
Register the construction of tasks for a given class.
|
static void |
TerminationTasks.register(ParamSymbol method,
StateType stateType,
Name[] stateVars,
Name[] stateExcs,
java.util.Vector<TheorySymbol> theories,
Declaration[][] decls,
ErrorStream out)
Register the construction of termination tasks for a given method.
|
static void |
MethodTasks.register(ParamSymbol method,
StateType stateType,
Name[] stateVars,
Name[] stateExcs,
java.util.Vector<TheorySymbol> theories,
Declaration[][] decls,
ErrorStream out)
Register the construction of tasks for a given method.
|
Constructor and Description |
---|
CorrectnessTask(ParamSymbol method,
java.io.File parent,
StateType stateType,
Name[] stateVars,
Name[] stateExcs,
java.util.Vector<TheorySymbol> theories,
Declaration[][] decls,
ErrorStream out)
Construct a partial correctness task for a given method.
|
InvariantTask(ParamSymbol method,
Statement stat,
Formula goal,
Formula invariant,
SourcePosition pos,
Formula cond,
Formula body,
java.io.File parent,
StateType stateType,
java.util.Set<VariableSymbol> variables,
java.util.Set<ClassSymbol> exceptions,
java.util.Vector<TheorySymbol> theories,
Declaration[][] decls,
ErrorStream out)
Construct an invariant verification task.
|
Result(Declaration[] decls,
Formula goal,
java.util.Map<Symbol,Symbol> map) |
SpecTask(ParamSymbol method,
boolean satisfiable,
StateType stateType,
java.util.Vector<TheorySymbol> theories,
Declaration[][] decls,
ErrorStream out)
Construct a task for validating a specification.
|
TerminationTask(java.lang.String kind,
ParamSymbol method,
Formula goal,
Statement stat,
java.lang.String tag,
java.io.File parent,
StateType stateType,
java.util.Set<VariableSymbol> variables,
java.util.Set<ClassSymbol> exceptions,
java.util.Vector<TheorySymbol> theories,
Declaration[][] decls,
ErrorStream out)
Construct a termination verification task.
|
TypeCheckingTask(TheorySymbol tsymbol,
java.lang.String name,
SourcePosition position,
java.io.File dir,
StateType resultType,
Name[] stateVars,
Name[] stateExcs,
java.util.Vector<TheorySymbol> theories,
Declaration[][] decls,
Formula goal,
ErrorStream out)
Create task of proving a type-checking condition.
|