Class ASTXmlMemberGet

    • Field Detail

      • node

        protected final T extends org.mozilla.javascript.ast.AstNode node
    • Method Detail

      • acceptJsVisitor

        protected <P,​R> R acceptJsVisitor​(EcmascriptVisitor<? super P,​? extends R> visitor,
                                                P data)
      • addChild

        protected void addChild​(net.sourceforge.pmd.lang.ecmascript.ast.AbstractEcmascriptNode<?> child,
                                int index)
        Overrides:
        addChild in class AbstractNode<net.sourceforge.pmd.lang.ecmascript.ast.AbstractEcmascriptNode<?>,​EcmascriptNode<?>>
      • setImage

        protected void setImage​(String image)
      • acceptVisitor

        public final <P,​R> R acceptVisitor​(AstVisitor<? super P,​? extends R> visitor,
                                                 P data)
        Specified by:
        acceptVisitor in interface Node
      • getNode

        @Deprecated
        public T getNode()
        Deprecated.
        Description copied from interface: EcmascriptNode
        Get the underlying Rhino AST node.
        Specified by:
        getNode in interface EcmascriptNode<T extends org.mozilla.javascript.ast.AstNode>
      • getJsDoc

        public String getJsDoc()
        Description copied from interface: EcmascriptNode
        Get the JsDoc associated with the given node. If there is no JsDoc on this node, it may be associated with a parent node, on more representative of the entire expression containing this node.
        Specified by:
        getJsDoc in interface EcmascriptNode<T extends org.mozilla.javascript.ast.AstNode>
        Returns:
        The JsDoc comment for the node, may be null.
      • hasSideEffects

        public boolean hasSideEffects()
        Specified by:
        hasSideEffects in interface EcmascriptNode<T extends org.mozilla.javascript.ast.AstNode>
      • setTrailingCommaExists

        protected void setTrailingCommaExists​(boolean b)