- All Superinterfaces:
Expression,LHSExpression,Sourceable
a[i], where "a" is an array and "i" is an expression evaluating to an
integer.
-
Nested Class Summary
Nested classes/interfaces inherited from interface dev.civl.mc.model.IF.expression.Expression
Expression.ExpressionKindNested classes/interfaces inherited from interface dev.civl.mc.model.IF.expression.LHSExpression
LHSExpression.LHSExpressionKind -
Method Summary
Modifier and TypeMethodDescriptionarray()index()voidsetArray(LHSExpression array) voidsetIndex(Expression index) Methods inherited from interface dev.civl.mc.model.IF.expression.Expression
calculateConstantValue, calculateDerefs, constantValue, containsHere, expressionKind, expressionScope, freeVariables, getExpressionType, hasConstantValue, hasDerefs, isErrorFree, isPurelyLocal, lowestScope, purelyLocalAnalysis, purelyLocalAnalysisOfVariables, replaceWith, replaceWith, setErrorFree, variableAddressedOf, variableAddressedOfMethods inherited from interface dev.civl.mc.model.IF.expression.LHSExpression
lhsExpressionKind, setPurelyLocal, variableWritten, variableWrittenMethods inherited from interface dev.civl.mc.model.IF.Sourceable
getSource, setCIVLSource
-
Method Details
-
array
LHSExpression array()- Returns:
- The expression for the array.
-
index
Expression index()- Returns:
- The expression for the index.
-
setArray
- Parameters:
array- The expression for the array.
-
setIndex
- Parameters:
index- The expression for the index.
-