public abstract class ParamSymbol extends GlobalSymbolBase implements GlobalSymbol
Modifier and Type | Method and Description |
---|---|
TypeExpression[] |
getArgumentTypes()
Get the argument types of the entity
|
StatJudgement |
getBodyJudgement()
Get body statement judgement.
|
java.util.Set<ParamSymbol> |
getCall()
Get the set of methods called by this method.
|
ClassSymbol |
getClassSymbol()
Get the class to which the entity belongs.
|
abstract ParamDeclaration |
getDeclaration()
Get declaration associated to symbol (may be null).
|
TaskFolder |
getLoops()
Get the loops.
|
TaskFolder |
getObligations()
Get the other proof obligations.
|
TaskFolder |
getOptional()
Get the optional conditions.
|
ParameterSymbol[] |
getParameterArray()
Get array of parameters of this object.
|
SymbolTable<ParameterSymbol> |
getParams()
Get the method's parameter set.
|
TaskFolder |
getPreconditions()
Get the preconditions.
|
java.util.Map<Statement,Formula> |
getPreMap()
Get mapping of body statements to prestate knowledge.
|
java.util.Set<ParamSymbol> |
getRecursion()
Get the set of methods (directly or indirectly) recursively called
by this method.
|
Satisfies |
getSatisfies()
Get judgement processor for this method.
|
MethodSpec |
getSpecification()
Get method specification.
|
TaskFolder |
getTCCs()
Get the type checking conditions.
|
void |
reset()
Reset symbol
|
void |
setBodyJudgement(StatJudgement bjudge)
Set body statement judgement.
|
void |
setCall(java.util.Set<ParamSymbol> call)
Set the set of methods directly called by this method.
|
void |
setPreMap(java.util.Map<Statement,Formula> preMap)
Set mapping of body statements to prestate knowledge.
|
void |
setRecursion(java.util.Set<ParamSymbol> recursion)
Set the set of methods (directly or indirectly) recursively called
by this method.
|
void |
setSatisfies(Satisfies satisfies)
Set judgement processor for this method.
|
void |
setSpecification(MethodSpec spec)
Set method specification.
|
getLongName
getName
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getLongName
public SymbolTable<ParameterSymbol> getParams()
public ClassSymbol getClassSymbol()
public TypeExpression[] getArgumentTypes()
public ParameterSymbol[] getParameterArray()
public abstract ParamDeclaration getDeclaration()
getDeclaration
in interface Symbol
getDeclaration
in class SymbolBase
public TaskFolder getTCCs()
public TaskFolder getLoops()
public TaskFolder getPreconditions()
public TaskFolder getOptional()
public TaskFolder getObligations()
public void reset()
public void setSpecification(MethodSpec spec)
spec
- the specificationpublic MethodSpec getSpecification()
public void setBodyJudgement(StatJudgement bjudge)
bjudge
- the body statement judgement.public StatJudgement getBodyJudgement()
public void setPreMap(java.util.Map<Statement,Formula> preMap)
preMap
- the mapping (may be null).public java.util.Map<Statement,Formula> getPreMap()
public void setSatisfies(Satisfies satisfies)
satisfies
- the judgement processor.public Satisfies getSatisfies()
public void setCall(java.util.Set<ParamSymbol> call)
call
- the call set.public java.util.Set<ParamSymbol> getCall()
public void setRecursion(java.util.Set<ParamSymbol> recursion)
recursion
- the recursion set.public java.util.Set<ParamSymbol> getRecursion()