Interface ApexNode<T extends apex.jorje.semantic.ast.AstNode>

    • Method Summary

      All Methods Instance Methods Abstract Methods Deprecated Methods 
      Modifier and Type Method Description
      Iterable<? extends ApexNode<?>> children()  
      Object childrenAccept​(ApexParserVisitor visitor, Object data)
      Deprecated.
      This method is not useful, the logic for combining children values should be present on the visitor, not the node
      ApexNode<?> getChild​(int index)  
      T getNode()
      Get the underlying AST node.
      ApexNode<?> getParent()  
      Object jjtAccept​(ApexParserVisitor 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​(ApexParserVisitor 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. *
      • getNode

        T getNode()
        Get the underlying AST node.
      • children

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

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

        ApexNode<?> getParent()
        Specified by:
        getParent in interface net.sourceforge.pmd.lang.ast.Node