| de.uka.ilkd.key.java.expression.Operator de.uka.ilkd.key.java.expression.operator.Conditional
Conditional | public class Conditional extends Operator (Code) | | The most weird ternary C operator ?:
|
Conditional | public Conditional(ExtList children)(Code) | | Conditional.
Parameters: children - list of children the first one is the guard expression, the second one the then expression and the last one the else expr. |
getArity | public int getArity()(Code) | | Get arity.
the int value. |
getNotation | public int getNotation()(Code) | | Get notation.
the int value. |
getPrecedence | public int getPrecedence()(Code) | | Get precedence.
the int value. |
isLeftAssociative | public boolean isLeftAssociative()(Code) | | Checks if this operator is left or right associative. Conditionals
are right associative.
true , if the operator is left associative,false otherwise. |
visit | public void visit(Visitor v)(Code) | | calls the corresponding method of a visitor in order to
perform some action/transformation on this element
Parameters: v - the Visitor |
|
|