-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathgetcolormaptss.cpp
More file actions
68 lines (50 loc) · 45.5 KB
/
getcolormaptss.cpp
File metadata and controls
68 lines (50 loc) · 45.5 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
#include "getcolormaptss.h"
GetColorMapTSs::GetColorMapTSs() {}
std::unordered_map<QString, int> GetColorMapTSs::GetPython(){
return {{"identifier", 3}, {"decorator", 5}, {"decorator/.CodeWiz./identifier", 5}, {"call", 5}, {"call/.CodeWiz./identifier", 5}, {"abs", 5}, {"abs/.CodeWiz./all", 5}, {"all", 5}, {"all/.CodeWiz./any", 5}, {"any", 5}, {"any/.CodeWiz./ascii", 5}, {"ascii", 5}, {"ascii/.CodeWiz./bin", 5}, {"bin", 5}, {"bin/.CodeWiz./bool", 5}, {"bool", 5}, {"bool/.CodeWiz./breakpoint", 5}, {"breakpoint", 5}, {"breakpoint/.CodeWiz./bytearray", 5}, {"bytearray", 5}, {"bytearray/.CodeWiz./bytes", 5}, {"bytes", 5}, {"bytes/.CodeWiz./callable", 5}, {"callable", 5}, {"callable/.CodeWiz./chr", 5}, {"chr", 5}, {"chr/.CodeWiz./classmethod", 5}, {"classmethod", 5}, {"classmethod/.CodeWiz./compile", 5}, {"compile", 5}, {"compile/.CodeWiz./complex", 5}, {"complex", 5}, {"complex/.CodeWiz./delattr", 5}, {"delattr", 5}, {"delattr/.CodeWiz./dict", 5}, {"dict", 5}, {"dict/.CodeWiz./dir", 5}, {"dir", 5}, {"dir/.CodeWiz./divmod", 5}, {"divmod", 5}, {"divmod/.CodeWiz./enumerate", 5}, {"enumerate", 5}, {"enumerate/.CodeWiz./eval", 5}, {"eval", 5}, {"eval/.CodeWiz./exec", 5}, {"exec", 5}, {"exec/.CodeWiz./filter", 5}, {"filter", 5}, {"filter/.CodeWiz./float", 5}, {"float", 5}, {"float/.CodeWiz./format", 5}, {"format", 5}, {"format/.CodeWiz./frozenset", 5}, {"frozenset", 5}, {"frozenset/.CodeWiz./getattr", 5}, {"getattr", 5}, {"getattr/.CodeWiz./globals", 5}, {"globals", 5}, {"globals/.CodeWiz./hasattr", 5}, {"hasattr", 5}, {"hasattr/.CodeWiz./hash", 5}, {"hash", 5}, {"hash/.CodeWiz./help", 5}, {"help", 5}, {"help/.CodeWiz./hex", 5}, {"hex", 5}, {"hex/.CodeWiz./id", 5}, {"id", 5}, {"id/.CodeWiz./input", 5}, {"input", 5}, {"input/.CodeWiz./int", 5}, {"int", 5}, {"int/.CodeWiz./isinstance", 5}, {"isinstance", 5}, {"isinstance/.CodeWiz./issubclass", 5}, {"issubclass", 5}, {"issubclass/.CodeWiz./iter", 5}, {"iter", 5}, {"iter/.CodeWiz./len", 5}, {"len", 5}, {"len/.CodeWiz./list", 5}, {"list", 5}, {"list/.CodeWiz./locals", 5}, {"locals", 5}, {"locals/.CodeWiz./map", 5}, {"map", 5}, {"map/.CodeWiz./max", 5}, {"max", 5}, {"max/.CodeWiz./memoryview", 5}, {"memoryview", 5}, {"memoryview/.CodeWiz./min", 5}, {"min", 5}, {"min/.CodeWiz./next", 5}, {"next", 5}, {"next/.CodeWiz./object", 5}, {"object", 5}, {"object/.CodeWiz./oct", 5}, {"oct", 5}, {"oct/.CodeWiz./open", 5}, {"open", 5}, {"open/.CodeWiz./ord", 5}, {"ord", 5}, {"ord/.CodeWiz./pow", 5}, {"pow", 5}, {"pow/.CodeWiz./print", 5}, {"print", 5}, {"print/.CodeWiz./property", 5}, {"property", 5}, {"property/.CodeWiz./range", 5}, {"range", 5}, {"range/.CodeWiz./repr", 5}, {"repr", 5}, {"repr/.CodeWiz./reversed", 5}, {"reversed", 5}, {"reversed/.CodeWiz./round", 5}, {"round", 5}, {"round/.CodeWiz./set", 5}, {"set", 5}, {"set/.CodeWiz./setattr", 5}, {"setattr", 5}, {"setattr/.CodeWiz./slice", 5}, {"slice", 5}, {"slice/.CodeWiz./sorted", 5}, {"sorted", 5}, {"sorted/.CodeWiz./staticmethod", 5}, {"staticmethod", 5}, {"staticmethod/.CodeWiz./str", 5}, {"str", 5}, {"str/.CodeWiz./sum", 5}, {"sum", 5}, {"sum/.CodeWiz./super", 5}, {"super", 5}, {"super/.CodeWiz./tuple", 5}, {"tuple", 5}, {"tuple/.CodeWiz./type", 5}, {"type", 5}, {"type/.CodeWiz./vars", 5}, {"vars", 5}, {"vars/.CodeWiz./zip", 5}, {"zip", 5}, {"zip/.CodeWiz./__import__", 5}, {"__import__", 5}, {"__import__/.CodeWiz./function_definition", 5}, {"function_definition", 5}, {"function_definition/.CodeWiz./identifier", 5}, {"none/.CodeWiz./true", 3}, {"true/.CodeWiz./false", 3}, {"integer", 8}, {"integer/.CodeWiz./float", 8}, {"comment", 2}, {"string", 1}, {"escape_sequence", 1}, {"interpolation", 7}, {"interpolation/.CodeWiz./{", 7}, {"{", 7}, {"}", 7}, {"-", 7}, {"-/.CodeWiz./-=", 7}, {"-=", 7}, {"-=/.CodeWiz./!=", 7}, {"!=", 7}, {"!=/.CodeWiz./*", 7}, {"*", 7}, {"*/.CodeWiz./**", 7}, {"**", 7}, {"**/.CodeWiz./**=", 7}, {"**=", 7}, {"**=/.CodeWiz./*=", 7}, {"*=", 7}, {"*=/.CodeWiz.//", 7}, {"/", 7}, {"//.CodeWiz.///", 7}, {"//", 7}, {"///.CodeWiz.///=", 7}, {"//=", 7}, {"//=/.CodeWiz.//=", 7}, {"/=", 7}, {"/=/.CodeWiz./&", 7}, {"&", 7}, {"&/.CodeWiz./&=", 7}, {"&=", 7}, {"&=/.CodeWiz./%", 7}, {"%", 7}, {"%/.CodeWiz./%=", 7}, {"%=", 7}, {"%=/.CodeWiz./^", 7}, {"^", 7}, {"^/.CodeWiz./^=", 7}, {"^=", 7}, {"^=/.CodeWiz./+", 7}, {"+", 7}, {"+/.CodeWiz./->", 7}, {"->", 7}, {"->/.CodeWiz./+=", 7}, {"+=", 7}, {"+=/.CodeWiz./<", 7}, {"<", 7}, {"</.CodeWiz./<<", 7}, {"<<", 7}, {"<</.CodeWiz./<<=", 7}, {"<<=", 7}, {"<<=/.CodeWiz./<=", 7}, {"<=", 7}, {"<=/.CodeWiz./<>", 7}, {"<>", 7}, {"<>/.CodeWiz./=", 7}, {"=", 7}, {"=/.CodeWiz./:=", 7}, {":=", 7}, {":=/.CodeWiz./==", 7}, {"==", 7}, {"==/.CodeWiz./>", 7}, {">", 7}, {">/.CodeWiz./>=", 7}, {">=", 7}, {">=/.CodeWiz./>>", 7}, {">>", 7}, {">>/.CodeWiz./>>=", 7}, {">>=", 7}, {">>=/.CodeWiz./|", 7}, {"|", 7}, {"|/.CodeWiz./|=", 7}, {"|=", 7}, {"|=/.CodeWiz./~", 7}, {"~", 7}, {"~/.CodeWiz./@=", 7}, {"@=", 7}, {"@=/.CodeWiz./and", 7}, {"and", 7}, {"and/.CodeWiz./in", 7}, {"in", 7}, {"in/.CodeWiz./is", 7}, {"is", 7}, {"is/.CodeWiz./not", 7}, {"not", 7}, {"not/.CodeWiz./or", 7}, {"or", 7}, {"or/.CodeWiz./is not", 7}, {"is not", 7}, {"is not/.CodeWiz./not in", 7}, {"not in", 7}, {"as", 6}, {"as/.CodeWiz./assert", 6}, {"assert", 6}, {"assert/.CodeWiz./async", 6}, {"async", 6}, {"async/.CodeWiz./await", 6}, {"await", 6}, {"await/.CodeWiz./break", 6}, {"break", 6}, {"break/.CodeWiz./class", 6}, {"class", 6}, {"class/.CodeWiz./continue", 6}, {"continue", 6}, {"continue/.CodeWiz./def", 6}, {"def", 6}, {"def/.CodeWiz./del", 6}, {"del", 6}, {"del/.CodeWiz./elif", 6}, {"elif", 6}, {"elif/.CodeWiz./else", 6}, {"else", 6}, {"else/.CodeWiz./except", 6}, {"except", 6}, {"except/.CodeWiz./exec", 6}, {"exec/.CodeWiz./finally", 6}, {"finally", 6}, {"finally/.CodeWiz./for", 6}, {"for", 6}, {"for/.CodeWiz./from", 6}, {"from", 6}, {"from/.CodeWiz./global", 6}, {"global", 6}, {"global/.CodeWiz./if", 6}, {"if", 6}, {"if/.CodeWiz./import", 6}, {"import", 6}, {"import/.CodeWiz./lambda", 6}, {"lambda", 6}, {"lambda/.CodeWiz./nonlocal", 6}, {"nonlocal", 6}, {"nonlocal/.CodeWiz./pass", 6}, {"pass", 6}, {"pass/.CodeWiz./print", 6}, {"print/.CodeWiz./raise", 6}, {"raise", 6}, {"raise/.CodeWiz./return", 6}, {"return", 6}, {"return/.CodeWiz./try", 6}, {"try", 6}, {"try/.CodeWiz./while", 6}, {"while", 6}, {"while/.CodeWiz./with", 6}, {"with", 6}, {"with/.CodeWiz./yield", 6}, {"yield", 6}, {"yield/.CodeWiz./match", 6}, {"match", 6}, {"match/.CodeWiz./case", 6}, {"case", 6}};
}
std::unordered_map<QString, int> GetColorMapTSs::GetRust(){
return {{"type_identifier", 4}, {"primitive_type", 4}, {"field_identifier", 4}, {"identifier", 3}, {"scoped_identifier", 4}, {"scoped_identifier/.CodeWiz./identifier", 4}, {"scoped_type_identifier", 4}, {"scoped_type_identifier/.CodeWiz./identifier", 4}, {"scoped_type_identifier/.CodeWiz./scoped_identifier", 4}, {"struct_pattern/.CodeWiz./scoped_type_identifier", 3}, {"scoped_type_identifier/.CodeWiz./type_identifier", 3}, {"call_expression", 5}, {"call_expression/.CodeWiz./identifier", 5}, {"call_expression/.CodeWiz./field_expression", 5}, {"field_expression/.CodeWiz./field_identifier", 5}, {"call_expression/.CodeWiz./scoped_identifier", 5}, {"scoped_identifier/.CodeWiz./::", 5}, {"::", 5}, {"::/.CodeWiz./identifier", 5}, {"generic_function", 5}, {"generic_function/.CodeWiz./identifier", 5}, {"generic_function/.CodeWiz./scoped_identifier", 5}, {"generic_function/.CodeWiz./field_expression", 5}, {"macro_invocation", 5}, {"macro_invocation/.CodeWiz./identifier", 5}, {"!", 5}, {"line_comment", 2}, {"block_comment", 2}, {"doc_comment", 2}, {"(", 7}, {")", 7}, {"[", 7}, {"]", 7}, {"{", 7}, {"}", 7}, {"type_arguments", 7}, {"type_arguments/.CodeWiz./<", 7}, {"<", 7}, {">", 7}, {"type_parameters", 7}, {"type_parameters/.CodeWiz./<", 7}, {":", 7}, {".", 7}, {",", 7}, {";", 7}, {"as", 6}, {"async", 6}, {"await", 6}, {"break", 6}, {"const", 6}, {"continue", 6}, {"default", 6}, {"dyn", 6}, {"else", 6}, {"enum", 6}, {"extern", 6}, {"fn", 6}, {"for", 6}, {"gen", 6}, {"if", 6}, {"impl", 6}, {"in", 6}, {"let", 6}, {"loop", 6}, {"macro_rules!", 6}, {"match", 6}, {"mod", 6}, {"move", 6}, {"pub", 6}, {"raw", 6}, {"ref", 6}, {"return", 6}, {"static", 6}, {"struct", 6}, {"trait", 6}, {"type", 6}, {"union", 6}, {"unsafe", 6}, {"use", 6}, {"where", 6}, {"while", 6}, {"yield", 6}, {"crate", 6}, {"mutable_specifier", 6}, {"self", 6}, {"super", 6}, {"char_literal", 1}, {"string_literal", 1}, {"raw_string_literal", 1}, {"boolean_literal", 3}, {"integer_literal", 3}, {"float_literal", 3}, {"escape_sequence", 1}, {"attribute_item", 4}, {"inner_attribute_item", 4}, {"*", 7}, {"&", 7}, {"'", 7}};
}
std::unordered_map<QString, int> GetColorMapTSs::GetWGSL(){
return {{"int_literal", 8}, {"float_literal", 8}, {"bool_literal", 8}, {"bool/.CodeWiz./u32", 4}, {"u32/.CodeWiz./i32", 4}, {"i32/.CodeWiz./f16", 4}, {"f16/.CodeWiz./f32", 4}, {"type_declaration", 4}, {"function_declaration", 5}, {"function_declaration/.CodeWiz./identifier", 5}, {"identifier", 5}, {"parameter", 4}, {"parameter/.CodeWiz./identifier", 4}, {"struct_declaration", 3}, {"struct_declaration/.CodeWiz./identifier", 3}, {"attribute", 4}, {"attribute/.CodeWiz./identifier", 4}, {"type_constructor_or_function_call_expression", 5}, {"type_constructor_or_function_call_expression/.CodeWiz./type_declaration", 5}, {"struct", 6}, {"struct/.CodeWiz./bitcast", 6}, {"bitcast", 6}, {"bitcast/.CodeWiz./discard", 6}, {"discard", 6}, {"discard/.CodeWiz./enable", 6}, {"enable", 6}, {"enable/.CodeWiz./fallthrough", 6}, {"fallthrough", 6}, {"fallthrough/.CodeWiz./let", 6}, {"let", 6}, {"let/.CodeWiz./type", 6}, {"type", 6}, {"type/.CodeWiz./var", 6}, {"var", 6}, {"var/.CodeWiz./override", 6}, {"override", 6}, {"override/.CodeWiz./texel_format", 6}, {"texel_format", 6}, {"private", 4}, {"private/.CodeWiz./storage", 4}, {"storage", 4}, {"storage/.CodeWiz./uniform", 4}, {"uniform", 4}, {"uniform/.CodeWiz./workgroup", 4}, {"workgroup", 4}, {"read", 4}, {"read/.CodeWiz./read_write", 4}, {"read_write", 4}, {"read_write/.CodeWiz./write", 4}, {"write", 4}, {"fn", 6}, {"return", 6}, {",/.CodeWiz./.", 7}, {"./.CodeWiz./:", 7}, {":/.CodeWiz./;", 7}, {";/.CodeWiz./->", 7}, {"(/.CodeWiz./)", 7}, {")/.CodeWiz./[", 7}, {"[/.CodeWiz./]", 7}, {"]/.CodeWiz./{", 7}, {"{/.CodeWiz./}", 7}, {"loop", 5}, {"loop/.CodeWiz./for", 5}, {"for", 5}, {"for/.CodeWiz./while", 5}, {"while", 5}, {"while/.CodeWiz./break", 5}, {"break", 5}, {"break/.CodeWiz./continue", 5}, {"continue", 5}, {"continue/.CodeWiz./continuing", 5}, {"continuing", 5}, {"if", 6}, {"if/.CodeWiz./else", 6}, {"else", 6}, {"else/.CodeWiz./switch", 6}, {"switch", 6}, {"switch/.CodeWiz./case", 6}, {"case", 6}, {"case/.CodeWiz./default", 6}, {"default", 6}, {"&", 7}, {"&/.CodeWiz./&&", 7}, {"&&", 7}, {"&&/.CodeWiz.//", 7}, {"/", 7}, {"//.CodeWiz./!", 7}, {"!", 7}, {"!/.CodeWiz./=", 7}, {"=", 7}, {"=/.CodeWiz./==", 7}, {"==", 7}, {"==/.CodeWiz./!=", 7}, {"!=", 7}, {"!=/.CodeWiz./>", 7}, {">", 7}, {">/.CodeWiz./>=", 7}, {">=", 7}, {">=/.CodeWiz./>>", 7}, {">>", 7}, {">>/.CodeWiz./<", 7}, {"<", 7}, {"</.CodeWiz./<=", 7}, {"<=", 7}, {"<=/.CodeWiz./<<", 7}, {"<<", 7}, {"<</.CodeWiz./%", 7}, {"%", 7}, {"%/.CodeWiz./-", 7}, {"-", 7}, {"-/.CodeWiz./+", 7}, {"+", 7}, {"+/.CodeWiz./|", 7}, {"|", 7}, {"|/.CodeWiz./||", 7}, {"||", 7}, {"||/.CodeWiz./*", 7}, {"*", 7}, {"*/.CodeWiz./~", 7}, {"~", 7}, {"~/.CodeWiz./^", 7}, {"^", 7}, {"^/.CodeWiz./@", 7}, {"@", 7}, {"@/.CodeWiz./++", 7}, {"++", 7}, {"++/.CodeWiz./--", 7}, {"--", 7}, {"line_comment", 2}, {"line_comment/.CodeWiz./block_comment", 2}, {"block_comment", 2}, {"ERROR", 6}};
}
std::unordered_map<QString, int> GetColorMapTSs::GetCpp(){
return {{"call_expression/.CodeWiz./qualified_identifier", 5}, {"qualified_identifier/.CodeWiz./identifier", 5}, {"template_function/.CodeWiz./identifier", 5}, {"template_method/.CodeWiz./field_identifier", 5}, {"function_declarator/.CodeWiz./qualified_identifier", 5}, {"function_declarator", 5}, {"function_declarator/.CodeWiz./field_identifier", 5}, {"field_identifier", 5}, {"namespace_identifier", 4}, {"auto", 4}, {"this", 3}, {"nullptr", 3}, {"catch", 6}, {"catch/.CodeWiz./class", 6}, {"class", 6}, {"class/.CodeWiz./co_await", 6}, {"co_await", 6}, {"co_await/.CodeWiz./co_return", 6}, {"co_return", 6}, {"co_return/.CodeWiz./co_yield", 6}, {"co_yield", 6}, {"co_yield/.CodeWiz./constexpr", 6}, {"constexpr", 6}, {"constexpr/.CodeWiz./constinit", 6}, {"constinit", 6}, {"constinit/.CodeWiz./consteval", 6}, {"consteval", 6}, {"consteval/.CodeWiz./delete", 6}, {"delete", 6}, {"delete/.CodeWiz./explicit", 6}, {"explicit", 6}, {"explicit/.CodeWiz./final", 6}, {"final", 6}, {"final/.CodeWiz./friend", 6}, {"friend", 6}, {"friend/.CodeWiz./mutable", 6}, {"mutable", 6}, {"mutable/.CodeWiz./namespace", 6}, {"namespace", 6}, {"namespace/.CodeWiz./noexcept", 6}, {"noexcept", 6}, {"noexcept/.CodeWiz./new", 6}, {"new", 6}, {"new/.CodeWiz./override", 6}, {"override", 6}, {"override/.CodeWiz./private", 6}, {"private", 6}, {"private/.CodeWiz./protected", 6}, {"protected", 6}, {"protected/.CodeWiz./public", 6}, {"public", 6}, {"public/.CodeWiz./template", 6}, {"template", 6}, {"template/.CodeWiz./throw", 6}, {"throw", 6}, {"throw/.CodeWiz./try", 6}, {"try", 6}, {"try/.CodeWiz./typename", 6}, {"typename", 6}, {"typename/.CodeWiz./using", 6}, {"using", 6}, {"using/.CodeWiz./concept", 6}, {"concept", 6}, {"concept/.CodeWiz./requires", 6}, {"requires", 6}, {"requires/.CodeWiz./virtual", 6}, {"virtual", 6}, {"raw_string_literal", 1}, {"identifier", 3}, {"break", 6}, {"case", 6}, {"const", 6}, {"continue", 6}, {"default", 6}, {"do", 6}, {"else", 6}, {"enum", 6}, {"extern", 6}, {"for", 6}, {"if", 6}, {"inline", 6}, {"return", 6}, {"sizeof", 6}, {"static", 6}, {"struct", 6}, {"switch", 6}, {"typedef", 6}, {"union", 6}, {"volatile", 6}, {"while", 6}, {"#define", 6}, {"#elif", 6}, {"#else", 6}, {"#endif", 6}, {"#if", 6}, {"#ifdef", 6}, {"#ifndef", 6}, {"#include", 6}, {"preproc_directive", 6}, {"--", 7}, {"-", 7}, {"-=", 7}, {"->", 7}, {"=", 7}, {"!=", 7}, {"*", 7}, {"&", 7}, {"&&", 7}, {"+", 7}, {"++", 7}, {"+=", 7}, {"<", 7}, {"==", 7}, {">", 7}, {"||", 7}, {".", 7}, {";", 7}, {"string_literal", 1}, {"system_lib_string", 1}, {"null", 3}, {"number_literal", 8}, {"char_literal", 8}, {"statement_identifier", 4}, {"type_identifier", 4}, {"primitive_type", 4}, {"sized_type_specifier", 4}, {"call_expression", 5}, {"call_expression/.CodeWiz./identifier", 5}, {"call_expression/.CodeWiz./field_expression", 5}, {"field_expression/.CodeWiz./field_identifier", 5}, {"function_declarator/.CodeWiz./identifier", 5}, {"preproc_function_def/.CodeWiz./identifier", 5}, {"comment", 2}};
}
std::unordered_map<QString, int> GetColorMapTSs::GetTxt(){
return {};
}
std::unordered_map<QString, int> GetColorMapTSs::GetJs(){
return {{"identifier", 3}, {"property_identifier", 4}, {"function_expression/.CodeWiz./identifier", 5}, {"function_declaration/.CodeWiz./identifier", 5}, {"method_definition/.CodeWiz./property_identifier", 5}, {"pair", 5}, {"pair/.CodeWiz./property_identifier", 5}, {"function_expression/.CodeWiz./arrow_function", 5}, {"arrow_function/.CodeWiz./assignment_expression", 5}, {"assignment_expression/.CodeWiz./member_expression", 5}, {"member_expression/.CodeWiz./property_identifier", 5}, {"arrow_function/.CodeWiz./variable_declarator", 5}, {"variable_declarator/.CodeWiz./identifier", 5}, {"assignment_expression/.CodeWiz./identifier", 5}, {"arrow_function/.CodeWiz./call_expression", 5}, {"call_expression/.CodeWiz./identifier", 5}, {"call_expression/.CodeWiz./member_expression", 5}, {"identifier/.CodeWiz./shorthand_property_identifier", 3}, {"shorthand_property_identifier/.CodeWiz./shorthand_property_identifier_pattern", 3}, {"arguments", 3}, {"arguments/.CodeWiz./module", 3}, {"module", 3}, {"module/.CodeWiz./console", 3}, {"console", 3}, {"console/.CodeWiz./window", 3}, {"window", 3}, {"window/.CodeWiz./document", 3}, {"document", 3}, {"require", 5}, {"this", 3}, {"super", 3}, {"true/.CodeWiz./false", 3}, {"false/.CodeWiz./null", 3}, {"null/.CodeWiz./undefined", 3}, {"comment", 2}, {"string", 1}, {"string/.CodeWiz./template_string", 1}, {"template_string", 1}, {"regex", 1}, {"number", 8}, {";", 7}, {";/.CodeWiz./optional_chain", 7}, {"optional_chain", 7}, {"optional_chain/.CodeWiz./.", 7}, {".", 7}, {"./.CodeWiz./,", 7}, {",", 7}, {"-", 7}, {"-/.CodeWiz./--", 7}, {"--", 7}, {"--/.CodeWiz./-=", 7}, {"-=", 7}, {"-=/.CodeWiz./+", 7}, {"+", 7}, {"+/.CodeWiz./++", 7}, {"++", 7}, {"++/.CodeWiz./+=", 7}, {"+=", 7}, {"+=/.CodeWiz./*", 7}, {"*", 7}, {"*/.CodeWiz./*=", 7}, {"*=", 7}, {"*=/.CodeWiz./**", 7}, {"**", 7}, {"**/.CodeWiz./**=", 7}, {"**=", 7}, {"**=/.CodeWiz.//", 7}, {"/", 7}, {"//.CodeWiz.//=", 7}, {"/=", 7}, {"/=/.CodeWiz./%", 7}, {"%", 7}, {"%/.CodeWiz./%=", 7}, {"%=", 7}, {"%=/.CodeWiz./<", 7}, {"<", 7}, {"</.CodeWiz./<=", 7}, {"<=", 7}, {"<=/.CodeWiz./<<", 7}, {"<<", 7}, {"<</.CodeWiz./<<=", 7}, {"<<=", 7}, {"<<=/.CodeWiz./=", 7}, {"=", 7}, {"=/.CodeWiz./==", 7}, {"==", 7}, {"==/.CodeWiz./===", 7}, {"===", 7}, {"===/.CodeWiz./!", 7}, {"!", 7}, {"!/.CodeWiz./!=", 7}, {"!=", 7}, {"!=/.CodeWiz./!==", 7}, {"!==", 7}, {"!==/.CodeWiz./=>", 7}, {"=>", 7}, {"=>/.CodeWiz./>", 7}, {">", 7}, {">/.CodeWiz./>=", 7}, {">=", 7}, {">=/.CodeWiz./>>", 7}, {">>", 7}, {">>/.CodeWiz./>>=", 7}, {">>=", 7}, {">>=/.CodeWiz./>>>", 7}, {">>>", 7}, {">>>/.CodeWiz./>>>=", 7}, {">>>=", 7}, {">>>=/.CodeWiz./~", 7}, {"~", 7}, {"~/.CodeWiz./^", 7}, {"^", 7}, {"^/.CodeWiz./&", 7}, {"&", 7}, {"&/.CodeWiz./|", 7}, {"|", 7}, {"|/.CodeWiz./^=", 7}, {"^=", 7}, {"^=/.CodeWiz./&=", 7}, {"&=", 7}, {"&=/.CodeWiz./|=", 7}, {"|=", 7}, {"|=/.CodeWiz./&&", 7}, {"&&", 7}, {"&&/.CodeWiz./||", 7}, {"||", 7}, {"||/.CodeWiz./??", 7}, {"??", 7}, {"??/.CodeWiz./&&=", 7}, {"&&=", 7}, {"&&=/.CodeWiz./||=", 7}, {"||=", 7}, {"||=/.CodeWiz./??=", 7}, {"??=", 7}, {"(", 7}, {"(/.CodeWiz./)", 7}, {")", 7}, {")/.CodeWiz./[", 7}, {"[", 7}, {"[/.CodeWiz./]", 7}, {"]", 7}, {"]/.CodeWiz./{", 7}, {"{", 7}, {"{/.CodeWiz./}", 7}, {"}", 7}, {"template_substitution", 7}, {"template_substitution/.CodeWiz./${", 7}, {"${", 7}, {"as", 6}, {"as/.CodeWiz./async", 6}, {"async", 6}, {"async/.CodeWiz./await", 6}, {"await", 6}, {"await/.CodeWiz./break", 6}, {"break", 6}, {"break/.CodeWiz./case", 6}, {"case", 6}, {"case/.CodeWiz./catch", 6}, {"catch", 6}, {"catch/.CodeWiz./class", 6}, {"class", 6}, {"class/.CodeWiz./const", 6}, {"const", 6}, {"const/.CodeWiz./continue", 6}, {"continue", 6}, {"continue/.CodeWiz./debugger", 6}, {"debugger", 6}, {"debugger/.CodeWiz./default", 6}, {"default", 6}, {"default/.CodeWiz./delete", 6}, {"delete", 6}, {"delete/.CodeWiz./do", 6}, {"do", 6}, {"do/.CodeWiz./else", 6}, {"else", 6}, {"else/.CodeWiz./export", 6}, {"export", 6}, {"export/.CodeWiz./extends", 6}, {"extends", 6}, {"extends/.CodeWiz./finally", 6}, {"finally", 6}, {"finally/.CodeWiz./for", 6}, {"for", 6}, {"for/.CodeWiz./from", 6}, {"from", 6}, {"from/.CodeWiz./function", 6}, {"function", 6}, {"function/.CodeWiz./get", 6}, {"get", 6}, {"get/.CodeWiz./if", 6}, {"if", 6}, {"if/.CodeWiz./import", 6}, {"import", 6}, {"import/.CodeWiz./in", 6}, {"in", 6}, {"in/.CodeWiz./instanceof", 6}, {"instanceof", 6}, {"instanceof/.CodeWiz./let", 6}, {"let", 6}, {"let/.CodeWiz./new", 6}, {"new", 6}, {"new/.CodeWiz./of", 6}, {"of", 6}, {"of/.CodeWiz./return", 6}, {"return", 6}, {"return/.CodeWiz./set", 6}, {"set", 6}, {"set/.CodeWiz./static", 6}, {"static", 6}, {"static/.CodeWiz./switch", 6}, {"switch", 6}, {"switch/.CodeWiz./target", 6}, {"target", 6}, {"target/.CodeWiz./throw", 6}, {"throw", 6}, {"throw/.CodeWiz./try", 6}, {"try", 6}, {"try/.CodeWiz./typeof", 6}, {"typeof", 6}, {"typeof/.CodeWiz./var", 6}, {"var", 6}, {"var/.CodeWiz./void", 6}, {"void", 6}, {"void/.CodeWiz./while", 6}, {"while", 6}, {"while/.CodeWiz./with", 6}, {"with", 6}, {"with/.CodeWiz./yield", 6}, {"yield", 6}, {"expression_statement/.CodeWiz./undefined", 6}};
}
std::unordered_map<QString, int> GetColorMapTSs::GetHTML(){
return {{"tag_name", 6}, {"erroneous_end_tag_name", 6}, {"doctype", 3}, {"attribute_name", 4}, {"attribute_value", 1}, {"comment", 2}, {"<", 7}, {"</.CodeWiz./>", 7}, {">", 7}, {">/.CodeWiz./</", 7}, {"</", 7}, {"<//.CodeWiz.//>", 7}, {"/>", 7}};
}
std::unordered_map<QString, int> GetColorMapTSs::GetGo(){
return {{"call_expression", 5}, {"call_expression/.CodeWiz./identifier", 5}, {"identifier", 3}, {"append", 5}, {"append/.CodeWiz./cap", 5}, {"cap", 5}, {"cap/.CodeWiz./close", 5}, {"close", 5}, {"close/.CodeWiz./complex", 5}, {"complex", 5}, {"complex/.CodeWiz./copy", 5}, {"copy", 5}, {"copy/.CodeWiz./delete", 5}, {"delete", 5}, {"delete/.CodeWiz./imag", 5}, {"imag", 5}, {"imag/.CodeWiz./len", 5}, {"len", 5}, {"len/.CodeWiz./make", 5}, {"make", 5}, {"make/.CodeWiz./new", 5}, {"new", 5}, {"new/.CodeWiz./panic", 5}, {"panic", 5}, {"panic/.CodeWiz./print", 5}, {"print", 5}, {"print/.CodeWiz./println", 5}, {"println", 5}, {"println/.CodeWiz./real", 5}, {"real", 5}, {"real/.CodeWiz./recover", 5}, {"recover", 5}, {"call_expression/.CodeWiz./selector_expression", 5}, {"selector_expression/.CodeWiz./field_identifier", 5}, {"function_declaration/.CodeWiz./identifier", 5}, {"method_declaration/.CodeWiz./field_identifier", 5}, {"type_identifier", 4}, {"field_identifier", 4}, {"--", 7}, {"--/.CodeWiz./-", 7}, {"-", 7}, {"-/.CodeWiz./-=", 7}, {"-=", 7}, {"-=/.CodeWiz./:=", 7}, {":=", 7}, {":=/.CodeWiz./!", 7}, {"!", 7}, {"!/.CodeWiz./!=", 7}, {"!=", 7}, {"!=/.CodeWiz./...", 7}, {"...", 7}, {".../.CodeWiz./*", 7}, {"*", 7}, {"*/.CodeWiz./*=", 7}, {"*=", 7}, {"*=/.CodeWiz.//", 7}, {"/", 7}, {"//.CodeWiz.//=", 7}, {"/=", 7}, {"/=/.CodeWiz./&", 7}, {"&", 7}, {"&/.CodeWiz./&&", 7}, {"&&", 7}, {"&&/.CodeWiz./&=", 7}, {"&=", 7}, {"&=/.CodeWiz./%", 7}, {"%", 7}, {"%/.CodeWiz./%=", 7}, {"%=", 7}, {"%=/.CodeWiz./^", 7}, {"^", 7}, {"^/.CodeWiz./^=", 7}, {"^=", 7}, {"^=/.CodeWiz./+", 7}, {"+", 7}, {"+/.CodeWiz./++", 7}, {"++", 7}, {"++/.CodeWiz./+=", 7}, {"+=", 7}, {"+=/.CodeWiz./<-", 7}, {"<-", 7}, {"<-/.CodeWiz./<", 7}, {"<", 7}, {"</.CodeWiz./<<", 7}, {"<<", 7}, {"<</.CodeWiz./<<=", 7}, {"<<=", 7}, {"<<=/.CodeWiz./<=", 7}, {"<=", 7}, {"<=/.CodeWiz./=", 7}, {"=", 7}, {"=/.CodeWiz./==", 7}, {"==", 7}, {"==/.CodeWiz./>", 7}, {">", 7}, {">/.CodeWiz./>=", 7}, {">=", 7}, {">=/.CodeWiz./>>", 7}, {">>", 7}, {">>/.CodeWiz./>>=", 7}, {">>=", 7}, {">>=/.CodeWiz./|", 7}, {"|", 7}, {"|/.CodeWiz./|=", 7}, {"|=", 7}, {"|=/.CodeWiz./||", 7}, {"||", 7}, {"||/.CodeWiz./~", 7}, {"~", 7}, {"break", 6}, {"break/.CodeWiz./case", 6}, {"case", 6}, {"case/.CodeWiz./chan", 6}, {"chan", 6}, {"chan/.CodeWiz./const", 6}, {"const", 6}, {"const/.CodeWiz./continue", 6}, {"continue", 6}, {"continue/.CodeWiz./default", 6}, {"default", 6}, {"default/.CodeWiz./defer", 6}, {"defer", 6}, {"defer/.CodeWiz./else", 6}, {"else", 6}, {"else/.CodeWiz./fallthrough", 6}, {"fallthrough", 6}, {"fallthrough/.CodeWiz./for", 6}, {"for", 6}, {"for/.CodeWiz./func", 6}, {"func", 6}, {"func/.CodeWiz./go", 6}, {"go", 6}, {"go/.CodeWiz./goto", 6}, {"goto", 6}, {"goto/.CodeWiz./if", 6}, {"if", 6}, {"if/.CodeWiz./import", 6}, {"import", 6}, {"import/.CodeWiz./interface", 6}, {"interface", 6}, {"interface/.CodeWiz./map", 6}, {"map", 6}, {"map/.CodeWiz./package", 6}, {"package", 6}, {"package/.CodeWiz./range", 6}, {"range", 6}, {"range/.CodeWiz./return", 6}, {"return", 6}, {"return/.CodeWiz./select", 6}, {"select", 6}, {"select/.CodeWiz./struct", 6}, {"struct", 6}, {"struct/.CodeWiz./switch", 6}, {"switch", 6}, {"switch/.CodeWiz./type", 6}, {"type", 6}, {"type/.CodeWiz./var", 6}, {"var", 6}, {"interpreted_string_literal/.CodeWiz./raw_string_literal", 1}, {"raw_string_literal/.CodeWiz./rune_literal", 1}, {"escape_sequence", 1}, {"int_literal/.CodeWiz./float_literal", 8}, {"float_literal/.CodeWiz./imaginary_literal", 8}, {"true/.CodeWiz./false", 3}, {"false/.CodeWiz./nil", 3}, {"nil/.CodeWiz./iota", 3}, {"comment", 2}};
}
std::unordered_map<QString, int> GetColorMapTSs::GetLua(){
return {{"if_start/.CodeWiz./if_then", 6}, {"if_then/.CodeWiz./if_elseif", 6}, {"if_elseif/.CodeWiz./if_else", 6}, {"if_else/.CodeWiz./if_end", 6}, {"for_start/.CodeWiz./for_in", 6}, {"for_in/.CodeWiz./for_do", 6}, {"for_do/.CodeWiz./for_end", 6}, {"while_start/.CodeWiz./while_do", 6}, {"while_do/.CodeWiz./while_end", 6}, {"repeat_start", 6}, {"repeat_start/.CodeWiz./repeat_until", 6}, {"repeat_until", 6}, {"break_statement", 6}, {"return_statement", 6}, {"return_statement/.CodeWiz./module_return_statement", 6}, {"module_return_statement", 6}, {"do_start", 6}, {"do_start/.CodeWiz./do_end", 6}, {"do_end", 6}, {"not", 6}, {"not/.CodeWiz./and", 6}, {"and", 6}, {"and/.CodeWiz./or", 6}, {"or", 6}, {"=", 7}, {"=/.CodeWiz./~=", 7}, {"~=", 7}, {"~=/.CodeWiz./==", 7}, {"==", 7}, {"==/.CodeWiz./<=", 7}, {"<=", 7}, {"<=/.CodeWiz./>=", 7}, {">=", 7}, {">=/.CodeWiz./<", 7}, {"<", 7}, {"</.CodeWiz./>", 7}, {">", 7}, {">/.CodeWiz./+", 7}, {"+", 7}, {"+/.CodeWiz./-", 7}, {"-", 7}, {"-/.CodeWiz./%", 7}, {"%", 7}, {"%/.CodeWiz.//", 7}, {"/", 7}, {"//.CodeWiz.///", 7}, {"//", 7}, {"///.CodeWiz./*", 7}, {"*", 7}, {"*/.CodeWiz./^", 7}, {"^", 7}, {"^/.CodeWiz./&", 7}, {"&", 7}, {"&/.CodeWiz./~", 7}, {"~", 7}, {"~/.CodeWiz./|", 7}, {"|", 7}, {"|/.CodeWiz./>>", 7}, {">>", 7}, {">>/.CodeWiz./<<", 7}, {"<<", 7}, {"<</.CodeWiz./..", 7}, {"..", 7}, {"../.CodeWiz./#", 7}, {"#", 7}, {",", 7}, {",/.CodeWiz./.", 7}, {".", 7}, {"left_paren", 7}, {"left_paren/.CodeWiz./right_paren", 7}, {"right_paren", 7}, {"right_paren/.CodeWiz./[", 7}, {"[", 7}, {"[/.CodeWiz./]", 7}, {"]", 7}, {"]/.CodeWiz./{", 7}, {"{", 7}, {"{/.CodeWiz./}", 7}, {"}", 7}, {"identifier", 3}, {"self", 3}, {"boolean", 8}, {"nil", 3}, {"ellipsis", 3}, {"local", 6}, {"function_call_paren", 7}, {"function_start", 6}, {"function_start/.CodeWiz./function_end", 6}, {"function_end", 6}, {"emmy_type", 4}, {"emmy_literal", 1}, {"emmy_parameter", 4}, {"emmy_parameter/.CodeWiz./identifier", 4}, {"_", 2}, {"emmy_class", 2}, {"emmy_function_parameter/.CodeWiz./_", 4}, {"emmy_note", 2}, {"emmy_see", 2}, {"emmy_return", 2}, {"emmy_header", 2}, {"emmy_ignore", 2}, {"documentation_brief", 2}, {"documentation_command", 2}, {"function_call/.CodeWiz./identifier", 5}, {"identifier/.CodeWiz./function_call_paren", 3}, {"function_call", 5}, {"string_argument", 1}, {"table_argument", 2}, {"table_argument/.CodeWiz./comment", 2}, {"comment", 2}, {"string", 1}, {"number", 8}, {"ERROR", 8}};
}
std::unordered_map<QString, int> GetColorMapTSs::GetCsharp(){
return {{"invocation_expression/.CodeWiz./identifier", 5}, {"member_access_expression/.CodeWiz./identifier", 5}, {"variable_declaration/.CodeWiz./identifier", 4}, {"identifier", 3}, {"predefined_type", 4}, {"real_literal", 8}, {"real_literal/.CodeWiz./integer_literal", 8}, {"integer_literal", 8}, {"character_literal/.CodeWiz./string_literal", 1}, {"string_literal/.CodeWiz./raw_string_literal", 1}, {"raw_string_literal/.CodeWiz./verbatim_string_literal", 1}, {"verbatim_string_literal/.CodeWiz./interpolated_string_expression", 1}, {"interpolated_string_expression/.CodeWiz./interpolation_start", 1}, {"interpolation_start/.CodeWiz./interpolation_quote", 1}, {"escape_sequence", 1}, {"boolean_literal", 3}, {"boolean_literal/.CodeWiz./null_literal", 3}, {"null_literal", 3}, {"comment", 2}, {";", 7}, {";/.CodeWiz./.", 7}, {".", 7}, {"./.CodeWiz./,", 7}, {",", 7}, {"--", 7}, {"--/.CodeWiz./-", 7}, {"-", 7}, {"-/.CodeWiz./-=", 7}, {"-=", 7}, {"-=/.CodeWiz./&", 7}, {"&", 7}, {"&/.CodeWiz./&=", 7}, {"&=", 7}, {"&=/.CodeWiz./&&", 7}, {"&&", 7}, {"&&/.CodeWiz./+", 7}, {"+", 7}, {"+/.CodeWiz./++", 7}, {"++", 7}, {"++/.CodeWiz./+=", 7}, {"+=", 7}, {"+=/.CodeWiz./<", 7}, {"<", 7}, {"</.CodeWiz./<=", 7}, {"<=", 7}, {"<=/.CodeWiz./<<", 7}, {"<<", 7}, {"<</.CodeWiz./<<=", 7}, {"<<=", 7}, {"<<=/.CodeWiz./=", 7}, {"=", 7}, {"=/.CodeWiz./==", 7}, {"==", 7}, {"==/.CodeWiz./!", 7}, {"!", 7}, {"!/.CodeWiz./!=", 7}, {"!=", 7}, {"!=/.CodeWiz./=>", 7}, {"=>", 7}, {"=>/.CodeWiz./>", 7}, {">", 7}, {">/.CodeWiz./>=", 7}, {">=", 7}, {">=/.CodeWiz./>>", 7}, {">>", 7}, {">>/.CodeWiz./>>=", 7}, {">>=", 7}, {">>=/.CodeWiz./>>>", 7}, {">>>", 7}, {">>>/.CodeWiz./>>>=", 7}, {">>>=", 7}, {">>>=/.CodeWiz./|", 7}, {"|", 7}, {"|/.CodeWiz./|=", 7}, {"|=", 7}, {"|=/.CodeWiz./||", 7}, {"||", 7}, {"||/.CodeWiz./?", 7}, {"?", 7}, {"?/.CodeWiz./??", 7}, {"??", 7}, {"??/.CodeWiz./??=", 7}, {"??=", 7}, {"??=/.CodeWiz./^", 7}, {"^", 7}, {"^/.CodeWiz./^=", 7}, {"^=", 7}, {"^=/.CodeWiz./~", 7}, {"~", 7}, {"~/.CodeWiz./*", 7}, {"*", 7}, {"*/.CodeWiz./*=", 7}, {"*=", 7}, {"*=/.CodeWiz.//", 7}, {"/", 7}, {"//.CodeWiz.//=", 7}, {"/=", 7}, {"/=/.CodeWiz./%", 7}, {"%", 7}, {"%/.CodeWiz./%=", 7}, {"%=", 7}, {"%=/.CodeWiz./:", 7}, {":", 7}, {"(", 7}, {"(/.CodeWiz./)", 7}, {")", 7}, {")/.CodeWiz./[", 7}, {"[", 7}, {"[/.CodeWiz./]", 7}, {"]", 7}, {"]/.CodeWiz./{", 7}, {"{", 7}, {"{/.CodeWiz./}", 7}, {"}", 7}, {"}/.CodeWiz./interpolation_brace", 7}, {"interpolation_brace", 7}, {"modifier", 6}, {"modifier/.CodeWiz./this", 6}, {"this", 6}, {"this/.CodeWiz./implicit_type", 6}, {"implicit_type", 6}, {"add", 6}, {"add/.CodeWiz./alias", 6}, {"alias", 6}, {"alias/.CodeWiz./as", 6}, {"as", 6}, {"as/.CodeWiz./base", 6}, {"base", 6}, {"base/.CodeWiz./break", 6}, {"break", 6}, {"break/.CodeWiz./case", 6}, {"case", 6}, {"case/.CodeWiz./catch", 6}, {"catch", 6}, {"catch/.CodeWiz./checked", 6}, {"checked", 6}, {"checked/.CodeWiz./class", 6}, {"class", 6}, {"class/.CodeWiz./continue", 6}, {"continue", 6}, {"continue/.CodeWiz./default", 6}, {"default", 6}, {"default/.CodeWiz./delegate", 6}, {"delegate", 6}, {"delegate/.CodeWiz./do", 6}, {"do", 6}, {"do/.CodeWiz./else", 6}, {"else", 6}, {"else/.CodeWiz./enum", 6}, {"enum", 6}, {"enum/.CodeWiz./event", 6}, {"event", 6}, {"event/.CodeWiz./explicit", 6}, {"explicit", 6}, {"explicit/.CodeWiz./extern", 6}, {"extern", 6}, {"extern/.CodeWiz./finally", 6}, {"finally", 6}, {"finally/.CodeWiz./for", 6}, {"for", 6}, {"for/.CodeWiz./foreach", 6}, {"foreach", 6}, {"foreach/.CodeWiz./global", 6}, {"global", 6}, {"global/.CodeWiz./goto", 6}, {"goto", 6}, {"goto/.CodeWiz./if", 6}, {"if", 6}, {"if/.CodeWiz./implicit", 6}, {"implicit", 6}, {"implicit/.CodeWiz./interface", 6}, {"interface", 6}, {"interface/.CodeWiz./is", 6}, {"is", 6}, {"is/.CodeWiz./lock", 6}, {"lock", 6}, {"lock/.CodeWiz./namespace", 6}, {"namespace", 6}, {"namespace/.CodeWiz./notnull", 6}, {"notnull", 6}, {"notnull/.CodeWiz./operator", 6}, {"operator", 6}, {"operator/.CodeWiz./params", 6}, {"params", 6}, {"params/.CodeWiz./return", 6}, {"return", 6}, {"return/.CodeWiz./remove", 6}, {"remove", 6}, {"remove/.CodeWiz./sizeof", 6}, {"sizeof", 6}, {"sizeof/.CodeWiz./stackalloc", 6}, {"stackalloc", 6}, {"stackalloc/.CodeWiz./static", 6}, {"static", 6}, {"static/.CodeWiz./struct", 6}, {"struct", 6}, {"struct/.CodeWiz./switch", 6}, {"switch", 6}, {"switch/.CodeWiz./throw", 6}, {"throw", 6}, {"throw/.CodeWiz./try", 6}, {"try", 6}, {"try/.CodeWiz./typeof", 6}, {"typeof", 6}, {"typeof/.CodeWiz./unchecked", 6}, {"unchecked", 6}, {"unchecked/.CodeWiz./using", 6}, {"using", 6}, {"using/.CodeWiz./while", 6}, {"while", 6}, {"while/.CodeWiz./new", 6}, {"new", 6}, {"new/.CodeWiz./await", 6}, {"await", 6}, {"await/.CodeWiz./in", 6}, {"in", 6}, {"in/.CodeWiz./yield", 6}, {"yield", 6}, {"yield/.CodeWiz./get", 6}, {"get", 6}, {"get/.CodeWiz./set", 6}, {"set", 6}, {"set/.CodeWiz./when", 6}, {"when", 6}, {"when/.CodeWiz./out", 6}, {"out", 6}, {"out/.CodeWiz./ref", 6}, {"ref", 6}, {"ref/.CodeWiz./from", 6}, {"from", 6}, {"from/.CodeWiz./where", 6}, {"where", 6}, {"where/.CodeWiz./select", 6}, {"select", 6}, {"select/.CodeWiz./record", 6}, {"record", 6}, {"record/.CodeWiz./init", 6}, {"init", 6}, {"init/.CodeWiz./with", 6}, {"with", 6}, {"with/.CodeWiz./let", 6}, {"let", 6}, {"parameter/.CodeWiz./identifier", 3}};
}
std::unordered_map<QString, int> GetColorMapTSs::GetGLSL(){
return {{"break", 6}, {"case", 6}, {"const", 6}, {"continue", 6}, {"default", 6}, {"do", 6}, {"else", 6}, {"enum", 6}, {"extern", 6}, {"for", 6}, {"if", 6}, {"inline", 6}, {"return", 6}, {"sizeof", 6}, {"static", 6}, {"struct", 6}, {"switch", 6}, {"typedef", 6}, {"union", 6}, {"volatile", 6}, {"while", 6}, {"#define", 6}, {"#elif", 6}, {"#else", 6}, {"#endif", 6}, {"#if", 6}, {"#ifdef", 6}, {"#ifndef", 6}, {"#include", 6}, {"preproc_directive", 6}, {"--", 7}, {"-", 7}, {"-=", 7}, {"->", 7}, {"=", 7}, {"!=", 7}, {"*", 7}, {"&", 7}, {"&&", 7}, {"+", 7}, {"++", 7}, {"+=", 7}, {"<", 7}, {"==", 7}, {">", 7}, {"||", 7}, {".", 7}, {";", 7}, {"string_literal", 1}, {"system_lib_string", 1}, {"null", 3}, {"number_literal", 8}, {"char_literal", 8}, {"call_expression", 5}, {"call_expression/.CodeWiz./identifier", 5}, {"identifier", 3}, {"call_expression/.CodeWiz./field_expression", 5}, {"field_expression/.CodeWiz./field_identifier", 5}, {"function_declarator", 5}, {"function_declarator/.CodeWiz./identifier", 5}, {"preproc_function_def/.CodeWiz./identifier", 5}, {"field_identifier", 4}, {"statement_identifier", 4}, {"type_identifier", 4}, {"primitive_type", 4}, {"sized_type_specifier", 4}, {"comment", 2}, {"in", 4}, {"in/.CodeWiz./out", 4}, {"out", 4}, {"out/.CodeWiz./inout", 4}, {"inout", 4}, {"inout/.CodeWiz./uniform", 4}, {"uniform", 4}, {"uniform/.CodeWiz./shared", 4}, {"shared", 4}, {"shared/.CodeWiz./layout", 4}, {"layout", 4}, {"layout/.CodeWiz./attribute", 4}, {"attribute", 4}, {"attribute/.CodeWiz./varying", 4}, {"varying", 4}, {"varying/.CodeWiz./buffer", 4}, {"buffer", 4}, {"buffer/.CodeWiz./coherent", 4}, {"coherent", 4}, {"coherent/.CodeWiz./readonly", 4}, {"readonly", 4}, {"readonly/.CodeWiz./writeonly", 4}, {"writeonly", 4}, {"writeonly/.CodeWiz./precision", 4}, {"precision", 4}, {"precision/.CodeWiz./highp", 4}, {"highp", 4}, {"highp/.CodeWiz./mediump", 4}, {"mediump", 4}, {"mediump/.CodeWiz./lowp", 4}, {"lowp", 4}, {"lowp/.CodeWiz./centroid", 4}, {"centroid", 4}, {"centroid/.CodeWiz./sample", 4}, {"sample", 4}, {"sample/.CodeWiz./patch", 4}, {"patch", 4}, {"patch/.CodeWiz./smooth", 4}, {"smooth", 4}, {"smooth/.CodeWiz./flat", 4}, {"flat", 4}, {"flat/.CodeWiz./noperspective", 4}, {"noperspective", 4}, {"noperspective/.CodeWiz./invariant", 4}, {"invariant", 4}, {"invariant/.CodeWiz./precise", 4}, {"precise", 4}, {"subroutine", 6}, {"extension_storage_class", 6}, {"^gl_", 3}};
}
std::unordered_map<QString, int> GetColorMapTSs::GetJava(){
return {{"identifier", 3}, {"method_declaration/.CodeWiz./identifier", 5}, {"method_invocation/.CodeWiz./identifier", 5}, {"super", 5}, {"annotation/.CodeWiz./identifier", 4}, {"marker_annotation/.CodeWiz./identifier", 4}, {"@", 7}, {"type_identifier", 4}, {"interface_declaration/.CodeWiz./identifier", 4}, {"class_declaration/.CodeWiz./identifier", 4}, {"enum_declaration/.CodeWiz./identifier", 4}, {"field_access", 4}, {"field_access/.CodeWiz./identifier", 4}, {"scoped_identifier", 4}, {"scoped_identifier/.CodeWiz./identifier", 4}, {"method_invocation", 4}, {"method_reference", 4}, {"method_reference/.CodeWiz./identifier", 4}, {"constructor_declaration/.CodeWiz./identifier", 4}, {"boolean_type/.CodeWiz./integral_type", 4}, {"integral_type/.CodeWiz./floating_point_type", 4}, {"floating_point_type/.CodeWiz./void_type", 4}, {"this", 3}, {"hex_integer_literal/.CodeWiz./decimal_integer_literal", 8}, {"decimal_integer_literal/.CodeWiz./octal_integer_literal", 8}, {"octal_integer_literal/.CodeWiz./decimal_floating_point_literal", 8}, {"decimal_floating_point_literal/.CodeWiz./hex_floating_point_literal", 8}, {"character_literal", 1}, {"character_literal/.CodeWiz./string_literal", 1}, {"string_literal", 1}, {"escape_sequence", 1}, {"true/.CodeWiz./false", 3}, {"false/.CodeWiz./null_literal", 3}, {"line_comment", 2}, {"line_comment/.CodeWiz./block_comment", 2}, {"block_comment", 2}, {"abstract", 6}, {"abstract/.CodeWiz./assert", 6}, {"assert", 6}, {"assert/.CodeWiz./break", 6}, {"break", 6}, {"break/.CodeWiz./case", 6}, {"case", 6}, {"case/.CodeWiz./catch", 6}, {"catch", 6}, {"catch/.CodeWiz./class", 6}, {"class", 6}, {"class/.CodeWiz./continue", 6}, {"continue", 6}, {"continue/.CodeWiz./default", 6}, {"default", 6}, {"default/.CodeWiz./do", 6}, {"do", 6}, {"do/.CodeWiz./else", 6}, {"else", 6}, {"else/.CodeWiz./enum", 6}, {"enum", 6}, {"enum/.CodeWiz./exports", 6}, {"exports", 6}, {"exports/.CodeWiz./extends", 6}, {"extends", 6}, {"extends/.CodeWiz./final", 6}, {"final", 6}, {"final/.CodeWiz./finally", 6}, {"finally", 6}, {"finally/.CodeWiz./for", 6}, {"for", 6}, {"for/.CodeWiz./if", 6}, {"if", 6}, {"if/.CodeWiz./implements", 6}, {"implements", 6}, {"implements/.CodeWiz./import", 6}, {"import", 6}, {"import/.CodeWiz./instanceof", 6}, {"instanceof", 6}, {"instanceof/.CodeWiz./interface", 6}, {"interface", 6}, {"interface/.CodeWiz./module", 6}, {"module", 6}, {"module/.CodeWiz./native", 6}, {"native", 6}, {"native/.CodeWiz./new", 6}, {"new", 6}, {"new/.CodeWiz./non-sealed", 6}, {"non-sealed", 6}, {"non-sealed/.CodeWiz./open", 6}, {"open", 6}, {"open/.CodeWiz./opens", 6}, {"opens", 6}, {"opens/.CodeWiz./package", 6}, {"package", 6}, {"package/.CodeWiz./permits", 6}, {"permits", 6}, {"permits/.CodeWiz./private", 6}, {"private", 6}, {"private/.CodeWiz./protected", 6}, {"protected", 6}, {"protected/.CodeWiz./provides", 6}, {"provides", 6}, {"provides/.CodeWiz./public", 6}, {"public", 6}, {"public/.CodeWiz./requires", 6}, {"requires", 6}, {"requires/.CodeWiz./record", 6}, {"record", 6}, {"record/.CodeWiz./return", 6}, {"return", 6}, {"return/.CodeWiz./sealed", 6}, {"sealed", 6}, {"sealed/.CodeWiz./static", 6}, {"static", 6}, {"static/.CodeWiz./strictfp", 6}, {"strictfp", 6}, {"strictfp/.CodeWiz./switch", 6}, {"switch", 6}, {"switch/.CodeWiz./synchronized", 6}, {"synchronized", 6}, {"synchronized/.CodeWiz./throw", 6}, {"throw", 6}, {"throw/.CodeWiz./throws", 6}, {"throws", 6}, {"throws/.CodeWiz./to", 6}, {"to", 6}, {"to/.CodeWiz./transient", 6}, {"transient", 6}, {"transient/.CodeWiz./transitive", 6}, {"transitive", 6}, {"transitive/.CodeWiz./try", 6}, {"try", 6}, {"try/.CodeWiz./uses", 6}, {"uses", 6}, {"uses/.CodeWiz./volatile", 6}, {"volatile", 6}, {"volatile/.CodeWiz./when", 6}, {"when", 6}, {"when/.CodeWiz./while", 6}, {"while", 6}, {"while/.CodeWiz./with", 6}, {"with", 6}, {"with/.CodeWiz./yield", 6}, {"yield", 6}};
}
std::unordered_map<QString, int> GetColorMapTSs::GetTs(){
return {{"type_identifier", 4}, {"predefined_type", 4}, {"identifier", 4}, {"type_arguments", 7}, {"type_arguments/.CodeWiz./<", 7}, {"<", 7}, {">", 7}, {"abstract", 6}, {"abstract/.CodeWiz./declare", 6}, {"declare", 6}, {"declare/.CodeWiz./enum", 6}, {"enum", 6}, {"enum/.CodeWiz./export", 6}, {"export", 6}, {"export/.CodeWiz./implements", 6}, {"implements", 6}, {"implements/.CodeWiz./interface", 6}, {"interface", 6}, {"interface/.CodeWiz./keyof", 6}, {"keyof", 6}, {"keyof/.CodeWiz./namespace", 6}, {"namespace", 6}, {"namespace/.CodeWiz./private", 6}, {"private", 6}, {"private/.CodeWiz./protected", 6}, {"protected", 6}, {"protected/.CodeWiz./public", 6}, {"public", 6}, {"public/.CodeWiz./type", 6}, {"type", 6}, {"type/.CodeWiz./readonly", 6}, {"readonly", 6}, {"readonly/.CodeWiz./override", 6}, {"override", 6}, {"override/.CodeWiz./satisfies", 6}, {"satisfies", 6}, {"property_identifier", 4}, {"function_expression/.CodeWiz./identifier", 5}, {"function_declaration/.CodeWiz./identifier", 5}, {"method_definition/.CodeWiz./property_identifier", 5}, {"pair", 5}, {"pair/.CodeWiz./property_identifier", 5}, {"function_expression/.CodeWiz./arrow_function", 5}, {"arrow_function/.CodeWiz./assignment_expression", 5}, {"assignment_expression/.CodeWiz./member_expression", 5}, {"member_expression/.CodeWiz./property_identifier", 5}, {"arrow_function/.CodeWiz./variable_declarator", 5}, {"variable_declarator/.CodeWiz./identifier", 5}, {"assignment_expression/.CodeWiz./identifier", 5}, {"arrow_function/.CodeWiz./call_expression", 5}, {"call_expression/.CodeWiz./identifier", 5}, {"call_expression/.CodeWiz./member_expression", 5}, {"identifier/.CodeWiz./shorthand_property_identifier", 3}, {"shorthand_property_identifier/.CodeWiz./shorthand_property_identifier_pattern", 3}, {"arguments", 3}, {"arguments/.CodeWiz./module", 3}, {"module", 3}, {"module/.CodeWiz./console", 3}, {"console", 3}, {"console/.CodeWiz./window", 3}, {"window", 3}, {"window/.CodeWiz./document", 3}, {"document", 3}, {"require", 5}, {"this", 3}, {"super", 3}, {"true/.CodeWiz./false", 3}, {"false/.CodeWiz./null", 3}, {"null/.CodeWiz./undefined", 3}, {"comment", 2}, {"string", 1}, {"string/.CodeWiz./template_string", 1}, {"template_string", 1}, {"regex", 1}, {"number", 8}, {";", 7}, {";/.CodeWiz./optional_chain", 7}, {"optional_chain", 7}, {"optional_chain/.CodeWiz./.", 7}, {".", 7}, {"./.CodeWiz./,", 7}, {",", 7}, {"-", 7}, {"-/.CodeWiz./--", 7}, {"--", 7}, {"--/.CodeWiz./-=", 7}, {"-=", 7}, {"-=/.CodeWiz./+", 7}, {"+", 7}, {"+/.CodeWiz./++", 7}, {"++", 7}, {"++/.CodeWiz./+=", 7}, {"+=", 7}, {"+=/.CodeWiz./*", 7}, {"*", 7}, {"*/.CodeWiz./*=", 7}, {"*=", 7}, {"*=/.CodeWiz./**", 7}, {"**", 7}, {"**/.CodeWiz./**=", 7}, {"**=", 7}, {"**=/.CodeWiz.//", 7}, {"/", 7}, {"//.CodeWiz.//=", 7}, {"/=", 7}, {"/=/.CodeWiz./%", 7}, {"%", 7}, {"%/.CodeWiz./%=", 7}, {"%=", 7}, {"%=/.CodeWiz./<", 7}, {"</.CodeWiz./<=", 7}, {"<=", 7}, {"<=/.CodeWiz./<<", 7}, {"<<", 7}, {"<</.CodeWiz./<<=", 7}, {"<<=", 7}, {"<<=/.CodeWiz./=", 7}, {"=", 7}, {"=/.CodeWiz./==", 7}, {"==", 7}, {"==/.CodeWiz./===", 7}, {"===", 7}, {"===/.CodeWiz./!", 7}, {"!", 7}, {"!/.CodeWiz./!=", 7}, {"!=", 7}, {"!=/.CodeWiz./!==", 7}, {"!==", 7}, {"!==/.CodeWiz./=>", 7}, {"=>", 7}, {"=>/.CodeWiz./>", 7}, {">/.CodeWiz./>=", 7}, {">=", 7}, {">=/.CodeWiz./>>", 7}, {">>", 7}, {">>/.CodeWiz./>>=", 7}, {">>=", 7}, {">>=/.CodeWiz./>>>", 7}, {">>>", 7}, {">>>/.CodeWiz./>>>=", 7}, {">>>=", 7}, {">>>=/.CodeWiz./~", 7}, {"~", 7}, {"~/.CodeWiz./^", 7}, {"^", 7}, {"^/.CodeWiz./&", 7}, {"&", 7}, {"&/.CodeWiz./|", 7}, {"|", 7}, {"|/.CodeWiz./^=", 7}, {"^=", 7}, {"^=/.CodeWiz./&=", 7}, {"&=", 7}, {"&=/.CodeWiz./|=", 7}, {"|=", 7}, {"|=/.CodeWiz./&&", 7}, {"&&", 7}, {"&&/.CodeWiz./||", 7}, {"||", 7}, {"||/.CodeWiz./??", 7}, {"??", 7}, {"??/.CodeWiz./&&=", 7}, {"&&=", 7}, {"&&=/.CodeWiz./||=", 7}, {"||=", 7}, {"||=/.CodeWiz./??=", 7}, {"??=", 7}, {"(", 7}, {"(/.CodeWiz./)", 7}, {")", 7}, {")/.CodeWiz./[", 7}, {"[", 7}, {"[/.CodeWiz./]", 7}, {"]", 7}, {"]/.CodeWiz./{", 7}, {"{", 7}, {"{/.CodeWiz./}", 7}, {"}", 7}, {"template_substitution", 7}, {"template_substitution/.CodeWiz./${", 7}, {"${", 7}, {"as", 6}, {"as/.CodeWiz./async", 6}, {"async", 6}, {"async/.CodeWiz./await", 6}, {"await", 6}, {"await/.CodeWiz./break", 6}, {"break", 6}, {"break/.CodeWiz./case", 6}, {"case", 6}, {"case/.CodeWiz./catch", 6}, {"catch", 6}, {"catch/.CodeWiz./class", 6}, {"class", 6}, {"class/.CodeWiz./const", 6}, {"const", 6}, {"const/.CodeWiz./continue", 6}, {"continue", 6}, {"continue/.CodeWiz./debugger", 6}, {"debugger", 6}, {"debugger/.CodeWiz./default", 6}, {"default", 6}, {"default/.CodeWiz./delete", 6}, {"delete", 6}, {"delete/.CodeWiz./do", 6}, {"do", 6}, {"do/.CodeWiz./else", 6}, {"else", 6}, {"else/.CodeWiz./export", 6}, {"export/.CodeWiz./extends", 6}, {"extends", 6}, {"extends/.CodeWiz./finally", 6}, {"finally", 6}, {"finally/.CodeWiz./for", 6}, {"for", 6}, {"for/.CodeWiz./from", 6}, {"from", 6}, {"from/.CodeWiz./function", 6}, {"function", 6}, {"function/.CodeWiz./get", 6}, {"get", 6}, {"get/.CodeWiz./if", 6}, {"if", 6}, {"if/.CodeWiz./import", 6}, {"import", 6}, {"import/.CodeWiz./in", 6}, {"in", 6}, {"in/.CodeWiz./instanceof", 6}, {"instanceof", 6}, {"instanceof/.CodeWiz./let", 6}, {"let", 6}, {"let/.CodeWiz./new", 6}, {"new", 6}, {"new/.CodeWiz./of", 6}, {"of", 6}, {"of/.CodeWiz./return", 6}, {"return", 6}, {"return/.CodeWiz./set", 6}, {"set", 6}, {"set/.CodeWiz./static", 6}, {"static", 6}, {"static/.CodeWiz./switch", 6}, {"switch", 6}, {"switch/.CodeWiz./target", 6}, {"target", 6}, {"target/.CodeWiz./throw", 6}, {"throw", 6}, {"throw/.CodeWiz./try", 6}, {"try", 6}, {"try/.CodeWiz./typeof", 6}, {"typeof", 6}, {"typeof/.CodeWiz./var", 6}, {"var", 6}, {"var/.CodeWiz./void", 6}, {"void", 6}, {"void/.CodeWiz./while", 6}, {"while", 6}, {"while/.CodeWiz./with", 6}, {"with", 6}, {"with/.CodeWiz./yield", 6}, {"yield", 6}};;
}
std::unordered_map<QString, int> GetColorMapTSs::GetC(){
return {{"identifier", 3}, {"break", 6}, {"case", 6}, {"const", 6}, {"continue", 6}, {"default", 6}, {"do", 6}, {"else", 6}, {"enum", 6}, {"extern", 6}, {"for", 6}, {"if", 6}, {"inline", 6}, {"return", 6}, {"sizeof", 6}, {"static", 6}, {"struct", 6}, {"switch", 6}, {"typedef", 6}, {"union", 6}, {"volatile", 6}, {"while", 6}, {"#define", 6}, {"#elif", 6}, {"#else", 6}, {"#endif", 6}, {"#if", 6}, {"#ifdef", 6}, {"#ifndef", 6}, {"#include", 6}, {"preproc_directive", 6}, {"--", 7}, {"-", 7}, {"-=", 7}, {"->", 7}, {"=", 7}, {"!=", 7}, {"*", 7}, {"&", 7}, {"&&", 7}, {"+", 7}, {"++", 7}, {"+=", 7}, {"<", 7}, {"==", 7}, {">", 7}, {"||", 7}, {".", 7}, {";", 7}, {"string_literal", 1}, {"system_lib_string", 1}, {"null", 3}, {"number_literal", 8}, {"char_literal", 8}, {"field_identifier", 4}, {"statement_identifier", 4}, {"type_identifier", 4}, {"primitive_type", 4}, {"sized_type_specifier", 4}, {"call_expression", 5}, {"call_expression/.CodeWiz./identifier", 5}, {"call_expression/.CodeWiz./field_expression", 5}, {"field_expression/.CodeWiz./field_identifier", 5}, {"function_declarator", 5}, {"function_declarator/.CodeWiz./identifier", 5}, {"preproc_function_def/.CodeWiz./identifier", 5}, {"comment", 2}};
}
std::unordered_map<QString, int> GetColorMapTSs::GetCobol(){
return GetPython();
}
std::unordered_map<QString, int> GetColorMapTSs::GetCss(){
return {{"comment", 2}, {"tag_name", 6}, {"nesting_selector", 6}, {"universal_selector", 6}, {"~", 7}, {">", 7}, {"+", 7}, {"-", 7}, {"*", 7}, {"/", 7}, {"=", 7}, {"^=", 7}, {"|=", 7}, {"~=", 7}, {"$=", 7}, {"*=", 7}, {"and", 7}, {"or", 7}, {"not", 7}, {"only", 7}, {"plain_value", 1}, {"property_name", 3}, {"class_name", 4}, {"id_name", 4}, {"namespace_name", 4}, {"feature_name", 4}, {"attribute_name", 4}, {"function_name", 5}, {"@media", 1}, {"@import", 6}, {"@charset", 1}, {"@namespace", 6}, {"@supports", 6}, {"@keyframes", 6}, {"at_keyword", 6}, {"to", 6}, {"from", 6}, {"important", 6}, {"string_value", 1}, {"color_value", 1}, {"integer_value", 8}, {"float_value", 8}, {"unit", 4}, {"#", 7}, {"#/.CodeWiz./,", 7}, {",", 7}, {",/.CodeWiz./.", 7}, {".", 7}, {"./.CodeWiz./:", 7}, {":", 7}, {":/.CodeWiz./::", 7}, {"::", 7}, {"::/.CodeWiz./;", 7}, {";", 7}, {"{", 7}, {"{/.CodeWiz./)", 7}, {")", 7}, {")/.CodeWiz./(", 7}, {"(", 7}, {"(/.CodeWiz./}", 7}, {"}", 7}};
}