Class ASTIfStatement

  • All Implemented Interfaces:
    net.sourceforge.pmd.lang.ast.Node, ModelicaNode

    public class ASTIfStatement
    extends net.sourceforge.pmd.lang.ast.impl.javacc.AbstractJjtreeNode<ModelicaNode>
    • Field Summary

      • Fields inherited from class net.sourceforge.pmd.lang.ast.AbstractNode

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

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      int getBeginColumn()  
      int getBeginLine()  
      ModelicaScope getContainingScope()
      Returns the lexical scope this node is contained in.
      int getEndColumn()  
      int getEndLine()  
      ModelicaScope getMostSpecificScope()
      Returns the most specific lexical scope naturally associated with this node.
      String getXPathNodeName()  
      Object jjtAccept​(ModelicaParserVisitor visitor, Object data)
      Accept the visitor.
      void jjtClose()  
      void jjtSetLastToken​(net.sourceforge.pmd.lang.ast.GenericToken token)  
      • Methods inherited from class net.sourceforge.pmd.lang.ast.impl.javacc.AbstractJjtreeNode

        children, getChild, getParent
      • Methods inherited from class net.sourceforge.pmd.lang.ast.AbstractNode

        appendElement, findChildNodesWithXPath, findChildrenOfType, findDescendantsOfType, findDescendantsOfType, findDescendantsOfType, getAsDocument, getDataFlowNode, getFirstChildOfType, getFirstDescendantOfType, getFirstParentOfAnyType, getFirstParentOfType, getImage, getIndexInParent, getNthParent, getNumChildren, getParentsOfType, getUserData, getXPathAttributesIterator, hasDecendantOfAnyType, hasDescendantMatchingXPath, hasDescendantOfAnyType, hasDescendantOfType, hasImageEqualTo, isFindBoundary, isSingleLine, jjtAddChild, jjtGetChild, jjtGetChildIndex, jjtGetFirstToken, jjtGetId, jjtGetLastToken, jjtGetNumChildren, jjtGetParent, jjtOpen, jjtSetChildIndex, jjtSetFirstToken, jjtSetParent, remove, removeChildAtIndex, setDataFlowNode, setImage, setUserData, testingOnlySetBeginColumn, testingOnlySetBeginLine, testingOnlySetEndColumn, testingOnlySetEndLine, toString
      • Methods inherited from interface net.sourceforge.pmd.lang.ast.Node

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

      • ASTIfStatement

        public ASTIfStatement​(int id)
      • ASTIfStatement

        public ASTIfStatement​(ModelicaParser p,
                              int id)
    • Method Detail

      • getXPathNodeName

        public String getXPathNodeName()
        Specified by:
        getXPathNodeName in interface net.sourceforge.pmd.lang.ast.Node
        Overrides:
        getXPathNodeName in class net.sourceforge.pmd.lang.ast.AbstractNode
      • 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
      • jjtClose

        public void jjtClose()
        Specified by:
        jjtClose in interface net.sourceforge.pmd.lang.ast.Node
        Overrides:
        jjtClose in class net.sourceforge.pmd.lang.ast.AbstractNode
      • jjtSetLastToken

        public void jjtSetLastToken​(net.sourceforge.pmd.lang.ast.GenericToken token)
        Overrides:
        jjtSetLastToken in class net.sourceforge.pmd.lang.ast.AbstractNode