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
10 def length
11 end
offset() click to toggle source

The offset in the locator's content

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