class AdLint::Cpp::AsmSection

Attributes

asm_line[R]
endasm_line[R]

Public Class Methods

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

Public Instance Methods

inspect(indent = 0) click to toggle source
# File lib/adlint/cpp/syntax.rb, line 532
def inspect(indent = 0)
  [" " * indent + short_class_name,
    @asm_line.inspect(indent + 1),
    @endasm_line.inspect(indent + 1)].join("\n")
end
location() click to toggle source
# File lib/adlint/cpp/syntax.rb, line 528
def location
  @asm_line.location
end