Class AbstractApexNode<T extends apex.jorje.semantic.ast.AstNode>

    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected T node  
      • Fields inherited from class net.sourceforge.pmd.lang.ast.AbstractNode

        beginColumn, beginLine, childIndex, children, endColumn, endLine, firstToken, id, lastToken, parent
    • Constructor Summary

      Constructors 
      Constructor Description
      AbstractApexNode​(T node)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.Object childrenAccept​(ApexParserVisitor visitor, java.lang.Object data)
      Accept the visitor.
      int getBeginColumn()  
      int getBeginLine()  
      int getEndColumn()  
      int getEndLine()  
      java.lang.String getLocation()  
      T getNode()
      Get the underlying AST node.
      java.lang.String getXPathNodeName()  
      protected void handleSourceCode​(java.lang.String source)  
      protected boolean hasRealLoc()  
      • Methods inherited from class net.sourceforge.pmd.lang.ast.AbstractNode

        appendElement, findChildNodesWithXPath, findChildrenOfType, findDescendantsOfType, findDescendantsOfType, findDescendantsOfType, getAsDocument, getDataFlowNode, getFirstChildOfType, getFirstDescendantOfType, getFirstParentOfAnyType, getFirstParentOfType, getImage, getNthParent, getParentsOfType, getUserData, getXPathAttributesIterator, hasDecendantOfAnyType, hasDescendantMatchingXPath, hasDescendantOfAnyType, hasDescendantOfType, hasImageEqualTo, isFindBoundary, isSingleLine, jjtAddChild, jjtClose, jjtGetChild, jjtGetChildIndex, jjtGetFirstToken, jjtGetId, jjtGetLastToken, jjtGetNumChildren, jjtGetParent, jjtOpen, jjtSetChildIndex, jjtSetFirstToken, jjtSetLastToken, jjtSetParent, remove, removeChildAtIndex, setDataFlowNode, setImage, setUserData, testingOnlySetBeginColumn, testingOnlySetBeginLine, testingOnlySetEndColumn, testingOnlySetEndLine, toString
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
      • Methods inherited from interface net.sourceforge.pmd.lang.ast.Node

        findChildNodesWithXPath, findChildrenOfType, findDescendantsOfType, findDescendantsOfType, getAsDocument, getDataFlowNode, getFirstChildOfType, getFirstDescendantOfType, getFirstParentOfAnyType, getFirstParentOfType, getImage, getNthParent, getParentsOfType, getUserData, getXPathAttributesIterator, hasDescendantMatchingXPath, hasDescendantOfType, hasImageEqualTo, isFindBoundary, jjtAddChild, jjtClose, jjtGetChild, jjtGetChildIndex, jjtGetId, jjtGetNumChildren, jjtGetParent, jjtOpen, jjtSetChildIndex, jjtSetParent, remove, removeChildAtIndex, setDataFlowNode, setImage, setUserData
    • Field Detail

      • node

        protected final T extends apex.jorje.semantic.ast.AstNode node
    • Constructor Detail

      • AbstractApexNode

        public AbstractApexNode​(T node)
    • Method Detail

      • handleSourceCode

        protected void handleSourceCode​(java.lang.String source)
      • getBeginLine

        public int getBeginLine()
        Specified by:
        getBeginLine in interface net.sourceforge.pmd.lang.ast.Node
        Overrides:
        getBeginLine in class net.sourceforge.pmd.lang.ast.AbstractNode
      • getBeginColumn

        public int getBeginColumn()
        Specified by:
        getBeginColumn in interface net.sourceforge.pmd.lang.ast.Node
        Overrides:
        getBeginColumn in class net.sourceforge.pmd.lang.ast.AbstractNode
      • getEndLine

        public int getEndLine()
        Specified by:
        getEndLine in interface net.sourceforge.pmd.lang.ast.Node
        Overrides:
        getEndLine in class net.sourceforge.pmd.lang.ast.AbstractNode
      • getEndColumn

        public int getEndColumn()
        Specified by:
        getEndColumn in interface net.sourceforge.pmd.lang.ast.Node
        Overrides:
        getEndColumn in class net.sourceforge.pmd.lang.ast.AbstractNode
      • childrenAccept

        public java.lang.Object childrenAccept​(ApexParserVisitor visitor,
                                               java.lang.Object data)
        Accept the visitor. *
        Specified by:
        childrenAccept in interface ApexNode<T extends apex.jorje.semantic.ast.AstNode>
      • getNode

        public T getNode()
        Description copied from interface: ApexNode
        Get the underlying AST node.
        Specified by:
        getNode in interface ApexNode<T extends apex.jorje.semantic.ast.AstNode>
      • hasRealLoc

        protected boolean hasRealLoc()
      • getXPathNodeName

        public final java.lang.String getXPathNodeName()
        Specified by:
        getXPathNodeName in interface net.sourceforge.pmd.lang.ast.Node
        Overrides:
        getXPathNodeName in class net.sourceforge.pmd.lang.ast.AbstractNode
      • getLocation

        public java.lang.String getLocation()