Class: AdLint::Cpp::LineMacro

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

#initializeLineMacro

Returns a new instance of LineMacro.



443
444
445
# File 'lib/adlint/cpp/macro.rb', line 443

def initialize
  super("__LINE__")
end