Interface ModelicaNode

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      Iterable<? extends ModelicaNode> children()  
      ModelicaNode getChild​(int index)  
      ModelicaScope getContainingScope()
      Returns the lexical scope this node is contained in.
      ModelicaScope getMostSpecificScope()
      Returns the most specific lexical scope naturally associated with this node.
      ModelicaNode getParent()  
      Object jjtAccept​(ModelicaParserVisitor visitor, Object data)  
      • 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, getXPathAttributesIterator, getXPathNodeName, hasDescendantMatchingXPath, hasDescendantOfType, hasImageEqualTo, isFindBoundary, jjtAddChild, jjtClose, jjtGetChild, jjtGetChildIndex, jjtGetId, jjtGetNumChildren, jjtGetParent, jjtOpen, jjtSetChildIndex, jjtSetParent, remove, removeChildAtIndex, setDataFlowNode, setImage, setUserData
    • Method Detail

      • getContainingScope

        ModelicaScope getContainingScope()
        Returns the lexical scope this node is contained in.
      • getMostSpecificScope

        ModelicaScope getMostSpecificScope()
        Returns the most specific lexical scope naturally associated with this node.
        Returns:
        the scope defined by this node itself or the same as getContainingScope() otherwise
      • getParent

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

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

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