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