Package io.quarkus.qute
Interface TemplateNode
- All Known Implementing Classes:
LineSeparatorNode,ParameterDeclarationNode,TextNode
public interface TemplateNode
Node of a template tree.
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic interfaceRepresents an origin of a template node. -
Method Summary
Modifier and TypeMethodDescriptiondefault io.quarkus.qute.SectionNodedefault List<Expression>default List<ParameterDeclaration>Returns the parameter declarations defined in this template node.default booleandefault booleanresolve(ResolutionContext context)
-
Method Details
-
resolve
- Parameters:
context-- Returns:
- the result node
-
getExpressions
- Returns:
- a list of expressions
-
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:
trueif the node represents a constant
-
isSection
default boolean isSection()- Returns:
trueif the node represents a section- See Also:
-
SectionNode
-
asSection
default io.quarkus.qute.SectionNode asSection()
-