Class: AdLint::Cc1::PseudoUnionTypeDeclaration
- Inherits:
-
UnionTypeDeclaration
- Object
- SyntaxNode
- TypeDeclaration
- UnionTypeDeclaration
- AdLint::Cc1::PseudoUnionTypeDeclaration
- Defined in:
- lib/adlint/cc1/syntax.rb
Instance Attribute Summary
Attributes inherited from UnionTypeDeclaration
#struct_declarations, #type, #union_specifier
Attributes inherited from TypeDeclaration
Attributes inherited from SyntaxNode
#head_token, #subsequent_sequence_point, #tail_token
Instance Method Summary collapse
-
#initialize(union_spec) ⇒ PseudoUnionTypeDeclaration
constructor
A new instance of PseudoUnionTypeDeclaration.
- #mark_as_referred_by(tok) ⇒ Object
Methods inherited from UnionTypeDeclaration
#identifier, #inspect, #location
Methods inherited from SyntaxNode
#head_location, #inspect, #location, #short_class_name, #tail_location
Methods included from LocationHolder
Methods included from Visitable
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 |