Interface ModelicaNode
-
- All Superinterfaces:
GenericNode<ModelicaNode>
,JjtreeNode<ModelicaNode>
,Node
,Reportable
,TextAvailableNode
- All Known Subinterfaces:
ModelicaClassSpecifierNode
,ModelicaImportClause
,ResolvableModelicaNode
- All Known Implementing Classes:
ASTAddOp
,ASTAlgorithmSection
,ASTAnnotation
,ASTArgument
,ASTArgumentList
,ASTArithmeticExpression
,ASTArraySubscripts
,ASTAssignmentFromMultiResultFunctionCall
,ASTAssignmentModification
,ASTAssignmentStatement
,ASTBasePrefix
,ASTBlockClause
,ASTBreakStatement
,ASTClassClause
,ASTClassDefinition
,ASTClassModification
,ASTClassPrefixes
,ASTClassSpecifier
,ASTColonSubsript
,ASTComment
,ASTComponentClause
,ASTComponentClause1
,ASTComponentDeclaration
,ASTComponentDeclaration1
,ASTComponentList
,ASTComponentReference
,ASTComposition
,ASTConditionAttribute
,ASTConnectClause
,ASTConnectorClause
,ASTConstantClause
,ASTConstrainingClause
,ASTDeclaration
,ASTDerClassSpecifier
,ASTDerClause
,ASTDiscreteClause
,ASTEachClause
,ASTElementList
,ASTElementModification
,ASTElementModificationOrReplaceable
,ASTElementRedeclaration
,ASTElementReplaceable
,ASTElseClause
,ASTElseIfClause
,ASTElseWhenClause
,ASTEncapsulatedClause
,ASTEnumerationLiteral
,ASTEnumerationShortClassSpecifier
,ASTEnumList
,ASTEquation
,ASTEquationList
,ASTEquationSection
,ASTExpandableConnectorClause
,ASTExpressionList
,ASTExtendingLongClassSpecifier
,ASTExtendsClause
,ASTExternalClause
,ASTExternalFunctionCall
,ASTFactor
,ASTFalseLiteral
,ASTFinalClause
,ASTFlowClause
,ASTForEquation
,ASTForIndex
,ASTForIndices
,ASTForStatement
,ASTFunctionArgument
,ASTFunctionArguments
,ASTFunctionCallArgs
,ASTFunctionCallEquation
,ASTFunctionCallStatement
,ASTFunctionClause
,ASTFunctionInvocation
,ASTIfClause
,ASTIfEquation
,ASTIfExpression
,ASTIfStatement
,ASTImportClause
,ASTImportList
,ASTImpureClause
,ASTInitialClause
,ASTInnerClause
,ASTInputClause
,ASTLanguageSpecification
,ASTListOfExpressionLists
,ASTLogicalExpression
,ASTLogicalTerm
,ASTLongModification
,ASTModelClause
,ASTMulOp
,ASTMultipleDefinitionImportClause
,ASTName
,ASTNamedArgument
,ASTNamedArguments
,ASTNegated
,ASTNumberLiteral
,ASTOperator
,ASTOperatorClause
,ASTOperatorRecordClause
,ASTOuterClause
,ASTOutputClause
,ASTOutputExpressionList
,ASTPackageClause
,ASTParameterClause
,ASTPartialClause
,ASTPureClause
,ASTRecordClause
,ASTRedeclareClause
,ASTRegularElement
,ASTRegularEquation
,ASTRelation
,ASTRelOp
,ASTRenamingImportClause
,ASTReplaceableClause
,ASTReturnStatement
,ASTShortClassDefinition
,ASTShortModification
,ASTSimpleExpression
,ASTSimpleLongClassSpecifier
,ASTSimpleName
,ASTSimpleShortClassSpecifier
,ASTSingleDefinitionImportClause
,ASTStatement
,ASTStatementList
,ASTStoredDefinition
,ASTStreamClause
,ASTStringComment
,ASTStringLiteral
,ASTSubscript
,ASTSubscriptedName
,ASTTerm
,ASTThenClause
,ASTTrueLiteral
,ASTTypeClause
,ASTTypePrefix
,ASTTypeSpecifier
,ASTUnqualifiedImportClause
,ASTWhenClause
,ASTWhenEquation
,ASTWhenStatement
,ASTWhileStatement
,ASTWithinClause
public interface ModelicaNode extends JjtreeNode<ModelicaNode>
Public interface for all Modelica AST nodes.
-
-
Field Summary
-
Fields inherited from interface net.sourceforge.pmd.lang.ast.Node
COORDS_COMPARATOR
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ModelicaScope
getContainingScope()
Returns the lexical scope this node is contained in.ModelicaScope
getMostSpecificScope()
Returns the most specific lexical scope naturally associated with this node.-
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.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 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
-
-