- All Superinterfaces:
Expression,Sourceable
A unary operation.
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from interface dev.civl.mc.model.IF.expression.Expression
Expression.ExpressionKind -
Method Summary
Modifier and TypeMethodDescriptionoperand()operator()voidsetOperand(Expression operand) voidsetOperator(UnaryExpression.UNARY_OPERATOR operator) 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
-
operator
UnaryExpression.UNARY_OPERATOR operator()- Returns:
- The binary operator
-
operatorToString
String operatorToString() -
operand
Expression operand()- Returns:
- The operand.
-
setOperator
- Parameters:
operator- The unary operator.
-
setOperand
- Parameters:
operand- The operand.
-