package BHL1.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 A = 0;
  public static final int A1 = 1;
  public static final int I = 2;
  public static final int I1 = 3;

  public LanguageConceptSwitch() {
    LanguageConceptIndexBuilder builder = new LanguageConceptIndexBuilder(0x43359135f67c4a3dL, 0x9fdda3d7dba50995L);
    builder.put(0x54fc4b17de4f24cbL, A);
    builder.put(0x7e5c09dfa07d591eL, A1);
    builder.put(0x54fc4b17de4f24ccL, I);
    builder.put(0x7e5c09dfa07d591fL, I1);
    myIndex = builder.seal();
  }

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

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