Module: MetamodelOrderTest::TestMM2

Extended by:
RGen::MetamodelBuilder::ModuleExtension
Defined in:
lib/puppet/vendor/rgen/test/metamodel_order_test.rb

Defined Under Namespace

Modules: Module21, Module22, Module23

Constant Summary collapse

DataType21 =

this is a critical case: because of the previous extension of Module11 which is in a different hierarchy, DataType21 is looked for in Module11 and its parents; finally it is not found and the definition is ignored for order calculation

RGen::MetamodelBuilder::DataTypes::Enum.new(:name => "DataType21", :literals => {:b => 1})
DataType22 =

if there is no other class or module after the last datatype, it won’t show up in _constantOrder however, the order of eClassifiers can still be reconstructed note that this can not be tested if the test is executed as part of the whole testsuite since there will be classes and modules created within other test files

RGen::MetamodelBuilder::DataTypes::Enum.new(:name => "DataType22", :literals => {:b => 1})

Method Summary

Methods included from RGen::MetamodelBuilder::ModuleExtension

_annotations, _constantOrder, annotation, extended, final_method, method_added

Methods included from RGen::ECore::ECoreInterface

#_set_ecore_internal, clear_ecore_cache, #ecore