Skip to content

Commit 6a0786f

Browse files
committed
IRTypeDeclaration & superTypeExpr
1 parent bddf2b1 commit 6a0786f

File tree

91 files changed

+3870
-1351
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

91 files changed

+3870
-1351
lines changed
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
org.eclipse.dltk.javascript.core/traceTypeSystem = false

plugins/org.eclipse.dltk.javascript.core/build.properties

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
###############################################################################
1010
source.. = src/
1111
output.. = bin/
12+
additional.bundles = org.eclipse.dltk.annotations
1213
bin.includes = META-INF/,\
1314
.,\
1415
plugin.xml,\

plugins/org.eclipse.dltk.javascript.core/model/references.ecore

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,10 @@
3434
<eStructuralFeatures xsi:type="ecore:EReference" name="members" upperBound="-1"
3535
eType="#//Member" containment="true" resolveProxies="false" eOpposite="#//Member/declaringType"/>
3636
<eStructuralFeatures xsi:type="ecore:EAttribute" name="kind" eType="#//TypeKind"/>
37-
<eStructuralFeatures xsi:type="ecore:EReference" name="superType" eType="#//Type"/>
37+
<eStructuralFeatures xsi:type="ecore:EReference" name="superType" eType="#//Type"
38+
volatile="true" transient="true" derived="true" resolveProxies="false"/>
39+
<eStructuralFeatures xsi:type="ecore:EReference" name="superTypeExpr" eType="#//SimpleType"
40+
containment="true"/>
3841
<eStructuralFeatures xsi:type="ecore:EReference" name="staticConstructor" eType="#//Constructor"
3942
containment="true"/>
4043
<eStructuralFeatures xsi:type="ecore:EReference" name="traits" upperBound="-1"
@@ -174,11 +177,6 @@
174177
<eStructuralFeatures xsi:type="ecore:EReference" name="typeParameters" upperBound="-1"
175178
eType="#//TypeVariable" containment="true"/>
176179
</eClassifiers>
177-
<eClassifiers xsi:type="ecore:EClass" name="JSCustomType" abstract="true" interface="true">
178-
<eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
179-
<details key="documentation" value="Marker interface for the context-aware type expressions (JSType subtypes), like &quot;This&quot;. If type expression implements it, then the current type owner is made available when evaluating the corresponding IRType instance."/>
180-
</eAnnotations>
181-
</eClassifiers>
182180
<eClassifiers xsi:type="ecore:EClass" name="TypeLiteral">
183181
<eStructuralFeatures xsi:type="ecore:EAttribute" name="name" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"
184182
iD="true"/>

0 commit comments

Comments
 (0)