AdLint::CodeStructure
Header include information.
Constructs the header include information.
Location – Location where the directive appears.
Location
Pathname – Path name of the included file.
Pathname
# File lib/adlint/code.rb, line 335 def initialize(loc, fpath) @loc = loc @fpath = fpath end
Converts this code structure information into array representation.
Array< Object > – Array representation.
Object
# File lib/adlint/code.rb, line 346 def to_a ["DEP", *@loc.to_a, "I", @fpath] end