package jetbrains.mps.console.base.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 AbstractPrintExpression = 0;
  public static final int BLCommand = 1;
  public static final int BLExpression = 2;
  public static final int Command = 3;
  public static final int CommandHolder = 4;
  public static final int CommandHolderRef = 5;
  public static final int ConsoleRoot = 6;
  public static final int ExceptionHolder = 7;
  public static final int GeneratedCommand = 8;
  public static final int HelpCommand = 9;
  public static final int HelpConceptReference = 10;
  public static final int History = 11;
  public static final int HistoryItem = 12;
  public static final int IActionHolder = 13;
  public static final int IClickable = 14;
  public static final int INodeWithReference = 15;
  public static final int InterpretedCommand = 16;
  public static final int ModifiedCommandHistoryItem = 17;
  public static final int NewLineResponseItem = 18;
  public static final int NodeReferencePresentation = 19;
  public static final int NodeReferenceString = 20;
  public static final int NodeResponseItem = 21;
  public static final int NodeWithClosure = 22;
  public static final int OutputConsoleRoot = 23;
  public static final int PastedNodeReference = 24;
  public static final int PrintExpression = 25;
  public static final int PrintNodeExpression = 26;
  public static final int PrintNodeReferenceExpression = 27;
  public static final int PrintSequenceExpression = 28;
  public static final int PrintTextExpression = 29;
  public static final int ProjectEditableScope = 30;
  public static final int ProjectExpression = 31;
  public static final int ProjectScope = 32;
  public static final int ProjectScope_old = 33;
  public static final int Response = 34;
  public static final int ResponseItem = 35;
  public static final int TextResponseItem = 36;

  public LanguageConceptSwitch() {
    LanguageConceptIndexBuilder builder = new LanguageConceptIndexBuilder(0xde1ad86d6e504a02L, 0xb306d4d17f64c375L);
    builder.put(0x6c8954f469a7c420L, AbstractPrintExpression);
    builder.put(0x4bd43869e610f3e9L, BLCommand);
    builder.put(0x6a40a3596560a9d9L, BLExpression);
    builder.put(0x5f1fb64db424879fL, Command);
    builder.put(0x4e27160acb4484bL, CommandHolder);
    builder.put(0x4fe9275cea077231L, CommandHolderRef);
    builder.put(0x15fb34051f725a2cL, ConsoleRoot);
    builder.put(0x5b02f032bc93b714L, ExceptionHolder);
    builder.put(0x188f8efcef689c71L, GeneratedCommand);
    builder.put(0x690b986730a1f80L, HelpCommand);
    builder.put(0x60279080c2f3b209L, HelpConceptReference);
    builder.put(0xa835f28c1aa02beL, History);
    builder.put(0x5f195a051bd47defL, HistoryItem);
    builder.put(0x7633e0214d3a5856L, IActionHolder);
    builder.put(0x2095ece53bb9f5b0L, IClickable);
    builder.put(0x36ac6f29ae8c1fb5L, INodeWithReference);
    builder.put(0x188f8efcef689c65L, InterpretedCommand);
    builder.put(0x9992dadc6de20a7L, ModifiedCommandHistoryItem);
    builder.put(0x4e3b035171b35d30L, NewLineResponseItem);
    builder.put(0x2095ece53bbb600cL, NodeReferencePresentation);
    builder.put(0x2095ece53ba81265L, NodeReferenceString);
    builder.put(0x4e3b035171b35c14L, NodeResponseItem);
    builder.put(0xf6d4d958ec2f2c6L, NodeWithClosure);
    builder.put(0x131ec6f2097ff75fL, OutputConsoleRoot);
    builder.put(0x51132a123c89fa7eL, PastedNodeReference);
    builder.put(0x6979f0787b2a9377L, PrintExpression);
    builder.put(0x4c7a26b31bd03b59L, PrintNodeExpression);
    builder.put(0x5f195a051bd9bddcL, PrintNodeReferenceExpression);
    builder.put(0x6979f0787b7db64fL, PrintSequenceExpression);
    builder.put(0x7417cca3eb1feca9L, PrintTextExpression);
    builder.put(0x20c897bb39db7cb2L, ProjectEditableScope);
    builder.put(0xa721a59126bb908L, ProjectExpression);
    builder.put(0x20c897bb39db7c8cL, ProjectScope);
    builder.put(0x3bc64421763adda2L, ProjectScope_old);
    builder.put(0x4e3b035171a5ba02L, Response);
    builder.put(0x4e3b035171b3583cL, ResponseItem);
    builder.put(0x4e3b035171b35c38L, TextResponseItem);
    myIndex = builder.seal();
  }

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

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