class AdLint::Cpp::LineLine
Attributes
pp_tokens[R]
Public Class Methods
new(keyword, pp_toks)
click to toggle source
Calls superclass method
AdLint::Cpp::ControlLine::new
# File lib/adlint/cpp/syntax.rb, line 431 def initialize(keyword, pp_toks) super(keyword) @pp_tokens = pp_toks end
Public Instance Methods
inspect(indent = 0)
click to toggle source
# File lib/adlint/cpp/syntax.rb, line 438 def inspect(indent = 0) " " * indent + "#{short_class_name} (#{@pp_tokens.inspect})" end