Interface TextAvailableNode

  • All Superinterfaces:
    Node
    All Known Subinterfaces:
    JjtreeNode<N>
    All Known Implementing Classes:
    AbstractJjtreeNode

    public interface TextAvailableNode
    extends Node
    Refinement of Node for nodes that can provide the underlying source text.
    Since:
    7.0.0
    • Method Detail

      • getText

        CharSequence getText()
        Returns the original source code underlying this node. In particular, for a RootNode, returns the whole text of the file.