Package io.quarkus.qute
Interface TemplateNode.Origin
-
- Enclosing interface:
- TemplateNode
public static interface TemplateNode.Origin
Represents an origin of a template node.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default void
appendTo(StringBuilder builder)
int
getLine()
int
getLineCharacterEnd()
Note that this information is not available for all nodes.int
getLineCharacterStart()
Note that this information is not available for all nodes.String
getTemplateGeneratedId()
String
getTemplateId()
Optional<Variant>
getVariant()
default boolean
hasNonGeneratedTemplateId()
-
-
-
Method Detail
-
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()
-
appendTo
default void appendTo(StringBuilder builder)
-
-