class AdLint::Cc1::ReturnStatement
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 3966 def initialize(expr) super() @expression = expr end
Public Instance Methods
inspect(indent = 0)
click to toggle source
# File lib/adlint/cc1/syntax.rb, line 3973 def inspect(indent = 0) " " * indent + "#{short_class_name} (#{location.inspect})" + (@expression ? "\n#{@expression.inspect(indent + 1)}" : "") end