Package jetbrains.mps.smodel.runtime
Interface StructureAspectDescriptor
- 
- All Superinterfaces:
 ILanguageAspect
- All Known Implementing Classes:
 BaseStructureAspectDescriptor
public interface StructureAspectDescriptor extends ILanguageAspect
Interface to access generated meta-information about structure aspect. Null structure aspect shall be tolerated, as language is the only way to supply extensions at the moment, and not all extensions are about structure (i.e. there might be languages without structure). IMPORTANT: generated code shall not implement this interface directly, rather extendBaseStructureAspectDescriptor.- See Also:
 BaseStructureAspectDescriptor
 
- 
- 
Nested Class Summary
Nested Classes Modifier and Type Interface Description static interfaceStructureAspectDescriptor.DependenciesDESIGN NOTE: technically, SAD shall express its language dependencies with SLanguageId, which is aligned with ConceptDescriptor fromgetDescriptors(). 
- 
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description DataTypeDescriptorgetDataTypeDescriptor(SDataTypeId id)Collection<DataTypeDescriptor>getDataTypeDescriptors()ConceptDescriptorgetDescriptor(SConceptId id)Collection<ConceptDescriptor>getDescriptors()voidreportDependencies(StructureAspectDescriptor.Dependencies deps)Let structure aspect expose its dependencies from other languages. 
 - 
 
- 
- 
Method Detail
- 
getDescriptor
ConceptDescriptor getDescriptor(SConceptId id)
 
- 
getDescriptors
Collection<ConceptDescriptor> getDescriptors()
 
- 
getDataTypeDescriptor
DataTypeDescriptor getDataTypeDescriptor(SDataTypeId id)
 
- 
getDataTypeDescriptors
Collection<DataTypeDescriptor> getDataTypeDescriptors()
 
- 
reportDependencies
void reportDependencies(StructureAspectDescriptor.Dependencies deps)
Let structure aspect expose its dependencies from other languages. The moment this method is consulted is unspecified.- Since:
 - 2019.1
 
 
 - 
 
 -