Class: AdLint::Cc1::PseudoEnumTypeDeclaration
- Inherits:
-
EnumTypeDeclaration
- Object
- SyntaxNode
- TypeDeclaration
- EnumTypeDeclaration
- AdLint::Cc1::PseudoEnumTypeDeclaration
- Defined in:
- lib/adlint/cc1/syntax.rb
Instance Attribute Summary
Attributes inherited from EnumTypeDeclaration
Attributes inherited from TypeDeclaration
Attributes inherited from SyntaxNode
#head_token, #subsequent_sequence_point, #tail_token
Instance Method Summary collapse
-
#initialize(enum_spec) ⇒ PseudoEnumTypeDeclaration
constructor
A new instance of PseudoEnumTypeDeclaration.
- #mark_as_referred_by(tok) ⇒ Object
Methods inherited from EnumTypeDeclaration
#enumerators, #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(enum_spec) ⇒ PseudoEnumTypeDeclaration
Returns a new instance of PseudoEnumTypeDeclaration.
2656 2657 2658 |
# File 'lib/adlint/cc1/syntax.rb', line 2656 def initialize(enum_spec) super(enum_spec, nil) end |
Instance Method Details
#mark_as_referred_by(tok) ⇒ Object
2660 |
# File 'lib/adlint/cc1/syntax.rb', line 2660 def mark_as_referred_by(tok) end |