use of org.eclipse.n4js.ts.types.TypingStrategy in project n4js by eclipse.
the class VersionedParameterizedTypeRefStructuralImpl method getTypingStrategy.
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public TypingStrategy getTypingStrategy() {
TypingStrategy _definedTypingStrategy = this.getDefinedTypingStrategy();
boolean _tripleEquals = (_definedTypingStrategy == TypingStrategy.DEFAULT);
if (_tripleEquals) {
return TypingStrategy.STRUCTURAL;
} else {
return this.getDefinedTypingStrategy();
}
}
use of org.eclipse.n4js.ts.types.TypingStrategy in project n4js by eclipse.
the class ThisTypeRefStructuralImpl method getTypingStrategy.
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public TypingStrategy getTypingStrategy() {
TypingStrategy _definedTypingStrategy = this.getDefinedTypingStrategy();
boolean _tripleEquals = (_definedTypingStrategy == TypingStrategy.DEFAULT);
if (_tripleEquals) {
return TypingStrategy.NOMINAL;
}
return this.getDefinedTypingStrategy();
}
use of org.eclipse.n4js.ts.types.TypingStrategy in project n4js by eclipse.
the class ThisTypeRefStructuralImpl method getTypeRefAsString.
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public String getTypeRefAsString() {
TypingStrategy _typingStrategy = this.getTypingStrategy();
String _plus = (_typingStrategy + "this");
String _modifiersAsString = this.getModifiersAsString();
return (_plus + _modifiersAsString);
}
use of org.eclipse.n4js.ts.types.TypingStrategy in project n4js by eclipse.
the class ThisTypeRefStructuralImpl method setDefinedTypingStrategy.
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public void setDefinedTypingStrategy(TypingStrategy newDefinedTypingStrategy) {
TypingStrategy oldDefinedTypingStrategy = definedTypingStrategy;
definedTypingStrategy = newDefinedTypingStrategy == null ? DEFINED_TYPING_STRATEGY_EDEFAULT : newDefinedTypingStrategy;
if (eNotificationRequired())
eNotify(new ENotificationImpl(this, Notification.SET, TypeRefsPackage.THIS_TYPE_REF_STRUCTURAL__DEFINED_TYPING_STRATEGY, oldDefinedTypingStrategy, definedTypingStrategy));
}
use of org.eclipse.n4js.ts.types.TypingStrategy in project n4js by eclipse.
the class VersionedParameterizedTypeRefStructural_IMImpl method getTypingStrategy.
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public TypingStrategy getTypingStrategy() {
TypingStrategy _definedTypingStrategy = this.getDefinedTypingStrategy();
boolean _tripleEquals = (_definedTypingStrategy == TypingStrategy.DEFAULT);
if (_tripleEquals) {
return TypingStrategy.STRUCTURAL;
} else {
return this.getDefinedTypingStrategy();
}
}
Aggregations