code: function parse(str, opts) {
    var parser = new Parser(str, opts);
    return {attrs: parser._readProtocol(), imports: parser._imports};
  }
docs: Parse an IDL into attributes.
  
  Not to be confused with `avro.parse` which parses attributes into types.