Search in sources :

Example 26 with Expression

use of org.eclipse.xtext.testlanguages.backtracking.beeLangTestLanguage.Expression in project xtext-core by eclipse.

the class WithExpressionImpl 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.WITH_EXPRESSION__FUNC_EXPR, oldFuncExpr, newFuncExpr);
        if (msgs == null)
            msgs = notification;
        else
            msgs.add(notification);
    }
    return msgs;
}
Also used : Expression(org.eclipse.xtext.testlanguages.backtracking.beeLangTestLanguage.Expression) WithExpression(org.eclipse.xtext.testlanguages.backtracking.beeLangTestLanguage.WithExpression) ENotificationImpl(org.eclipse.emf.ecore.impl.ENotificationImpl)

Example 27 with Expression

use of org.eclipse.xtext.testlanguages.backtracking.beeLangTestLanguage.Expression in project xtext-core by eclipse.

the class AssignmentExpressionImpl method basicSetRightExpr.

/**
 * <!-- begin-user-doc -->
 * <!-- end-user-doc -->
 * @generated
 */
public NotificationChain basicSetRightExpr(Expression newRightExpr, NotificationChain msgs) {
    Expression oldRightExpr = rightExpr;
    rightExpr = newRightExpr;
    if (eNotificationRequired()) {
        ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, BeeLangTestLanguagePackage.ASSIGNMENT_EXPRESSION__RIGHT_EXPR, oldRightExpr, newRightExpr);
        if (msgs == null)
            msgs = notification;
        else
            msgs.add(notification);
    }
    return msgs;
}
Also used : Expression(org.eclipse.xtext.testlanguages.backtracking.beeLangTestLanguage.Expression) AssignmentExpression(org.eclipse.xtext.testlanguages.backtracking.beeLangTestLanguage.AssignmentExpression) ENotificationImpl(org.eclipse.emf.ecore.impl.ENotificationImpl)

Example 28 with Expression

use of org.eclipse.xtext.testlanguages.backtracking.beeLangTestLanguage.Expression in project xtext-core by eclipse.

the class AssignmentExpressionImpl 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.ASSIGNMENT_EXPRESSION__LEFT_EXPR, oldLeftExpr, newLeftExpr);
        if (msgs == null)
            msgs = notification;
        else
            msgs.add(notification);
    }
    return msgs;
}
Also used : Expression(org.eclipse.xtext.testlanguages.backtracking.beeLangTestLanguage.Expression) AssignmentExpression(org.eclipse.xtext.testlanguages.backtracking.beeLangTestLanguage.AssignmentExpression) ENotificationImpl(org.eclipse.emf.ecore.impl.ENotificationImpl)

Aggregations

ENotificationImpl (org.eclipse.emf.ecore.impl.ENotificationImpl)28 Expression (org.eclipse.xtext.testlanguages.backtracking.beeLangTestLanguage.Expression)28 AndExpression (org.eclipse.xtext.testlanguages.backtracking.beeLangTestLanguage.AndExpression)2 AssignmentExpression (org.eclipse.xtext.testlanguages.backtracking.beeLangTestLanguage.AssignmentExpression)2 AtExpression (org.eclipse.xtext.testlanguages.backtracking.beeLangTestLanguage.AtExpression)2 BinaryOpExpression (org.eclipse.xtext.testlanguages.backtracking.beeLangTestLanguage.BinaryOpExpression)2 GuardExpression (org.eclipse.xtext.testlanguages.backtracking.beeLangTestLanguage.GuardExpression)2 OrExpression (org.eclipse.xtext.testlanguages.backtracking.beeLangTestLanguage.OrExpression)2 WithContextExpression (org.eclipse.xtext.testlanguages.backtracking.beeLangTestLanguage.WithContextExpression)2 CachedExpression (org.eclipse.xtext.testlanguages.backtracking.beeLangTestLanguage.CachedExpression)1 CreateExpression (org.eclipse.xtext.testlanguages.backtracking.beeLangTestLanguage.CreateExpression)1 FeatureExpression (org.eclipse.xtext.testlanguages.backtracking.beeLangTestLanguage.FeatureExpression)1 UnaryOpExpression (org.eclipse.xtext.testlanguages.backtracking.beeLangTestLanguage.UnaryOpExpression)1 UnaryPostOpExpression (org.eclipse.xtext.testlanguages.backtracking.beeLangTestLanguage.UnaryPostOpExpression)1 UnaryPreOpExpression (org.eclipse.xtext.testlanguages.backtracking.beeLangTestLanguage.UnaryPreOpExpression)1 WithExpression (org.eclipse.xtext.testlanguages.backtracking.beeLangTestLanguage.WithExpression)1