loom
1/*
2MIT License
3
4Copyright (c) 2019 МГТУ им. Н.Э. Баумана, кафедра ИУ-6, Михаил Фетисов,
5
6https://bmstu.codes/lsx/simodo
7*/
8
9#include "simodo/parser/fuze/FuzeOperationCode.h"
10
11namespace simodo::parser
12{
13const char * getOperationCodeName(FuzeOperationCode op) noexcept
14{
15switch(op)
16{
17case FuzeOperationCode::None:
18return "None";
19case FuzeOperationCode::Main:
20return "Main";
21case FuzeOperationCode::GlobalScript:
22return "GlobalScript";
23case FuzeOperationCode::Production:
24return "Production";
25case FuzeOperationCode::Production_Pattern:
26return "Production_Pattern";
27case FuzeOperationCode::Production_Direction:
28return "Production_Direction";
29case FuzeOperationCode::Production_Script:
30return "Production_Script";
31default:
32return "***";
33}
34}
35
36}