use of org.eclipse.xtext.testlanguages.backtracking.beeLangTestLanguage.Expression in project xtext-core by eclipse.
the class FunctionImpl method basicSetFuncExpr.
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public NotificationChain basicSetFuncExpr(Expression newFuncExpr, NotificationChain msgs) {
Expression oldFuncExpr = funcExpr;
funcExpr = newFuncExpr;
if (eNotificationRequired()) {
ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, BeeLangTestLanguagePackage.FUNCTION__FUNC_EXPR, oldFuncExpr, newFuncExpr);
if (msgs == null)
msgs = notification;
else
msgs.add(notification);
}
return msgs;
}
use of org.eclipse.xtext.testlanguages.backtracking.beeLangTestLanguage.Expression in project xtext-core by eclipse.
the class OrExpressionImpl method basicSetLeftExpr.
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public NotificationChain basicSetLeftExpr(Expression newLeftExpr, NotificationChain msgs) {
Expression oldLeftExpr = leftExpr;
leftExpr = newLeftExpr;
if (eNotificationRequired()) {
ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, BeeLangTestLanguagePackage.OR_EXPRESSION__LEFT_EXPR, oldLeftExpr, newLeftExpr);
if (msgs == null)
msgs = notification;
else
msgs.add(notification);
}
return msgs;
}
use of org.eclipse.xtext.testlanguages.backtracking.beeLangTestLanguage.Expression in project xtext-core by eclipse.
the class ParameterImpl method basicSetExpr.
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public NotificationChain basicSetExpr(Expression newExpr, NotificationChain msgs) {
Expression oldExpr = expr;
expr = newExpr;
if (eNotificationRequired()) {
ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, BeeLangTestLanguagePackage.PARAMETER__EXPR, oldExpr, newExpr);
if (msgs == null)
msgs = notification;
else
msgs.add(notification);
}
return msgs;
}
use of org.eclipse.xtext.testlanguages.backtracking.beeLangTestLanguage.Expression in project xtext-core by eclipse.
the class UnaryPreOpExpressionImpl method basicSetExpr.
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public NotificationChain basicSetExpr(Expression newExpr, NotificationChain msgs) {
Expression oldExpr = expr;
expr = newExpr;
if (eNotificationRequired()) {
ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, BeeLangTestLanguagePackage.UNARY_PRE_OP_EXPRESSION__EXPR, oldExpr, newExpr);
if (msgs == null)
msgs = notification;
else
msgs.add(notification);
}
return msgs;
}
use of org.eclipse.xtext.testlanguages.backtracking.beeLangTestLanguage.Expression in project xtext-core by eclipse.
the class WithContextExpressionImpl method basicSetContextBlock.
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public NotificationChain basicSetContextBlock(Expression newContextBlock, NotificationChain msgs) {
Expression oldContextBlock = contextBlock;
contextBlock = newContextBlock;
if (eNotificationRequired()) {
ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, BeeLangTestLanguagePackage.WITH_CONTEXT_EXPRESSION__CONTEXT_BLOCK, oldContextBlock, newContextBlock);
if (msgs == null)
msgs = notification;
else
msgs.add(notification);
}
return msgs;
}
Aggregations