class AdLint::Cpp::PreprocessingFile
Attributes
fpath[R]
group[R]
Public Class Methods
new(fpath, group = nil)
click to toggle source
# File lib/adlint/cpp/syntax.rb, line 80 def initialize(fpath, group = nil) @fpath = fpath @group = group end
Public Instance Methods
concat(pp_file)
click to toggle source
# File lib/adlint/cpp/syntax.rb, line 92 def concat(pp_file) @group.group_parts.concat(pp_file.group.group_parts) end
inspect(indent = 0)
click to toggle source
# File lib/adlint/cpp/syntax.rb, line 96 def inspect(indent = 0) " " * indent + "#{short_class_name}\n" + (@group ? @group.inspect(indent + 1) : "") end
location()
click to toggle source
# File lib/adlint/cpp/syntax.rb, line 88 def location @group.location end