Package org.eclipse.epsilon.eol.dom
Class ElvisOperatorExpression
java.lang.Object
org.eclipse.epsilon.common.module.AbstractModuleElement
org.eclipse.epsilon.eol.dom.AbstractExecutableModuleElement
org.eclipse.epsilon.eol.dom.Expression
org.eclipse.epsilon.eol.dom.OperatorExpression
org.eclipse.epsilon.eol.dom.ElvisOperatorExpression
- All Implemented Interfaces:
ModuleElement,IExecutableModuleElement
a ?: b is shorthand for
a != null ? a : b.- Since:
- 2.1
- Author:
- Sina Madani
-
Field Summary
Fields inherited from class org.eclipse.epsilon.eol.dom.OperatorExpression
firstOperand, operator, secondOperand -
Constructor Summary
ConstructorsConstructorDescription -
Method Summary
Methods inherited from class org.eclipse.epsilon.eol.dom.OperatorExpression
build, getFirstOperand, getOperands, getOperator, getSecondOperand, setFirstOperand, setOperator, setSecondOperandMethods inherited from class org.eclipse.epsilon.common.module.AbstractModuleElement
equals, getChildren, getComments, getData, getDebugInfo, getFile, getModule, getParent, getRegion, getUri, hashCode, setModule, setParent, setRegion, setUri, toStringMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface org.eclipse.epsilon.common.module.ModuleElement
getChildren, getComments, getData, getFile, getModule, getParent, getRegion, getUri, setModule, setParent, setRegion, setUri
-
Constructor Details
-
ElvisOperatorExpression
public ElvisOperatorExpression() -
ElvisOperatorExpression
-
-
Method Details
-
execute
- Throws:
EolRuntimeException
-
accept
- Specified by:
acceptin classExpression
-