async parseOwnersTree() {
    const tree = new OwnersTree();
    const ruleParse = await this.parseAllOwnersRules();
    ruleParse.result.forEach(rule => tree.addRule(rule));

    return {result: tree, errors: ruleParse.errors};
  }
/**
   * Parse all OWNERS rules into a tree.
   *
   * @return {!OwnersParserResult<!OwnersTree>} owners rule hierarchy.
   */
Parse all OWNERS rules into a tree.
@return {!OwnersParserResult} owners rule hierarchy.
Parse all OWNERS rules into a tree . @return { !OwnersParserResult } owners rule hierarchy .
async parseOwnersTree() {
    const tree = new OwnersTree();
    const ruleParse = await this.parseAllOwnersRules();
    ruleParse.result.forEach(rule => tree.addRule(rule));
    return {result: tree, errors: ruleParse.errors};
  }
async parseOwnersTree ( ) { const tree = new OwnersTree ( ) ; const ruleParse = await this . parseAllOwnersRules ( ) ; ruleParse . result . forEach ( rule => tree . addRule ( rule ) ) ; return { result : tree , errors : ruleParse . errors } ; }
Parse all OWNERS rules into a tree.
Parse all OWNERS rules into a tree .