Class: AdLint::Cpp::FileMacro

Inherits:
SpecialMacro show all
Defined in:
lib/adlint/cpp/macro.rb

Instance Attribute Summary

Attributes inherited from SpecialMacro

#replacement_list

Attributes inherited from Macro

#define_line

Instance Method Summary collapse

Methods inherited from SpecialMacro

#expand

Methods inherited from ObjectLikeMacro

#expand, #function_like?, #replaceable_size

Methods inherited from Macro

#expand, #function_like?, #location, #name, #replacement_list

Methods included from LocationHolder

#analysis_target?

Constructor Details

#initializeFileMacro

Returns a new instance of FileMacro.



430
431
432
# File 'lib/adlint/cpp/macro.rb', line 430

def initialize
  super("__FILE__")
end