use of org.eclipse.n4js.n4JS.Expression in project n4js by eclipse.
the class PropertyNameValuePairImpl method basicSetExpression.
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public NotificationChain basicSetExpression(Expression newExpression, NotificationChain msgs) {
Expression oldExpression = expression;
expression = newExpression;
if (eNotificationRequired()) {
ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, N4JSPackage.PROPERTY_NAME_VALUE_PAIR__EXPRESSION, oldExpression, newExpression);
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 RelationalExpressionImpl 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.RELATIONAL_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 RelationalExpressionImpl 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.RELATIONAL_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 ShiftExpressionImpl 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.SHIFT_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 ShiftExpressionImpl 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.SHIFT_EXPRESSION__LHS, oldLhs, newLhs);
if (msgs == null)
msgs = notification;
else
msgs.add(notification);
}
return msgs;
}
Aggregations