class IDL::Delegator

def declare_union(name)

def declare_union(name)
  params = { forward: true }
  raise "annotations with forward declaration of #{name} not allowed" unless @annotation_stack.empty?
  set_last
  @cur.define(IDL::AST::Union, name, params)
  @cur
end