use of org.eclipse.n4js.n4JS.LocalArgumentsVariable in project n4js by eclipse.
the class N4FieldAccessorImpl method basicSet_lok.
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public NotificationChain basicSet_lok(LocalArgumentsVariable new_lok, NotificationChain msgs) {
LocalArgumentsVariable old_lok = _lok;
_lok = new_lok;
if (eNotificationRequired()) {
ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, N4JSPackage.N4_FIELD_ACCESSOR__LOK, old_lok, new_lok);
if (msgs == null)
msgs = notification;
else
msgs.add(notification);
}
return msgs;
}
use of org.eclipse.n4js.n4JS.LocalArgumentsVariable in project n4js by eclipse.
the class FunctionOrFieldAccessorImpl method getLocalArgumentsVariable.
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public LocalArgumentsVariable getLocalArgumentsVariable() {
LocalArgumentsVariable __lok = this.get_lok();
boolean _tripleEquals = (__lok == null);
if (_tripleEquals) {
final LocalArgumentsVariable newLok = N4JSFactory.eINSTANCE.createLocalArgumentsVariable();
newLok.setName("arguments");
final Procedure0 _function = new Procedure0() {
public void apply() {
FunctionOrFieldAccessorImpl.this.set_lok(newLok);
}
};
EcoreUtilN4.doWithDeliver(false, _function, this);
}
return this.get_lok();
}
use of org.eclipse.n4js.n4JS.LocalArgumentsVariable in project n4js by eclipse.
the class N4FieldAccessorImpl method getLocalArgumentsVariable.
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public LocalArgumentsVariable getLocalArgumentsVariable() {
LocalArgumentsVariable __lok = this.get_lok();
boolean _tripleEquals = (__lok == null);
if (_tripleEquals) {
final LocalArgumentsVariable newLok = N4JSFactory.eINSTANCE.createLocalArgumentsVariable();
newLok.setName("arguments");
final Procedure0 _function = new Procedure0() {
public void apply() {
N4FieldAccessorImpl.this.set_lok(newLok);
}
};
EcoreUtilN4.doWithDeliver(false, _function, this);
}
return this.get_lok();
}
use of org.eclipse.n4js.n4JS.LocalArgumentsVariable in project n4js by eclipse.
the class PropertyMethodDeclarationImpl method getLocalArgumentsVariable.
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public LocalArgumentsVariable getLocalArgumentsVariable() {
LocalArgumentsVariable __lok = this.get_lok();
boolean _tripleEquals = (__lok == null);
if (_tripleEquals) {
final LocalArgumentsVariable newLok = N4JSFactory.eINSTANCE.createLocalArgumentsVariable();
newLok.setName("arguments");
final Procedure0 _function = new Procedure0() {
public void apply() {
PropertyMethodDeclarationImpl.this.set_lok(newLok);
}
};
EcoreUtilN4.doWithDeliver(false, _function, this);
}
return this.get_lok();
}
use of org.eclipse.n4js.n4JS.LocalArgumentsVariable in project n4js by eclipse.
the class N4MethodDeclarationImpl method basicSet_lok.
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public NotificationChain basicSet_lok(LocalArgumentsVariable new_lok, NotificationChain msgs) {
LocalArgumentsVariable old_lok = _lok;
_lok = new_lok;
if (eNotificationRequired()) {
ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, N4JSPackage.N4_METHOD_DECLARATION__LOK, old_lok, new_lok);
if (msgs == null)
msgs = notification;
else
msgs.add(notification);
}
return msgs;
}
Aggregations