Class: AdLint::Cc1::PseudoVariableDefinition

Inherits:
VariableDefinition show all
Defined in:
lib/adlint/cc1/syntax.rb

Instance Attribute Summary

Attributes inherited from VariableDefinition

#init_declarator, #symbol

Attributes inherited from Definition

#declaration_specifiers, #type

Attributes inherited from SyntaxNode

#head_token, #subsequent_sequence_point, #tail_token

Instance Method Summary collapse

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

#analysis_target?

Methods included from Visitable

#accept

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