Interface TextAwareNodeWrapper


  • public interface TextAwareNodeWrapper
    Node wrapper providing convenience methods to get the text representing the node from the code area.
    Since:
    6.5.0
    Author:
    Clément Fournier
    • Method Detail

      • getNodeRichText

        org.fxmisc.richtext.model.StyledDocument<Collection<String>,​String,​Collection<String>> getNodeRichText()
        Gets the rich text corresponding to the node in the code area.
      • getNodeText

        String getNodeText()
        Gets the text corresponding to the node in the code area.
      • getNode

        net.sourceforge.pmd.lang.ast.Node getNode()
        Gets the underlying node.