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

Method visit

src/main/java/freemarker/core/Environment.java:216–229  ·  view source on GitHub ↗

"Visit" the template element.

(TemplateElement element)

Source from the content-addressed store, hash-verified

214 * "Visit" the template element.
215 */
216 void visit(TemplateElement element)
217 throws TemplateException, IOException
218 {
219 pushElement(element);
220 try {
221 element.accept(this);
222 }
223 catch (TemplateException te) {
224 handleTemplateException(te);
225 }
226 finally {
227 popElement();
228 }
229 }
230
231 private static final TemplateModel[] NO_OUT_ARGS = new TemplateModel[0];
232

Callers 15

processMethod · 0.95
fallbackMethod · 0.95
recurseMethod · 0.95
includeMethod · 0.95
renderElementToStringMethod · 0.95
acceptMethod · 0.80
acceptMethod · 0.80
acceptMethod · 0.80
acceptMethod · 0.80
renderMethod · 0.80
acceptMethod · 0.80
acceptMethod · 0.80

Calls 15

pushElementMethod · 0.95
popElementMethod · 0.95
pushLocalContextMethod · 0.95
popLocalContextMethod · 0.95
onStartMethod · 0.95
afterBodyMethod · 0.95
onErrorMethod · 0.95
getMacroNamespaceMethod · 0.95
addMethod · 0.95
getNodeProcessorMethod · 0.95

Tested by

no test coverage detected