Search in sources :

Example 16 with Expression

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

the class BinaryOpExpressionImpl 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.BINARY_OP_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) BinaryOpExpression(org.eclipse.xtext.testlanguages.backtracking.beeLangTestLanguage.BinaryOpExpression) ENotificationImpl(org.eclipse.emf.ecore.impl.ENotificationImpl)

Example 17 with Expression

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

the class DefValueImpl method basicSetValueExpr.

/**
 * <!-- begin-user-doc -->
 * <!-- end-user-doc -->
 * @generated
 */
public NotificationChain basicSetValueExpr(Expression newValueExpr, NotificationChain msgs) {
    Expression oldValueExpr = valueExpr;
    valueExpr = newValueExpr;
    if (eNotificationRequired()) {
        ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, BeeLangTestLanguagePackage.DEF_VALUE__VALUE_EXPR, oldValueExpr, newValueExpr);
        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 18 with Expression

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

the class FeatureExpressionImpl 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.FEATURE_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) FeatureExpression(org.eclipse.xtext.testlanguages.backtracking.beeLangTestLanguage.FeatureExpression) ENotificationImpl(org.eclipse.emf.ecore.impl.ENotificationImpl)

Example 19 with Expression

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

the class GuardExpressionImpl method basicSetGuardExpr.

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

Example 20 with Expression

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

the class OrExpressionImpl 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.OR_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) OrExpression(org.eclipse.xtext.testlanguages.backtracking.beeLangTestLanguage.OrExpression) 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