Package io.quarkus.qute
Interface TemplateNode.Origin
-
- Enclosing interface:
- TemplateNode
public static interface TemplateNode.OriginRepresents an origin of a template node.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default voidappendTo(StringBuilder builder)intgetLine()intgetLineCharacterEnd()Note that this information is not available for all nodes.intgetLineCharacterStart()Note that this information is not available for all nodes.StringgetTemplateGeneratedId()StringgetTemplateId()Optional<Variant>getVariant()default booleanhasNonGeneratedTemplateId()
-
-
-
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)
-
-