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)
MemoryMap
locationIdentity
.getLastLocationAccess
in interface MemoryMap
getLastLocationAccess
in class SnippetTemplate.MemoryInputMap
public Collection<LocationIdentity> getLocations()
MemoryMap
getLocations
in interface MemoryMap
getLocations
in class SnippetTemplate.MemoryInputMap