mirror of
https://github.com/ralsina/tartrazine.git
synced 2024-11-10 05:22:23 +00:00
Sort constants
This commit is contained in:
parent
96dcb7e15e
commit
be12e0f4f1
158
src/constants.cr
158
src/constants.cr
@ -1,99 +1,99 @@
|
||||
module Tartrazine
|
||||
Abbreviations = {
|
||||
"NameTag" => "nt",
|
||||
"NameBuiltin" => "nb",
|
||||
"NameVariable" => "nv",
|
||||
"Background" => "b",
|
||||
"CodeLine" => "cl",
|
||||
"Comment" => "c",
|
||||
"Keyword" => "k",
|
||||
"Error" => "e",
|
||||
"Text" => "t",
|
||||
"CommentSingle" => "cs",
|
||||
"CommentHashbang" => "ch",
|
||||
"CommentMultiline" => "cm",
|
||||
"CommentSpecial" => "cs",
|
||||
"LiteralString" => "ls",
|
||||
"LiteralStringSymbol" => "lss",
|
||||
"Operator" => "o",
|
||||
"LiteralNumberInteger" => "lni",
|
||||
"LiteralNumber" => "ln",
|
||||
"LiteralNumberFloat" => "lnf",
|
||||
"LiteralStringChar" => "lsc",
|
||||
"LiteralOther" => "lo",
|
||||
"NameFunction" => "nf",
|
||||
"LiteralNumberBin" => "lnb",
|
||||
"LiteralNumberOct" => "lno",
|
||||
"LiteralNumberHex" => "lnh",
|
||||
"Punctuation" => "p",
|
||||
"CommentPreproc" => "cp",
|
||||
"NameConstant" => "nc",
|
||||
"NameVariableGlobal" => "nvg",
|
||||
"LiteralStringOther" => "lso",
|
||||
"LiteralStringHeredoc" => "lsh",
|
||||
"LiteralStringInterpol" => "lsi",
|
||||
"LiteralStringEscape" => "lse",
|
||||
"OperatorWord" => "ow",
|
||||
"CommentPreprocFile" => "cpf",
|
||||
"CommentSingle" => "cs",
|
||||
"CommentSpecial" => "cs",
|
||||
"Error" => "e",
|
||||
"Generic" => "g",
|
||||
"GenericDeleted" => "gd",
|
||||
"GenericEmph" => "ge",
|
||||
"GenericError" => "ge",
|
||||
"GenericHeading" => "gh",
|
||||
"GenericInserted" => "gi",
|
||||
"GenericOutput" => "go",
|
||||
"GenericPrompt" => "gp",
|
||||
"GenericStrong" => "gs",
|
||||
"GenericSubheading" => "gs",
|
||||
"GenericTraceback" => "gt",
|
||||
"GenericUnderline" => "gu",
|
||||
"Keyword" => "k",
|
||||
"KeywordConstant" => "kc",
|
||||
"KeywordDeclaration" => "kd",
|
||||
"KeywordNamespace" => "kn",
|
||||
"NamePseudo" => "np",
|
||||
"NameAttribute" => "na",
|
||||
"Name" => "n",
|
||||
"NameClass" => "nc",
|
||||
"NameEntity" => "ne",
|
||||
"LiteralStringDouble" => "lsd",
|
||||
"LiteralStringSingle" => "lss",
|
||||
"TextWhitespace" => "tw",
|
||||
"LiteralStringDoc" => "lsd",
|
||||
"KeywordReserved" => "kr",
|
||||
"KeywordConstant" => "kc",
|
||||
"KeywordPseudo" => "kp",
|
||||
"KeywordReserved" => "kr",
|
||||
"KeywordType" => "kt",
|
||||
"LineHighlight" => "lh",
|
||||
"LineNumbers" => "ln",
|
||||
"LineNumbersTable" => "lnt",
|
||||
"LineTable" => "lt",
|
||||
"LineTableTD" => "lttd",
|
||||
"Literal" => "l",
|
||||
"LiteralDate" => "ld",
|
||||
"LiteralNumber" => "ln",
|
||||
"LiteralNumberBin" => "lnb",
|
||||
"LiteralNumberFloat" => "lnf",
|
||||
"LiteralNumberHex" => "lnh",
|
||||
"LiteralNumberInteger" => "lni",
|
||||
"LiteralNumberIntegerLong" => "lnil",
|
||||
"LiteralNumberOct" => "lno",
|
||||
"LiteralOther" => "lo",
|
||||
"LiteralString" => "ls",
|
||||
"LiteralStringAffix" => "lsa",
|
||||
"LiteralStringAtom" => "lsa",
|
||||
"LiteralStringBacktick" => "lsb",
|
||||
"LiteralStringBoolean" => "lsb",
|
||||
"LiteralStringChar" => "lsc",
|
||||
"LiteralStringDelimiter" => "lsd",
|
||||
"LiteralStringDoc" => "lsd",
|
||||
"LiteralStringDouble" => "lsd",
|
||||
"LiteralStringEscape" => "lse",
|
||||
"LiteralStringHeredoc" => "lsh",
|
||||
"LiteralStringInterpol" => "lsi",
|
||||
"LiteralStringName" => "lsn",
|
||||
"LiteralStringOther" => "lso",
|
||||
"LiteralStringRegex" => "lsr",
|
||||
"LiteralStringSingle" => "lss",
|
||||
"LiteralStringSymbol" => "lss",
|
||||
"Name" => "n",
|
||||
"NameAttribute" => "na",
|
||||
"NameBuiltin" => "nb",
|
||||
"NameBuiltinPseudo" => "nbp",
|
||||
"NameClass" => "nc",
|
||||
"NameConstant" => "nc",
|
||||
"NameDecorator" => "nd",
|
||||
"NameEntity" => "ne",
|
||||
"NameException" => "ne",
|
||||
"NameFunction" => "nf",
|
||||
"NameFunctionMagic" => "nfm",
|
||||
"NameKeyword" => "nk",
|
||||
"NameLabel" => "nl",
|
||||
"NameNamespace" => "nn",
|
||||
"NameOperator" => "no",
|
||||
"CommentPreprocFile" => "cpf",
|
||||
"LiteralStringAffix" => "lsa",
|
||||
"NameOther" => "no",
|
||||
"LiteralStringBacktick" => "lsb",
|
||||
"LiteralStringRegex" => "lsr",
|
||||
"NameProperty" => "np",
|
||||
"Other" => "o",
|
||||
"Generic" => "g",
|
||||
"GenericEmph" => "ge",
|
||||
"GenericError" => "ge",
|
||||
"LiteralNumberIntegerLong" => "lnil",
|
||||
"GenericSubheading" => "gs",
|
||||
"GenericHeading" => "gh",
|
||||
"TextPunctuation" => "tp",
|
||||
"CommentHashbang" => "ch",
|
||||
"NamePseudo" => "np",
|
||||
"NameTag" => "nt",
|
||||
"NameVariable" => "nv",
|
||||
"NameVariableAnonymous" => "nva",
|
||||
"NameBuiltinPseudo" => "nbp",
|
||||
"Literal" => "l",
|
||||
"LiteralStringDelimiter" => "lsd",
|
||||
"NameException" => "ne",
|
||||
"NameFunctionMagic" => "nfm",
|
||||
"NameVariableMagic" => "nvm",
|
||||
"NameVariableInstance" => "nvi",
|
||||
"LiteralDate" => "ld",
|
||||
"GenericStrong" => "gs",
|
||||
"GenericDeleted" => "gd",
|
||||
"GenericUnderline" => "gu",
|
||||
"LiteralStringName" => "lsn",
|
||||
"NameKeyword" => "nk",
|
||||
"GenericInserted" => "gi",
|
||||
"None" => "n",
|
||||
"NameVariableClass" => "nvc",
|
||||
"LiteralStringBoolean" => "lsb",
|
||||
"LiteralStringAtom" => "lsa",
|
||||
"NameVariableGlobal" => "nvg",
|
||||
"NameVariableInstance" => "nvi",
|
||||
"NameVariableMagic" => "nvm",
|
||||
"None" => "n",
|
||||
"Operator" => "o",
|
||||
"OperatorWord" => "ow",
|
||||
"Other" => "o",
|
||||
"Punctuation" => "p",
|
||||
"Text" => "t",
|
||||
"TextPunctuation" => "tp",
|
||||
"TextSymbol" => "ts",
|
||||
"GenericPrompt" => "gp",
|
||||
"GenericOutput" => "go",
|
||||
"Background" => "b",
|
||||
"CodeLine" => "cl",
|
||||
"LineTableTD" => "lttd",
|
||||
"LineTable" => "lt",
|
||||
"LineHighlight" => "lh",
|
||||
"LineNumbersTable" => "lnt",
|
||||
"LineNumbers" => "ln",
|
||||
"GenericTraceback" => "gt",
|
||||
"TextWhitespace" => "tw",
|
||||
}
|
||||
end
|
||||
|
Loading…
Reference in New Issue
Block a user