Interface TemplateNode.Origin

  • Enclosing interface:
    TemplateNode

    public static interface TemplateNode.Origin
    Represents an origin of a template node.
    • 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()