class Puppet::Pops::Model::Positioned

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.