_document = DocParser.parseClass(_name, parser.getDocument());
s = tag.get("extends");
if (s != null) {
Name name = Grammar.parseDottedName(parser, location, s);
if (name != null) {
_base = new ClassRef(new LinkNode(this, location, name));
} else {
init = false;
}
}
s = tag.get("implements");
if (s != null) {
Name[] names = Grammar.parseDottedNames(parser, location, s);
if (names != null) {
int n = names.length;
_interfaces = new InterfaceRef[n];
for(int i=0; i<n; i++) {
_interfaces[i] = new InterfaceRef(new LinkNode(this, location, names[i]));
}
} else {
init = false;
}
}