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

Method importMacros

src/main/java/freemarker/core/Environment.java:1602–1606  ·  view source on GitHub ↗
(Template template)

Source from the content-addressed store, hash-verified

1600 }
1601
1602 void importMacros(Template template) {
1603 for (Iterator it = template.getMacros().values().iterator(); it.hasNext();) {
1604 visitMacroDef((Macro) it.next());
1605 }
1606 }
1607
1608 /**
1609 * @return the namespace URI registered for this prefix, or null.

Callers 2

EnvironmentMethod · 0.95
includeMethod · 0.95

Calls 6

hasNextMethod · 0.95
visitMacroDefMethod · 0.95
nextMethod · 0.95
getMacrosMethod · 0.80
iteratorMethod · 0.65
valuesMethod · 0.65

Tested by

no test coverage detected