- All Superinterfaces:
Expression,LHSExpression,Sourceable
A dot expression is a reference to a field in a struct or union.
-
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
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
-
structOrUnion
Expression structOrUnion()- Returns:
- The struct or union referenced by this dot expression.
-
fieldIndex
int fieldIndex()- Returns:
- Index of the field/member referenced by this dot expression.
-
isStruct
boolean isStruct() -
isUnion
boolean isUnion()
-