lib/puppet-lint/data.rb
# Public: Get the tokenised manifest.
#
# Returns an Array of PuppetLint::Lexer::Token objects.
Get the tokenised manifest.
Returns an Array of PuppetLint::Lexer::Token objects.
Get the tokenised manifest . Returns an Array of PuppetLint :: Lexer :: Token objects .
def tokens
      if caller[0][/`.*'/][1..-2] == 'check'
        @tokens.dup
      else
        @tokens
      end
    end
def tokens if caller [ 0 ] [ / `.*' / ] [ 1 .. - 2 ] == 'check' @tokens . dup else @tokens end end
Public: Get the tokenised manifest.
Public : Get the tokenised manifest .