Interface TemplateNode

All Known Implementing Classes:
LineSeparatorNode, ParameterDeclarationNode, TextNode

public interface TemplateNode
Node of a template tree.
  • Method Details

    • resolve

      Parameters:
      context -
      Returns:
      the result node
    • getExpressions

      default List<Expression> getExpressions()
      Returns:
      a list of expressions
    • getParameterDeclarations

      default List<ParameterDeclaration> getParameterDeclarations()
      Returns the parameter declarations defined in this template node.
      Returns:
      a list of param declarations
    • getOrigin

      TemplateNode.Origin getOrigin()
      Returns:
      the origin of the node
    • isConstant

      default boolean isConstant()
      Returns:
      true if the node represents a constant
    • isSection

      default boolean isSection()
      Returns:
      true if the node represents a section
      See Also:
      • SectionNode