package jetbrains.mps.lang.checkedName.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 ICheckedNamePolicy = 0;
public static final int PropertyRefExpression = 1;
public static final int PropertyRefType = 2;
public LanguageConceptSwitch() {
LanguageConceptIndexBuilder builder = new LanguageConceptIndexBuilder(0xfe9d76d7580945c9L, 0xae28a40915b4d6ffL);
builder.put(0x433c3c31e7218f38L, ICheckedNamePolicy);
builder.put(0x433c3c31e7218f39L, PropertyRefExpression);
builder.put(0x433c3c31e7218f3eL, PropertyRefType);
myIndex = builder.seal();
}
/*package*/ int index(SConceptId cid) {
return myIndex.index(cid);
}
public int index(SAbstractConcept concept) {
return myIndex.index(concept);
}
}