MCPcopy Create free account
hub / github.com/apache/freemarker / addBlock

Method addBlock

src/main/java/freemarker/core/IfBlock.java:72–74  ·  view source on GitHub ↗
(ConditionalBlock block)

Source from the content-addressed store, hash-verified

70 }
71
72 void addBlock(ConditionalBlock block) {
73 nestedElements.add(block);
74 }
75
76 void accept(Environment env) throws TemplateException, IOException {
77 for (int i = 0; i<nestedElements.size(); i++) {

Callers 1

IfBlockMethod · 0.95

Calls 1

addMethod · 0.45

Tested by

no test coverage detected