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