package jetbrains.mps.traceInfo.testWeavingInterpreted.data.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 ChildConceptWeave = 0;
public static final int ChildConceptWeaveEach = 1;
public static final int ChildConceptWeaveEachMany = 2;
public static final int ChildConceptWeaveMany = 3;
public static final int RootConcept = 4;
public LanguageConceptSwitch() {
LanguageConceptIndexBuilder builder = new LanguageConceptIndexBuilder(0xffafcf63cbe64e5cL, 0x9717541f01743ac7L);
builder.put(0x55da9f701c64f39cL, ChildConceptWeave);
builder.put(0x55da9f701c64f39aL, ChildConceptWeaveEach);
builder.put(0x55da9f701c681163L, ChildConceptWeaveEachMany);
builder.put(0x55da9f701c681159L, ChildConceptWeaveMany);
builder.put(0x55da9f701c64caccL, RootConcept);
myIndex = builder.seal();
}
/*package*/ int index(SConceptId cid) {
return myIndex.index(cid);
}
public int index(SAbstractConcept concept) {
return myIndex.index(concept);
}
}