Loading de.ugoe.cs.swe.TTCN3/src/de/ugoe/cs/swe/TTCN3.xtext +0 −1 Original line number Diff line number Diff line Loading @@ -1193,7 +1193,6 @@ TTCN3ReferenceList: // TODO: improve references // StructFieldRef | ArrayOrBitRef | ParRef; // ParRef -> RefValue //TODO: check if SubTypeDefNamed is really needed here //TODO: check if Enumeration is really needed here FieldReference: StructFieldDef | FormalValuePar | UnionFieldDef | SubTypeDefNamed | Enumeration | SingleConstDef; Loading de.ugoe.cs.swe.TTCN3/src/de/ugoe/cs/swe/scoping/TTCN3ScopeProvider.xtend +4 −5 Original line number Diff line number Diff line Loading @@ -232,16 +232,15 @@ class TTCN3ScopeProvider extends AbstractDeclarativeScopeProvider { list.addAll(module.eAllOfType(FieldReference)) // TODO: figure out if this is really needed // TODO: improve performance of this call // use import data exported objects after init!!! synchronized (IMPORTS) { if (IMPORTS.containsKey(module.eResource)) { val imported = IMPORTS.get(module.eResource) for (i : 0 .. imported.size - 1) { val d = imported.get(i) for (o : d.exportedObjects) { if (TTCN3Package.eINSTANCE.fieldReference.isSuperTypeOf(o.EClass)) { list.add(o.EObjectOrProxy) } for (o : d.module.getAllContentsOfType(FieldReference)) { list.add(o) } } } Loading Loading
de.ugoe.cs.swe.TTCN3/src/de/ugoe/cs/swe/TTCN3.xtext +0 −1 Original line number Diff line number Diff line Loading @@ -1193,7 +1193,6 @@ TTCN3ReferenceList: // TODO: improve references // StructFieldRef | ArrayOrBitRef | ParRef; // ParRef -> RefValue //TODO: check if SubTypeDefNamed is really needed here //TODO: check if Enumeration is really needed here FieldReference: StructFieldDef | FormalValuePar | UnionFieldDef | SubTypeDefNamed | Enumeration | SingleConstDef; Loading
de.ugoe.cs.swe.TTCN3/src/de/ugoe/cs/swe/scoping/TTCN3ScopeProvider.xtend +4 −5 Original line number Diff line number Diff line Loading @@ -232,16 +232,15 @@ class TTCN3ScopeProvider extends AbstractDeclarativeScopeProvider { list.addAll(module.eAllOfType(FieldReference)) // TODO: figure out if this is really needed // TODO: improve performance of this call // use import data exported objects after init!!! synchronized (IMPORTS) { if (IMPORTS.containsKey(module.eResource)) { val imported = IMPORTS.get(module.eResource) for (i : 0 .. imported.size - 1) { val d = imported.get(i) for (o : d.exportedObjects) { if (TTCN3Package.eINSTANCE.fieldReference.isSuperTypeOf(o.EClass)) { list.add(o.EObjectOrProxy) } for (o : d.module.getAllContentsOfType(FieldReference)) { list.add(o) } } } Loading