lib/schemas.js
function parse(str, opts) {
  var parser = new Parser(str, opts);
  return {attrs: parser._readProtocol(), imports: parser._imports};
}
function parse(str, opts) {
  var parser = new Parser(str, opts);
  return {attrs: parser._readProtocol(), imports: parser._imports};
}
function parse ( str , opts ) { var parser = new Parser ( str , opts ) ; return { attrs : parser . _readProtocol ( ) , imports : parser . _imports } ; }
Parse an IDL into attributes.

Not to be confused with `avro.parse` which parses attributes into types.
Parse an IDL into attributes .