self["location"] = location
end
+ # Get the location of the entity in the source code.
+ fun location: nullable Location do
+ return self["location"].as(nullable Location)
+ end
+
# Put the entity in the graph.
#
# Called by the loader when it has finished to read the entity.
# Parameters:
#
# * `id`: `model_id` of the inner class.
- # * `full_name`: qualified name of the inner class. Ignored in practice.
+ # * `name`: short name of the inner class.
# * `prot`: visibility (proctection).
- #
- # TODO: Handle cases where only the `full_name` is available.
- fun declare_class(id: String, full_name: String, prot: String) do end
+ fun declare_class(id: String, name: String, prot: String) do end
# Declare a base compound (usually, a base class).
#