package jetbrains.mps.baseLanguage.tuples.structure; /*Generated by MPS */ import jetbrains.mps.lang.smodel.LanguageConceptIndex; import jetbrains.mps.lang.smodel.LanguageConceptIndexBuilder; import jetbrains.mps.smodel.adapter.ids.SConceptId; import org.jetbrains.mps.openapi.language.SAbstractConcept; public final class LanguageConceptSwitch { private final LanguageConceptIndex myIndex; public static final int IndexedTupleLiteral = 0; public static final int IndexedTupleMemberAccessExpression = 1; public static final int IndexedTupleType = 2; public static final int NamedTupleComponentAccessOperation = 3; public static final int NamedTupleComponentDeclaration = 4; public static final int NamedTupleComponentReference = 5; public static final int NamedTupleDeclaration = 6; public static final int NamedTupleLiteral = 7; public static final int NamedTupleType = 8; public LanguageConceptSwitch() { LanguageConceptIndexBuilder builder = new LanguageConceptIndexBuilder(0xa247e09e243545baL, 0xb8d207e93feba96aL); builder.put(0x12071708c13L, IndexedTupleLiteral); builder.put(0x12071acfb50L, IndexedTupleMemberAccessExpression); builder.put(0x1207157a8dcL, IndexedTupleType); builder.put(0x1209c84a4eaL, NamedTupleComponentAccessOperation); builder.put(0x12095b3e54fL, NamedTupleComponentDeclaration); builder.put(0x1209b917141L, NamedTupleComponentReference); builder.put(0x1208fa48aa5L, NamedTupleDeclaration); builder.put(0x1209b88731cL, NamedTupleLiteral); builder.put(0x12099dc1365L, NamedTupleType); myIndex = builder.seal(); } /*package*/ int index(SConceptId cid) { return myIndex.index(cid); } public int index(SAbstractConcept concept) { return myIndex.index(concept); } }