private class SnippetTemplate.MemoryOutputMap extends SnippetTemplate.MemoryInputMap
| Modifier and Type | Field and Description |
|---|---|
private Map<Node,Node> |
duplicates |
| Constructor and Description |
|---|
MemoryOutputMap(ValueNode replacee,
Map<Node,Node> duplicates) |
| Modifier and Type | Method and Description |
|---|---|
MemoryNode |
getLastLocationAccess(LocationIdentity locationIdentity)
Gets the last node that that (potentially) wrote to
locationIdentity. |
Collection<LocationIdentity> |
getLocations()
Gets the location identities in the domain of this map.
|
private final Map<Node,Node> duplicates
public MemoryOutputMap(ValueNode replacee, Map<Node,Node> duplicates)
public MemoryNode getLastLocationAccess(LocationIdentity locationIdentity)
MemoryMaplocationIdentity.getLastLocationAccess in interface MemoryMapgetLastLocationAccess in class SnippetTemplate.MemoryInputMappublic Collection<LocationIdentity> getLocations()
MemoryMapgetLocations in interface MemoryMapgetLocations in class SnippetTemplate.MemoryInputMap