Example usage for Java org.eclipse.jdt.core.dom ConditionalExpression fields, constructors, methods, implement or subclass
The text is from its open source code.
ChildPropertyDescriptor | EXPRESSION_PROPERTY The "expression" structural property of this node type (child type: Expression ). |
ChildPropertyDescriptor | THEN_EXPRESSION_PROPERTY The "thenExpression" structural property of this node type (child type: Expression ). |
ChildPropertyDescriptor | ELSE_EXPRESSION_PROPERTY The "elseExpression" structural property of this node type (child type: Expression ). |
ConditionalExpression(AST ast) Creates a new unparented conditional expression node owned by the given AST. |
Expression | getElseExpression() Returns the "else" part of this conditional expression. |
Expression | getExpression() Returns the condition of this conditional expression. |
Expression | getThenExpression() Returns the "then" part of this conditional expression. |
void | setElseExpression(Expression expression) Sets the "else" part of this conditional expression. |
void | setExpression(Expression expression) Sets the condition of this conditional expression. |
void | setThenExpression(Expression expression) Sets the "then" part of this conditional expression. |