nitc :: ModelDiamond
nitc :: ModelDiamond :: _mclass_d
D, a multiple subclass of B (mclass_b
) and C (mclass_c
)
nitc :: ModelDiamond :: _mclassdef_a
The introduction ofmclass_a
nitc :: ModelDiamond :: _mclassdef_b
The introduction ofmclass_b
nitc :: ModelDiamond :: _mclassdef_c
The introduction ofmclass_c
nitc :: ModelDiamond :: _mclassdef_d
The introduction ofmclass_d
nitc :: ModelDiamond :: defaultinit
nitc :: ModelDiamond :: mclass_a=
A, a simple subclass of Objectnitc :: ModelDiamond :: mclass_b=
B, a subclass of A (mclass_a
)
nitc :: ModelDiamond :: mclass_c=
C, another subclass of A (mclass_a
)
nitc :: ModelDiamond :: mclass_d
D, a multiple subclass of B (mclass_b
) and C (mclass_c
)
nitc :: ModelDiamond :: mclass_d=
D, a multiple subclass of B (mclass_b
) and C (mclass_c
)
nitc :: ModelDiamond :: mclassdef_a=
The introduction ofmclass_a
nitc :: ModelDiamond :: mclassdef_b=
The introduction ofmclass_b
nitc :: ModelDiamond :: mclassdef_c=
The introduction ofmclass_c
nitc :: ModelDiamond :: mclassdef_d=
The introduction ofmclass_d
nitc $ ModelDiamond :: SELF
Type of this instance, automatically specialized in every classnitc :: MEntity :: _const_color
nitc :: MEntity :: _css_classes
CSS classes used to decorateself
nitc :: MEntity :: _deprecation
Is the entity deprecated?nitc :: Model :: _fname_sorter
nitc :: Model :: _full_mtype_specialization_hierarchy
Global overlapped class-type hierarchy.nitc :: MEntity :: _html_full_name
The MEntityfull_name
escaped for HTML
nitc :: Model :: _intro_mtype_specialization_hierarchy
Class-type hierarchy restricted to the introduction.nitc :: MEntity :: _is_broken
The indication that the entity did not pass some semantic verifications.nitc :: Model :: _kind_sorter
nitc :: Model :: _lfname_sorter
nitc :: Model :: _lname_sorter
nitc :: ModelStandalone :: _location
nitc :: ModelDiamond :: _mclass_d
D, a multiple subclass of B (mclass_b
) and C (mclass_c
)
nitc :: ModelDiamond :: _mclassdef_a
The introduction ofmclass_a
nitc :: ModelDiamond :: _mclassdef_b
The introduction ofmclass_b
nitc :: ModelDiamond :: _mclassdef_c
The introduction ofmclass_c
nitc :: ModelDiamond :: _mclassdef_d
The introduction ofmclass_d
nitc :: Model :: _mclassdef_hierarchy
Hierarchy of class definition.nitc :: ModelStandalone :: _mclassdef_o
The introduction ofmclass_o
nitc :: Model :: _mclasses_by_name
Collections of classes grouped by their short namenitc :: Model :: _mentities_by_full_name
Keep a direct link to mentities by full name to speed upmentity_from_uri
nitc :: Model :: _mmodule_importation_hierarchy
Full module importation hierarchy including private or nested links.nitc :: Model :: _mmodules_by_name
Collections of modules grouped by their short namesnitc :: Model :: _mpackage_by_name
Collections of package grouped by their namesnitc :: Model :: _mpackage_importation_graph
Full package importation graphnitc :: Model :: _mproperties_by_name
Collections of properties grouped by their short namenitc :: Model :: _name_sorter
nitc :: Model :: _nitdoc_inline_processor
Get a markdown inline processor for Nitdoc comments.nitc :: Model :: _nitdoc_md_processor
Get a markdown processor for Nitdoc comments.nitc :: Model :: _no_location
Place-holder object that means no-locationnitc :: Model :: _score_sorter
nitc :: Model :: _vis_sorter
serialization :: Serializable :: accept_inspect_serializer_core
serialization :: Serializable :: accept_json_serializer
Refinable service to customize the serialization of this class to JSONserialization :: Serializable :: accept_msgpack_attribute_counter
Hook to customize the behavior of theAttributeCounter
serialization :: Serializable :: accept_msgpack_serializer
Hook to customize the serialization of this class to MessagePacknitc :: MEntity :: add_doc_to_infobox
Append an entry for the doc in the given infoboxserialization :: Serializable :: add_to_bundle
Called by[]=
to dynamically choose the appropriate method according
nitc :: Model :: bottom_type=
The only bottom typecore :: Object :: class_factory
Implementation used byget_class
to create the specific class.
nitc :: MEntity :: collect_ancestors
Collectself
ancestors (direct and indirect)
nitc :: MEntity :: collect_children
Collectself
children (direct descendants)
nitc :: MEntity :: collect_descendants
Collectself
descendants (direct and direct)
nitc :: Model :: collect_intro_mclasses
Collect all MClasses introduced inself
nitc :: Model :: collect_intro_mproperties
Collect all MProperties introduced inself
nitc :: MEntity :: collect_linearization
Collectself
linearization anchored on mainmodule
nitc :: Model :: collect_mclassdefs
Collect all MClassDefs inself
nitc :: Model :: collect_mclasses
Collect all MClasses inself
nitc :: Model :: collect_mentities
Collect all MEntities inself
nitc :: MEntity :: collect_metrics
nitc :: Model :: collect_mgroups
Collect all MGroups inself
nitc :: Model :: collect_mmodules
Collect all MModules inself
nitc :: MEntity :: collect_modifiers
Collect modifier keywords likeredef
, private
etc
nitc :: Model :: collect_mpackages
Collect all MPackages inself
nitc :: Model :: collect_mpropdefs
Collect all MPropDefs inself
nitc :: Model :: collect_mproperties
Collect all MProperties inself
nitc :: MEntity :: collect_parents
Collectself
parents (direct ancestors)
nitc :: Model :: concerns_tree
Build an ordered tree with fromconcerns
nitc :: MEntity :: const_color
nitc :: MEntity :: const_color=
nitc :: MEntity :: core_serialize_base
serialization :: Serializable :: core_serialize_to
Actual serialization ofself
to serializer
nitc :: MEntity :: create_ast_representation
Build a ANode fromself
nitc :: MEntity :: cs_comment
Returns the comment of this MEntity formatted for console.nitc :: MEntity :: cs_declaration
Returns the complete MEntity declaration (modifiers + name + signature).nitc :: MEntity :: cs_full_name
Returnsself.full_name
formatted for console
nitc :: MEntity :: cs_list_item
Returnsself
as a list element that can be displayed in console.
nitc :: MEntity :: cs_location
Source code location of this MEntity formatted for consolenitc :: MEntity :: cs_short_comment
Returns the comment of this MEntity formatted for console.nitc :: MEntity :: cs_signature
Returnsself
signature formatted for console.
nitc :: MEntity :: cs_source_code
Source code associated to this MEntity.nitc :: MEntity :: css_classes=
CSS classes used to decorateself
nitc :: ModelStandalone :: defaultinit
nitc :: Model :: defaultinit
nitc :: ModelDiamond :: defaultinit
nitc :: HInfoBoxable :: defaultinit
core :: Object :: defaultinit
nitc :: MEntity :: defaultinit
nitc :: MEntity :: deprecation=
Is the entity deprecated?nitc :: MEntity :: field_separator
nitc :: Model :: fname_sorter
nitc :: Model :: fname_sorter=
serialization :: Serializable :: from_deserializer
Create an instance of this class from thedeserializer
nitc :: Model :: full_mtype_specialization_hierarchy
Global overlapped class-type hierarchy.nitc :: Model :: full_mtype_specialization_hierarchy=
Global overlapped class-type hierarchy.nitc :: Model :: get_avg_attribut
nitc :: Model :: get_avg_linenumber
nitc :: Model :: get_avg_method
nitc :: Model :: get_avg_parameter
nitc :: Model :: get_mclasses_by_name
Return all classes namedname
.
nitc :: Model :: get_mmodules_by_name
Return all module namedname
nitc :: Model :: get_mpackages_by_name
Return all package namedname
nitc :: Model :: get_mproperties_by_name
Return all properties namedname
.
nitc :: MEntity :: hierarchy_poset
Build a poset representingself
in it's own hierarchy
nitc :: MEntity :: html_declaration
Returns the complete MEntity declaration decorated with HTMLnitc :: MEntity :: html_full_name=
The MEntityfull_name
escaped for HTML
nitc :: MEntity :: html_name=
The MEntity name escaped for HTMLnitc :: MEntity :: html_namespace
Returnsfull_name
decorated with HTML links
nitc :: MEntity :: html_signature
Returns the MEntity signature decorated with HTMLnitc :: HInfoBoxable :: infobox
An new infobox documenting the entitynitc :: Model :: intro_mtype_specialization_hierarchy
Class-type hierarchy restricted to the introduction.nitc :: Model :: intro_mtype_specialization_hierarchy=
Class-type hierarchy restricted to the introduction.nitc :: MEntity :: is_broken=
The indication that the entity did not pass some semantic verifications.nitc :: MEntity :: is_fictive=
Isself
created for internal purpose?
core :: Object :: is_same_instance
Return true ifself
and other
are the same instance (i.e. same identity).
core :: Object :: is_same_serialized
Isself
the same as other
in a serialization context?
core :: Object :: is_same_type
Return true ifself
and other
have the same dynamic type.
nitc :: MEntity :: json_namespace
Returnself.full_name
as an object that can be serialized to json.
nitc :: Model :: kind_sorter
nitc :: Model :: kind_sorter=
nitc :: Model :: lfname_sorter
nitc :: Model :: lfname_sorter=
nitc :: MEntity :: line_separator
nitc :: MEntity :: linkto_text
Link to theself
with a specific text.
nitc :: Model :: lname_sorter
nitc :: Model :: lname_sorter=
nitc :: ModelStandalone :: location=
nitc :: ModelDiamond :: mclass_a=
A, a simple subclass of Objectnitc :: ModelDiamond :: mclass_b=
B, a subclass of A (mclass_a
)
nitc :: ModelDiamond :: mclass_c=
C, another subclass of A (mclass_a
)
nitc :: ModelDiamond :: mclass_d
D, a multiple subclass of B (mclass_b
) and C (mclass_c
)
nitc :: ModelDiamond :: mclass_d=
D, a multiple subclass of B (mclass_b
) and C (mclass_c
)
nitc :: ModelStandalone :: mclass_o=
The root Object classnitc :: ModelDiamond :: mclassdef_a=
The introduction ofmclass_a
nitc :: ModelDiamond :: mclassdef_b=
The introduction ofmclass_b
nitc :: ModelDiamond :: mclassdef_c=
The introduction ofmclass_c
nitc :: ModelDiamond :: mclassdef_d=
The introduction ofmclass_d
nitc :: Model :: mclassdef_hierarchy
Hierarchy of class definition.nitc :: Model :: mclassdef_hierarchy=
Hierarchy of class definition.nitc :: ModelStandalone :: mclassdef_o=
The introduction ofmclass_o
nitc :: Model :: mclasses_by_name
Collections of classes grouped by their short namenitc :: Model :: mclasses_by_name=
Collections of classes grouped by their short namenitc :: MEntity :: mdoc_or_fallback
The documentation associated to the entity or their main nested entity.nitc :: Model :: mentities_by_full_name
Keep a direct link to mentities by full name to speed upmentity_from_uri
nitc :: Model :: mentities_by_full_name=
Keep a direct link to mentities by full name to speed upmentity_from_uri
nitc :: Model :: mentities_by_name
Searches the MEntities that matchesfull_name
.
nitc :: Model :: mentity_by_full_name
Searches the MEntity that matchesfull_name
.
nitc :: Model :: mmodule_importation_hierarchy
Full module importation hierarchy including private or nested links.nitc :: Model :: mmodule_importation_hierarchy=
Full module importation hierarchy including private or nested links.nitc :: Model :: mmodules_by_name
Collections of modules grouped by their short namesnitc :: Model :: mmodules_by_name=
Collections of modules grouped by their short namesnitc :: Model :: mpackage_by_name
Collections of package grouped by their namesnitc :: Model :: mpackage_by_name=
Collections of package grouped by their namesnitc :: Model :: mpackage_importation_graph
Full package importation graphnitc :: Model :: mpackage_importation_graph=
Full package importation graphnitc :: Model :: mpackages=
packages of the modelnitc :: Model :: mproperties=
All known propertiesnitc :: Model :: mproperties_by_name
Collections of properties grouped by their short namenitc :: Model :: mproperties_by_name=
Collections of properties grouped by their short nameserialization :: Serializable :: msgpack_extra_array_items
Hook to request a larger than usual metadata arraynitc :: Model :: name_sorter
nitc :: Model :: name_sorter=
core :: Object :: native_class_name
The class name of the object in CString format.nitc :: Model :: nitdoc_inline_processor
Get a markdown inline processor for Nitdoc comments.nitc :: Model :: nitdoc_inline_processor=
Get a markdown inline processor for Nitdoc comments.nitc :: Model :: nitdoc_md_processor
Get a markdown processor for Nitdoc comments.nitc :: Model :: nitdoc_md_processor=
Get a markdown processor for Nitdoc comments.nitc :: Model :: no_location=
Place-holder object that means no-locationcore :: Object :: output_class_name
Display class name on stdout (debug only).mentity
nitc :: MEntity :: ratings_by_dimension
Get the ratings of adimension
nitc :: Model :: score_sorter
nitc :: Model :: score_sorter=
serialization :: Serializable :: serialize_msgpack
Serializeself
to MessagePack bytes
serialization :: Serializable :: serialize_to
Serializeself
to serializer
serialization :: Serializable :: serialize_to_json
Serializeself
to JSON
serialization :: Serializable :: serialize_to_or_delay
Accept references or force direct serialization (usingserialize_to
)
nitc :: MEntity :: source_url
Render a HTML link for the MEntity locationnitc :: Model :: to_mpackage_tree
Generate a MPackageTree based on the packages, groups and modules known in the modelserialization :: Serializable :: to_pretty_json
Serializeself
to plain pretty JSON
nitc :: MEntity :: tpl_module
Builds a dot UML package diagram entity fromself
nitc :: Model :: vis_sorter
nitc :: Model :: vis_sorter=
v.enter_visit
on all nested entities.
nitc :: MEntity :: write_extra_doc
Extra auto documentation to append to thestream
nitc :: MEntity :: write_location
Location (file and line when available) of related declarationsSerializer::serialize
# A standalone model with the common class diamond-hierarchy ABCD
class ModelDiamond
super ModelStandalone
# A, a simple subclass of Object
var mclass_a = new MClass(mmodule0, "A", location, null, concrete_kind, public_visibility)
# The introduction of `mclass_a`
var mclassdef_a: MClassDef do
var res = new MClassDef(mmodule0, mclass_a.mclass_type, location)
res.set_supertypes([mclass_o.mclass_type])
res.add_in_hierarchy
return res
end
# B, a subclass of A (`mclass_a`)
var mclass_b = new MClass(mmodule0, "B", location, null, concrete_kind, public_visibility)
# The introduction of `mclass_b`
var mclassdef_b: MClassDef do
var res = new MClassDef(mmodule0, mclass_b.mclass_type, location)
res.set_supertypes([mclass_a.mclass_type])
res.add_in_hierarchy
return res
end
# C, another subclass of A (`mclass_a`)
var mclass_c = new MClass(mmodule0, "C", location, null, concrete_kind, public_visibility)
# The introduction of `mclass_c`
var mclassdef_c: MClassDef do
var res = new MClassDef(mmodule0, mclass_c.mclass_type, location)
res.set_supertypes([mclass_a.mclass_type])
res.add_in_hierarchy
return res
end
# D, a multiple subclass of B (`mclass_b`) and C (`mclass_c`)
var mclass_d = new MClass(mmodule0, "D", location, null, concrete_kind, public_visibility)
# The introduction of `mclass_d`
var mclassdef_d: MClassDef do
var res = new MClassDef(mmodule0, mclass_d.mclass_type, location)
res.set_supertypes([mclass_b.mclass_type, mclass_c.mclass_type])
res.add_in_hierarchy
return res
end
end
src/model/model.nit:2798,1--2845,3