Package jetbrains.mps.smodel.adapter.ids
Class MetaIdByDeclaration
- java.lang.Object
 - 
- jetbrains.mps.smodel.adapter.ids.MetaIdByDeclaration
 
 
- 
public class MetaIdByDeclaration extends Object
This allows to convert source-level (non-published code) entities to structure-level ids (published code ids) DebugRegistry must not be used inside of this class. Only straightforward conversions are allowed 
- 
- 
Constructor Summary
Constructors Constructor Description MetaIdByDeclaration() 
- 
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static SConceptIdgetConceptId(SNode conceptDeclaration)static SDataTypeIdgetDatatypeId(SNode csDatatypeDeclaration)static SLanguageIdgetLanguageId(Language l)static SContainmentLinkIdgetLinkId(SNode contLinkDeclaration)static SPropertyIdgetPropId(SNode propertyDeclaration)static SReferenceLinkIdgetRefRoleId(SNode refLinkDeclaration)static SLanguageIdref2LangId(SModuleReference ref) 
 - 
 
- 
- 
Method Detail
- 
getLanguageId
public static SLanguageId getLanguageId(@NotNull Language l)
 
- 
getConceptId
public static SConceptId getConceptId(@NotNull SNode conceptDeclaration)
 
- 
getDatatypeId
public static SDataTypeId getDatatypeId(@NotNull SNode csDatatypeDeclaration)
 
- 
getLinkId
public static SContainmentLinkId getLinkId(@NotNull SNode contLinkDeclaration)
 
- 
getRefRoleId
public static SReferenceLinkId getRefRoleId(@NotNull SNode refLinkDeclaration)
 
- 
getPropId
public static SPropertyId getPropId(@NotNull SNode propertyDeclaration)
 
- 
ref2LangId
public static SLanguageId ref2LangId(@NotNull SModuleReference ref)
 
 - 
 
 -