Class: Puppet::Pops::Model::Positioned
- Inherits:
-
PopsObject
- Object
- RGen::MetamodelBuilder::MMBase
- PopsObject
- Puppet::Pops::Model::Positioned
- Defined in:
- lib/puppet/pops/model/model_meta.rb
Overview
A Positioned object has an offset measured in an opaque unit (representing characters) from the start of a source text (starting from 0), and a length measured in the same opaque unit. The resolution of the opaque unit requires the aid of a Locator instance that knows about the measure. This information is stored in the model’s root node - a Program.
The offset and length are optional if the source of the model is not from parsed text.
Direct Known Subclasses
AbstractAttributeOperation, Expression, KeyedEntry, Parameter, ResourceBody, SelectorEntry
Constant Summary
Constants included from RGen::MetamodelBuilder::DataTypes
RGen::MetamodelBuilder::DataTypes::Boolean, RGen::MetamodelBuilder::DataTypes::Long
Method Summary
Methods included from Containment
#eAllContainers, #eAllContents
Methods included from Visitable
Methods inherited from RGen::MetamodelBuilder::MMBase
#initialize, #inspect, method_added
Methods included from RGen::MetamodelBuilder::BuilderExtensions
#_abstract_class, #_add_metamodel_description, #_metamodel_description, #abstract, #contains_many, #contains_many_uni, #contains_one, #contains_one_uni, #has_attr, #has_many, #has_many_attr, #has_one, #inherited, #many_to_many, #many_to_one, #one_to_many, #one_to_one
Methods included from RGen::Util::NameHelper
#camelize, #className, #firstToLower, #firstToUpper, #normalize, #saneClassName, #saneMethodName
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
Methods included from RGen::MetamodelBuilder::BuilderRuntime
#_add_contained_element, #_assignmentTypeError, #_remove_contained_element, #_set_container, #addGeneric, #disconnectContainer, #eAllContents, #eContainer, #eContainingFeature, #eContents, #eIsSet, #eUnset, #getGeneric, #getGenericAsArray, #hasManyMethods, #is_a?, #removeGeneric, #setGeneric, #setNilOrRemoveAllGeneric, #setNilOrRemoveGeneric, #setOrAddGeneric
Constructor Details
This class inherits a constructor from RGen::MetamodelBuilder::MMBase