Class: AdLint::Cc1::PseudoVariableDefinition
- Inherits:
-
VariableDefinition
- Object
- SyntaxNode
- Definition
- VariableDefinition
- AdLint::Cc1::PseudoVariableDefinition
- Defined in:
- lib/adlint/cc1/syntax.rb
Instance Attribute Summary
Attributes inherited from VariableDefinition
Attributes inherited from Definition
#declaration_specifiers, #type
Attributes inherited from SyntaxNode
#head_token, #subsequent_sequence_point, #tail_token
Instance Method Summary collapse
-
#initialize(dcl_specs, init_dcr, type) ⇒ PseudoVariableDefinition
constructor
A new instance of PseudoVariableDefinition.
- #mark_as_referred_by(token) ⇒ Object
Methods inherited from VariableDefinition
#identifier, #initializer, #inspect, #location
Methods included from DeclarationSpecifiersHolder
#explicitly_typed?, #function_specifier, #implicitly_typed?, #storage_class_specifier, #type_qualifiers, #type_specifiers
Methods inherited from SyntaxNode
#head_location, #inspect, #location, #short_class_name, #tail_location
Methods included from LocationHolder
Methods included from Visitable
Constructor Details
#initialize(dcl_specs, init_dcr, type) ⇒ PseudoVariableDefinition
4225 4226 4227 4228 |
# File 'lib/adlint/cc1/syntax.rb', line 4225 def initialize(dcl_specs, init_dcr, type) super(dcl_specs, init_dcr, nil) self.type = type end |
Instance Method Details
#mark_as_referred_by(token) ⇒ Object
4230 |
# File 'lib/adlint/cc1/syntax.rb', line 4230 def mark_as_referred_by(token) end |