Interface VmNode

    • Method Summary

      All Methods Instance Methods Abstract Methods Deprecated Methods 
      Modifier and Type Method Description
      Iterable<? extends VmNode> children()  
      Object childrenAccept​(VmParserVisitor visitor, Object data)
      Deprecated.
      This method is not useful, the logic for combining children values should be present on the visitor, not the node
      VmNode getChild​(int index)  
      VmNode getParent()  
      Object jjtAccept​(VmParserVisitor visitor, Object data)
      Accept the visitor.
      • Methods inherited from interface net.sourceforge.pmd.lang.ast.Node

        findChildNodesWithXPath, findChildrenOfType, findDescendantsOfType, findDescendantsOfType, findDescendantsOfType, getAsDocument, getBeginColumn, getBeginLine, getDataFlowNode, getEndColumn, getEndLine, getFirstChildOfType, getFirstDescendantOfType, getFirstParentOfAnyType, getFirstParentOfType, getImage, getIndexInParent, getNthParent, getNumChildren, getParentsOfType, getUserData, getUserMap, getXPathAttributesIterator, getXPathNodeName, hasDescendantMatchingXPath, hasDescendantOfType, hasImageEqualTo, isFindBoundary, jjtAddChild, jjtClose, jjtGetChild, jjtGetChildIndex, jjtGetId, jjtGetNumChildren, jjtGetParent, jjtOpen, jjtSetChildIndex, jjtSetParent, remove, removeChildAtIndex, setDataFlowNode, setImage, setUserData
    • Method Detail

      • childrenAccept

        @Deprecated
        Object childrenAccept​(VmParserVisitor visitor,
                              Object data)
        Deprecated.
        This method is not useful, the logic for combining children values should be present on the visitor, not the node
        Accept the visitor.
      • getChild

        VmNode getChild​(int index)
        Specified by:
        getChild in interface net.sourceforge.pmd.lang.ast.Node
      • getParent

        VmNode getParent()
        Specified by:
        getParent in interface net.sourceforge.pmd.lang.ast.Node
      • children

        Iterable<? extends VmNode> children()
        Specified by:
        children in interface net.sourceforge.pmd.lang.ast.Node