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

Method parse

java/org/apache/jasper/compiler/ParserController.java:106–114  ·  view source on GitHub ↗

Parses a JSP page or tag file. This is invoked by the compiler. @param inFileName The path to the JSP page or tag file to be parsed. @return The parsed nodes @throws JasperException If an error occurs during parsing @throws IOException If an I/O error occurs such as the file not being found

(String inFileName)

Source from the content-addressed store, hash-verified

104 * @throws IOException If an I/O error occurs such as the file not being found
105 */
106 public Node.Nodes parse(String inFileName) throws JasperException, IOException {
107 // If we're parsing a packaged tag file or a resource included by it
108 // (using an include directive), ctxt.getTagFileJar() returns the
109 // JAR file from which to read the tag file or included resource,
110 // respectively.
111 isTagFile = ctxt.isTagFile();
112 directiveOnly = false;
113 return doParse(inFileName, null, ctxt.getTagFileJar());
114 }
115
116 /**
117 * Parses the directives of a JSP page or tag file. This is invoked by the compiler.

Callers 1

generateJavaMethod · 0.95

Calls 3

doParseMethod · 0.95
getTagFileJarMethod · 0.80
isTagFileMethod · 0.65

Tested by

no test coverage detected