Fork me on GitHub

FromNode

In package com.mitchellbosecke.pebble.node

public class FromNode extends AbstractRenderableNode

From Node for

{% from "templateName" import macroName as alias %}

Constructors

public FromNode(int lineNumber, Expression<?> fromExpression, List<Pair<String, String>> namedMacros)
Parameters:
  • int lineNumber
  • Expression<?> fromExpression
  • List<Pair<String, String>> namedMacros

Methods

public void render(PebbleTemplateImpl self, Writer writer, EvaluationContextImpl context)
Parameters:
public void accept(NodeVisitor visitor)
Parameters: