loom
1/*
2MIT License
3
4Copyright (c) 2021 МГТУ им. Н.Э. Баумана, кафедра ИУ-6, Михаил Фетисов,
5
6https://bmstu.codes/lsx/simodo
7*/
8
9#include "simodo/inout/token/TokenQualification.h"
10
11
12namespace simodo::inout
13{
14const char * getQualificationName(TokenQualification qua)
15{
16switch(qua)
17{
18case TokenQualification::None:
19return "None";
20case TokenQualification::Keyword:
21return "Keyword";
22case TokenQualification::Integer:
23return "Integer";
24case TokenQualification::RealNumber:
25return "RealNumber";
26case TokenQualification::NewLine:
27return "NewLine";
28case TokenQualification::NationalCharacterUse:
29return "NationalCharacterUse";
30case TokenQualification::NationalCharacterMix:
31return "NationalCharacterMix";
32case TokenQualification::UnknownCharacterSet:
33return "UnknownCharacterSet";
34case TokenQualification::NotANumber:
35return "NotANumber";
36default:
37return "*****";
38}
39}
40
41}