class Puppet::Pops::Parser::Locatable

Interface for something that is “locatable” (holds offset and length).

Public Instance Methods

length() click to toggle source

The length in the locator from the given offset

   # File lib/puppet/pops/parser/locatable.rb
 9 def length
10 end
offset() click to toggle source

The offset in the locator's content

  # File lib/puppet/pops/parser/locatable.rb
5 def offset
6 end