Class: Puppet::Pops::Model::Positioned
- Inherits:
-
PopsObject
- Object
- RGen::MetamodelBuilder::MMBase
- PopsObject
- Puppet::Pops::Model::Positioned
- Defined in:
- lib/puppet/pops/model/model.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
AttributeOperation, Expression, KeyedEntry, Parameter, ResourceBody, SelectorEntry
Method Summary
Methods included from Containment
#eAllContainers, #eAllContents