class AdLint::Cpp::EndifLine

Attributes

keyword[R]

Public Class Methods

new(keyword) click to toggle source
# File lib/adlint/cpp/syntax.rb, line 289
def initialize(keyword)
  @keyword = keyword
end

Public Instance Methods

inspect(indent = 0) click to toggle source
# File lib/adlint/cpp/syntax.rb, line 299
def inspect(indent = 0)
  " " * indent + "#{short_class_name} (#{@keyword.inspect})"
end
location() click to toggle source
# File lib/adlint/cpp/syntax.rb, line 295
def location
  @keyword.location
end