Class: AdLint::Cpp::StdcMacro
- Inherits:
-
SpecialMacro
- Object
- Macro
- ObjectLikeMacro
- SpecialMacro
- AdLint::Cpp::StdcMacro
- Defined in:
- lib/adlint/cpp/macro.rb
Instance Attribute Summary
Attributes inherited from SpecialMacro
Attributes inherited from Macro
Instance Method Summary collapse
-
#initialize ⇒ StdcMacro
constructor
A new instance of StdcMacro.
Methods inherited from SpecialMacro
Methods inherited from ObjectLikeMacro
#expand, #function_like?, #replaceable_size
Methods inherited from Macro
#expand, #function_like?, #location, #name, #replacement_list
Methods included from LocationHolder
Constructor Details
#initialize ⇒ StdcMacro
Returns a new instance of StdcMacro.
456 457 458 |
# File 'lib/adlint/cpp/macro.rb', line 456 def initialize super("__STDC__") end |