Class ChildTextElement

    • Field Detail

      • child

        private final Node child
    • Constructor Detail

      • ChildTextElement

        ChildTextElement​(Node child)
    • Method Detail

      • expand

        public java.lang.String expand()
        Specified by:
        expand in class TextElement
      • getChild

        public Node getChild()
      • isToken

        public boolean isToken​(int tokenKind)
        Specified by:
        isToken in class TextElement
      • getNodeTextForWrappedNode

        NodeText getNodeTextForWrappedNode()
      • equals

        public boolean equals​(java.lang.Object o)
        Overrides:
        equals in class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object
      • isChildOfClass

        public boolean isChildOfClass​(java.lang.Class<? extends Node> nodeClass)
        Description copied from class: TextElement
        Is this TextElement representing a child of the given class?
        Specified by:
        isChildOfClass in class TextElement