class AdLint::Cpp::AsmLine

Attributes

keyword[R]

Public Class Methods

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

Public Instance Methods

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