package jetbrains.mps.execution.configurations.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 AbstractRunConfigurationExecutor = 0;
  public static final int BeforeTask = 1;
  public static final int BeforeTaskCall = 2;
  public static final int BeforeTaskParameter = 3;
  public static final int BeforeTaskParameterReference = 4;
  public static final int ConfigurationFromExecutorReference = 5;
  public static final int Configuration_Parameter = 6;
  public static final int ConsoleCreator = 7;
  public static final int ConsoleType = 8;
  public static final int ContextConfiguration_Parameter = 9;
  public static final int ContextExpression = 10;
  public static final int Create_ConceptFunction = 11;
  public static final int DebuggerSettings_Parameter = 12;
  public static final int DummyRunConfigurationInitializer = 13;
  public static final int EnvironmentExpression = 14;
  public static final int ExecuteBeforeTask_ConceptFunction = 15;
  public static final int ExecuteConfiguration_Function = 16;
  public static final int Executor_Parameter = 17;
  public static final int GetProjectOperation = 18;
  public static final int IsConfigurationFromContext_ConceptFunction = 19;
  public static final int ModelSource = 20;
  public static final int ModuleSource = 21;
  public static final int NodeListSource = 22;
  public static final int NodeSource = 23;
  public static final int ProjectSource = 24;
  public static final int Project_Parameter = 25;
  public static final int RunConfiguration = 26;
  public static final int RunConfigurationCreator = 27;
  public static final int RunConfigurationExecutor = 28;
  public static final int RunConfigurationKind = 29;
  public static final int RunConfigurationProducer = 30;
  public static final int RunConfigurationProducerPart = 31;
  public static final int RunConfigurationSource = 32;
  public static final int RunConfigurationType = 33;
  public static final int SModelSource = 34;
  public static final int SModuleSource = 35;
  public static final int Source_ConceptFunctionParameter = 36;
  public static final int StartProcessHandlerStatement = 37;

  public LanguageConceptSwitch() {
    LanguageConceptIndexBuilder builder = new LanguageConceptIndexBuilder(0x22e72e4c0f6946ceL, 0x84036750153aa615L);
    builder.put(0x2153d8f1c1f52479L, AbstractRunConfigurationExecutor);
    builder.put(0x61a8be33d403b7bfL, BeforeTask);
    builder.put(0x5ae6ebde781f1fd8L, BeforeTaskCall);
    builder.put(0x5ae6ebde781f8014L, BeforeTaskParameter);
    builder.put(0x5ae6ebde781fd3c0L, BeforeTaskParameterReference);
    builder.put(0x6c55c13f5bcac62fL, ConfigurationFromExecutorReference);
    builder.put(0x42b01609553bb8d3L, Configuration_Parameter);
    builder.put(0x161fc6929dd24a8aL, ConsoleCreator);
    builder.put(0x161fc6929dd1ac93L, ConsoleType);
    builder.put(0x42b01609553ff07fL, ContextConfiguration_Parameter);
    builder.put(0x6a69999da766290fL, ContextExpression);
    builder.put(0x3c97fcb79c84cdc3L, Create_ConceptFunction);
    builder.put(0x42d74d4aa8cbc400L, DebuggerSettings_Parameter);
    builder.put(0x1e454b508a60997cL, DummyRunConfigurationInitializer);
    builder.put(0x7664b739387f64L, EnvironmentExpression);
    builder.put(0x220f4a2c4aff4248L, ExecuteBeforeTask_ConceptFunction);
    builder.put(0x5532ce3cbd91002cL, ExecuteConfiguration_Function);
    builder.put(0x28470a6f6e7e49eL, Executor_Parameter);
    builder.put(0x4bafca3d818c1d2aL, GetProjectOperation);
    builder.put(0x490c79b029c39076L, IsConfigurationFromContext_ConceptFunction);
    builder.put(0x6552f0adf299246dL, ModelSource);
    builder.put(0x6552f0adf2992470L, ModuleSource);
    builder.put(0x6552f0adf299246fL, NodeListSource);
    builder.put(0x6552f0adf2992471L, NodeSource);
    builder.put(0x6552f0adf299246eL, ProjectSource);
    builder.put(0x6aa58a34eb0efa2dL, Project_Parameter);
    builder.put(0x2153d8f1c1f46e49L, RunConfiguration);
    builder.put(0x328e81d9f20cd1deL, RunConfigurationCreator);
    builder.put(0x6c55c13f5bc8e1ecL, RunConfigurationExecutor);
    builder.put(0x2153d8f1c1f46e4aL, RunConfigurationKind);
    builder.put(0x3c97fcb79c842305L, RunConfigurationProducer);
    builder.put(0x3c97fcb79c84cda6L, RunConfigurationProducerPart);
    builder.put(0x3c97fcb79c84af96L, RunConfigurationSource);
    builder.put(0x3d4448ebeaf86568L, RunConfigurationType);
    builder.put(0x3e34888186184223L, SModelSource);
    builder.put(0x3e34888186187479L, SModuleSource);
    builder.put(0x328e81d9f2097e87L, Source_ConceptFunctionParameter);
    builder.put(0xd244b712f9d44d1L, StartProcessHandlerStatement);
    myIndex = builder.seal();
  }

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

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