mirror of
https://github.com/ralsina/tartrazine.git
synced 2024-11-12 22:42:23 +00:00
101 lines
3.8 KiB
Crystal
101 lines
3.8 KiB
Crystal
module Tartrazine
|
|
Abbreviations = {
|
|
"Background" => "b",
|
|
"CodeLine" => "cl",
|
|
"Comment" => "c",
|
|
"CommentHashbang" => "ch",
|
|
"CommentMultiline" => "cm",
|
|
"CommentPreproc" => "cp",
|
|
"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",
|
|
"Highlight" => "hl",
|
|
"Keyword" => "k",
|
|
"KeywordConstant" => "kc",
|
|
"KeywordDeclaration" => "kd",
|
|
"KeywordNamespace" => "kn",
|
|
"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",
|
|
"NameOther" => "no",
|
|
"NameProperty" => "np",
|
|
"NamePseudo" => "np",
|
|
"NameTag" => "nt",
|
|
"NameVariable" => "nv",
|
|
"NameVariableAnonymous" => "nva",
|
|
"NameVariableClass" => "nvc",
|
|
"NameVariableGlobal" => "nvg",
|
|
"NameVariableInstance" => "nvi",
|
|
"NameVariableMagic" => "nvm",
|
|
"None" => "n",
|
|
"Operator" => "o",
|
|
"OperatorWord" => "ow",
|
|
"Other" => "o",
|
|
"Punctuation" => "p",
|
|
"Text" => "t",
|
|
"TextPunctuation" => "tp",
|
|
"TextSymbol" => "ts",
|
|
"TextWhitespace" => "tw",
|
|
}
|
|
end
|