- All Superinterfaces:
Expression,Sourceable
This represents an address-of expression, which contains one operand, and has
the format:
invalid input: '&x', where invalid input: '&' is the address-of operator
and x is the operand.-
Nested Class Summary
Nested classes/interfaces inherited from interface dev.civl.mc.model.IF.expression.Expression
Expression.ExpressionKind -
Method Summary
Modifier and TypeMethodDescriptionintbooleanoperand()voidsetFieldIndex(int index) voidsetFieldOffset(boolean value) voidsetTypeForOffset(CIVLType type) 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.Sourceable
getSource, setCIVLSource
-
Method Details
-
operand
LHSExpression operand()- Returns:
- The operand.
-
isFieldOffset
boolean isFieldOffset() -
setFieldOffset
void setFieldOffset(boolean value) -
setTypeForOffset
-
setFieldIndex
void setFieldIndex(int index) -
getTypeForOffset
CIVLType getTypeForOffset() -
getFieldIndex
int getFieldIndex()
-