Loading de.ugoe.cs.swe.TTCN3/src/de/ugoe/cs/swe/scoping/TTCN3ScopeProvider.xtend +19 −17 Original line number Diff line number Diff line Loading @@ -1145,23 +1145,25 @@ class TTCN3ScopeProvider extends AbstractDeclarativeScopeProvider { } private def Iterable<EObject> directFieldElements(FieldReference field) { if (field instanceof StructFieldDef) { if (field.type !== null) { field.type.ref.scopeReferencedFields } } else if (field instanceof FormalValuePar) { if (field.type !== null) { field.type.ref.scopeReferencedFields } } else if (field instanceof FormalTemplatePar) { if (field.type !== null) { field.type.ref.scopeReferencedFields } } else if (field instanceof UnionFieldDef) { if (field.type !== null) { field.type.ref.scopeReferencedFields } } //nested types field.scopeFieldReferences // if (field instanceof StructFieldDef) { // if (field.type !== null) { // field.type.ref.scopeReferencedFields // } // } else if (field instanceof FormalValuePar) { // if (field.type !== null) { // field.type.ref.scopeReferencedFields // } // } else if (field instanceof FormalTemplatePar) { // if (field.type !== null) { // field.type.ref.scopeReferencedFields // } // } else if (field instanceof UnionFieldDef) { // if (field.type !== null) { // field.type.ref.scopeReferencedFields // } // } } private def Iterable<EObject> directModuleElements(TTCN3Module module) { Loading Loading
de.ugoe.cs.swe.TTCN3/src/de/ugoe/cs/swe/scoping/TTCN3ScopeProvider.xtend +19 −17 Original line number Diff line number Diff line Loading @@ -1145,23 +1145,25 @@ class TTCN3ScopeProvider extends AbstractDeclarativeScopeProvider { } private def Iterable<EObject> directFieldElements(FieldReference field) { if (field instanceof StructFieldDef) { if (field.type !== null) { field.type.ref.scopeReferencedFields } } else if (field instanceof FormalValuePar) { if (field.type !== null) { field.type.ref.scopeReferencedFields } } else if (field instanceof FormalTemplatePar) { if (field.type !== null) { field.type.ref.scopeReferencedFields } } else if (field instanceof UnionFieldDef) { if (field.type !== null) { field.type.ref.scopeReferencedFields } } //nested types field.scopeFieldReferences // if (field instanceof StructFieldDef) { // if (field.type !== null) { // field.type.ref.scopeReferencedFields // } // } else if (field instanceof FormalValuePar) { // if (field.type !== null) { // field.type.ref.scopeReferencedFields // } // } else if (field instanceof FormalTemplatePar) { // if (field.type !== null) { // field.type.ref.scopeReferencedFields // } // } else if (field instanceof UnionFieldDef) { // if (field.type !== null) { // field.type.ref.scopeReferencedFields // } // } } private def Iterable<EObject> directModuleElements(TTCN3Module module) { Loading