Method: AdLint::Cc1::UnionTypeDeclaration#initialize
- Defined in:
- lib/adlint/cc1/syntax.rb
#initialize(union_spec, sym) ⇒ UnionTypeDeclaration
Returns a new instance of UnionTypeDeclaration.
2593 2594 2595 2596 2597 2598 |
# File 'lib/adlint/cc1/syntax.rb', line 2593 def initialize(union_spec, sym) super(sym) @union_specifier = union_spec @struct_declarations = union_spec.struct_declarations @type = nil end |