Search in sources :

Example 1 with Expression

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

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

Example 2 with Expression

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

the class CachedExpressionImpl 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.CACHED_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) CachedExpression(org.eclipse.xtext.testlanguages.backtracking.beeLangTestLanguage.CachedExpression) ENotificationImpl(org.eclipse.emf.ecore.impl.ENotificationImpl)

Example 3 with Expression

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

the class CallFeatureImpl 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.CALL_FEATURE__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) ENotificationImpl(org.eclipse.emf.ecore.impl.ENotificationImpl)

Example 4 with Expression

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

the class CallFunctionImpl 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.CALL_FUNCTION__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) ENotificationImpl(org.eclipse.emf.ecore.impl.ENotificationImpl)

Example 5 with Expression

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

the class CreateExpressionImpl 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.CREATE_EXPRESSION__CONTEXT_BLOCK, oldContextBlock, newContextBlock);
        if (msgs == null)
            msgs = notification;
        else
            msgs.add(notification);
    }
    return msgs;
}
Also used : CreateExpression(org.eclipse.xtext.testlanguages.backtracking.beeLangTestLanguage.CreateExpression) Expression(org.eclipse.xtext.testlanguages.backtracking.beeLangTestLanguage.Expression) 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