Class: AdLint::Cpp::StdcVersionMacro
- Inherits:
-
SpecialMacro
- Object
- Macro
- ObjectLikeMacro
- SpecialMacro
- AdLint::Cpp::StdcVersionMacro
- Defined in:
- lib/adlint/cpp/macro.rb
Instance Attribute Summary
Attributes inherited from SpecialMacro
Attributes inherited from Macro
Instance Method Summary collapse
-
#initialize ⇒ StdcVersionMacro
constructor
A new instance of StdcVersionMacro.
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 ⇒ StdcVersionMacro
Returns a new instance of StdcVersionMacro.
489 490 491 |
# File 'lib/adlint/cpp/macro.rb', line 489 def initialize super("__STDC_VERSION__") end |