Class: AdLint::Cc1::PseudoUnionTypeDeclaration

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

Instance Attribute Summary

Attributes inherited from UnionTypeDeclaration

#struct_declarations, #type, #union_specifier

Attributes inherited from TypeDeclaration

#symbol

Attributes inherited from SyntaxNode

#head_token, #subsequent_sequence_point, #tail_token

Instance Method Summary collapse

Methods inherited from UnionTypeDeclaration

#identifier, #inspect, #location

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(union_spec) ⇒ PseudoUnionTypeDeclaration

Returns a new instance of PseudoUnionTypeDeclaration.



2620
2621
2622
# File 'lib/adlint/cc1/syntax.rb', line 2620

def initialize(union_spec)
  super(union_spec, nil)
end

Instance Method Details

#mark_as_referred_by(tok) ⇒ Object



2624
# File 'lib/adlint/cc1/syntax.rb', line 2624

def mark_as_referred_by(tok) end