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

Method Root

java/org/apache/jasper/compiler/Node.java:534–547  ·  view source on GitHub ↗
(Mark start, Node parent, boolean isXmlSyntax, String variablePrefix)

Source from the content-addressed store, hash-verified

532 * Constructor.
533 */
534 Root(Mark start, Node parent, boolean isXmlSyntax, String variablePrefix) {
535 super(start, parent);
536 this.isXmlSyntax = isXmlSyntax;
537 this.variablePrefix = variablePrefix;
538 this.qName = JSP_ROOT_ACTION;
539 this.localName = ROOT_ACTION;
540
541 // Figure out and set the parent root
542 Node r = parent;
543 while ((r != null) && !(r instanceof Node.Root)) {
544 r = r.getParent();
545 }
546 parentRoot = (Node.Root) r;
547 }
548
549 @Override
550 public void accept(Visitor v) throws JasperException {

Callers

nothing calls this directly

Calls 1

getParentMethod · 0.95

Tested by

no test coverage detected