java.lang.Object
io.quarkus.qute.SectionNode
- All Implemented Interfaces:
TemplateNode
Section node.
-
Nested Class Summary
Nested classes/interfaces inherited from interface io.quarkus.qute.TemplateNode
TemplateNode.Kind, TemplateNode.Origin -
Method Summary
Modifier and TypeMethodDescriptionfindExpression(Predicate<Expression> predicate) getName()Returns the parameter declarations defined in this template node.kind()Returns the kind of this node.resolve(ResolutionContext context) resolve(ResolutionContext context, Map<String, Object> params) toString()Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface io.quarkus.qute.TemplateNode
asExpression, asParamDeclaration, asText, isConstant, isExpression, isSection, isText
-
Method Details
-
resolve
-
resolve
- Specified by:
resolvein interfaceTemplateNode- Parameters:
context-- Returns:
- the result node
-
getOrigin
- Specified by:
getOriginin interfaceTemplateNode- Returns:
- the origin of the node
-
kind
Description copied from interface:TemplateNodeReturns the kind of this node.Note that comments and line separators are never preserved in the parsed template tree.
- Specified by:
kindin interfaceTemplateNode- Returns:
- the kind
-
asSection
- Specified by:
asSectionin interfaceTemplateNode
-
getName
-
getBlocks
-
getHelper
-
toString
-
getExpressions
- Specified by:
getExpressionsin interfaceTemplateNode- Returns:
- a list of expressions
-
findExpression
-
getParameterDeclarations
Description copied from interface:TemplateNodeReturns the parameter declarations defined in this template node.- Specified by:
getParameterDeclarationsin interfaceTemplateNode- Returns:
- a list of param declarations
-