Package io.quarkus.qute
Interface TemplateNode.Origin
- Enclosing interface:
- TemplateNode
public static interface TemplateNode.Origin
Represents an origin of a template node.
-
Method Summary
Modifier and TypeMethodDescriptiondefault voidappendTo(StringBuilder builder) intgetLine()intNote that this information is not available for all nodes.intNote that this information is not available for all nodes.default booleandefault boolean
-
Method Details
-
getLine
int getLine()- Returns:
- the line where the node can be found
-
getLineCharacterStart
int getLineCharacterStart()Note that this information is not available for all nodes.However, it's always available for an expression node.
- Returns:
- the line character the node starts
-
getLineCharacterEnd
int getLineCharacterEnd()Note that this information is not available for all nodes.However, it's always available for an expression node.
- Returns:
- the line character the node ends
-
getTemplateId
String getTemplateId() -
getTemplateGeneratedId
String getTemplateGeneratedId() -
hasNonGeneratedTemplateId
default boolean hasNonGeneratedTemplateId() -
getVariant
- Returns:
- the template variant
-
appendTo
-
isSynthetic
default boolean isSynthetic()- Returns:
trueif the template node was not part of the original template,falseotherwise
-