Look up a constant entity.
(&self, c: Constant)
| 65 | |
| 66 | /// Look up a constant entity. |
| 67 | pub fn contains_constant(&self, c: Constant) -> bool { |
| 68 | self.locations.contains_key(&c.into()) |
| 69 | } |
| 70 | |
| 71 | /// Look up an entity by source name. |
| 72 | /// Returns the entity reference corresponding to `name`, if it exists. |
no test coverage detected