d: support api.parser.extends and api.parser.implements