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

Method evaluateNodes

java/org/apache/jasper/compiler/SmapUtil.java:444–451  ·  view source on GitHub ↗

Traverses the JSP AST nodes and populates the given SmapStratum with line mapping data. @param nodes the root JSP AST nodes @param s the stratum to populate with line mappings @param innerClassMap map to collect SMAP data for inner classes @param breakAtLF whether to generate a mapping for each line

(Node.Nodes nodes, SmapStratum s, HashMap<String,SmapStratum> innerClassMap,
            boolean breakAtLF)

Source from the content-addressed store, hash-verified

442 * @param breakAtLF whether to generate a mapping for each line feed in template text
443 */
444 public static void evaluateNodes(Node.Nodes nodes, SmapStratum s, HashMap<String,SmapStratum> innerClassMap,
445 boolean breakAtLF) {
446 try {
447 nodes.visit(new SmapGenVisitor(s, breakAtLF, innerClassMap));
448 } catch (JasperException ex) {
449 // Ignore
450 }
451 }
452
453 private static class SmapGenVisitor extends Node.Visitor {
454

Callers 1

generateSmapMethod · 0.95

Calls 1

visitMethod · 0.65

Tested by

no test coverage detected