Search in sources :

Example 11 with Expression

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

the class AliasedRequiredCapabilityImpl method basicSetCondExpr.

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

Example 12 with Expression

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

the class AndExpressionImpl 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.AND_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) AndExpression(org.eclipse.xtext.testlanguages.backtracking.beeLangTestLanguage.AndExpression) ENotificationImpl(org.eclipse.emf.ecore.impl.ENotificationImpl)

Example 13 with Expression

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

the class AndExpressionImpl 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.AND_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) AndExpression(org.eclipse.xtext.testlanguages.backtracking.beeLangTestLanguage.AndExpression) ENotificationImpl(org.eclipse.emf.ecore.impl.ENotificationImpl)

Example 14 with Expression

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

the class AtExpressionImpl method basicSetObjExpr.

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

Example 15 with Expression

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

the class AtExpressionImpl method basicSetIndexExpr.

/**
 * <!-- begin-user-doc -->
 * <!-- end-user-doc -->
 * @generated
 */
public NotificationChain basicSetIndexExpr(Expression newIndexExpr, NotificationChain msgs) {
    Expression oldIndexExpr = indexExpr;
    indexExpr = newIndexExpr;
    if (eNotificationRequired()) {
        ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, BeeLangTestLanguagePackage.AT_EXPRESSION__INDEX_EXPR, oldIndexExpr, newIndexExpr);
        if (msgs == null)
            msgs = notification;
        else
            msgs.add(notification);
    }
    return msgs;
}
Also used : Expression(org.eclipse.xtext.testlanguages.backtracking.beeLangTestLanguage.Expression) AtExpression(org.eclipse.xtext.testlanguages.backtracking.beeLangTestLanguage.AtExpression) 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