package jetbrains.mps.lang.editor.menus.testMetaLanguage.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 TransformationFeature_Optional = 0;
  public static final int TransformationFeature_Required = 1;
  public static final int TransformationFeature_Unavailable = 2;
  public static final int TransformationLocation_Test = 3;
  public static final int TransformationLocation_WithFeatures = 4;
  public static final int TransformationLocation_WithoutFeatures = 5;
  public static final int TransformationMenu_Test = 6;

  public LanguageConceptSwitch() {
    LanguageConceptIndexBuilder builder = new LanguageConceptIndexBuilder(0x69068b7cba1f47fbL, 0xa4864981f42606e9L);
    builder.put(0x41c8eff4cc3dfc1dL, TransformationFeature_Optional);
    builder.put(0x41c8eff4cc3e09d8L, TransformationFeature_Required);
    builder.put(0x33f30f661f866f15L, TransformationFeature_Unavailable);
    builder.put(0x595469d6668817a2L, TransformationLocation_Test);
    builder.put(0x33f30f661f7e88deL, TransformationLocation_WithFeatures);
    builder.put(0x41c8eff4cc3eb92bL, TransformationLocation_WithoutFeatures);
    builder.put(0x259f3121f598017fL, TransformationMenu_Test);
    myIndex = builder.seal();
  }

  /*package*/ int index(SConceptId cid) {
    return myIndex.index(cid);
  }

  public int index(SAbstractConcept concept) {
    return myIndex.index(concept);
  }
}
