class IDL::Delegator
def declare_attribute(_type, _name, _readonly = false)
def declare_attribute(_type, _name, _readonly = false) params = {} params[:type] = _type params[:readonly] = _readonly params[:annotations] = @annotation_stack @annotation_stack = IDL::AST::Annotations.new set_last(@cur.define(IDL::AST::Attribute, _name, params)) end