in src/main/java/org/apache/sling/commons/html/impl/parser/TagParser.java [195:223]
final public HtmlElement decltag() throws ParseException {
Token tok = null;
Map<String,AttrValue > alist = new HashMap<String,AttrValue>();
Token firstToken = getToken(1);
try {
jj_consume_token(DECL_START);
tok = jj_consume_token(DECL_TAG);
label_3:
while (true) {
switch ((jj_ntk==-1)?jj_ntk():jj_ntk) {
case DECL_ATTR:
;
break;
default:
jj_la1[7] = jj_gen;
break label_3;
}
jj_consume_token(DECL_ATTR);
alist.put(token.image,new AttrValue());
}
jj_consume_token(DECL_END);
{if (true) return new StartTag(tok.image, alist);}
} catch (ParseException ex) {
token_source.SwitchTo(DEFAULT);
String s = getTokenHtmlText(firstToken, getNextToken());
{if (true) return new TextData(s);}
}
throw new Error("Missing return statement in function");
}