class AdLint::Cpp::EndasmLine

Attributes

keyword[R]

Public Class Methods

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

Public Instance Methods

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