use of org.eclipse.n4js.n4JS.Expression in project n4js by eclipse.
the class ConditionalExpressionImpl method basicSetFalseExpression.
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public NotificationChain basicSetFalseExpression(Expression newFalseExpression, NotificationChain msgs) {
Expression oldFalseExpression = falseExpression;
falseExpression = newFalseExpression;
if (eNotificationRequired()) {
ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, N4JSPackage.CONDITIONAL_EXPRESSION__FALSE_EXPRESSION, oldFalseExpression, newFalseExpression);
if (msgs == null)
msgs = notification;
else
msgs.add(notification);
}
return msgs;
}
use of org.eclipse.n4js.n4JS.Expression in project n4js by eclipse.
the class EqualityExpressionImpl method basicSetLhs.
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public NotificationChain basicSetLhs(Expression newLhs, NotificationChain msgs) {
Expression oldLhs = lhs;
lhs = newLhs;
if (eNotificationRequired()) {
ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, N4JSPackage.EQUALITY_EXPRESSION__LHS, oldLhs, newLhs);
if (msgs == null)
msgs = notification;
else
msgs.add(notification);
}
return msgs;
}
use of org.eclipse.n4js.n4JS.Expression in project n4js by eclipse.
the class EqualityExpressionImpl method basicSetRhs.
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public NotificationChain basicSetRhs(Expression newRhs, NotificationChain msgs) {
Expression oldRhs = rhs;
rhs = newRhs;
if (eNotificationRequired()) {
ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, N4JSPackage.EQUALITY_EXPRESSION__RHS, oldRhs, newRhs);
if (msgs == null)
msgs = notification;
else
msgs.add(notification);
}
return msgs;
}
use of org.eclipse.n4js.n4JS.Expression in project n4js by eclipse.
the class AdditiveExpressionImpl method basicSetLhs.
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public NotificationChain basicSetLhs(Expression newLhs, NotificationChain msgs) {
Expression oldLhs = lhs;
lhs = newLhs;
if (eNotificationRequired()) {
ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, N4JSPackage.ADDITIVE_EXPRESSION__LHS, oldLhs, newLhs);
if (msgs == null)
msgs = notification;
else
msgs.add(notification);
}
return msgs;
}
use of org.eclipse.n4js.n4JS.Expression in project n4js by eclipse.
the class ForStatementImpl method basicSetInitExpr.
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public NotificationChain basicSetInitExpr(Expression newInitExpr, NotificationChain msgs) {
Expression oldInitExpr = initExpr;
initExpr = newInitExpr;
if (eNotificationRequired()) {
ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, N4JSPackage.FOR_STATEMENT__INIT_EXPR, oldInitExpr, newInitExpr);
if (msgs == null)
msgs = notification;
else
msgs.add(notification);
}
return msgs;
}
Aggregations