class PuppetLint::LexerError
Internal: A generic error thrown by the lexer when it encounters something it can't handle.
Attributes
column[R]
Internal: Get the Integer column number of the location of the error.
line_no[R]
Internal: Get the Integer line number of the location of the error.
Public Class Methods
new(line_no, column)
click to toggle source
Internal: Initialise a new PuppetLint::LexerError object.
#line_no - The Integer line number of the location of the error. column - The Integer column number of the location of the error.
# File lib/puppet-lint/lexer.rb, line 20 def initialize(line_no, column) @line_no = line_no @column = column end