Class ASTEnumerationShortClassSpecifier

java.lang.Object
net.sourceforge.pmd.lang.ast.impl.AbstractNode<net.sourceforge.pmd.lang.modelica.ast.AbstractModelicaNode,ModelicaNode>
net.sourceforge.pmd.lang.ast.impl.javacc.AbstractJjtreeNode<net.sourceforge.pmd.lang.modelica.ast.AbstractModelicaNode,ModelicaNode>
net.sourceforge.pmd.lang.modelica.ast.ASTEnumerationShortClassSpecifier
All Implemented Interfaces:
net.sourceforge.pmd.lang.ast.impl.GenericNode<ModelicaNode>, net.sourceforge.pmd.lang.ast.impl.javacc.JjtreeNode<ModelicaNode>, net.sourceforge.pmd.lang.ast.Node, net.sourceforge.pmd.lang.ast.TextAvailableNode, ModelicaClassSpecifierNode, ModelicaNode, net.sourceforge.pmd.reporting.Reportable

public final class ASTEnumerationShortClassSpecifier extends net.sourceforge.pmd.lang.ast.impl.javacc.AbstractJjtreeNode<net.sourceforge.pmd.lang.modelica.ast.AbstractModelicaNode,ModelicaNode>
  • Field Summary

    Fields inherited from class net.sourceforge.pmd.lang.ast.impl.javacc.AbstractJjtreeNode

    id

    Fields inherited from interface net.sourceforge.pmd.lang.ast.Node

    COORDS_COMPARATOR
  • Method Summary

    Modifier and Type
    Method
    Description
    protected <P, R> R
    acceptModelicaVisitor(ModelicaVisitor<? super P,? extends R> visitor, P data)
     
    final <P, R> R
    acceptVisitor(net.sourceforge.pmd.lang.ast.AstVisitor<? super P,? extends R> visitor, P data)
     
    Returns the lexical scope this node is contained in.
    Returns the most specific lexical scope naturally associated with this node.
     
     

    Methods inherited from class net.sourceforge.pmd.lang.ast.impl.javacc.AbstractJjtreeNode

    addChild, compareLocation, enlargeLeft, fitTokensToChildren, getFirstToken, getImage, getLastToken, getTextRegion, insertChild, jjtClose, jjtOpen, setFirstToken, setImage, setLastToken, toString

    Methods inherited from class net.sourceforge.pmd.lang.ast.impl.AbstractNode

    children, firstChild, getChild, getIndexInParent, getNumChildren, getParent, getUserMap, remove, removeChildAtIndex, setChild, setParent

    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.impl.GenericNode

    ancestors, ancestorsOrSelf, asStream, children, descendants, descendantsOrSelf, getChild, getFirstChild, getLastChild, getNextSibling, getParent, getPreviousSibling

    Methods inherited from interface net.sourceforge.pmd.lang.ast.impl.javacc.JjtreeNode

    getFirstToken, getLastToken, tokens

    Methods inherited from interface net.sourceforge.pmd.lang.modelica.ast.ModelicaNode

    getContainingScope, getMostSpecificScope

    Methods inherited from interface net.sourceforge.pmd.lang.ast.Node

    acceptVisitor, ancestors, children, compareLocation, descendants, firstChild, getAstInfo, getBeginColumn, getBeginLine, getEndColumn, getEndLine, getImage, getIndexInParent, getLanguageVersion, getNumChildren, getReportLocation, getRoot, getTextDocument, getUserMap, getXPathAttributesIterator, getXPathNodeName, hasImageEqualTo, isFindBoundary

    Methods inherited from interface net.sourceforge.pmd.lang.ast.TextAvailableNode

    getOriginalText, getText, getTextRegion
  • Method Details

    • acceptModelicaVisitor

      protected <P, R> R acceptModelicaVisitor(ModelicaVisitor<? super P,? extends R> visitor, P data)
    • getSimpleClassName

      public String getSimpleClassName()
      Specified by:
      getSimpleClassName in interface ModelicaClassSpecifierNode
    • acceptVisitor

      public final <P, R> R acceptVisitor(net.sourceforge.pmd.lang.ast.AstVisitor<? super P,? extends R> visitor, P data)
      Specified by:
      acceptVisitor in interface net.sourceforge.pmd.lang.ast.Node
    • getXPathNodeName

      public String getXPathNodeName()
      Specified by:
      getXPathNodeName in interface net.sourceforge.pmd.lang.ast.Node
    • getContainingScope

      public ModelicaScope getContainingScope()
      Description copied from interface: ModelicaNode
      Returns the lexical scope this node is contained in.
      Specified by:
      getContainingScope in interface ModelicaNode
    • getMostSpecificScope

      public ModelicaScope getMostSpecificScope()
      Description copied from interface: ModelicaNode
      Returns the most specific lexical scope naturally associated with this node.
      Specified by:
      getMostSpecificScope in interface ModelicaNode
      Returns:
      the scope defined by this node itself or the same as ModelicaNode.getContainingScope() otherwise