class AdLint::Cc1::CaseLabeledStatement
Attributes
expression[R]
normalized_expression[RW]
statement[R]
Public Class Methods
new(expr, stmt)
click to toggle source
Calls superclass method
AdLint::Cc1::Statement::new
# File lib/adlint/cc1/syntax.rb, line 3430 def initialize(expr, stmt) super() @expression = expr @statement = stmt end
Public Instance Methods
inspect(indent = 0)
click to toggle source
# File lib/adlint/cc1/syntax.rb, line 3444 def inspect(indent = 0) " " * indent + "#{short_class_name}\n" + @expression.inspect(indent + 1) + "\n" + @statement.inspect(indent + 1) end
location()
click to toggle source
# File lib/adlint/cc1/syntax.rb, line 3440 def location head_location end