MCPcopy Index your code
hub / github.com/apache/tomcat / parseJspBody

Method parseJspBody

java/org/apache/jasper/compiler/Parser.java:1444–1455  ·  view source on GitHub ↗
(Node parent, String bodyType)

Source from the content-addressed store, hash-verified

1442 * Parses jsp:body action.
1443 */
1444 private void parseJspBody(Node parent, String bodyType) throws JasperException {
1445 Mark start = reader.mark();
1446 Node bodyNode = new Node.JspBody(start, parent);
1447
1448 reader.skipSpaces();
1449 if (!reader.matches("/>")) {
1450 if (!reader.matches(">")) {
1451 err.jspError(start, "jsp.error.unterminated", "<jsp:body");
1452 }
1453 parseBody(bodyNode, "jsp:body", bodyType);
1454 }
1455 }
1456
1457 /*
1458 * Parse the body as JSP content. @param tag The name of the tag whose end tag would terminate the body @param

Callers 1

Calls 5

parseBodyMethod · 0.95
matchesMethod · 0.65
jspErrorMethod · 0.65
markMethod · 0.45
skipSpacesMethod · 0.45

Tested by

no test coverage detected