void end() throws SAXException { if (nNameClasses == 0) { error("missing_name_class"); parent.endChild(nameClassBuilder.makeErrorNameClass()); return; } if (comments != null) { nameClasses[nNameClasses - 1] = nameClassBuilder.commentAfter(nameClasses[nNameClasses - 1], comments); comments = null; } parent.endChild(nameClassBuilder.makeChoice(Arrays.asList(nameClasses).subList(0, nNameClasses), startLocation, annotations)); } }
void end() throws SAXException { if (nNameClasses == 0) { error("missing_name_class"); parent.endChild(nameClassBuilder.makeErrorNameClass()); return; } if (comments != null) { nameClasses[nNameClasses - 1] = nameClassBuilder.commentAfter(nameClasses[nNameClasses - 1], comments); comments = null; } parent.endChild(nameClassBuilder.makeChoice(Arrays.asList(nameClasses).subList(0,nNameClasses), startLocation, annotations)); } }
void end() throws SAXException { parent.endChild(makeNameClass()); } }
void end() throws SAXException { ParsedPattern p; if (dpb != null) { if (except != null) p = dpb.makePattern(except, startLocation, annotations); else p = dpb.makePattern(startLocation, annotations); } else p = schemaBuilder.makeErrorPattern(); // XXX need to capture comments parent.endChild(p); }
void sendPatternToParent(ParsedPattern p) { parent.endChild(p); } }
void sendPatternToParent(ParsedPattern p) { parent.endChild(p); } }
void end() throws SAXException { ParsedPattern p; if (dpb != null) { if (except != null) { p = dpb.makePattern(except, startLocation, annotations); } else { p = dpb.makePattern(startLocation, annotations); } } else { p = schemaBuilder.makeErrorPattern(); } // XXX need to capture comments parent.endChild(p); }
void end() throws SAXException { super.end(); parent.endChild(grammar.endIncludedGrammar(startLocation, annotations)); } }
void end() throws SAXException { if (comments != null) { if (annotations == null) { annotations = schemaBuilder.makeAnnotations(null, getContext()); } annotations.addComment(comments); comments = null; } parent.endChild(makePattern()); } }
void end() throws SAXException { parent.endChild(makeNameClass()); } }
void end() throws SAXException { super.end(); parent.endChild(grammar.endGrammar(startLocation, annotations)); } }
void end() throws SAXException { if (comments != null) { if (annotations == null) annotations = schemaBuilder.makeAnnotations(null, getContext()); annotations.addComment(comments); comments = null; } parent.endChild(makePattern()); } }
@Override void end() throws SAXException { super.end(); parent.endChild(grammar.endGrammar(startLocation, annotations)); } }
@Override void end() throws SAXException { super.end(); parent.endChild(grammar.endIncludedGrammar(startLocation, annotations)); } }