public class Memory extends Scope
parameters| Constructor and Description |
|---|
Memory()
Creates a default Memory.
|
Memory(java.lang.String name)
Creates a Memory with a name.
|
| Modifier and Type | Method and Description |
|---|---|
Memory |
addBinding(Binding binding)
Adds a Binding of initial Constants to Variables to this Memory scope.
|
Memory |
checkCompleteness(Notice topInfo)
Checks the completeness of this Memory.
|
Binding |
getBinding()
Returns the Binding of Memory Variables to their initial values.
|
java.util.Set<Constant> |
getConstants()
Returns the set of Constants in this Memory.
|
java.util.Set<Variable> |
getVariables()
Returns the set of Variables in this Memory.
|
Memory |
rebind()
Rebinds this Memory.
|
Memory |
resolve(Scope scope)
Cause this Memory to resolve its global Parameter references.
|
addParameter, addScope, getParameter, getParameters, unbindequals, getName, hashCode, setName, setName, toStringsafeEquals, safeHashCode, semanticErrorpublic Memory()
public Memory(java.lang.String name)
name - the name of this Memory.public java.util.Set<Constant> getConstants()
public java.util.Set<Variable> getVariables()
public Memory addBinding(Binding binding)
binding - the Binding to add.public Binding getBinding()
public Memory resolve(Scope scope)
scope - the Scope containing global Parameters.public Memory rebind()
public Memory checkCompleteness(Notice topInfo)
topInfo - the root Analysis node.