class AdLint::Cc1::DefaultLabeledStatement

Attributes

normalized_expression[RW]
statement[R]

Public Class Methods

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

Public Instance Methods

inspect(indent = 0) click to toggle source
# File lib/adlint/cc1/syntax.rb, line 3463
def inspect(indent = 0)
  " " * indent + "#{short_class_name}\n" + @statement.inspect(indent + 1)
end
location() click to toggle source
# File lib/adlint/cc1/syntax.rb, line 3459
def location
  head_location
end