class AdLint::Cc1::ErrorStatement

Public Class Methods

new(err_tok) click to toggle source
Calls superclass method AdLint::Cc1::Statement::new
# File lib/adlint/cc1/syntax.rb, line 3391
def initialize(err_tok)
  super()
  @error_token = err_tok
end

Public Instance Methods

inspect(indent = 0) click to toggle source
# File lib/adlint/cc1/syntax.rb, line 3400
def inspect(indent = 0)
  " " * indent + "#{short_class_name}"
end
location() click to toggle source
# File lib/adlint/cc1/syntax.rb, line 3396
def location
  head_location
end