Search in sources :

Example 21 with Expression

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

the class ProvidedCapabilityImpl 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.PROVIDED_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 22 with Expression

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

the class RequiredCapabilityImpl 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.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 23 with Expression

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

the class UnaryOpExpressionImpl 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_OP_EXPRESSION__EXPR, oldExpr, newExpr);
        if (msgs == null)
            msgs = notification;
        else
            msgs.add(notification);
    }
    return msgs;
}
Also used : Expression(org.eclipse.xtext.testlanguages.backtracking.beeLangTestLanguage.Expression) UnaryOpExpression(org.eclipse.xtext.testlanguages.backtracking.beeLangTestLanguage.UnaryOpExpression) ENotificationImpl(org.eclipse.emf.ecore.impl.ENotificationImpl)

Example 24 with Expression

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

the class UnaryPostOpExpressionImpl 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_POST_OP_EXPRESSION__EXPR, oldExpr, newExpr);
        if (msgs == null)
            msgs = notification;
        else
            msgs.add(notification);
    }
    return msgs;
}
Also used : Expression(org.eclipse.xtext.testlanguages.backtracking.beeLangTestLanguage.Expression) UnaryPostOpExpression(org.eclipse.xtext.testlanguages.backtracking.beeLangTestLanguage.UnaryPostOpExpression) ENotificationImpl(org.eclipse.emf.ecore.impl.ENotificationImpl)

Example 25 with Expression

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

the class WithContextExpressionImpl 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.WITH_CONTEXT_EXPRESSION__EXPR, oldExpr, newExpr);
        if (msgs == null)
            msgs = notification;
        else
            msgs.add(notification);
    }
    return msgs;
}
Also used : Expression(org.eclipse.xtext.testlanguages.backtracking.beeLangTestLanguage.Expression) WithContextExpression(org.eclipse.xtext.testlanguages.backtracking.beeLangTestLanguage.WithContextExpression) 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