Skip to content

Instantly share code, notes, and snippets.

@atg
Created February 15, 2016 22:20
Show Gist options
  • Save atg/6fe802920f45599efe12 to your computer and use it in GitHub Desktop.
Save atg/6fe802920f45599efe12 to your computer and use it in GitHub Desktop.
Error: unrecognized flag --pretend-node
Try --help for options
Chocolat ⇄ Tern: listen EADDRINUSE
Arguments: undefined
Type: undefined
Stack: Error: listen EADDRINUSE
at errnoException (net.js:904:11)
at Server._listen2 (net.js:1042:14)
at listen (net.js:1064:10)
at net.js:1146:9
at dns.js:72:18
at process._tickDomainCallback (node.js:463:13)
at Function.Module.runMain (module.js:499:11)
at startup (node.js:119:16)
at node.js:906:3
2016-02-15 22:19:36.803 Chocolat[41357:24696154]
// --- Writing truffle AppleScript ---
// Writing lang AppleScript
void shamrock_test_AppleScript() {
std::map<intptr_t, Syntaxable*> syntaxItems;
({ syntaxItems[1649266210816] = new SyntaxBase{
"applescript.source", nullptr, {
({ syntaxItems[549753765456] = new SyntaxElement{
/*scopes*/ "anonymous.applescript", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[549753765456]; })
,
({ syntaxItems[549753765536] = new SyntaxElement{
/*scopes*/ "anonymous.applescript", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[549753765536]; })
,
}
}; syntaxItems[1649266210816]; })
}
// --- Writing truffle Bison ---
// Writing lang Bison
void shamrock_test_Bison() {
std::map<intptr_t, Syntaxable*> syntaxItems;
({ syntaxItems[-1212800] = new SyntaxBase{
"bison.source", nullptr, {
({ syntaxItems[-71040] = new SyntaxElement{
/*scopes*/ "bison.meta.prologue", "(null)",
/*patterns*/ false, REGEX: ^%\{, REGEX: %\}
/*refs*/TODO
/*children*/ {
({ syntaxItems[549755771248] = new SyntaxElement{
/*scopes*/ "anonymous.bison", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[549755771248]; })
,
}
}; syntaxItems[-71040]; })
,
({ syntaxItems[-70960] = new SyntaxElement{
/*scopes*/ "bison.declarations.meta", "(null)",
/*patterns*/ false, REGEX: ^(?!%%$), REGEX: ^(?=%%$)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[-70960]; })
,
({ syntaxItems[-70880] = new SyntaxElement{
/*scopes*/ "anonymous.bison", "(null)",
/*patterns*/ false, STRING: %%, REGEX: $.^
/*refs*/TODO
/*children*/ {
({ syntaxItems[-70800] = new SyntaxElement{
/*scopes*/ "anonymous.bison", "bison.meta.rules",
/*patterns*/ false, REGEX: ^(?!%%$), REGEX: ^(?=%%$)
/*refs*/TODO
/*children*/ {
({ syntaxItems[549755771808] = new SyntaxElement{
/*scopes*/ "anonymous.bison", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[549755771808]; })
,
}
}; syntaxItems[-70800]; })
,
({ syntaxItems[-70720] = new SyntaxElement{
/*scopes*/ "anonymous.bison", "bison.epilogue.meta",
/*patterns*/ false, STRING: %%, REGEX: $.^
/*refs*/TODO
/*children*/ {
({ syntaxItems[-70640] = new SyntaxElement{
/*scopes*/ "bison.c.source", "(null)",
/*patterns*/ false, REGEX: ^, REGEX: $.^
/*refs*/TODO
/*children*/ {
({ syntaxItems[549755771968] = new SyntaxElement{
/*scopes*/ "anonymous.bison", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[549755771968]; })
,
}
}; syntaxItems[-70640]; })
,
}
}; syntaxItems[-70720]; })
,
}
}; syntaxItems[-70880]; })
,
}
}; syntaxItems[-1212800]; })
}
// --- Writing truffle C ---
// Writing lang C
void shamrock_test_C() {
std::map<intptr_t, Syntaxable*> syntaxItems;
({ syntaxItems[1099510385408] = new SyntaxBase{
"c.source", nullptr, {
({ syntaxItems[549753765616] = new SyntaxElement{
/*scopes*/ "anonymous.c", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[549753765616]; })
,
({ syntaxItems[549753765696] = new SyntaxElement{
/*scopes*/ "anonymous.c", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[549753765696]; })
,
({ syntaxItems[549753765776] = new SyntaxElement{
/*scopes*/ "anonymous.c", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[549753765776]; })
,
({ syntaxItems[549753765856] = new SyntaxElement{
/*scopes*/ "anonymous.c", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[549753765856]; })
,
({ syntaxItems[1099509481584] = new SyntaxElement{
/*scopes*/ "c.control.keyword", "(null)",
/*patterns*/ true, <CHSyntaxPatternListDefinition: 0x610000241230>, (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[1099509481584]; })
,
({ syntaxItems[1099509481744] = new SyntaxElement{
/*scopes*/ "c.storage.type", "(null)",
/*patterns*/ true, <CHSyntaxPatternListDefinition: 0x6100002415c0>, (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[1099509481744]; })
,
({ syntaxItems[1099509481904] = new SyntaxElement{
/*scopes*/ "c.modifier.storage", "(null)",
/*patterns*/ true, <CHSyntaxPatternListDefinition: 0x610000241950>, (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[1099509481904]; })
,
({ syntaxItems[1099509482224] = new SyntaxElement{
/*scopes*/ "c.constant.mac-classic.other.variable", "(null)",
/*patterns*/ true, REGEX: \bk[A-Z]\w*\b, (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[1099509482224]; })
,
({ syntaxItems[1099509482304] = new SyntaxElement{
/*scopes*/ "c.global.mac-classic.other.readwrite.variable", "(null)",
/*patterns*/ true, REGEX: \bg[A-Z]\w*\b, (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[1099509482304]; })
,
({ syntaxItems[1099509482384] = new SyntaxElement{
/*scopes*/ "c.mac-classic.other.readwrite.static.variable", "(null)",
/*patterns*/ true, REGEX: \bs[A-Z]\w*\b, (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[1099509482384]; })
,
({ syntaxItems[1099509482544] = new SyntaxElement{
/*scopes*/ "c.constant.language", "(null)",
/*patterns*/ true, <CHSyntaxPatternListDefinition: 0x610000242130>, (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[1099509482544]; })
,
({ syntaxItems[549753765936] = new SyntaxElement{
/*scopes*/ "anonymous.c", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[549753765936]; })
,
({ syntaxItems[1099509481984] = new SyntaxElement{
/*scopes*/ "c.constant.numeric", "(null)",
/*patterns*/ true, REGEX: \b((0(x|X)[0-9a-fA-F]*)|(([0-9]+\.?[0-9]*)|(\.[0-9]+))((e|E)(\+|-)?[0-9]+)?)(L|l|UL|ul|u|U|F|f|ll|LL|ull|ULL)?\b, (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[1099509481984]; })
,
({ syntaxItems[1099509482784] = new SyntaxElement{
/*scopes*/ "c.double.quoted.string", "(null)",
/*patterns*/ false, REGEX: ", REGEX: "
/*refs*/TODO
/*children*/ {
({ syntaxItems[549753766016] = new SyntaxElement{
/*scopes*/ "anonymous.c", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[549753766016]; })
,
({ syntaxItems[549753766096] = new SyntaxElement{
/*scopes*/ "anonymous.c", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[549753766096]; })
,
}
}; syntaxItems[1099509482784]; })
,
({ syntaxItems[1099509482944] = new SyntaxElement{
/*scopes*/ "c.quoted.single.string", "(null)",
/*patterns*/ false, REGEX: ', REGEX: '
/*refs*/TODO
/*children*/ {
({ syntaxItems[549753766176] = new SyntaxElement{
/*scopes*/ "anonymous.c", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[549753766176]; })
,
}
}; syntaxItems[1099509482944]; })
,
({ syntaxItems[1099509483024] = new SyntaxElement{
/*scopes*/ "c.macro.meta.preprocessor", "(null)",
/*patterns*/ false, REGEX: (?x)
^\s*\#\s*(define)\s+ # define
((?<id>[a-zA-Z_][a-zA-Z0-9_]*)) # macro name
(?: # and optionally:
(\() # an open parenthesis
(
\s* \g<id> \s* # first argument
((,) \s* \g<id> \s*)* # additional arguments
(?:\.\.\.)? # varargs ellipsis?
)
(\)) # a close parenthesis
)?
, REGEX: (?=(?://|/\*))|$
/*refs*/TODO
/*children*/ {
({ syntaxItems[1099509483104] = new SyntaxElement{
/*scopes*/ "c.continuation.punctuation.separator", "(null)",
/*patterns*/ true, REGEX: (?>\\\s*\n), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[1099509483104]; })
,
({ syntaxItems[549753766256] = new SyntaxElement{
/*scopes*/ "anonymous.c", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[549753766256]; })
,
}
}; syntaxItems[1099509483024]; })
,
({ syntaxItems[1099509483184] = new SyntaxElement{
/*scopes*/ "c.diagnostic.meta.preprocessor", "(null)",
/*patterns*/ false, REGEX: ^\s*#\s*(error|warning)\b, REGEX: $
/*refs*/TODO
/*children*/ {
({ syntaxItems[1099509483264] = new SyntaxElement{
/*scopes*/ "c.continuation.punctuation.separator", "(null)",
/*patterns*/ true, REGEX: (?>\\\s*\n), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[1099509483264]; })
,
}
}; syntaxItems[1099509483184]; })
,
({ syntaxItems[1099509483344] = new SyntaxElement{
/*scopes*/ "c.include.meta.preprocessor", "(null)",
/*patterns*/ false, REGEX: ^\s*#\s*(include|import)\b\s+, REGEX: (?=(?://|/\*))|$
/*refs*/TODO
/*children*/ {
({ syntaxItems[1099509483424] = new SyntaxElement{
/*scopes*/ "c.continuation.punctuation.separator", "(null)",
/*patterns*/ true, REGEX: (?>\\\s*\n), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[1099509483424]; })
,
({ syntaxItems[1099509483504] = new SyntaxElement{
/*scopes*/ "c.double.include.quoted.string", "(null)",
/*patterns*/ false, REGEX: ", REGEX: "
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[1099509483504]; })
,
({ syntaxItems[1099509483584] = new SyntaxElement{
/*scopes*/ "c.include.lt-gt.other.quoted.string", "(null)",
/*patterns*/ false, REGEX: <, REGEX: >
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[1099509483584]; })
,
}
}; syntaxItems[1099509483344]; })
,
({ syntaxItems[549753766336] = new SyntaxElement{
/*scopes*/ "anonymous.c", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[549753766336]; })
,
({ syntaxItems[1099509483744] = new SyntaxElement{
/*scopes*/ "c.meta.preprocessor", "(null)",
/*patterns*/ false, REGEX: ^\s*#\s*(define|defined|elif|else|if|ifdef|ifndef|line|pragma|undef)\b, REGEX: (?=(?://|/\*))|$
/*refs*/TODO
/*children*/ {
({ syntaxItems[1099509483824] = new SyntaxElement{
/*scopes*/ "c.continuation.punctuation.separator", "(null)",
/*patterns*/ true, REGEX: (?>\\\s*\n), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[1099509483824]; })
,
}
}; syntaxItems[1099509483744]; })
,
({ syntaxItems[1099509483904] = new SyntaxElement{
/*scopes*/ "c.support.sys-types.type", "(null)",
/*patterns*/ true, <CHSyntaxPatternListDefinition: 0x6100002455b0>, (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[1099509483904]; })
,
({ syntaxItems[1099509484064] = new SyntaxElement{
/*scopes*/ "c.pthread.support.type", "(null)",
/*patterns*/ true, <CHSyntaxPatternListDefinition: 0x6100002459a0>, (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[1099509484064]; })
,
({ syntaxItems[1099509484224] = new SyntaxElement{
/*scopes*/ "c.stdint.support.type", "(null)",
/*patterns*/ true, <CHSyntaxPatternListDefinition: 0x610000245f40>, (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[1099509484224]; })
,
({ syntaxItems[1099509484544] = new SyntaxElement{
/*scopes*/ "c.constant.mac-classic.support", "(null)",
/*patterns*/ true, <CHSyntaxPatternListDefinition: 0x610000246300>, (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[1099509484544]; })
,
({ syntaxItems[1099509484624] = new SyntaxElement{
/*scopes*/ "c.mac-classic.support.type", "(null)",
/*patterns*/ true, <CHSyntaxPatternListDefinition: 0x6100002466c0>, (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[1099509484624]; })
,
({ syntaxItems[549753766416] = new SyntaxElement{
/*scopes*/ "anonymous.c", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[549753766416]; })
,
({ syntaxItems[1099509484704] = new SyntaxElement{
/*scopes*/ "c.function.meta", "(null)",
/*patterns*/ false, REGEX: (?x)
(?: ^ # begin-of-line
|
(?: (?= \s ) (?<!else|new|return) (?<=\w) # or word + space before name
| (?= \s*[A-Za-z_] ) (?<!&&) (?<=[*&>]) # or type modifier before name
)
)
(\s*) (?!(while|for|do|if|else|switch|catch|enumerate|return|r?iterate)\s*\()
(
(?: [A-Za-z_][A-Za-z0-9_]*+ | :: )++ | # actual name
(?: (?<=operator) (?: [-*&<>=+!]+ | \(\) | \[\] ) ) # if it is a C++ operator
)
\s*(?=\(), REGEX: (?<=\})|(?=#)|(;)
/*refs*/TODO
/*children*/ {
({ syntaxItems[549753766496] = new SyntaxElement{
/*scopes*/ "anonymous.c", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[549753766496]; })
,
({ syntaxItems[549753766576] = new SyntaxElement{
/*scopes*/ "anonymous.c", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[549753766576]; })
,
({ syntaxItems[1099509484784] = new SyntaxElement{
/*scopes*/ "c.modifier.storage", "(null)",
/*patterns*/ true, STRING: const, (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[1099509484784]; })
,
({ syntaxItems[549753766656] = new SyntaxElement{
/*scopes*/ "anonymous.c", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[549753766656]; })
,
}
}; syntaxItems[1099509484704]; })
,
}
}; syntaxItems[1099510385408]; })
}
// Writing lang C++
void shamrock_test_C++() {
std::map<intptr_t, Syntaxable*> syntaxItems;
({ syntaxItems[1099510429376] = new SyntaxBase{
"c++.source", nullptr, {
({ syntaxItems[549753766736] = new SyntaxElement{
/*scopes*/ "anonymous.c++", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[549753766736]; })
,
({ syntaxItems[549753766816] = new SyntaxElement{
/*scopes*/ "anonymous.c++", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[549753766816]; })
,
({ syntaxItems[1099509488384] = new SyntaxElement{
/*scopes*/ "c++.modifier.storage", "(null)",
/*patterns*/ true, <CHSyntaxPatternListDefinition: 0x6100002569b0>, (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[1099509488384]; })
,
({ syntaxItems[1099509488464] = new SyntaxElement{
/*scopes*/ "c++.modifier.storage", "(null)",
/*patterns*/ true, <CHSyntaxPatternListDefinition: 0x610000256c50>, (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[1099509488464]; })
,
({ syntaxItems[1099509488544] = new SyntaxElement{
/*scopes*/ "c++.control.keyword", "(null)",
/*patterns*/ true, <CHSyntaxPatternListDefinition: 0x610000256f20>, (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[1099509488544]; })
,
({ syntaxItems[1099509488624] = new SyntaxElement{
/*scopes*/ "c++.control.keyword", "(null)",
/*patterns*/ true, REGEX: \bdelete\b(\s*\[\])?|\bnew\b(?!]), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[1099509488624]; })
,
({ syntaxItems[1099509488704] = new SyntaxElement{
/*scopes*/ "c++.member.other.readwrite.variable", "(null)",
/*patterns*/ true, REGEX: \b(f|m)[A-Z]\w*\b, (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[1099509488704]; })
,
({ syntaxItems[1099509488864] = new SyntaxElement{
/*scopes*/ "c++.language.variable", "(null)",
/*patterns*/ true, <CHSyntaxPatternListDefinition: 0x610000257640>, (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[1099509488864]; })
,
({ syntaxItems[1099509488944] = new SyntaxElement{
/*scopes*/ "c++.storage.template.type", "(null)",
/*patterns*/ true, REGEX: \btemplate\b\s*, (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[1099509488944]; })
,
({ syntaxItems[1099509489024] = new SyntaxElement{
/*scopes*/ "c++.cast.keyword.operator", "(null)",
/*patterns*/ true, REGEX: \b(const_cast|dynamic_cast|reinterpret_cast|static_cast)\b\s*, (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[1099509489024]; })
,
({ syntaxItems[1099509489184] = new SyntaxElement{
/*scopes*/ "c++.keyword.operator", "(null)",
/*patterns*/ true, <CHSyntaxPatternListDefinition: 0x610000257d60>, (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[1099509489184]; })
,
({ syntaxItems[1099509488784] = new SyntaxElement{
/*scopes*/ "c++.storage.type", "(null)",
/*patterns*/ true, <CHSyntaxPatternListDefinition: 0x610000258030>, (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[1099509488784]; })
,
({ syntaxItems[1099509489264] = new SyntaxElement{
/*scopes*/ "c++.modifier.storage", "(null)",
/*patterns*/ true, <CHSyntaxPatternListDefinition: 0x6100002582a0>, (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[1099509489264]; })
,
({ syntaxItems[1099509489344] = new SyntaxElement{
/*scopes*/ "c++.destructor.function.meta", "(null)",
/*patterns*/ false, REGEX: (?x)
(?: ^ # begin-of-line
| (?: (?<!else|new|=) ) # or word + space before name
)
((?:[A-Za-z_][A-Za-z0-9_]*::)*+~[A-Za-z_][A-Za-z0-9_]*) # actual name
\s*(\() # start bracket or end-of-line
, REGEX: \)
/*refs*/TODO
/*children*/ {
({ syntaxItems[549753766896] = new SyntaxElement{
/*scopes*/ "anonymous.c++", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[549753766896]; })
,
}
}; syntaxItems[1099509489344]; })
,
({ syntaxItems[1099509489424] = new SyntaxElement{
/*scopes*/ "c++.destructor.function.meta.prototype", "(null)",
/*patterns*/ false, REGEX: (?x)
(?: ^ # begin-of-line
| (?: (?<!else|new|=) ) # or word + space before name
)
((?:[A-Za-z_][A-Za-z0-9_]*::)*+~[A-Za-z_][A-Za-z0-9_]*) # actual name
\s*(\() # terminating semi-colon
, REGEX: \)
/*refs*/TODO
/*children*/ {
({ syntaxItems[549753766976] = new SyntaxElement{
/*scopes*/ "anonymous.c++", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[549753766976]; })
,
}
}; syntaxItems[1099509489424]; })
,
}
}; syntaxItems[1099510429376]; })
}
// --- Writing truffle CoffeeScript ---
// Writing lang CoffeeScript
void shamrock_test_CoffeeScript() {
std::map<intptr_t, Syntaxable*> syntaxItems;
({ syntaxItems[1099510431104] = new SyntaxBase{
"coffee.source", nullptr, {
({ syntaxItems[1099509492544] = new SyntaxElement{
/*scopes*/ "coffee.coffeescript.function.inline.meta", "(null)",
/*patterns*/ true, REGEX: (\([^()]*?\))\s*([=-]>), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[1099509492544]; })
,
({ syntaxItems[1099509492624] = new SyntaxElement{
/*scopes*/ "class.coffeescript.constructor.instance.meta", "(null)",
/*patterns*/ true, REGEX: (new)\s+(\w+(?:\.\w*)*), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[1099509492624]; })
,
({ syntaxItems[1099509492704] = new SyntaxElement{
/*scopes*/ "coffee.coffeescript.heredoc.quoted.string", "(null)",
/*patterns*/ false, REGEX: ''', REGEX: '''
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[1099509492704]; })
,
({ syntaxItems[1099509492784] = new SyntaxElement{
/*scopes*/ "coffee.coffeescript.double.heredoc.quoted.string", "(null)",
/*patterns*/ false, REGEX: """, REGEX: """
/*refs*/TODO
/*children*/ {
({ syntaxItems[1099509492944] = new SyntaxElement{
/*scopes*/ "character.coffee.coffeescript.constant.escape", "(null)",
/*patterns*/ true, REGEX: \\., (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[1099509492944]; })
,
({ syntaxItems[549753767056] = new SyntaxElement{
/*scopes*/ "anonymous.coffeescript", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[549753767056]; })
,
}
}; syntaxItems[1099509492784]; })
,
({ syntaxItems[1099509493024] = new SyntaxElement{
/*scopes*/ "coffee.coffeescript.quoted.script.string", "(null)",
/*patterns*/ false, REGEX: `, REGEX: `
/*refs*/TODO
/*children*/ {
({ syntaxItems[1099509493104] = new SyntaxElement{
/*scopes*/ "character.coffee.coffeescript.constant.escape", "(null)",
/*patterns*/ true, REGEX: \\(x\h{2}|[0-2][0-7]{,2}|3[0-6][0-7]|37[0-7]?|[4-7][0-7]?|.), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[1099509493104]; })
,
}
}; syntaxItems[1099509493024]; })
,
({ syntaxItems[1099509493264] = new SyntaxElement{
/*scopes*/ "block.coffee.coffeescript.comment", "(null)",
/*patterns*/ false, REGEX: (?<!#)###(?!#), REGEX: ###(?:[ \t]*\n)
/*refs*/TODO
/*children*/ {
({ syntaxItems[1099509493344] = new SyntaxElement{
/*scopes*/ "annotation.coffeescript.storage.type", "(null)",
/*patterns*/ true, REGEX: @\w*, (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[1099509493344]; })
,
}
}; syntaxItems[1099509493264]; })
,
({ syntaxItems[1099509493504] = new SyntaxElement{
/*scopes*/ "coffee.coffeescript.comment.line.number-sign", "(null)",
/*patterns*/ true, REGEX: (#)(?!\{).*$\n?, (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[1099509493504]; })
,
({ syntaxItems[1099509493664] = new SyntaxElement{
/*scopes*/ "coffee.coffeescript.regexp.string", "(null)",
/*patterns*/ false, STRING: /{3}, REGEX: /{3}[imgy]{0,4}
/*refs*/TODO
/*children*/ {
({ syntaxItems[549753767216] = new SyntaxElement{
/*scopes*/ "anonymous.coffeescript", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[549753767216]; })
,
({ syntaxItems[549753767296] = new SyntaxElement{
/*scopes*/ "anonymous.coffeescript", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[549753767296]; })
,
}
}; syntaxItems[1099509493664]; })
,
({ syntaxItems[1099509493744] = new SyntaxElement{
/*scopes*/ "coffee.coffeescript.regexp.string", "(null)",
/*patterns*/ true, REGEX: /(?![\s=/*+{}?]).*?[^\\]/[igmy]{0,4}(?![a-zA-Z0-9]), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[1099509493744]; })
,
({ syntaxItems[1099509493904] = new SyntaxElement{
/*scopes*/ "coffee.coffeescript.control.keyword", "(null)",
/*patterns*/ true, REGEX: (?x)
\b(?<![\.\$])(
break|by|catch|continue|else|finally|for|in|of|if|return|switch|
then|throw|try|unless|when|while|until|loop|do|(?<=for)\s+own
)(?!\s*:)\b
, (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[1099509493904]; })
,
({ syntaxItems[1099509493984] = new SyntaxElement{
/*scopes*/ "coffee.coffeescript.keyword.operator", "(null)",
/*patterns*/ true, REGEX: (?x)
and=|or=|!|%|&|\^|\*|\/|(\-)?\-(?!>)|\+\+|\+|~|==|=(?!>)|!=|<=|>=|<<=|>>=|
>>>=|<>|<|>|!|&&|\.\.(\.)?|\?|\||\|\||\:|\*=|(?<!\()/=|%=|\+=|\-=|&=|
\^=|\b(?<![\.\$])(instanceof|new|delete|typeof|and|or|is|isnt|not)\b
, (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[1099509493984]; })
,
({ syntaxItems[1099509493584] = new SyntaxElement{
/*scopes*/ "assignment.coffee.coffeescript.variable", "(null)",
/*patterns*/ true, REGEX: ([a-zA-Z\$_](\w|\$|\.)*\s*(?!\::)((:)|(=))(?!(\s*\(.*\))?\s*((=|-)>))), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[1099509493584]; })
,
({ syntaxItems[1099509494064] = new SyntaxElement{
/*scopes*/ "assignment.coffee.coffeescript.destructured.meta.variable", "(null)",
/*patterns*/ false, REGEX: (?<=\s|^)([\[\{])(?=.*?[\]\}]\s+[:=]), REGEX: ([\]\}]\s*[:=])
/*refs*/TODO
/*children*/ {
({ syntaxItems[549753767136] = new SyntaxElement{
/*scopes*/ "anonymous.coffeescript", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[549753767136]; })
,
({ syntaxItems[549753767376] = new SyntaxElement{
/*scopes*/ "anonymous.coffeescript", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[549753767376]; })
,
({ syntaxItems[549753767456] = new SyntaxElement{
/*scopes*/ "anonymous.coffeescript", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[549753767456]; })
,
({ syntaxItems[549753767536] = new SyntaxElement{
/*scopes*/ "anonymous.coffeescript", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[549753767536]; })
,
({ syntaxItems[549753767616] = new SyntaxElement{
/*scopes*/ "anonymous.coffeescript", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[549753767616]; })
,
}
}; syntaxItems[1099509494064]; })
,
({ syntaxItems[1099509494144] = new SyntaxElement{
/*scopes*/ "coffee.coffeescript.function.meta", "(null)",
/*patterns*/ true, REGEX: (?x)
(\s*)
(?=[a-zA-Z\$_])
(
[a-zA-Z\$_](\w|\$|:|\.)*\s*
(?=[:=](\s*\(.*\))?\s*([=-]>))
)
, (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[1099509494144]; })
,
({ syntaxItems[1099509494304] = new SyntaxElement{
/*scopes*/ "coffee.coffeescript.function.storage.type", "(null)",
/*patterns*/ true, REGEX: [=-]>, (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[1099509494304]; })
,
({ syntaxItems[1099509494384] = new SyntaxElement{
/*scopes*/ "boolean.coffee.coffeescript.constant.language.true", "(null)",
/*patterns*/ true, REGEX: \b(?<!\.)(true|on|yes)(?!\s*[:=])\b, (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[1099509494384]; })
,
({ syntaxItems[1099509494544] = new SyntaxElement{
/*scopes*/ "boolean.coffee.coffeescript.constant.false.language", "(null)",
/*patterns*/ true, REGEX: \b(?<!\.)(false|off|no)(?!\s*[:=])\b, (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[1099509494544]; })
,
({ syntaxItems[1099509494704] = new SyntaxElement{
/*scopes*/ "coffee.coffeescript.constant.language.null", "(null)",
/*patterns*/ true, REGEX: \b(?<!\.)null(?!\s*[:=])\b, (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[1099509494704]; })
,
({ syntaxItems[1099509494784] = new SyntaxElement{
/*scopes*/ "coffee.coffeescript.language.variable", "(null)",
/*patterns*/ true, REGEX: \b(?<!\.)(super|this|extends)(?!\s*[:=])\b, (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[1099509494784]; })
,
({ syntaxItems[1099509494864] = new SyntaxElement{
/*scopes*/ "class.coffee.coffeescript.meta", "(null)",
/*patterns*/ true, REGEX: (class\b)\s+(@?[a-zA-Z\$_][\w\.]*)?(?:\s+(extends)\s+(@?[a-zA-Z\$\._][\w\.]*))?, (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[1099509494864]; })
,
({ syntaxItems[1099509494944] = new SyntaxElement{
/*scopes*/ "coffee.coffeescript.keyword.other", "(null)",
/*patterns*/ true, REGEX: \b(debugger|\\)\b, (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[1099509494944]; })
,
({ syntaxItems[1099509495024] = new SyntaxElement{
/*scopes*/ "class.coffee.coffeescript.support", "(null)",
/*patterns*/ true, REGEX: (?x)\b(
Array|ArrayBuffer|Blob|Boolean|Date|document|event|Function|
Int(8|16|32|64)Array|Math|Map|Number|
Object|Proxy|RegExp|Set|String|WeakMap|
window|Uint(8|16|32|64)Array|XMLHttpRequest
)\b, (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[1099509495024]; })
,
({ syntaxItems[1099509495104] = new SyntaxElement{
/*scopes*/ "coffee.coffeescript.entity.name.object.type", "(null)",
/*patterns*/ true, <CHSyntaxPatternListDefinition: 0x61000044d860>, (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[1099509495104]; })
,
({ syntaxItems[1099509495184] = new SyntaxElement{
/*scopes*/ "coffee.coffeescript.console.function.support", "(null)",
/*patterns*/ true, REGEX: ((?<=console\.)(debug|warn|info|log|error|time|timeEnd|assert))\b, (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[1099509495184]; })
,
({ syntaxItems[1099509495264] = new SyntaxElement{
/*scopes*/ "coffee.coffeescript.function.support", "(null)",
/*patterns*/ true, REGEX: (?x)\b(
decodeURI(Component)?|encodeURI(Component)?|eval|parse(Float|Int)|require
)\b, (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[1099509495264]; })
,
({ syntaxItems[1099509495344] = new SyntaxElement{
/*scopes*/ "array.coffee.coffeescript.function.method.support", "(null)",
/*patterns*/ true, REGEX: (?x)((?<=\.)(
apply|call|concat|every|filter|forEach|from|hasOwnProperty|indexOf|
isPrototypeOf|join|lastIndexOf|map|of|pop|propertyIsEnumerable|push|
reduce(Right)?|reverse|shift|slice|some|sort|splice|to(Locale)?String|
unshift|valueOf
))\b, (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[1099509495344]; })
,
({ syntaxItems[1099509495504] = new SyntaxElement{
/*scopes*/ "array.coffee.coffeescript.function.static.support", "(null)",
/*patterns*/ true, REGEX: (?x)((?<=Array\.)(
isArray
))\b, (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[1099509495504]; })
,
({ syntaxItems[1099509495664] = new SyntaxElement{
/*scopes*/ "coffee.coffeescript.function.object.static.support", "(null)",
/*patterns*/ true, REGEX: (?x)((?<=Object\.)(
create|definePropert(ies|y)|freeze|getOwnProperty(Descriptors?|Names)|
getProperty(Descriptor|Names)|getPrototypeOf|is(Extensible|Frozen|Sealed)?|
isnt|keys|preventExtensions|seal
))\b, (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[1099509495664]; })
,
({ syntaxItems[1099509495824] = new SyntaxElement{
/*scopes*/ "coffee.coffeescript.function.math.static.support", "(null)",
/*patterns*/ true, REGEX: (?x)((?<=Math\.)(
abs|acos|acosh|asin|asinh|atan|atan2|atanh|ceil|cos|cosh|exp|expm1|floor|
hypot|log|log10|log1p|log2|max|min|pow|random|round|sign|sin|sinh|sqrt|
tan|tanh|trunc
))\b, (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[1099509495824]; })
,
({ syntaxItems[1099509495984] = new SyntaxElement{
/*scopes*/ "coffee.coffeescript.function.number.static.support", "(null)",
/*patterns*/ true, REGEX: (?x)((?<=Number\.)(
is(Finite|Integer|NaN)|toInteger
))\b, (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[1099509495984]; })
,
({ syntaxItems[1099509496144] = new SyntaxElement{
/*scopes*/ "coffee.coffeescript.constant.language", "(null)",
/*patterns*/ true, <CHSyntaxPatternListDefinition: 0x61000044e7c0>, (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[1099509496144]; })
,
({ syntaxItems[1099509496224] = new SyntaxElement{
/*scopes*/ "coffee.coffeescript.punctuation.statement.terminator", "(null)",
/*patterns*/ true, REGEX: \;, (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[1099509496224]; })
,
({ syntaxItems[1099509496384] = new SyntaxElement{
/*scopes*/ "coffee.coffeescript.comma.delimiter.meta.object", "(null)",
/*patterns*/ true, REGEX: ,[ |\t]*, (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[1099509496384]; })
,
({ syntaxItems[1099509496544] = new SyntaxElement{
/*scopes*/ "coffee.coffeescript.delimiter.meta.method.period", "(null)",
/*patterns*/ true, REGEX: \., (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[1099509496544]; })
,
({ syntaxItems[1099509496704] = new SyntaxElement{
/*scopes*/ "brace.coffee.coffeescript.curly.meta", "(null)",
/*patterns*/ true, REGEX: \{|\}, (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[1099509496704]; })
,
({ syntaxItems[1099509496784] = new SyntaxElement{
/*scopes*/ "brace.coffee.coffeescript.meta.round", "(null)",
/*patterns*/ true, REGEX: \(|\), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[1099509496784]; })
,
({ syntaxItems[1099509496864] = new SyntaxElement{
/*scopes*/ "brace.coffee.coffeescript.meta.square", "(null)",
/*patterns*/ true, REGEX: \[|\]\s*, (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[1099509496864]; })
,
({ syntaxItems[549753767696] = new SyntaxElement{
/*scopes*/ "anonymous.coffeescript", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[549753767696]; })
,
({ syntaxItems[549753767776] = new SyntaxElement{
/*scopes*/ "anonymous.coffeescript", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[549753767776]; })
,
({ syntaxItems[549753767856] = new SyntaxElement{
/*scopes*/ "anonymous.coffeescript", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[549753767856]; })
,
({ syntaxItems[549753767936] = new SyntaxElement{
/*scopes*/ "anonymous.coffeescript", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[549753767936]; })
,
}
}; syntaxItems[1099510431104]; })
}
// --- Writing truffle CSS ---
// Writing lang CSS
void shamrock_test_CSS() {
std::map<intptr_t, Syntaxable*> syntaxItems;
({ syntaxItems[1099510432064] = new SyntaxBase{
"css.source", nullptr, {
({ syntaxItems[549753768096] = new SyntaxElement{
/*scopes*/ "anonymous.css", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[549753768096]; })
,
({ syntaxItems[549753768176] = new SyntaxElement{
/*scopes*/ "anonymous.css", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[549753768176]; })
,
({ syntaxItems[1099509499024] = new SyntaxElement{
/*scopes*/ "at-rule.charset.css.meta", "(null)",
/*patterns*/ false, REGEX: \s*((@)charset\b)\s*, REGEX: \s*((?=;|$))
/*refs*/TODO
/*children*/ {
({ syntaxItems[549753768256] = new SyntaxElement{
/*scopes*/ "anonymous.css", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[549753768256]; })
,
({ syntaxItems[549753768336] = new SyntaxElement{
/*scopes*/ "anonymous.css", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[549753768336]; })
,
}
}; syntaxItems[1099509499024]; })
,
({ syntaxItems[1099509499104] = new SyntaxElement{
/*scopes*/ "at-rule.css.import.meta", "(null)",
/*patterns*/ false, REGEX: \s*((@)import\b)\s*, REGEX: \s*((?=;|\}))
/*refs*/TODO
/*children*/ {
({ syntaxItems[549753768416] = new SyntaxElement{
/*scopes*/ "anonymous.css", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[549753768416]; })
,
({ syntaxItems[549753768496] = new SyntaxElement{
/*scopes*/ "anonymous.css", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[549753768496]; })
,
({ syntaxItems[1099509499184] = new SyntaxElement{
/*scopes*/ "anonymous.css", "(null)",
/*patterns*/ false, REGEX: \s*(url)\s*(\()\s*, REGEX: \s*(\))\s*
/*refs*/TODO
/*children*/ {
({ syntaxItems[1099509499264] = new SyntaxElement{
/*scopes*/ "css.parameter.url.variable", "(null)",
/*patterns*/ true, REGEX: [^'") \t]+, (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[1099509499264]; })
,
({ syntaxItems[549753768576] = new SyntaxElement{
/*scopes*/ "anonymous.css", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[549753768576]; })
,
({ syntaxItems[549753768656] = new SyntaxElement{
/*scopes*/ "anonymous.css", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[549753768656]; })
,
}
}; syntaxItems[1099509499184]; })
,
({ syntaxItems[549753768736] = new SyntaxElement{
/*scopes*/ "anonymous.css", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[549753768736]; })
,
}
}; syntaxItems[1099509499104]; })
,
({ syntaxItems[1099509499344] = new SyntaxElement{
/*scopes*/ "at-rule.css.font-face.meta", "(null)",
/*patterns*/ false, REGEX: ^\s*((@)font-face)\s*(?=\{), REGEX: \s*(\})
/*refs*/TODO
/*children*/ {
({ syntaxItems[549753768816] = new SyntaxElement{
/*scopes*/ "anonymous.css", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[549753768816]; })
,
}
}; syntaxItems[1099509499344]; })
,
({ syntaxItems[1099509499424] = new SyntaxElement{
/*scopes*/ "anonymous.css", "(null)",
/*patterns*/ false, REGEX: (?=^\s*@media\s*.*?\{), REGEX: \s*(\})
/*refs*/TODO
/*children*/ {
({ syntaxItems[1099509499504] = new SyntaxElement{
/*scopes*/ "at-rule.css.media.meta", "(null)",
/*patterns*/ false, REGEX: ^\s*((@)media)(?=.*?\{), REGEX: \s*(?=\{)
/*refs*/TODO
/*children*/ {
({ syntaxItems[549753768896] = new SyntaxElement{
/*scopes*/ "anonymous.css", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[549753768896]; })
,
}
}; syntaxItems[1099509499504]; })
,
({ syntaxItems[1099509499584] = new SyntaxElement{
/*scopes*/ "anonymous.css", "(null)",
/*patterns*/ false, REGEX: \s*(\{), REGEX: (?=\})
/*refs*/TODO
/*children*/ {
({ syntaxItems[549753768976] = new SyntaxElement{
/*scopes*/ "anonymous.css", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[549753768976]; })
,
}
}; syntaxItems[1099509499584]; })
,
}
}; syntaxItems[1099509499424]; })
,
({ syntaxItems[1099509499664] = new SyntaxElement{
/*scopes*/ "anonymous.css", "(null)",
/*patterns*/ false, REGEX: (?=\{), REGEX: (\})
/*refs*/TODO
/*children*/ {
({ syntaxItems[549753769136] = new SyntaxElement{
/*scopes*/ "anonymous.css", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[549753769136]; })
,
}
}; syntaxItems[1099509499664]; })
,
}
}; syntaxItems[1099510432064]; })
}
// --- Writing truffle Erlang ---
// Writing lang Erlang
void shamrock_test_Erlang() {
std::map<intptr_t, Syntaxable*> syntaxItems;
({ syntaxItems[1099510433408] = new SyntaxBase{
"erlang.source", nullptr, {
({ syntaxItems[549753769216] = new SyntaxElement{
/*scopes*/ "anonymous.erlang", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[549753769216]; })
,
({ syntaxItems[549753769296] = new SyntaxElement{
/*scopes*/ "anonymous.erlang", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[549753769296]; })
,
({ syntaxItems[549753769376] = new SyntaxElement{
/*scopes*/ "anonymous.erlang", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[549753769376]; })
,
({ syntaxItems[549753769456] = new SyntaxElement{
/*scopes*/ "anonymous.erlang", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[549753769456]; })
,
({ syntaxItems[549753769536] = new SyntaxElement{
/*scopes*/ "anonymous.erlang", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[549753769536]; })
,
({ syntaxItems[549753769616] = new SyntaxElement{
/*scopes*/ "anonymous.erlang", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[549753769616]; })
,
({ syntaxItems[549753769696] = new SyntaxElement{
/*scopes*/ "anonymous.erlang", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[549753769696]; })
,
({ syntaxItems[549753769856] = new SyntaxElement{
/*scopes*/ "anonymous.erlang", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[549753769856]; })
,
}
}; syntaxItems[1099510433408]; })
}
// Writing lang HTML (Erlang)
void shamrock_test_HTML_Erlang() {
std::map<intptr_t, Syntaxable*> syntaxItems;
({ syntaxItems[1099510433600] = new SyntaxBase{
"erlang.html.text.yaws", nullptr, {
({ syntaxItems[1099509521744] = new SyntaxElement{
/*scopes*/ "embedded.erlang.html.html-erlang.source", "(null)",
/*patterns*/ false, REGEX: <erl>, REGEX: </erl>
/*refs*/TODO
/*children*/ {
({ syntaxItems[549753768016] = new SyntaxElement{
/*scopes*/ "anonymous.html-erlang", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[549753768016]; })
,
}
}; syntaxItems[1099509521744]; })
,
({ syntaxItems[549753769936] = new SyntaxElement{
/*scopes*/ "anonymous.html-erlang", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[549753769936]; })
,
}
}; syntaxItems[1099510433600]; })
}
// --- Writing truffle Graphviz ---
// Writing lang Graphviz (DOT)
void shamrock_test_Graphviz_DOT() {
std::map<intptr_t, Syntaxable*> syntaxItems;
({ syntaxItems[-1211840] = new SyntaxBase{
"dot.source", nullptr, {
({ syntaxItems[-70480] = new SyntaxElement{
/*scopes*/ "anonymous.graphviz-dot", "(null)",
/*patterns*/ true, REGEX: ?(digraph)[ \t]+([A-Za-z0-9]+) ?(\{), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[-70480]; })
,
({ syntaxItems[-70400] = new SyntaxElement{
/*scopes*/ "dot.graphviz-dot.keyword.operator", "(null)",
/*patterns*/ true, REGEX: (<|-)(>|-), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[-70400]; })
,
({ syntaxItems[-70320] = new SyntaxElement{
/*scopes*/ "dot.graphviz-dot.storage.type", "(null)",
/*patterns*/ true, <CHSyntaxPatternListDefinition: 0x600001445670>, (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[-70320]; })
,
({ syntaxItems[-70240] = new SyntaxElement{
/*scopes*/ "attribute.constant.dot.graphviz-dot.node.support", "(null)",
/*patterns*/ true, <CHSyntaxPatternListDefinition: 0x600001445a60>, (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[-70240]; })
,
({ syntaxItems[-70000] = new SyntaxElement{
/*scopes*/ "attribute.constant.dot.edge.graphviz-dot.support", "(null)",
/*patterns*/ true, <CHSyntaxPatternListDefinition: 0x600001445e20>, (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[-70000]; })
,
({ syntaxItems[-69760] = new SyntaxElement{
/*scopes*/ "attribute.constant.dot.graph.graphviz-dot.support", "(null)",
/*patterns*/ true, <CHSyntaxPatternListDefinition: 0x6000014461b0>, (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[-69760]; })
,
({ syntaxItems[-69520] = new SyntaxElement{
/*scopes*/ "dot.graphviz-dot.other.variable", "(null)",
/*patterns*/ true, <CHSyntaxPatternListDefinition: 0x600001446570>, (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[-69520]; })
,
({ syntaxItems[-69280] = new SyntaxElement{
/*scopes*/ "dot.double.graphviz-dot.quoted.string", "(null)",
/*patterns*/ false, REGEX: ", REGEX: "
/*refs*/TODO
/*children*/ {
({ syntaxItems[-69200] = new SyntaxElement{
/*scopes*/ "character.constant.dot.escape.graphviz-dot", "(null)",
/*patterns*/ true, REGEX: \\., (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[-69200]; })
,
}
}; syntaxItems[-69280]; })
,
({ syntaxItems[-69120] = new SyntaxElement{
/*scopes*/ "comment.dot.double-slash.graphviz-dot.line", "(null)",
/*patterns*/ true, REGEX: (//).*$\n?, (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[-69120]; })
,
({ syntaxItems[-69040] = new SyntaxElement{
/*scopes*/ "comment.dot.graphviz-dot.line.number-sign", "(null)",
/*patterns*/ true, REGEX: (#).*$\n?, (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[-69040]; })
,
({ syntaxItems[-68960] = new SyntaxElement{
/*scopes*/ "block.comment.dot.graphviz-dot", "(null)",
/*patterns*/ false, REGEX: /\*, REGEX: \*/
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[-68960]; })
,
}
}; syntaxItems[-1211840]; })
}
// --- Writing truffle Haskell ---
// Writing lang Haskell
void shamrock_test_Haskell() {
std::map<intptr_t, Syntaxable*> syntaxItems;
({ syntaxItems[1099510434176] = new SyntaxBase{
"haskell.source", nullptr, {
({ syntaxItems[1099509523264] = new SyntaxElement{
/*scopes*/ "function.haskell.infix.keyword.operator", "(null)",
/*patterns*/ true, REGEX: (`)[a-zA-Z_']*?(`), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[1099509523264]; })
,
({ syntaxItems[1099509523424] = new SyntaxElement{
/*scopes*/ "constant.haskell.language.unit", "(null)",
/*patterns*/ true, REGEX: \(\), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[1099509523424]; })
,
({ syntaxItems[1099509523504] = new SyntaxElement{
/*scopes*/ "constant.empty-list.haskell.language", "(null)",
/*patterns*/ true, REGEX: \[\], (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[1099509523504]; })
,
({ syntaxItems[1099509523584] = new SyntaxElement{
/*scopes*/ "declaration.haskell.meta.module", "(null)",
/*patterns*/ false, REGEX: (module), REGEX: (where)
/*refs*/TODO
/*children*/ {
({ syntaxItems[549753770016] = new SyntaxElement{
/*scopes*/ "anonymous.haskell", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[549753770016]; })
,
({ syntaxItems[549753770096] = new SyntaxElement{
/*scopes*/ "anonymous.haskell", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[549753770096]; })
,
({ syntaxItems[1099509523664] = new SyntaxElement{
/*scopes*/ "haskell.invalid", "(null)",
/*patterns*/ true, REGEX: [a-z]+, (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[1099509523664]; })
,
}
}; syntaxItems[1099509523584]; })
,
({ syntaxItems[1099509523744] = new SyntaxElement{
/*scopes*/ "class.declaration.haskell.meta", "(null)",
/*patterns*/ false, REGEX: \b(class)\b, REGEX: \b(where)\b
/*refs*/TODO
/*children*/ {
({ syntaxItems[1099509523824] = new SyntaxElement{
/*scopes*/ "class.haskell.prelude.support", "(null)",
/*patterns*/ true, REGEX: \b(Monad|Functor|Eq|Ord|Read|Show|Num|(Frac|Ra)tional|Enum|Bounded|Real(Frac|Float)?|Integral|Floating)\b, (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[1099509523824]; })
,
({ syntaxItems[1099509523904] = new SyntaxElement{
/*scopes*/ "entity.haskell.inherited-class.other", "(null)",
/*patterns*/ true, REGEX: [A-Z][A-Za-z_']*, (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[1099509523904]; })
,
({ syntaxItems[1099509523984] = new SyntaxElement{
/*scopes*/ "generic-type.haskell.other.variable", "(null)",
/*patterns*/ true, REGEX: \b[a-z][a-zA-Z0-9_']*\b, (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[1099509523984]; })
,
}
}; syntaxItems[1099509523744]; })
,
({ syntaxItems[1099509524064] = new SyntaxElement{
/*scopes*/ "declaration.haskell.instance.meta", "(null)",
/*patterns*/ false, REGEX: \b(instance)\b, REGEX: \b(where)\b|$
/*refs*/TODO
/*children*/ {
({ syntaxItems[549753770176] = new SyntaxElement{
/*scopes*/ "anonymous.haskell", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[549753770176]; })
,
}
}; syntaxItems[1099509524064]; })
,
({ syntaxItems[1099509524144] = new SyntaxElement{
/*scopes*/ "haskell.import.meta", "(null)",
/*patterns*/ false, REGEX: (import), REGEX: ($|;)
/*refs*/TODO
/*children*/ {
({ syntaxItems[1099509524224] = new SyntaxElement{
/*scopes*/ "haskell.keyword.other", "(null)",
/*patterns*/ true, <CHSyntaxPatternListDefinition: 0x610000a5d4c0>, (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[1099509524224]; })
,
({ syntaxItems[549753770336] = new SyntaxElement{
/*scopes*/ "anonymous.haskell", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[549753770336]; })
,
({ syntaxItems[549753770416] = new SyntaxElement{
/*scopes*/ "anonymous.haskell", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[549753770416]; })
,
}
}; syntaxItems[1099509524144]; })
,
({ syntaxItems[1099509524384] = new SyntaxElement{
/*scopes*/ "deriving.haskell.meta", "(null)",
/*patterns*/ false, REGEX: (deriving)\s*\(, REGEX: \)
/*refs*/TODO
/*children*/ {
({ syntaxItems[1099509524464] = new SyntaxElement{
/*scopes*/ "entity.haskell.inherited-class.other", "(null)",
/*patterns*/ true, REGEX: \b[A-Z][a-zA-Z_']*, (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[1099509524464]; })
,
}
}; syntaxItems[1099509524384]; })
,
({ syntaxItems[1099509524544] = new SyntaxElement{
/*scopes*/ "haskell.keyword.other", "(null)",
/*patterns*/ true, <CHSyntaxPatternListDefinition: 0x610000a5ddc0>, (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[1099509524544]; })
,
({ syntaxItems[1099509524704] = new SyntaxElement{
/*scopes*/ "haskell.keyword.operator", "(null)",
/*patterns*/ true, REGEX: \binfix[lr]?\b, (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[1099509524704]; })
,
({ syntaxItems[1099509524864] = new SyntaxElement{
/*scopes*/ "control.haskell.keyword", "(null)",
/*patterns*/ true, <CHSyntaxPatternListDefinition: 0x610000a5e300>, (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[1099509524864]; })
,
({ syntaxItems[1099509524304] = new SyntaxElement{
/*scopes*/ "constant.float.haskell.numeric", "(null)",
/*patterns*/ true, REGEX: \b([0-9]+\.[0-9]+([eE][+-]?[0-9]+)?|[0-9]+[eE][+-]?[0-9]+)\b, (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[1099509524304]; })
,
({ syntaxItems[1099509525024] = new SyntaxElement{
/*scopes*/ "constant.haskell.numeric", "(null)",
/*patterns*/ true, REGEX: \b([0-9]+|0([xX][0-9a-fA-F]+|[oO][0-7]+))\b, (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[1099509525024]; })
,
({ syntaxItems[1099509525104] = new SyntaxElement{
/*scopes*/ "c.haskell.meta.preprocessor", "(null)",
/*patterns*/ true, REGEX: ^\s*(#)\s*\w+, (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[1099509525104]; })
,
({ syntaxItems[549753770256] = new SyntaxElement{
/*scopes*/ "anonymous.haskell", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[549753770256]; })
,
({ syntaxItems[1099509525184] = new SyntaxElement{
/*scopes*/ "double.haskell.quoted.string", "(null)",
/*patterns*/ false, REGEX: ", REGEX: "
/*refs*/TODO
/*children*/ {
({ syntaxItems[1099509525264] = new SyntaxElement{
/*scopes*/ "character.constant.escape.haskell", "(null)",
/*patterns*/ true, REGEX: \\(NUL|SOH|STX|ETX|EOT|ENQ|ACK|BEL|BS|HT|LF|VT|FF|CR|SO|SI|DLE|DC1|DC2|DC3|DC4|NAK|SYN|ETB|CAN|EM|SUB|ESC|FS|GS|RS|US|SP|DEL|[abfnrtv\\\"'\&]), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[1099509525264]; })
,
({ syntaxItems[1099509525344] = new SyntaxElement{
/*scopes*/ "character.constant.escape.haskell.octal", "(null)",
/*patterns*/ true, REGEX: \\o[0-7]+|\\x[0-9A-Fa-f]+|\\[0-9]+, (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[1099509525344]; })
,
({ syntaxItems[1099509525504] = new SyntaxElement{
/*scopes*/ "character.constant.control.escape.haskell", "(null)",
/*patterns*/ true, REGEX: \^[A-Z@\[\]\\\^_], (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[1099509525504]; })
,
}
}; syntaxItems[1099509525184]; })
,
({ syntaxItems[1099509525584] = new SyntaxElement{
/*scopes*/ "haskell.quoted.single.string", "(null)",
/*patterns*/ true, REGEX: (?x)
(')
(?:
[\ -\[\]-~] # Basic Char
| (\\(?:NUL|SOH|STX|ETX|EOT|ENQ|ACK|BEL|BS|HT|LF|VT|FF|CR|SO|SI|DLE
|DC1|DC2|DC3|DC4|NAK|SYN|ETB|CAN|EM|SUB|ESC|FS|GS|RS
|US|SP|DEL|[abfnrtv\\\"'\&])) # Escapes
| (\\o[0-7]+) # Octal Escapes
| (\\x[0-9A-Fa-f]+) # Hexadecimal Escapes
| (\^[A-Z@\[\]\\\^_]) # Control Chars
)
(')
, (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[1099509525584]; })
,
({ syntaxItems[1099509525744] = new SyntaxElement{
/*scopes*/ "function.haskell.meta.type-declaration", "(null)",
/*patterns*/ false, REGEX: ^\s*([a-z_][a-zA-Z0-9_']*|\([|!%$+\-.,=</>]+\))\s*(::), REGEX: $\n?
/*refs*/TODO
/*children*/ {
({ syntaxItems[549753770496] = new SyntaxElement{
/*scopes*/ "anonymous.haskell", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[549753770496]; })
,
}
}; syntaxItems[1099509525744]; })
,
({ syntaxItems[1099509525904] = new SyntaxElement{
/*scopes*/ "constant.haskell.support", "(null)",
/*patterns*/ true, REGEX: \b(Just|Nothing|Left|Right|True|False|LT|EQ|GT|\(\)|\[\])\b, (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[1099509525904]; })
,
({ syntaxItems[1099509526064] = new SyntaxElement{
/*scopes*/ "constant.haskell.other", "(null)",
/*patterns*/ true, REGEX: \b[A-Z]\w*\b, (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[1099509526064]; })
,
({ syntaxItems[549753770576] = new SyntaxElement{
/*scopes*/ "anonymous.haskell", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[549753770576]; })
,
({ syntaxItems[1099509526144] = new SyntaxElement{
/*scopes*/ "function.haskell.prelude.support", "(null)",
/*patterns*/ true, <CHSyntaxPatternListDefinition: 0x610000c40870>, (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[1099509526144]; })
,
({ syntaxItems[549753770656] = new SyntaxElement{
/*scopes*/ "anonymous.haskell", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[549753770656]; })
,
({ syntaxItems[1099509526224] = new SyntaxElement{
/*scopes*/ "haskell.keyword.operator", "(null)",
/*patterns*/ true, REGEX: [|!%$?~+:\-.=</>\\]+, (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[1099509526224]; })
,
({ syntaxItems[1099509526304] = new SyntaxElement{
/*scopes*/ "comma.haskell.punctuation.separator", "(null)",
/*patterns*/ true, STRING: ,, (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[1099509526304]; })
,
}
}; syntaxItems[1099510434176]; })
}
// Writing lang Literate Haskell
void shamrock_test_Literate_Haskell() {
std::map<intptr_t, Syntaxable*> syntaxItems;
({ syntaxItems[1099510434560] = new SyntaxBase{
"haskell.latex.tex.text", nullptr, {
({ syntaxItems[1099509526384] = new SyntaxElement{
/*scopes*/ "embedded.function.haskell.latex.literate-haskell.meta", "(null)",
/*patterns*/ false, REGEX: ^((\\)begin)({)code(})(\s*\n)?, REGEX: ^((\\)end)({)code(})
/*refs*/TODO
/*children*/ {
({ syntaxItems[549753770736] = new SyntaxElement{
/*scopes*/ "anonymous.literate-haskell", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[549753770736]; })
,
}
}; syntaxItems[1099509526384]; })
,
({ syntaxItems[1099509528384] = new SyntaxElement{
/*scopes*/ "embedded.haskell.literate-haskell.meta", "(null)",
/*patterns*/ false, REGEX: ^(> ), REGEX: $
/*refs*/TODO
/*children*/ {
({ syntaxItems[549753770816] = new SyntaxElement{
/*scopes*/ "anonymous.literate-haskell", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[549753770816]; })
,
}
}; syntaxItems[1099509528384]; })
,
}
}; syntaxItems[1099510434560]; })
}
// --- Writing truffle HTML ---
// Writing lang HTML
void shamrock_test_HTML() {
std::map<intptr_t, Syntaxable*> syntaxItems;
({ syntaxItems[1099510436480] = new SyntaxBase{
"basic.html.text", nullptr, {
({ syntaxItems[1099509529264] = new SyntaxElement{
/*scopes*/ "any.html.meta.tag", "(null)",
/*patterns*/ false, REGEX: (<)([a-zA-Z0-9:]++)(?=[^>]*></\2>), REGEX: (>(<)/)(\2)(>)
/*refs*/TODO
/*children*/ {
({ syntaxItems[549753770896] = new SyntaxElement{
/*scopes*/ "anonymous.html", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[549753770896]; })
,
}
}; syntaxItems[1099509529264]; })
,
({ syntaxItems[1099509529344] = new SyntaxElement{
/*scopes*/ "html.meta.preprocessor.tag.xml", "(null)",
/*patterns*/ false, REGEX: (<\?)(xml), REGEX: (\?>)
/*refs*/TODO
/*children*/ {
({ syntaxItems[549753770976] = new SyntaxElement{
/*scopes*/ "anonymous.html", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[549753770976]; })
,
({ syntaxItems[549753771056] = new SyntaxElement{
/*scopes*/ "anonymous.html", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[549753771056]; })
,
({ syntaxItems[549753771136] = new SyntaxElement{
/*scopes*/ "anonymous.html", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[549753771136]; })
,
}
}; syntaxItems[1099509529344]; })
,
({ syntaxItems[1099509529424] = new SyntaxElement{
/*scopes*/ "block.comment.html", "(null)",
/*patterns*/ false, REGEX: <!--, REGEX: --\s*>
/*refs*/TODO
/*children*/ {
({ syntaxItems[1099509529504] = new SyntaxElement{
/*scopes*/ "bad-comments-or-cdata.html.illegal.invalid", "(null)",
/*patterns*/ true, STRING: --, (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[1099509529504]; })
,
({ syntaxItems[549753771216] = new SyntaxElement{
/*scopes*/ "anonymous.html", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[549753771216]; })
,
}
}; syntaxItems[1099509529424]; })
,
({ syntaxItems[1099509529584] = new SyntaxElement{
/*scopes*/ "html.meta.sgml.tag", "(null)",
/*patterns*/ false, REGEX: <!, REGEX: >
/*refs*/TODO
/*children*/ {
({ syntaxItems[1099509529744] = new SyntaxElement{
/*scopes*/ "doctype.html.meta.sgml.tag", "(null)",
/*patterns*/ false, REGEX: (DOCTYPE), REGEX: (?=>)
/*refs*/TODO
/*children*/ {
({ syntaxItems[1099509529824] = new SyntaxElement{
/*scopes*/ "doctype.double.html.identifiers-and-dtds.quoted.string", "(null)",
/*patterns*/ true, REGEX: "[^">]*", (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[1099509529824]; })
,
}
}; syntaxItems[1099509529744]; })
,
({ syntaxItems[1099509530144] = new SyntaxElement{
/*scopes*/ "constant.html.inline-data.other", "(null)",
/*patterns*/ false, REGEX: \[CDATA\[, REGEX: ]](?=>)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[1099509530144]; })
,
({ syntaxItems[1099509530224] = new SyntaxElement{
/*scopes*/ "bad-comments-or-cdata.html.illegal.invalid", "(null)",
/*patterns*/ true, REGEX: (\s*)(?!--|>)\S(\s*), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[1099509530224]; })
,
}
}; syntaxItems[1099509529584]; })
,
({ syntaxItems[549753771296] = new SyntaxElement{
/*scopes*/ "anonymous.html", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[549753771296]; })
,
({ syntaxItems[1099509530304] = new SyntaxElement{
/*scopes*/ "css.embedded.html.source", "(null)",
/*patterns*/ false, REGEX: (?:^\s+)?(<)((?i:style))\b(?![^>]*/>), REGEX: (</)((?i:style))(>)(?:\s*\n)?
/*refs*/TODO
/*children*/ {
({ syntaxItems[549753771376] = new SyntaxElement{
/*scopes*/ "anonymous.html", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[549753771376]; })
,
({ syntaxItems[1099509530464] = new SyntaxElement{
/*scopes*/ "anonymous.html", "(null)",
/*patterns*/ false, REGEX: (>), REGEX: (?=</(?i:style))
/*refs*/TODO
/*children*/ {
({ syntaxItems[549753771456] = new SyntaxElement{
/*scopes*/ "anonymous.html", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[549753771456]; })
,
({ syntaxItems[549753771536] = new SyntaxElement{
/*scopes*/ "anonymous.html", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[549753771536]; })
,
}
}; syntaxItems[1099509530464]; })
,
}
}; syntaxItems[1099509530304]; })
,
({ syntaxItems[1099509530544] = new SyntaxElement{
/*scopes*/ "embedded.html.js.source", "(null)",
/*patterns*/ false, REGEX: (?:^\s+)?(<)((?i:script))\b(?![^>]*/>), REGEX: (?<=</(script|SCRIPT))(>)(?:\s*\n)?
/*refs*/TODO
/*children*/ {
({ syntaxItems[549753771696] = new SyntaxElement{
/*scopes*/ "anonymous.html", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[549753771696]; })
,
({ syntaxItems[1099509530624] = new SyntaxElement{
/*scopes*/ "anonymous.html", "(null)",
/*patterns*/ false, REGEX: (?<!</(?:script|SCRIPT))(>), REGEX: (</)((?i:script))
/*refs*/TODO
/*children*/ {
({ syntaxItems[1099509530704] = new SyntaxElement{
/*scopes*/ "comment.double-slash.html.js.line", "(null)",
/*patterns*/ true, REGEX: (//).*?((?=</script)|$\n?), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[1099509530704]; })
,
({ syntaxItems[1099509530784] = new SyntaxElement{
/*scopes*/ "block.comment.html.js", "(null)",
/*patterns*/ false, REGEX: /\*, REGEX: \*/|(?=</script)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[1099509530784]; })
,
({ syntaxItems[549753771776] = new SyntaxElement{
/*scopes*/ "anonymous.html", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[549753771776]; })
,
({ syntaxItems[549753771856] = new SyntaxElement{
/*scopes*/ "anonymous.html", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[549753771856]; })
,
}
}; syntaxItems[1099509530624]; })
,
}
}; syntaxItems[1099509530544]; })
,
({ syntaxItems[1099509530944] = new SyntaxElement{
/*scopes*/ "any.html.meta.structure.tag", "(null)",
/*patterns*/ false, REGEX: (</?)((?i:body|head|html)\b), REGEX: (>)
/*refs*/TODO
/*children*/ {
({ syntaxItems[549753771936] = new SyntaxElement{
/*scopes*/ "anonymous.html", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[549753771936]; })
,
}
}; syntaxItems[1099509530944]; })
,
({ syntaxItems[1099509531024] = new SyntaxElement{
/*scopes*/ "any.block.html.meta.tag", "(null)",
/*patterns*/ false, REGEX: (</?)((?i:address|blockquote|dd|div|section|article|aside|header|footer|nav|menu|dl|dt|fieldset|form|frame|frameset|h1|h2|h3|h4|h5|h6|iframe|noframes|object|ol|p|ul|applet|center|dir|hr|pre)\b), REGEX: (>)
/*refs*/TODO
/*children*/ {
({ syntaxItems[549753772016] = new SyntaxElement{
/*scopes*/ "anonymous.html", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[549753772016]; })
,
}
}; syntaxItems[1099509531024]; })
,
({ syntaxItems[1099509531104] = new SyntaxElement{
/*scopes*/ "any.html.inline.meta.tag", "(null)",
/*patterns*/ false, REGEX: (</?)((?i:a|abbr|acronym|area|b|base|basefont|bdo|big|br|button|caption|cite|code|col|colgroup|del|dfn|em|font|head|html|i|img|input|ins|isindex|kbd|label|legend|li|link|map|meta|noscript|optgroup|option|param|q|s|samp|script|select|small|span|strike|strong|style|sub|sup|table|tbody|td|textarea|tfoot|th|thead|title|tr|tt|u|var)\b), REGEX: ((?: ?/)?>)
/*refs*/TODO
/*children*/ {
({ syntaxItems[549753772096] = new SyntaxElement{
/*scopes*/ "anonymous.html", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[549753772096]; })
,
}
}; syntaxItems[1099509531104]; })
,
({ syntaxItems[1099509531184] = new SyntaxElement{
/*scopes*/ "html.meta.other.tag", "(null)",
/*patterns*/ false, REGEX: (</?)([a-zA-Z0-9:]+), REGEX: (>)
/*refs*/TODO
/*children*/ {
({ syntaxItems[549753771616] = new SyntaxElement{
/*scopes*/ "anonymous.html", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[549753771616]; })
,
}
}; syntaxItems[1099509531184]; })
,
({ syntaxItems[549753772176] = new SyntaxElement{
/*scopes*/ "anonymous.html", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[549753772176]; })
,
({ syntaxItems[1099509530864] = new SyntaxElement{
/*scopes*/ "html.illegal.incomplete.invalid", "(null)",
/*patterns*/ true, STRING: <>, (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[1099509530864]; })
,
({ syntaxItems[1099509531264] = new SyntaxElement{
/*scopes*/ "bad-angle-bracket.html.illegal.invalid", "(null)",
/*patterns*/ true, STRING: <, (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[1099509531264]; })
,
}
}; syntaxItems[1099510436480]; })
}
// --- Writing truffle Java ---
// Writing lang Java
void shamrock_test_Java() {
std::map<intptr_t, Syntaxable*> syntaxItems;
({ syntaxItems[1099510437440] = new SyntaxBase{
"java.source", nullptr, {
({ syntaxItems[1099509535824] = new SyntaxElement{
/*scopes*/ "java.meta.package", "(null)",
/*patterns*/ true, REGEX: ^\s*(package)\b(?:\s*([^ ;$]+)\s*(;)?)?, (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[1099509535824]; })
,
({ syntaxItems[1099509535904] = new SyntaxElement{
/*scopes*/ "import.java.meta.static", "(null)",
/*patterns*/ true, REGEX: ^\s*(import static)\b(?:\s*([^ ;$]+)\s*(;)?)?, (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[1099509535904]; })
,
({ syntaxItems[1099509535984] = new SyntaxElement{
/*scopes*/ "import.java.meta", "(null)",
/*patterns*/ true, REGEX: ^\s*(import)\b(?:\s*([^ ;$]+)\s*(;)?)?, (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[1099509535984]; })
,
({ syntaxItems[549753772256] = new SyntaxElement{
/*scopes*/ "anonymous.java", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[549753772256]; })
,
}
}; syntaxItems[1099510437440]; })
}
// Writing lang Java Server Page (JSP)
void shamrock_test_Java_Server_Page_JSP() {
std::map<intptr_t, Syntaxable*> syntaxItems;
({ syntaxItems[1649266211776] = new SyntaxBase{
"html.jsp.text", nullptr, {
({ syntaxItems[1649265379072] = new SyntaxElement{
/*scopes*/ "block.comment.java-server-page-jsp.jsp", "(null)",
/*patterns*/ false, REGEX: <%--, REGEX: --%>
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[1649265379072]; })
,
({ syntaxItems[1649265379152] = new SyntaxElement{
/*scopes*/ "directive.java-server-page-jsp.jsp.meta", "(null)",
/*patterns*/ false, REGEX: <%@, REGEX: %>
/*refs*/TODO
/*children*/ {
({ syntaxItems[1649265379232] = new SyntaxElement{
/*scopes*/ "anonymous.java-server-page-jsp", "(null)",
/*patterns*/ false, REGEX: \w+, REGEX: (?=%>)
/*refs*/TODO
/*children*/ {
({ syntaxItems[1649265379312] = new SyntaxElement{
/*scopes*/ "attribute.constant.directive.java-server-page-jsp.jsp.other", "(null)",
/*patterns*/ true, REGEX: \w+, (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[1649265379312]; })
,
({ syntaxItems[1649265379472] = new SyntaxElement{
/*scopes*/ "assignment.java-server-page-jsp.jsp.keyword.operator", "(null)",
/*patterns*/ true, STRING: =, (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[1649265379472]; })
,
({ syntaxItems[1649265379632] = new SyntaxElement{
/*scopes*/ "double.java-server-page-jsp.jsp.quoted.string", "(null)",
/*patterns*/ false, REGEX: ", REGEX: "
/*refs*/TODO
/*children*/ {
({ syntaxItems[1649265379712] = new SyntaxElement{
/*scopes*/ "character.constant.escape.java-server-page-jsp.jsp", "(null)",
/*patterns*/ true, REGEX: \\., (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[1649265379712]; })
,
}
}; syntaxItems[1649265379632]; })
,
({ syntaxItems[1649265379872] = new SyntaxElement{
/*scopes*/ "java-server-page-jsp.jsp.quoted.single.string", "(null)",
/*patterns*/ false, REGEX: ', REGEX: '
/*refs*/TODO
/*children*/ {
({ syntaxItems[1649265379952] = new SyntaxElement{
/*scopes*/ "character.constant.escape.java-server-page-jsp.jsp", "(null)",
/*patterns*/ true, REGEX: \\., (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[1649265379952]; })
,
}
}; syntaxItems[1649265379872]; })
,
}
}; syntaxItems[1649265379232]; })
,
}
}; syntaxItems[1649265379152]; })
,
({ syntaxItems[1649265380112] = new SyntaxElement{
/*scopes*/ "anonymous.java-server-page-jsp", "(null)",
/*patterns*/ false, REGEX: (<%[!=]?)|(<jsp:scriptlet>|<jsp:expression>|<jsp:declaration>), REGEX: (?<=</jsp:scriptlet>|</jsp:expression>|</jsp:declaration>|%>)
/*refs*/TODO
/*children*/ {
({ syntaxItems[1649265380352] = new SyntaxElement{
/*scopes*/ "anonymous.java-server-page-jsp", "(null)",
/*patterns*/ true, REGEX: (</jsp:scriptlet>|</jsp:expression>|</jsp:declaration>)|(%>), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[1649265380352]; })
,
({ syntaxItems[1649265380512] = new SyntaxElement{
/*scopes*/ "embedded.html.java.java-server-page-jsp.source", "(null)",
/*patterns*/ false, REGEX: (?<!\n)(?!</jsp:scriptlet>|</jsp:expression>|</jsp:declaration>|%>|\{|\}), REGEX: (?=</jsp:scriptlet>|</jsp:expression>|</jsp:declaration>|%>|\{|\})|\n
/*refs*/TODO
/*children*/ {
({ syntaxItems[549753772496] = new SyntaxElement{
/*scopes*/ "anonymous.java-server-page-jsp", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[549753772496]; })
,
}
}; syntaxItems[1649265380512]; })
,
({ syntaxItems[1649265380672] = new SyntaxElement{
/*scopes*/ "anonymous.java-server-page-jsp", "(null)",
/*patterns*/ false, STRING: {, STRING: }
/*refs*/TODO
/*children*/ {
({ syntaxItems[1649265380752] = new SyntaxElement{
/*scopes*/ "anonymous.java-server-page-jsp", "(null)",
/*patterns*/ false, REGEX: (</jsp:scriptlet>|</jsp:expression>|</jsp:declaration>)|(%>), REGEX: (<jsp:scriptlet>|<jsp:expression>|<jsp:declaration>)|(<%[!=]?)
/*refs*/TODO
/*children*/ {
({ syntaxItems[549753772656] = new SyntaxElement{
/*scopes*/ "anonymous.java-server-page-jsp", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[549753772656]; })
,
}
}; syntaxItems[1649265380752]; })
,
({ syntaxItems[549753772736] = new SyntaxElement{
/*scopes*/ "anonymous.java-server-page-jsp", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[549753772736]; })
,
}
}; syntaxItems[1649265380672]; })
,
({ syntaxItems[549753772816] = new SyntaxElement{
/*scopes*/ "anonymous.java-server-page-jsp", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[549753772816]; })
,
}
}; syntaxItems[1649265380112]; })
,
({ syntaxItems[549753772896] = new SyntaxElement{
/*scopes*/ "anonymous.java-server-page-jsp", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[549753772896]; })
,
}
}; syntaxItems[1649266211776]; })
}
// Writing lang JavaProperties
void shamrock_test_JavaProperties() {
std::map<intptr_t, Syntaxable*> syntaxItems;
({ syntaxItems[1649266211968] = new SyntaxBase{
"java.properties.source", nullptr, {
({ syntaxItems[1649265382912] = new SyntaxElement{
/*scopes*/ "comment.javaproperties.line.properties", "(null)",
/*patterns*/ true, REGEX: ^(#.*)(
|$), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[1649265382912]; })
,
({ syntaxItems[1649265382992] = new SyntaxElement{
/*scopes*/ "javaproperties.kvp.properties.singleline", "(null)",
/*patterns*/ true, REGEX: ^(?#KEY)(?:[ ])*([a-zA-Z][^<>/][a-zA-Z0-9-_.]*)(=)(?#VALUE)(.*
), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[1649265382992]; })
,
({ syntaxItems[1649265383072] = new SyntaxElement{
/*scopes*/ "and.between.dangling.equalsign.javaproperties.key.kvp.properties.space", "(null)",
/*patterns*/ true, REGEX: ^(?#KEY)(?:[ ])*([a-zA-Z][^<>/][a-zA-Z0-9-_.]*)([ ]+=)(?#VALUE)(.*
), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[1649265383072]; })
,
({ syntaxItems[1649265383392] = new SyntaxElement{
/*scopes*/ "javaproperties.kvp.multiline.properties", "(null)",
/*patterns*/ true, REGEX: ^((?:[ ])*[^#].*\
|(?:[ ])*\
|(?:[ ])*[^#](?<!=).*
), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[1649265383392]; })
,
}
}; syntaxItems[1649266211968]; })
}
// Writing lang JUnit Test Report
void shamrock_test_JUnit_Test_Report() {
std::map<intptr_t, Syntaxable*> syntaxItems;
({ syntaxItems[1649266212160] = new SyntaxBase{
"junit-test-report.text", nullptr, {
({ syntaxItems[1649265384272] = new SyntaxElement{
/*scopes*/ "junit-test-report.meta.name.testsuite", "(null)",
/*patterns*/ true, REGEX: (Testsuite:) (.+)$\n, (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[1649265384272]; })
,
({ syntaxItems[1649265384432] = new SyntaxElement{
/*scopes*/ "junit-test-report.meta.name.testcase", "(null)",
/*patterns*/ true, REGEX: (Testcase:) (.+) took ([\d\.]+) sec$\n, (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[1649265384432]; })
,
({ syntaxItems[1649265384592] = new SyntaxElement{
/*scopes*/ "junit-test-report.meta.stackframe", "(null)",
/*patterns*/ false, REGEX: at\s+(?=.+?\(.+?\)$), REGEX: $\n
/*refs*/TODO
/*children*/ {
({ syntaxItems[1649265384752] = new SyntaxElement{
/*scopes*/ "junit-test-report.meta.method.stackframe", "(null)",
/*patterns*/ true, REGEX: (?<=\.)[^\.]+?(?=\(), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[1649265384752]; })
,
({ syntaxItems[1649265384992] = new SyntaxElement{
/*scopes*/ "anonymous.junit-test-report", "(null)",
/*patterns*/ true, REGEX: \((.+)(:)(.+)\)$, (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[1649265384992]; })
,
}
}; syntaxItems[1649265384592]; })
,
({ syntaxItems[1649265385072] = new SyntaxElement{
/*scopes*/ "junit-test-report.meta.output.section", "(null)",
/*patterns*/ false, REGEX: ------------- Standard Output ---------------$\n, REGEX: ------------- ---------------- ---------------$\n
/*refs*/TODO
/*children*/ {
({ syntaxItems[1649265385392] = new SyntaxElement{
/*scopes*/ "junit-test-report.meta.output", "(null)",
/*patterns*/ false, REGEX: --Output from (.+?)--$\n, REGEX: (?=--Output from|------------- ---------------- ---------------)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[1649265385392]; })
,
}
}; syntaxItems[1649265385072]; })
,
({ syntaxItems[1649265384832] = new SyntaxElement{
/*scopes*/ "error.junit-test-report.meta.section", "(null)",
/*patterns*/ false, REGEX: ------------- Standard Error -----------------$\n, REGEX: ------------- ---------------- ---------------$\n
/*refs*/TODO
/*children*/ {
({ syntaxItems[1649265385792] = new SyntaxElement{
/*scopes*/ "error.junit-test-report.meta", "(null)",
/*patterns*/ false, REGEX: --Output from (.+?)--$\n, REGEX: (?=--Output from|------------- ---------------- ---------------)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[1649265385792]; })
,
}
}; syntaxItems[1649265384832]; })
,
}
}; syntaxItems[1649266212160]; })
}
// --- Writing truffle JavaScript ---
// Writing lang JavaScript
void shamrock_test_JavaScript() {
std::map<intptr_t, Syntaxable*> syntaxItems;
({ syntaxItems[1649266212544] = new SyntaxBase{
"js.source", nullptr, {
({ syntaxItems[1649265386912] = new SyntaxElement{
/*scopes*/ "class.javascript.js.meta", "(null)",
/*patterns*/ true, REGEX: ([a-zA-Z_?.$][\w?.$]*)\.(prototype)\s*(=)\s*, (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[1649265386912]; })
,
({ syntaxItems[1649265386992] = new SyntaxElement{
/*scopes*/ "function.javascript.js.meta.prototype", "(null)",
/*patterns*/ true, REGEX: ([a-zA-Z_?.$][\w?.$]*)\.(prototype)\.([a-zA-Z_?.$][\w?.$]*)\s*(=)\s*(function)?\s*(\()(.*?)(\)), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[1649265386992]; })
,
({ syntaxItems[1649265387312] = new SyntaxElement{
/*scopes*/ "function.javascript.js.meta", "(null)",
/*patterns*/ true, REGEX: ([a-zA-Z_?.$][\w?.$]*)\.(prototype)\.([a-zA-Z_?.$][\w?.$]*)\s*(=)\s*, (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[1649265387312]; })
,
({ syntaxItems[1649265387392] = new SyntaxElement{
/*scopes*/ "function.javascript.js.meta", "(null)",
/*patterns*/ true, REGEX: ([a-zA-Z_?.$][\w?.$]*)\.([a-zA-Z_?.$][\w?.$]*)\s*(=)\s*(function)\s*(\()(.*?)(\)), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[1649265387392]; })
,
({ syntaxItems[1649265387632] = new SyntaxElement{
/*scopes*/ "function.javascript.js.meta", "(null)",
/*patterns*/ true, REGEX: ([a-zA-Z_?$][\w?$]*)\s*(=)\s*(function)\s*(\()(.*?)(\)), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[1649265387632]; })
,
({ syntaxItems[1649265387792] = new SyntaxElement{
/*scopes*/ "function.javascript.js.meta", "(null)",
/*patterns*/ true, REGEX: \b(function)\s+([a-zA-Z_$]\w*)?\s*(\()(.*?)(\)), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[1649265387792]; })
,
({ syntaxItems[1649265387952] = new SyntaxElement{
/*scopes*/ "function.javascript.js.json.meta", "(null)",
/*patterns*/ true, REGEX: \b([a-zA-Z_?.$][\w?.$]*)\s*:\s*\b(function)?\s*(\()(.*?)(\)), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[1649265387952]; })
,
({ syntaxItems[1649265388192] = new SyntaxElement{
/*scopes*/ "function.javascript.js.json.meta", "(null)",
/*patterns*/ true, REGEX: (?:((')(.*?)('))|((")(.*?)(")))\s*:\s*\b(function)?\s*(\()(.*?)(\)), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[1649265388192]; })
,
({ syntaxItems[1649265388272] = new SyntaxElement{
/*scopes*/ "class.constructor.instance.javascript.meta", "(null)",
/*patterns*/ true, REGEX: (new)\s+(\w+(?:\.\w*)?), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[1649265388272]; })
,
({ syntaxItems[1649265388352] = new SyntaxElement{
/*scopes*/ "entity.firebug.javascript.js.name.object.type", "(null)",
/*patterns*/ true, <CHSyntaxPatternListDefinition: 0x618000c56500>, (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[1649265388352]; })
,
({ syntaxItems[1649265388432] = new SyntaxElement{
/*scopes*/ "firebug.function.javascript.js.support", "(null)",
/*patterns*/ true, REGEX: \.(warn|info|log|error|time|timeEnd|assert)\b, (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[1649265388432]; })
,
({ syntaxItems[1649265388112] = new SyntaxElement{
/*scopes*/ "constant.javascript.js.numeric", "(null)",
/*patterns*/ true, REGEX: \b((0(x|X)[0-9a-fA-F]+)|([0-9]+(\.[0-9]+)?))\b, (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[1649265388112]; })
,
({ syntaxItems[1649265388592] = new SyntaxElement{
/*scopes*/ "javascript.js.quoted.single.string", "(null)",
/*patterns*/ false, REGEX: ', REGEX: '
/*refs*/TODO
/*children*/ {
({ syntaxItems[1649265388672] = new SyntaxElement{
/*scopes*/ "character.constant.escape.javascript.js", "(null)",
/*patterns*/ true, REGEX: \\(x\h{2}|[0-2][0-7]{,2}|3[0-6][0-7]?|37[0-7]?|[4-7][0-7]?|.), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[1649265388672]; })
,
}
}; syntaxItems[1649265388592]; })
,
({ syntaxItems[1649265388832] = new SyntaxElement{
/*scopes*/ "double.javascript.js.quoted.string", "(null)",
/*patterns*/ false, REGEX: ", REGEX: "
/*refs*/TODO
/*children*/ {
({ syntaxItems[1649265388912] = new SyntaxElement{
/*scopes*/ "character.constant.escape.javascript.js", "(null)",
/*patterns*/ true, REGEX: \\(x\h{2}|[0-2][0-7]{,2}|3[0-6][0-7]|37[0-7]?|[4-7][0-7]?|.), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[1649265388912]; })
,
}
}; syntaxItems[1649265388832]; })
,
({ syntaxItems[1649265389072] = new SyntaxElement{
/*scopes*/ "block.comment.documentation.javascript.js", "(null)",
/*patterns*/ false, REGEX: /\*\*(?!/), REGEX: \*/
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[1649265389072]; })
,
({ syntaxItems[1649265389152] = new SyntaxElement{
/*scopes*/ "block.comment.javascript.js", "(null)",
/*patterns*/ false, REGEX: /\*, REGEX: \*/
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[1649265389152]; })
,
({ syntaxItems[1649265389232] = new SyntaxElement{
/*scopes*/ "comment.double-slash.javascript.js.line", "(null)",
/*patterns*/ true, REGEX: (//).*$\n?, (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[1649265389232]; })
,
({ syntaxItems[1649265389312] = new SyntaxElement{
/*scopes*/ "block.comment.html.javascript.js", "(null)",
/*patterns*/ true, REGEX: (<!--|-->), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[1649265389312]; })
,
({ syntaxItems[1649265389392] = new SyntaxElement{
/*scopes*/ "javascript.js.storage.type", "(null)",
/*patterns*/ true, <CHSyntaxPatternListDefinition: 0x618000c58390>, (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[1649265389392]; })
,
({ syntaxItems[1649265389552] = new SyntaxElement{
/*scopes*/ "javascript.js.modifier.storage", "(null)",
/*patterns*/ true, <CHSyntaxPatternListDefinition: 0x618000c58720>, (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[1649265389552]; })
,
({ syntaxItems[1649265389712] = new SyntaxElement{
/*scopes*/ "control.javascript.js.keyword", "(null)",
/*patterns*/ true, <CHSyntaxPatternListDefinition: 0x618000c58ab0>, (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[1649265389712]; })
,
({ syntaxItems[1649265389872] = new SyntaxElement{
/*scopes*/ "javascript.js.keyword.operator", "(null)",
/*patterns*/ true, <CHSyntaxPatternListDefinition: 0x618000c58e40>, (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[1649265389872]; })
,
({ syntaxItems[1649265389952] = new SyntaxElement{
/*scopes*/ "boolean.constant.javascript.js.language.true", "(null)",
/*patterns*/ true, STRING: true, (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[1649265389952]; })
,
({ syntaxItems[1649265390032] = new SyntaxElement{
/*scopes*/ "boolean.constant.false.javascript.js.language", "(null)",
/*patterns*/ true, STRING: false, (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[1649265390032]; })
,
({ syntaxItems[1649265390112] = new SyntaxElement{
/*scopes*/ "constant.javascript.js.language.null", "(null)",
/*patterns*/ true, STRING: null, (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[1649265390112]; })
,
({ syntaxItems[1649265390192] = new SyntaxElement{
/*scopes*/ "javascript.js.language.variable", "(null)",
/*patterns*/ true, <CHSyntaxPatternListDefinition: 0x618000c596b0>, (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[1649265390192]; })
,
({ syntaxItems[1649265390272] = new SyntaxElement{
/*scopes*/ "javascript.js.keyword.other", "(null)",
/*patterns*/ true, <CHSyntaxPatternListDefinition: 0x618000c59920>, (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[1649265390272]; })
,
({ syntaxItems[1649265390352] = new SyntaxElement{
/*scopes*/ "class.javascript.js.support", "(null)",
/*patterns*/ true, <CHSyntaxPatternListDefinition: 0x618000c59b90>, (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[1649265390352]; })
,
({ syntaxItems[1649265390512] = new SyntaxElement{
/*scopes*/ "function.javascript.js.support", "(null)",
/*patterns*/ true, REGEX: \b(s(h(ift|ow(Mod(elessDialog|alDialog)|Help))|croll(X|By(Pages|Lines)?|Y|To)?|t(op|rike)|i(n|zeToContent|debar|gnText)|ort|u(p|b(str(ing)?)?)|pli(ce|t)|e(nd|t(Re(sizable|questHeader)|M(i(nutes|lliseconds)|onth)|Seconds|Ho(tKeys|urs)|Year|Cursor|Time(out)?|Interval|ZOptions|Date|UTC(M(i(nutes|lliseconds)|onth)|Seconds|Hours|Date|FullYear)|FullYear|Active)|arch)|qrt|lice|avePreferences|mall)|h(ome|andleEvent)|navigate|c(har(CodeAt|At)|o(s|n(cat|textual|firm)|mpile)|eil|lear(Timeout|Interval)?|a(ptureEvents|ll)|reate(StyleSheet|Popup|EventObject))|t(o(GMTString|S(tring|ource)|U(TCString|pperCase)|Lo(caleString|werCase))|est|a(n|int(Enabled)?))|i(s(NaN|Finite)|ndexOf|talics)|d(isableExternalCapture|ump|etachEvent)|u(n(shift|taint|escape|watch)|pdateCommands)|j(oin|avaEnabled)|p(o(p|w)|ush|lugins.refresh|a(ddings|rse(Int|Float)?)|r(int|ompt|eference))|e(scape|nableExternalCapture|val|lementFromPoint|x(p|ec(Script|Command)?))|valueOf|UTC|queryCommand(State|Indeterm|Enabled|Value)|f(i(nd|le(ModifiedDate|Size|CreatedDate|UpdatedDate)|xed)|o(nt(size|color)|rward)|loor|romCharCode)|watch|l(ink|o(ad|g)|astIndexOf)|a(sin|nchor|cos|t(tachEvent|ob|an(2)?)|pply|lert|b(s|ort))|r(ou(nd|teEvents)|e(size(By|To)|calc|turnValue|place|verse|l(oad|ease(Capture|Events)))|andom)|g(o|et(ResponseHeader|M(i(nutes|lliseconds)|onth)|Se(conds|lection)|Hours|Year|Time(zoneOffset)?|Da(y|te)|UTC(M(i(nutes|lliseconds)|onth)|Seconds|Hours|Da(y|te)|FullYear)|FullYear|A(ttention|llResponseHeaders)))|m(in|ove(B(y|elow)|To(Absolute)?|Above)|ergeAttributes|a(tch|rgins|x))|b(toa|ig|o(ld|rderWidths)|link|ack))\b(?=\(), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[1649265390512]; })
,
({ syntaxItems[1649265390592] = new SyntaxElement{
/*scopes*/ "dom.function.javascript.js.support", "(null)",
/*patterns*/ true, REGEX: \b(s(ub(stringData|mit)|plitText|e(t(NamedItem|Attribute(Node)?)|lect))|has(ChildNodes|Feature)|namedItem|c(l(ick|o(se|neNode))|reate(C(omment|DATASection|aption)|T(Head|extNode|Foot)|DocumentFragment|ProcessingInstruction|E(ntityReference|lement)|Attribute))|tabIndex|i(nsert(Row|Before|Cell|Data)|tem)|open|delete(Row|C(ell|aption)|T(Head|Foot)|Data)|focus|write(ln)?|a(dd|ppend(Child|Data))|re(set|place(Child|Data)|move(NamedItem|Child|Attribute(Node)?)?)|get(NamedItem|Element(sBy(Name|TagName)|ById)|Attribute(Node)?)|blur)\b(?=\(), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[1649265390592]; })
,
({ syntaxItems[1649265390672] = new SyntaxElement{
/*scopes*/ "constant.javascript.js.support", "(null)",
/*patterns*/ true, REGEX: (?<=\.)(s(ystemLanguage|cr(ipts|ollbars|een(X|Y|Top|Left))|t(yle(Sheets)?|atus(Text|bar)?)|ibling(Below|Above)|ource|uffixes|e(curity(Policy)?|l(ection|f)))|h(istory|ost(name)?|as(h|Focus))|y|X(MLDocument|SLDocument)|n(ext|ame(space(s|URI)|Prop))|M(IN_VALUE|AX_VALUE)|c(haracterSet|o(n(structor|trollers)|okieEnabled|lorDepth|mp(onents|lete))|urrent|puClass|l(i(p(boardData)?|entInformation)|osed|asses)|alle(e|r)|rypto)|t(o(olbar|p)|ext(Transform|Indent|Decoration|Align)|ags)|SQRT(1_2|2)|i(n(ner(Height|Width)|put)|ds|gnoreCase)|zIndex|o(scpu|n(readystatechange|Line)|uter(Height|Width)|p(sProfile|ener)|ffscreenBuffering)|NEGATIVE_INFINITY|d(i(splay|alog(Height|Top|Width|Left|Arguments)|rectories)|e(scription|fault(Status|Ch(ecked|arset)|View)))|u(ser(Profile|Language|Agent)|n(iqueID|defined)|pdateInterval)|_content|p(ixelDepth|ort|ersonalbar|kcs11|l(ugins|atform)|a(thname|dding(Right|Bottom|Top|Left)|rent(Window|Layer)?|ge(X(Offset)?|Y(Offset)?))|r(o(to(col|type)|duct(Sub)?|mpter)|e(vious|fix)))|e(n(coding|abledPlugin)|x(ternal|pando)|mbeds)|v(isibility|endor(Sub)?|Linkcolor)|URLUnencoded|P(I|OSITIVE_INFINITY)|f(ilename|o(nt(Size|Family|Weight)|rmName)|rame(s|Element)|gColor)|E|whiteSpace|l(i(stStyleType|n(eHeight|kColor))|o(ca(tion(bar)?|lName)|wsrc)|e(ngth|ft(Context)?)|a(st(M(odified|atch)|Index|Paren)|yer(s|X)|nguage))|a(pp(MinorVersion|Name|Co(deName|re)|Version)|vail(Height|Top|Width|Left)|ll|r(ity|guments)|Linkcolor|bove)|r(ight(Context)?|e(sponse(XML|Text)|adyState))|global|x|m(imeTypes|ultiline|enubar|argin(Right|Bottom|Top|Left))|L(N(10|2)|OG(10E|2E))|b(o(ttom|rder(Width|RightWidth|BottomWidth|Style|Color|TopWidth|LeftWidth))|ufferDepth|elow|ackground(Color|Image)))\b, (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[1649265390672]; })
,
({ syntaxItems[1649265390752] = new SyntaxElement{
/*scopes*/ "constant.dom.javascript.js.support", "(null)",
/*patterns*/ true, REGEX: (?<=\.)(s(hape|ystemId|c(heme|ope|rolling)|ta(ndby|rt)|ize|ummary|pecified|e(ctionRowIndex|lected(Index)?)|rc)|h(space|t(tpEquiv|mlFor)|e(ight|aders)|ref(lang)?)|n(o(Resize|tation(s|Name)|Shade|Href|de(Name|Type|Value)|Wrap)|extSibling|ame)|c(h(ildNodes|Off|ecked|arset)?|ite|o(ntent|o(kie|rds)|de(Base|Type)?|l(s|Span|or)|mpact)|ell(s|Spacing|Padding)|l(ear|assName)|aption)|t(ype|Bodies|itle|Head|ext|a(rget|gName)|Foot)|i(sMap|ndex|d|m(plementation|ages))|o(ptions|wnerDocument|bject)|d(i(sabled|r)|o(c(type|umentElement)|main)|e(clare|f(er|ault(Selected|Checked|Value)))|at(eTime|a))|useMap|p(ublicId|arentNode|r(o(file|mpt)|eviousSibling))|e(n(ctype|tities)|vent|lements)|v(space|ersion|alue(Type)?|Link|Align)|URL|f(irstChild|orm(s)?|ace|rame(Border)?)|width|l(ink(s)?|o(ngDesc|wSrc)|a(stChild|ng|bel))|a(nchors|c(ce(ssKey|pt(Charset)?)|tion)|ttributes|pplets|l(t|ign)|r(chive|eas)|xis|Link|bbr)|r(ow(s|Span|Index)|ules|e(v|ferrer|l|adOnly))|m(ultiple|e(thod|dia)|a(rgin(Height|Width)|xLength))|b(o(dy|rder)|ackground|gColor))\b, (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[1649265390752]; })
,
({ syntaxItems[1649265390832] = new SyntaxElement{
/*scopes*/ "constant.dom.javascript.js.support", "(null)",
/*patterns*/ true, <CHSyntaxPatternListDefinition: 0x618000c5a790>, (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[1649265390832]; })
,
({ syntaxItems[1649265390912] = new SyntaxElement{
/*scopes*/ "event-handler.function.javascript.js.support", "(null)",
/*patterns*/ true, REGEX: \bon(R(ow(s(inserted|delete)|e(nter|xit))|e(s(ize(start|end)?|et)|adystatechange))|Mouse(o(ut|ver)|down|up|move)|B(efore(cut|deactivate|u(nload|pdate)|p(aste|rint)|editfocus|activate)|lur)|S(croll|top|ubmit|elect(start|ionchange)?)|H(over|elp)|C(hange|ont(extmenu|rolselect)|ut|ellchange|l(ick|ose))|D(eactivate|ata(setc(hanged|omplete)|available)|r(op|ag(start|over|drop|en(ter|d)|leave)?)|blclick)|Unload|P(aste|ropertychange)|Error(update)?|Key(down|up|press)|Focus|Load|A(ctivate|fter(update|print)|bort))\b, (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[1649265390912]; })
,
({ syntaxItems[1649265390992] = new SyntaxElement{
/*scopes*/ "javascript.js.keyword.operator", "(null)",
/*patterns*/ true, REGEX: !|\$|%|&|\*|\-\-|\-|\+\+|\+|~|===|==|=|!=|!==|<=|>=|<<=|>>=|>>>=|<>|<|>|!|&&|\|\||\?\:|\*=|(?<!\()/=|%=|\+=|\-=|&=|\^=|\b(in|instanceof|new|delete|typeof|void)\b, (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[1649265390992]; })
,
({ syntaxItems[1649265391072] = new SyntaxElement{
/*scopes*/ "constant.javascript.js.language", "(null)",
/*patterns*/ true, <CHSyntaxPatternListDefinition: 0x618000c5b3c0>, (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[1649265391072]; })
,
({ syntaxItems[1649265391152] = new SyntaxElement{
/*scopes*/ "javascript.js.regexp.string", "(null)",
/*patterns*/ false, REGEX: (?<=[=(:]|^|return)\s*(/)(?![/*+{}?]), REGEX: (/)[igm]*
/*refs*/TODO
/*children*/ {
({ syntaxItems[1649265391312] = new SyntaxElement{
/*scopes*/ "character.constant.escape.javascript.js", "(null)",
/*patterns*/ true, REGEX: \\., (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[1649265391312]; })
,
}
}; syntaxItems[1649265391152]; })
,
({ syntaxItems[1649265391392] = new SyntaxElement{
/*scopes*/ "javascript.js.punctuation.statement.terminator", "(null)",
/*patterns*/ true, REGEX: \;, (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[1649265391392]; })
,
({ syntaxItems[1649265391472] = new SyntaxElement{
/*scopes*/ "comma.delimiter.javascript.js.meta.object", "(null)",
/*patterns*/ true, REGEX: ,[ |\t]*, (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[1649265391472]; })
,
({ syntaxItems[1649265391552] = new SyntaxElement{
/*scopes*/ "delimiter.javascript.js.meta.method.period", "(null)",
/*patterns*/ true, REGEX: \., (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[1649265391552]; })
,
({ syntaxItems[1649265391712] = new SyntaxElement{
/*scopes*/ "brace.curly.javascript.js.meta", "(null)",
/*patterns*/ true, REGEX: \{|\}, (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[1649265391712]; })
,
({ syntaxItems[1649265391792] = new SyntaxElement{
/*scopes*/ "brace.javascript.js.meta.round", "(null)",
/*patterns*/ true, REGEX: \(|\), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[1649265391792]; })
,
({ syntaxItems[1649265391872] = new SyntaxElement{
/*scopes*/ "brace.javascript.js.meta.square", "(null)",
/*patterns*/ true, REGEX: \[|\], (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[1649265391872]; })
,
}
}; syntaxItems[1649266212544]; })
}
// --- Writing truffle JSON ---
// Writing lang JSON
void shamrock_test_JSON() {
std::map<intptr_t, Syntaxable*> syntaxItems;
({ syntaxItems[1649266213888] = new SyntaxBase{
"json.source", nullptr, {
({ syntaxItems[549753772976] = new SyntaxElement{
/*scopes*/ "anonymous.json", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[549753772976]; })
,
}
}; syntaxItems[1649266213888]; })
}
// --- Writing truffle Lua ---
// Writing lang Lua
void shamrock_test_Lua() {
std::map<intptr_t, Syntaxable*> syntaxItems;
({ syntaxItems[1649266214464] = new SyntaxBase{
"lua.source", nullptr, {
({ syntaxItems[1649265395552] = new SyntaxElement{
/*scopes*/ "function.lua.meta", "(null)",
/*patterns*/ true, REGEX: \b(function)\s+([a-zA-Z_.:]+[.:])?([a-zA-Z_]\w*)\s*(\()([^)]*)(\)), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[1649265395552]; })
,
({ syntaxItems[1649265395632] = new SyntaxElement{
/*scopes*/ "constant.lua.numeric", "(null)",
/*patterns*/ true, REGEX: (?<![\d.])\s0x[a-fA-F\d]+|\b\d+(\.\d+)?([eE]-?\d+)?|\.\d+([eE]-?\d+)?, (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[1649265395632]; })
,
({ syntaxItems[1649265395712] = new SyntaxElement{
/*scopes*/ "lua.quoted.single.string", "(null)",
/*patterns*/ false, REGEX: ', REGEX: '
/*refs*/TODO
/*children*/ {
({ syntaxItems[1649265395792] = new SyntaxElement{
/*scopes*/ "character.constant.escape.lua", "(null)",
/*patterns*/ true, REGEX: \\., (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[1649265395792]; })
,
}
}; syntaxItems[1649265395712]; })
,
({ syntaxItems[1649265395872] = new SyntaxElement{
/*scopes*/ "double.lua.quoted.string", "(null)",
/*patterns*/ false, REGEX: ", REGEX: "
/*refs*/TODO
/*children*/ {
({ syntaxItems[1649265395952] = new SyntaxElement{
/*scopes*/ "character.constant.escape.lua", "(null)",
/*patterns*/ true, REGEX: \\., (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[1649265395952]; })
,
}
}; syntaxItems[1649265395872]; })
,
({ syntaxItems[1649265396032] = new SyntaxElement{
/*scopes*/ "lua.multiline.other.quoted.string", "(null)",
/*patterns*/ false, REGEX: (?<!--)\[(=*)\[, REGEX: \]\1\]
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[1649265396032]; })
,
({ syntaxItems[1649265396112] = new SyntaxElement{
/*scopes*/ "block.comment.lua", "(null)",
/*patterns*/ false, REGEX: --\[(=*)\[, REGEX: \]\1\]
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[1649265396112]; })
,
({ syntaxItems[1649265396192] = new SyntaxElement{
/*scopes*/ "comment.double-dash.line.lua", "(null)",
/*patterns*/ true, REGEX: (--)(?!\[\[).*$\n?, (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[1649265396192]; })
,
({ syntaxItems[1649265396352] = new SyntaxElement{
/*scopes*/ "control.keyword.lua", "(null)",
/*patterns*/ true, <CHSyntaxPatternListDefinition: 0x618000e4aaa0>, (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[1649265396352]; })
,
({ syntaxItems[1649265396432] = new SyntaxElement{
/*scopes*/ "constant.language.lua", "(null)",
/*patterns*/ true, REGEX: (?<![^.]\.|:)\b(false|nil|true|_G|_VERSION|math\.(pi|huge))\b|(?<![.])\.{3}(?!\.), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[1649265396432]; })
,
({ syntaxItems[1649265396512] = new SyntaxElement{
/*scopes*/ "language.lua.self.variable", "(null)",
/*patterns*/ true, REGEX: (?<![^.]\.|:)\b(self)\b, (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[1649265396512]; })
,
({ syntaxItems[1649265396592] = new SyntaxElement{
/*scopes*/ "function.lua.support", "(null)",
/*patterns*/ true, REGEX: (?<![^.]\.|:)\b(assert|collectgarbage|dofile|error|getfenv|getmetatable|ipairs|loadfile|loadstring|module|next|pairs|pcall|print|rawequal|rawget|rawset|require|select|setfenv|setmetatable|tonumber|tostring|type|unpack|xpcall)\b(?=[( {]), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[1649265396592]; })
,
({ syntaxItems[1649265396272] = new SyntaxElement{
/*scopes*/ "function.library.lua.support", "(null)",
/*patterns*/ true, REGEX: (?<![^.]\.|:)\b(coroutine\.(create|resume|running|status|wrap|yield)|string\.(byte|char|dump|find|format|gmatch|gsub|len|lower|match|rep|reverse|sub|upper)|table\.(concat|insert|maxn|remove|sort)|math\.(abs|acos|asin|atan2?|ceil|cosh?|deg|exp|floor|fmod|frexp|ldexp|log|log10|max|min|modf|pow|rad|random|randomseed|sinh?|sqrt|tanh?)|io\.(close|flush|input|lines|open|output|popen|read|tmpfile|type|write)|os\.(clock|date|difftime|execute|exit|getenv|remove|rename|setlocale|time|tmpname)|package\.(cpath|loaded|loadlib|path|preload|seeall)|debug\.(debug|[gs]etfenv|[gs]ethook|getinfo|[gs]etlocal|[gs]etmetatable|getregistry|[gs]etupvalue|traceback))\b(?=[( {]), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[1649265396272]; })
,
({ syntaxItems[1649265396672] = new SyntaxElement{
/*scopes*/ "keyword.lua.operator", "(null)",
/*patterns*/ true, <CHSyntaxPatternListDefinition: 0x618000e4b700>, (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[1649265396672]; })
,
({ syntaxItems[1649265396752] = new SyntaxElement{
/*scopes*/ "keyword.lua.operator", "(null)",
/*patterns*/ true, REGEX: \+|-|%|#|\*|\/|\^|==?|~=|<=?|>=?|(?<!\.)\.{2}(?!\.), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[1649265396752]; })
,
}
}; syntaxItems[1649266214464]; })
}
// --- Writing truffle Markdown ---
// Writing lang Markdown
void shamrock_test_Markdown() {
std::map<intptr_t, Syntaxable*> syntaxItems;
({ syntaxItems[-1242560] = new SyntaxBase{
"html.markdown.text", nullptr, {
({ syntaxItems[-2107232] = new SyntaxElement{
/*scopes*/ "block-level.markdown.meta", "(null)",
/*patterns*/ false, REGEX: (?x)^
(?= [ ]{,3}>.
| ([ ]{4}|\t)(?!$)
| [#]{1,6}\s*+
| [ ]{,3}(?<marker>[-*_])([ ]{,2}\k<marker>){2,}[ \t]*+$
), REGEX: (?x)^
(?! [ ]{,3}>.
| ([ ]{4}|\t)
| [#]{1,6}\s*+
| [ ]{,3}(?<marker>[-*_])([ ]{,2}\k<marker>){2,}[ \t]*+$
)
/*refs*/TODO
/*children*/ {
({ syntaxItems[549753773136] = new SyntaxElement{
/*scopes*/ "anonymous.markdown", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[549753773136]; })
,
({ syntaxItems[549753773216] = new SyntaxElement{
/*scopes*/ "anonymous.markdown", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[549753773216]; })
,
({ syntaxItems[549753773296] = new SyntaxElement{
/*scopes*/ "anonymous.markdown", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[549753773296]; })
,
({ syntaxItems[549753773376] = new SyntaxElement{
/*scopes*/ "anonymous.markdown", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[549753773376]; })
,
}
}; syntaxItems[-2107232]; })
,
({ syntaxItems[-2129952] = new SyntaxElement{
/*scopes*/ "list.markdown.markup.unnumbered", "(null)",
/*patterns*/ false, REGEX: ^[ ]{0,3}([*+-])(?=\s), REGEX: ^(?=\S)
/*refs*/TODO
/*children*/ {
({ syntaxItems[549753773456] = new SyntaxElement{
/*scopes*/ "anonymous.markdown", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[549753773456]; })
,
}
}; syntaxItems[-2129952]; })
,
({ syntaxItems[-2160432] = new SyntaxElement{
/*scopes*/ "list.markdown.markup.numbered", "(null)",
/*patterns*/ false, REGEX: ^[ ]{0,3}([0-9]+\.)(?=\s), REGEX: ^(?=\S)
/*refs*/TODO
/*children*/ {
({ syntaxItems[549753773536] = new SyntaxElement{
/*scopes*/ "anonymous.markdown", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[549753773536]; })
,
}
}; syntaxItems[-2160432]; })
,
({ syntaxItems[-2129152] = new SyntaxElement{
/*scopes*/ "disable-markdown.markdown.meta", "(null)",
/*patterns*/ false, REGEX: ^(?=<(p|div|h[1-6]|blockquote|pre|table|dl|ol|ul|script|noscript|form|fieldset|iframe|math|ins|del)\b)(?!.*?</\1>), REGEX: (?<=^</\1>$\n)
/*refs*/TODO
/*children*/ {
({ syntaxItems[549753773616] = new SyntaxElement{
/*scopes*/ "anonymous.markdown", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[549753773616]; })
,
}
}; syntaxItems[-2129152]; })
,
({ syntaxItems[-2128192] = new SyntaxElement{
/*scopes*/ "disable-markdown.markdown.meta", "(null)",
/*patterns*/ false, REGEX: ^(?=<(p|div|h[1-6]|blockquote|pre|table|dl|ol|ul|script|noscript|form|fieldset|iframe|math|ins|del)\b), REGEX: $\n?
/*refs*/TODO
/*children*/ {
({ syntaxItems[549753773696] = new SyntaxElement{
/*scopes*/ "anonymous.markdown", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[549753773696]; })
,
}
}; syntaxItems[-2128192]; })
,
({ syntaxItems[-2128272] = new SyntaxElement{
/*scopes*/ "def.link.markdown.meta.reference", "(null)",
/*patterns*/ true, REGEX: (?x:
\s* # Leading whitespace
(\[)(.+?)(\])(:) # Reference name
[ \t]* # Optional whitespace
(<?)(\S+?)(>?) # The url
[ \t]* # Optional whitespace
(?:
((\().+?(\))) # Match title in quotes…
| ((").+?(")) # or in parens.
)? # Title is optional
\s* # Optional whitespace
$
), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[-2128272]; })
,
({ syntaxItems[-2125952] = new SyntaxElement{
/*scopes*/ "markdown.meta.paragraph", "(null)",
/*patterns*/ false, REGEX: ^(?=\S)(?![=-]{3,}(?=$)), REGEX: ^(?:\s*$|(?=[ ]{,3}>.))|(?=[ \t]*\n)(?<=^===|^====|=====|^---|^----|-----)[ \t]*\n|(?=^#)
/*refs*/TODO
/*children*/ {
({ syntaxItems[549753773856] = new SyntaxElement{
/*scopes*/ "anonymous.markdown", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[549753773856]; })
,
({ syntaxItems[549753773936] = new SyntaxElement{
/*scopes*/ "anonymous.markdown", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[549753773936]; })
,
({ syntaxItems[-2125152] = new SyntaxElement{
/*scopes*/ "1.heading.markdown.markup", "(null)",
/*patterns*/ true, REGEX: ^(={3,})(?=[ \t]*$), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[-2125152]; })
,
({ syntaxItems[-2124352] = new SyntaxElement{
/*scopes*/ "2.heading.markdown.markup", "(null)",
/*patterns*/ true, REGEX: ^(-{3,})(?=[ \t]*$), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[-2124352]; })
,
}
}; syntaxItems[-2125952]; })
,
}
}; syntaxItems[-1242560]; })
}
// Writing lang MultiMarkdown
void shamrock_test_MultiMarkdown() {
std::map<intptr_t, Syntaxable*> syntaxItems;
({ syntaxItems[-1249088] = new SyntaxBase{
"html.markdown.multimarkdown.text", nullptr, {
({ syntaxItems[-2116912] = new SyntaxElement{
/*scopes*/ "header.meta.multimarkdown", "(null)",
/*patterns*/ false, REGEX: ^([A-Za-z0-9]+)(:)\s*, REGEX: ^$|^(?=[A-Za-z0-9]+:)
/*refs*/TODO
/*children*/ {
({ syntaxItems[-2116832] = new SyntaxElement{
/*scopes*/ "multimarkdown.string.unquoted", "(null)",
/*patterns*/ true, REGEX: .+, (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[-2116832]; })
,
}
}; syntaxItems[-2116912]; })
,
({ syntaxItems[-2116752] = new SyntaxElement{
/*scopes*/ "content.meta.multimarkdown", "(null)",
/*patterns*/ false, REGEX: ^(?!=[A-Za-z0-9]+:), REGEX: ^(?=not)possible$
/*refs*/TODO
/*children*/ {
({ syntaxItems[549753773056] = new SyntaxElement{
/*scopes*/ "anonymous.multimarkdown", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[549753773056]; })
,
}
}; syntaxItems[-2116752]; })
,
}
}; syntaxItems[-1249088]; })
}
// --- Writing truffle Nu ---
// Writing lang Nu
void shamrock_test_Nu() {
std::map<intptr_t, Syntaxable*> syntaxItems;
({ syntaxItems[-1234880] = new SyntaxBase{
"nu.source", nullptr, {
({ syntaxItems[1649265397152] = new SyntaxElement{
/*scopes*/ "constant.language.nu", "(null)",
/*patterns*/ true, <CHSyntaxPatternListDefinition: 0x618000e4d710>, (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[1649265397152]; })
,
({ syntaxItems[1649265397792] = new SyntaxElement{
/*scopes*/ "constant.nu.numeric", "(null)",
/*patterns*/ true, REGEX: \b((0(x|X)[0-9a-fA-F]*)|-?(([0-9]+\.?[0-9]*)|(\.[0-9]+))((e|E)(\+|-)?[0-9]+)?)(L|l|UL|ul|u|U|F|f|ll|LL|ull|ULL)?\b, (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[1649265397792]; })
,
({ syntaxItems[1649265398032] = new SyntaxElement{
/*scopes*/ "character.constant.nu", "(null)",
/*patterns*/ true, REGEX: (')(.|\\[nrfbaes]|\\[0-7]{3}|\\x\h{2}|\\u\h{4})('), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[1649265398032]; })
,
({ syntaxItems[1649265398192] = new SyntaxElement{
/*scopes*/ "instance.nu.other.readwrite.variable", "(null)",
/*patterns*/ true, REGEX: (@)[a-zA-Z_]\w*, (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[1649265398192]; })
,
({ syntaxItems[1649265398272] = new SyntaxElement{
/*scopes*/ "global.nu.other.readwrite.variable", "(null)",
/*patterns*/ true, REGEX: (\$)[a-zA-Z_]\w*, (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[1649265398272]; })
,
({ syntaxItems[1649265398352] = new SyntaxElement{
/*scopes*/ "class.nu.support", "(null)",
/*patterns*/ true, REGEX: \b[A-Z]\w*\b, (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[1649265398352]; })
,
({ syntaxItems[1649265398432] = new SyntaxElement{
/*scopes*/ "comment.nu.nudoc", "(null)",
/*patterns*/ true, REGEX: (;.*|#.*)(@(abstract|copyright|discussion|file|header|info).*), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[1649265398432]; })
,
({ syntaxItems[1649265398672] = new SyntaxElement{
/*scopes*/ "comment.line.nu.semicolon", "(null)",
/*patterns*/ true, REGEX: (;).*$\n?, (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[1649265398672]; })
,
({ syntaxItems[1649265398752] = new SyntaxElement{
/*scopes*/ "comment.hash.line.nu", "(null)",
/*patterns*/ true, REGEX: (#).*$\n?, (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[1649265398752]; })
,
({ syntaxItems[1649265398832] = new SyntaxElement{
/*scopes*/ "double.nu.quoted.string.unescaped", "(null)",
/*patterns*/ false, REGEX: -", REGEX: "
/*refs*/TODO
/*children*/ {
({ syntaxItems[549753774096] = new SyntaxElement{
/*scopes*/ "anonymous.nu", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[549753774096]; })
,
}
}; syntaxItems[1649265398832]; })
,
({ syntaxItems[1649265398912] = new SyntaxElement{
/*scopes*/ "double.escaped.nu.quoted.string", "(null)",
/*patterns*/ false, REGEX: \+?", REGEX: "
/*refs*/TODO
/*children*/ {
({ syntaxItems[549753774016] = new SyntaxElement{
/*scopes*/ "anonymous.nu", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[549753774016]; })
,
({ syntaxItems[549753774176] = new SyntaxElement{
/*scopes*/ "anonymous.nu", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[549753774176]; })
,
}
}; syntaxItems[1649265398912]; })
,
({ syntaxItems[1649265398592] = new SyntaxElement{
/*scopes*/ "escaped.heredoc.nu.string.unquoted", "(null)",
/*patterns*/ false, REGEX: <<[+](.*), REGEX: \1
/*refs*/TODO
/*children*/ {
({ syntaxItems[549753774256] = new SyntaxElement{
/*scopes*/ "anonymous.nu", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[549753774256]; })
,
({ syntaxItems[549753774336] = new SyntaxElement{
/*scopes*/ "anonymous.nu", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[549753774336]; })
,
}
}; syntaxItems[1649265398592]; })
,
({ syntaxItems[1649265398992] = new SyntaxElement{
/*scopes*/ "heredoc.nu.string.unescaped.unquoted", "(null)",
/*patterns*/ false, REGEX: <<[-](.*), REGEX: \1
/*refs*/TODO
/*children*/ {
({ syntaxItems[549753774416] = new SyntaxElement{
/*scopes*/ "anonymous.nu", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[549753774416]; })
,
}
}; syntaxItems[1649265398992]; })
,
({ syntaxItems[1649265399072] = new SyntaxElement{
/*scopes*/ "nu.regexp.string", "(null)",
/*patterns*/ false, REGEX: (/)(?=[^ ]), REGEX: /[isxlm]*
/*refs*/TODO
/*children*/ {
({ syntaxItems[1649265399152] = new SyntaxElement{
/*scopes*/ "character.constant.escape.nu", "(null)",
/*patterns*/ true, REGEX: \\/, (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[1649265399152]; })
,
}
}; syntaxItems[1649265399072]; })
,
({ syntaxItems[1649265399232] = new SyntaxElement{
/*scopes*/ "class.meta.nu", "(null)",
/*patterns*/ true, REGEX: \b(class)\s+((\w|\-|\!|\?)*)(\s+(is)\s+((\w|\-|\!|\?)*))?, (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[1649265399232]; })
,
({ syntaxItems[1649265399392] = new SyntaxElement{
/*scopes*/ "meta.nu.protocol", "(null)",
/*patterns*/ true, REGEX: \b(protocol)\s+((\w)*), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[1649265399392]; })
,
({ syntaxItems[1649265399552] = new SyntaxElement{
/*scopes*/ "import.meta.nu", "(null)",
/*patterns*/ true, REGEX: \((import)\s+(\w*), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[1649265399552]; })
,
({ syntaxItems[1649265399632] = new SyntaxElement{
/*scopes*/ "global.meta.nu", "(null)",
/*patterns*/ true, REGEX: \((global)\s+([\w\-]*), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[1649265399632]; })
,
({ syntaxItems[1649265399712] = new SyntaxElement{
/*scopes*/ "meta.method.nu.zero-args", "(null)",
/*patterns*/ true, REGEX: \(([+-]|[ic]method)\s+\((\w+)\)\s+(\w+)\s+(is), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[1649265399712]; })
,
({ syntaxItems[1649265399792] = new SyntaxElement{
/*scopes*/ "meta.method.nu.one-arg", "(null)",
/*patterns*/ true, REGEX: \(([+-]|[ic]method)\s+\((\w+)\)\s+(\w+\:)\s*\((\w+)\)\s+(\w+)\s+(is), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[1649265399792]; })
,
({ syntaxItems[1649265399872] = new SyntaxElement{
/*scopes*/ "meta.method.nu.two-args", "(null)",
/*patterns*/ true, REGEX: \(([+-]|[ic]method)\s+\((\w+)\)\s+(\w+\:)\s*\((\w+)\)\s+(\w+)\s+(\w+\:)\s*\((\w+)\)\s+(\w+)\s+(is), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[1649265399872]; })
,
({ syntaxItems[1649265400192] = new SyntaxElement{
/*scopes*/ "meta.method.nu.three-args", "(null)",
/*patterns*/ true, REGEX: \(([+-]|[ic]method)\s+\((\w+)\)\s+(\w+\:)\s*\((\w+)\)\s+(\w+)\s+(\w+\:)\s*\((\w+)\)\s+(\w+)\s+(\w+\:)\s*\((\w+)\)\s+(\w+)\s+(is), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[1649265400192]; })
,
({ syntaxItems[1649265400272] = new SyntaxElement{
/*scopes*/ "ivars.meta.nu", "(null)",
/*patterns*/ true, REGEX: \b((ivar)\s+((\w|\-|\!|\?)*)(\s+(is)\s+((\w|\-|\!|\?)*))?|ivars|ivar-accessors), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[1649265400272]; })
,
({ syntaxItems[1649265400352] = new SyntaxElement{
/*scopes*/ "function.meta.nu", "(null)",
/*patterns*/ true, REGEX: \b(function|macro|macro-0|macro-1)\s+((\w|\-|\!|\?)*), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[1649265400352]; })
,
({ syntaxItems[1649265400512] = new SyntaxElement{
/*scopes*/ "meta.nu.nukefile.task", "(null)",
/*patterns*/ true, REGEX: (task)\s+(\"\w+")\s?(:?)\s?(\"[\w\s]+\")?\s+(is), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[1649265400512]; })
,
({ syntaxItems[1649265400672] = new SyntaxElement{
/*scopes*/ "meta.nu.nukefile.task.with-dependencies", "(null)",
/*patterns*/ true, REGEX: (task)\s+(\"\w+\")\s?(:)?\s?(\"[\w\s]+\")?\s?(=>?)\s?(\"[\"\w\s]+\")?\s+(is), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[1649265400672]; })
,
({ syntaxItems[1649265400912] = new SyntaxElement{
/*scopes*/ "default.meta.nu.nukefile.task", "(null)",
/*patterns*/ true, REGEX: (task)\s+(\"default\")\s+(=>)\s+(\"\w+\"), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[1649265400912]; })
,
({ syntaxItems[1649265400992] = new SyntaxElement{
/*scopes*/ "control.keyword.nu", "(null)",
/*patterns*/ true, <CHSyntaxPatternListDefinition: 0x618000e55450>, (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[1649265400992]; })
,
({ syntaxItems[1649265401072] = new SyntaxElement{
/*scopes*/ "keyword.nu.operator", "(null)",
/*patterns*/ true, <CHSyntaxPatternListDefinition: 0x618000e557e0>, (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[1649265401072]; })
,
({ syntaxItems[1649265401152] = new SyntaxElement{
/*scopes*/ "keyword.nu.operator.symbolic", "(null)",
/*patterns*/ true, REGEX: [/*+-/&|><=!`@], (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[1649265401152]; })
,
({ syntaxItems[1649265401232] = new SyntaxElement{
/*scopes*/ "function.nu.support", "(null)",
/*patterns*/ true, <CHSyntaxPatternListDefinition: 0x618000e55d50>, (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[1649265401232]; })
,
({ syntaxItems[1649265401312] = new SyntaxElement{
/*scopes*/ "function.nu.support.testing", "(null)",
/*patterns*/ true, <CHSyntaxPatternListDefinition: 0x618000e56110>, (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[1649265401312]; })
,
({ syntaxItems[1649265401392] = new SyntaxElement{
/*scopes*/ "keyword.nu.nukefile", "(null)",
/*patterns*/ true, <CHSyntaxPatternListDefinition: 0x618000e565c0>, (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[1649265401392]; })
,
}
}; syntaxItems[-1234880]; })
}
// --- Writing truffle Objective-C ---
// Writing lang Objective-C
void shamrock_test_Objective-C() {
std::map<intptr_t, Syntaxable*> syntaxItems;
({ syntaxItems[1649266216192] = new SyntaxBase{
"objc.source", nullptr, {
({ syntaxItems[1649265403392] = new SyntaxElement{
/*scopes*/ "interface-or-protocol.meta.objc.objective-c", "(null)",
/*patterns*/ false, REGEX: ((@)(interface|protocol))(?!.+;)\s+([A-Za-z_][A-Za-z0-9_]*)\s*((:)(?:\s*)([A-Za-z][A-Za-z0-9]*))?(\s|\n)?, REGEX: ((@)end)\b
/*refs*/TODO
/*children*/ {
({ syntaxItems[549753774496] = new SyntaxElement{
/*scopes*/ "anonymous.objective-c", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[549753774496]; })
,
}
}; syntaxItems[1649265403392]; })
,
({ syntaxItems[1649265403952] = new SyntaxElement{
/*scopes*/ "implementation.meta.objc.objective-c", "(null)",
/*patterns*/ false, REGEX: ((@)(implementation))\s+([A-Za-z_][A-Za-z0-9_]*)\s*(?::\s*([A-Za-z][A-Za-z0-9]*))?, REGEX: ((@)end)\b
/*refs*/TODO
/*children*/ {
({ syntaxItems[549753774576] = new SyntaxElement{
/*scopes*/ "anonymous.objective-c", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[549753774576]; })
,
}
}; syntaxItems[1649265403952]; })
,
({ syntaxItems[1649265404032] = new SyntaxElement{
/*scopes*/ "double.objc.objective-c.quoted.string", "(null)",
/*patterns*/ false, REGEX: @", REGEX: "
/*refs*/TODO
/*children*/ {
({ syntaxItems[1649265404112] = new SyntaxElement{
/*scopes*/ "character.constant.escape.objc.objective-c", "(null)",
/*patterns*/ true, REGEX: \\(\\|[abefnrtv'"?]|[0-3]\d{,2}|[4-7]\d?|x[a-fA-F0-9]{,2}|u[a-fA-F0-9]{,4}|U[a-fA-F0-9]{,8}), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[1649265404112]; })
,
({ syntaxItems[1649267370304] = new SyntaxElement{
/*scopes*/ "illegal.invalid.objc.objective-c.unknown-escape", "(null)",
/*patterns*/ true, REGEX: \\., (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[1649267370304]; })
,
}
}; syntaxItems[1649265404032]; })
,
({ syntaxItems[1649267370464] = new SyntaxElement{
/*scopes*/ "id-with-protocol.meta.objc.objective-c", "(null)",
/*patterns*/ false, REGEX: \b(id)\s*(?=<), REGEX: (?<=>)
/*refs*/TODO
/*children*/ {
({ syntaxItems[549753774656] = new SyntaxElement{
/*scopes*/ "anonymous.objective-c", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[549753774656]; })
,
}
}; syntaxItems[1649267370464]; })
,
({ syntaxItems[1649267370544] = new SyntaxElement{
/*scopes*/ "control.keyword.macro.objc.objective-c", "(null)",
/*patterns*/ true, <CHSyntaxPatternListDefinition: 0x61800105a6d0>, (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[1649267370544]; })
,
({ syntaxItems[1649267370624] = new SyntaxElement{
/*scopes*/ "control.exception.keyword.objc.objective-c", "(null)",
/*patterns*/ true, REGEX: (@)(try|catch|finally|throw)\b, (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[1649267370624]; })
,
({ syntaxItems[1649267370704] = new SyntaxElement{
/*scopes*/ "control.keyword.objc.objective-c.synchronize", "(null)",
/*patterns*/ true, REGEX: (@)(synchronized)\b, (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[1649267370704]; })
,
({ syntaxItems[1649267370864] = new SyntaxElement{
/*scopes*/ "control.keyword.objc.objective-c.protocol-specification", "(null)",
/*patterns*/ true, REGEX: (@)(required|optional)\b, (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[1649267370864]; })
,
({ syntaxItems[1649267370944] = new SyntaxElement{
/*scopes*/ "keyword.objc.objective-c.other", "(null)",
/*patterns*/ true, REGEX: (@)(defs|encode)\b, (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[1649267370944]; })
,
({ syntaxItems[1649267371104] = new SyntaxElement{
/*scopes*/ "id.objc.objective-c.storage.type", "(null)",
/*patterns*/ true, REGEX: \bid\b(\s|\n)?, (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[1649267371104]; })
,
({ syntaxItems[1649267371184] = new SyntaxElement{
/*scopes*/ "objc.objective-c.storage.type", "(null)",
/*patterns*/ true, <CHSyntaxPatternListDefinition: 0x61800105b660>, (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[1649267371184]; })
,
({ syntaxItems[1649267370784] = new SyntaxElement{
/*scopes*/ "objc.objective-c.storage.type", "(null)",
/*patterns*/ true, REGEX: (@)(class|protocol)\b, (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[1649267370784]; })
,
({ syntaxItems[1649267371264] = new SyntaxElement{
/*scopes*/ "meta.objc.objective-c.selector", "(null)",
/*patterns*/ false, REGEX: ((@)selector)\s*(\(), REGEX: (\))
/*refs*/TODO
/*children*/ {
({ syntaxItems[1649267371504] = new SyntaxElement{
/*scopes*/ "any-method.function.name-of-parameter.objc.objective-c.support", "(null)",
/*patterns*/ true, REGEX: \b(?:[a-zA-Z_:][\w]*)+, (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[1649267371504]; })
,
}
}; syntaxItems[1649267371264]; })
,
({ syntaxItems[1649267371664] = new SyntaxElement{
/*scopes*/ "modifier.objc.objective-c.storage", "(null)",
/*patterns*/ true, REGEX: (@)(synchronized|public|private|protected)\b, (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[1649267371664]; })
,
({ syntaxItems[1649267371824] = new SyntaxElement{
/*scopes*/ "constant.language.objc.objective-c", "(null)",
/*patterns*/ true, <CHSyntaxPatternListDefinition: 0x61800105c6e0>, (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[1649267371824]; })
,
({ syntaxItems[1649267371904] = new SyntaxElement{
/*scopes*/ "foundation.objective-c.support.variable", "(null)",
/*patterns*/ true, STRING: NSApp, (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[1649267371904]; })
,
({ syntaxItems[1649267371984] = new SyntaxElement{
/*scopes*/ "anonymous.objective-c", "(null)",
/*patterns*/ true, REGEX: (\s*)\b(NS(Rect(ToCGRect|FromCGRect)|MakeCollectable|S(tringFromProtocol|ize(ToCGSize|FromCGSize))|Draw(NinePartImage|ThreePartImage)|P(oint(ToCGPoint|FromCGPoint)|rotocolFromString)|EventMaskFromType|Value))\b, (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[1649267371984]; })
,
({ syntaxItems[1649267372144] = new SyntaxElement{
/*scopes*/ "anonymous.objective-c", "(null)",
/*patterns*/ true, REGEX: (\s*)\b(NS(R(ound(DownToMultipleOfPageSize|UpToMultipleOfPageSize)|un(CriticalAlertPanel(RelativeToWindow)?|InformationalAlertPanel(RelativeToWindow)?|AlertPanel(RelativeToWindow)?)|e(set(MapTable|HashTable)|c(ycleZone|t(Clip(List)?|F(ill(UsingOperation|List(UsingOperation|With(Grays|Colors(UsingOperation)?))?)?|romString))|ordAllocationEvent)|turnAddress|leaseAlertPanel|a(dPixel|l(MemoryAvailable|locateCollectable))|gisterServicesProvider)|angeFromString)|Get(SizeAndAlignment|CriticalAlertPanel|InformationalAlertPanel|UncaughtExceptionHandler|FileType(s)?|WindowServerMemory|AlertPanel)|M(i(n(X|Y)|d(X|Y))|ouseInRect|a(p(Remove|Get|Member|Insert(IfAbsent|KnownAbsent)?)|ke(R(ect|ange)|Size|Point)|x(Range|X|Y)))|B(itsPer(SampleFromDepth|PixelFromDepth)|e(stDepth|ep|gin(CriticalAlertSheet|InformationalAlertSheet|AlertSheet)))|S(ho(uldRetainWithZone|w(sServicesMenuItem|AnimationEffect))|tringFrom(R(ect|ange)|MapTable|S(ize|elector)|HashTable|Class|Point)|izeFromString|e(t(ShowsServicesMenuItem|ZoneName|UncaughtExceptionHandler|FocusRingStyle)|lectorFromString|archPathForDirectoriesInDomains)|wap(Big(ShortToHost|IntToHost|DoubleToHost|FloatToHost|Long(ToHost|LongToHost))|Short|Host(ShortTo(Big|Little)|IntTo(Big|Little)|DoubleTo(Big|Little)|FloatTo(Big|Little)|Long(To(Big|Little)|LongTo(Big|Little)))|Int|Double|Float|L(ittle(ShortToHost|IntToHost|DoubleToHost|FloatToHost|Long(ToHost|LongToHost))|ong(Long)?)))|H(ighlightRect|o(stByteOrder|meDirectory(ForUser)?)|eight|ash(Remove|Get|Insert(IfAbsent|KnownAbsent)?)|FSType(CodeFromFileType|OfFile))|N(umberOfColorComponents|ext(MapEnumeratorPair|HashEnumeratorItem))|C(o(n(tainsRect|vert(GlyphsToPackedGlyphs|Swapped(DoubleToHost|FloatToHost)|Host(DoubleToSwapped|FloatToSwapped)))|unt(MapTable|HashTable|Frames|Windows(ForContext)?)|py(M(emoryPages|apTableWithZone)|Bits|HashTableWithZone|Object)|lorSpaceFromDepth|mpare(MapTables|HashTables))|lassFromString|reate(MapTable(WithZone)?|HashTable(WithZone)?|Zone|File(namePboardType|ContentsPboardType)))|TemporaryDirectory|I(s(ControllerMarker|EmptyRect|FreedObject)|n(setRect|crementExtraRefCount|te(r(sect(sRect|ionR(ect|ange))|faceStyleForKey)|gralRect)))|Zone(Realloc|Malloc|Name|Calloc|Fr(omPointer|ee))|O(penStepRootDirectory|ffsetRect)|D(i(sableScreenUpdates|videRect)|ottedFrameRect|e(c(imal(Round|Multiply|S(tring|ubtract)|Normalize|Co(py|mpa(ct|re))|IsNotANumber|Divide|Power|Add)|rementExtraRefCountWasZero)|faultMallocZone|allocate(MemoryPages|Object))|raw(Gr(oove|ayBezel)|B(itmap|utton)|ColorTiledRects|TiledRects|DarkBezel|W(hiteBezel|indowBackground)|LightBezel))|U(serName|n(ionR(ect|ange)|registerServicesProvider)|pdateDynamicServices)|Java(Bundle(Setup|Cleanup)|Setup(VirtualMachine)?|Needs(ToLoadClasses|VirtualMachine)|ClassesF(orBundle|romPath)|ObjectNamedInPath|ProvidesClasses)|P(oint(InRect|FromString)|erformService|lanarFromDepth|ageSize)|E(n(d(MapTableEnumeration|HashTableEnumeration)|umerate(MapTable|HashTable)|ableScreenUpdates)|qual(R(ects|anges)|Sizes|Points)|raseRect|xtraRefCount)|F(ileTypeForHFSTypeCode|ullUserName|r(ee(MapTable|HashTable)|ame(Rect(WithWidth(UsingOperation)?)?|Address)))|Wi(ndowList(ForContext)?|dth)|Lo(cationInRange|g(v|PageSize)?)|A(ccessibility(R(oleDescription(ForUIElement)?|aiseBadArgumentException)|Unignored(Children(ForOnlyChild)?|Descendant|Ancestor)|PostNotification|ActionDescription)|pplication(Main|Load)|vailableWindowDepths|ll(MapTable(Values|Keys)|HashTableObjects|ocate(MemoryPages|Collectable|Object)))))\b, (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[1649267372144]; })
,
({ syntaxItems[1649267372384] = new SyntaxElement{
/*scopes*/ "class.cocoa.leopard.objective-c.support", "(null)",
/*patterns*/ true, REGEX: \bNS(RuleEditor|G(arbageCollector|radient)|MapTable|HashTable|Co(ndition|llectionView(Item)?)|T(oolbarItemGroup|extInputClient|r(eeNode|ackingArea))|InvocationOperation|Operation(Queue)?|D(ictionaryController|ockTile)|P(ointer(Functions|Array)|athC(o(ntrol(Delegate)?|mponentCell)|ell(Delegate)?)|r(intPanelAccessorizing|edicateEditor(RowTemplate)?))|ViewController|FastEnumeration|Animat(ionContext|ablePropertyContainer))\b, (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[1649267372384]; })
,
({ syntaxItems[1649267372464] = new SyntaxElement{
/*scopes*/ "class.cocoa.objective-c.support", "(null)",
/*patterns*/ true, REGEX: \bNS(R(u(nLoop|ler(Marker|View))|e(sponder|cursiveLock|lativeSpecifier)|an(domSpecifier|geSpecifier))|G(etCommand|lyph(Generator|Storage|Info)|raphicsContext)|XML(Node|D(ocument|TD(Node)?)|Parser|Element)|M(iddleSpecifier|ov(ie(View)?|eCommand)|utable(S(tring|et)|C(haracterSet|opying)|IndexSet|D(ictionary|ata)|URLRequest|ParagraphStyle|A(ttributedString|rray))|e(ssagePort(NameServer)?|nu(Item(Cell)?|View)?|t(hodSignature|adata(Item|Query(ResultGroup|AttributeValueTuple)?)))|a(ch(BootstrapServer|Port)|trix))|B(itmapImageRep|ox|u(ndle|tton(Cell)?)|ezierPath|rowser(Cell)?)|S(hadow|c(anner|r(ipt(SuiteRegistry|C(o(ercionHandler|mmand(Description)?)|lassDescription)|ObjectSpecifier|ExecutionContext|WhoseTest)|oll(er|View)|een))|t(epper(Cell)?|atus(Bar|Item)|r(ing|eam))|imple(HorizontalTypesetter|CString)|o(cketPort(NameServer)?|und|rtDescriptor)|p(e(cifierTest|ech(Recognizer|Synthesizer)|ll(Server|Checker))|litView)|e(cureTextField(Cell)?|t(Command)?|archField(Cell)?|rializer|gmentedC(ontrol|ell))|lider(Cell)?|avePanel)|H(ost|TTP(Cookie(Storage)?|URLResponse)|elpManager)|N(ib(Con(nector|trolConnector)|OutletConnector)?|otification(Center|Queue)?|u(ll|mber(Formatter)?)|etService(Browser)?|ameSpecifier)|C(ha(ngeSpelling|racterSet)|o(n(stantString|nection|trol(ler)?|ditionLock)|d(ing|er)|unt(Command|edSet)|pying|lor(Space|P(ick(ing(Custom|Default)|er)|anel)|Well|List)?|m(p(oundPredicate|arisonPredicate)|boBox(Cell)?))|u(stomImageRep|rsor)|IImageRep|ell|l(ipView|o(seCommand|neCommand)|assDescription)|a(ched(ImageRep|URLResponse)|lendar(Date)?)|reateCommand)|T(hread|ypesetter|ime(Zone|r)|o(olbar(Item(Validations)?)?|kenField(Cell)?)|ext(Block|Storage|Container|Tab(le(Block)?)?|Input|View|Field(Cell)?|List|Attachment(Cell)?)?|a(sk|b(le(Header(Cell|View)|Column|View)|View(Item)?))|reeController)|I(n(dex(S(pecifier|et)|Path)|put(Manager|S(tream|erv(iceProvider|er(MouseTracker)?)))|vocation)|gnoreMisspelledWords|mage(Rep|Cell|View)?)|O(ut(putStream|lineView)|pen(GL(Context|Pixel(Buffer|Format)|View)|Panel)|bj(CTypeSerializationCallBack|ect(Controller)?))|D(i(st(antObject(Request)?|ributed(NotificationCenter|Lock))|ctionary|rectoryEnumerator)|ocument(Controller)?|e(serializer|cimalNumber(Behaviors|Handler)?|leteCommand)|at(e(Components|Picker(Cell)?|Formatter)?|a)|ra(wer|ggingInfo))|U(ser(InterfaceValidations|Defaults(Controller)?)|RL(Re(sponse|quest)|Handle(Client)?|C(onnection|ache|redential(Storage)?)|Download(Delegate)?|Prot(ocol(Client)?|ectionSpace)|AuthenticationChallenge(Sender)?)?|n(iqueIDSpecifier|doManager|archiver))|P(ipe|o(sitionalSpecifier|pUpButton(Cell)?|rt(Message|NameServer|Coder)?)|ICTImageRep|ersistentDocument|DFImageRep|a(steboard|nel|ragraphStyle|geLayout)|r(int(Info|er|Operation|Panel)|o(cessInfo|tocolChecker|perty(Specifier|ListSerialization)|gressIndicator|xy)|edicate))|E(numerator|vent|PSImageRep|rror|x(ception|istsCommand|pression))|V(iew(Animation)?|al(idated(ToobarItem|UserInterfaceItem)|ue(Transformer)?))|Keyed(Unarchiver|Archiver)|Qui(ckDrawView|tCommand)|F(ile(Manager|Handle|Wrapper)|o(nt(Manager|Descriptor|Panel)?|rm(Cell|atter)))|W(hoseSpecifier|indow(Controller)?|orkspace)|L(o(c(k(ing)?|ale)|gicalTest)|evelIndicator(Cell)?|ayoutManager)|A(ssertionHandler|nimation|ctionCell|ttributedString|utoreleasePool|TSTypesetter|ppl(ication|e(Script|Event(Manager|Descriptor)))|ffineTransform|lert|r(chiver|ray(Controller)?)))\b, (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[1649267372464]; })
,
({ syntaxItems[1649267372544] = new SyntaxElement{
/*scopes*/ "cocoa.leopard.objective-c.support.type", "(null)",
/*patterns*/ true, REGEX: \bNS(R(oundingMode|ule(Editor(RowType|NestingMode)|rOrientation)|e(questUserAttentionType|lativePosition))|G(lyphInscription|radientDrawingOptions)|XML(NodeKind|D(ocumentContentKind|TDNodeKind)|ParserError)|M(ultibyteGlyphPacking|apTableOptions)|B(itmapFormat|oxType|ezierPathElement|ackgroundStyle|rowserDropOperation)|S(tr(ing(CompareOptions|DrawingOptions|EncodingConversionOptions)|eam(Status|Event))|p(eechBoundary|litViewDividerStyle)|e(archPathD(irectory|omainMask)|gmentS(tyle|witchTracking))|liderType|aveOptions)|H(TTPCookieAcceptPolicy|ashTableOptions)|N(otification(SuspensionBehavior|Coalescing)|umberFormatter(RoundingMode|Behavior|Style|PadPosition)|etService(sError|Options))|C(haracterCollection|o(lor(RenderingIntent|SpaceModel|PanelMode)|mp(oundPredicateType|arisonPredicateModifier))|ellStateValue|al(culationError|endarUnit))|T(ypesetterControlCharacterAction|imeZoneNameStyle|e(stComparisonOperation|xt(Block(Dimension|V(erticalAlignment|alueType)|Layer)|TableLayoutAlgorithm|FieldBezelStyle))|ableView(SelectionHighlightStyle|ColumnAutoresizingStyle)|rackingAreaOptions)|I(n(sertionPosition|te(rfaceStyle|ger))|mage(RepLoadStatus|Scaling|CacheMode|FrameStyle|LoadStatus|Alignment))|Ope(nGLPixelFormatAttribute|rationQueuePriority)|Date(Picker(Mode|Style)|Formatter(Behavior|Style))|U(RL(RequestCachePolicy|HandleStatus|C(acheStoragePolicy|redentialPersistence))|Integer)|P(o(stingStyle|int(ingDeviceType|erFunctionsOptions)|pUpArrowPosition)|athStyle|r(int(ing(Orientation|PaginationMode)|erTableStatus|PanelOptions)|opertyList(MutabilityOptions|Format)|edicateOperatorType))|ExpressionType|KeyValue(SetMutationKind|Change)|QTMovieLoopMode|F(indPanel(SubstringMatchType|Action)|o(nt(RenderingMode|FamilyClass)|cusRingPlacement))|W(hoseSubelementIdentifier|ind(ingRule|ow(B(utton|ackingLocation)|SharingType|CollectionBehavior)))|L(ine(MovementDirection|SweepDirection|CapStyle|JoinStyle)|evelIndicatorStyle)|Animation(BlockingMode|Curve))\b, (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[1649267372544]; })
,
({ syntaxItems[1649267372704] = new SyntaxElement{
/*scopes*/ "class.objective-c.quartz.support", "(null)",
/*patterns*/ true, REGEX: \bC(I(Sampler|Co(ntext|lor)|Image(Accumulator)?|PlugIn(Registration)?|Vector|Kernel|Filter(Generator|Shape)?)|A(Renderer|MediaTiming(Function)?|BasicAnimation|ScrollLayer|Constraint(LayoutManager)?|T(iledLayer|extLayer|rans(ition|action))|OpenGLLayer|PropertyAnimation|KeyframeAnimation|Layer|A(nimation(Group)?|ction)))\b, (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[1649267372704]; })
,
({ syntaxItems[1649267372784] = new SyntaxElement{
/*scopes*/ "objective-c.quartz.support.type", "(null)",
/*patterns*/ true, REGEX: \bC(G(Float|Point|Size|Rect)|IFormat|AConstraintAttribute)\b, (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[1649267372784]; })
,
({ syntaxItems[1649267373104] = new SyntaxElement{
/*scopes*/ "cocoa.objective-c.support.type", "(null)",
/*patterns*/ true, REGEX: \bNS(R(ect(Edge)?|ange)|G(lyph(Relation|LayoutMode)?|radientType)|M(odalSession|a(trixMode|p(Table|Enumerator)))|B(itmapImageFileType|orderType|uttonType|ezelStyle|ackingStoreType|rowserColumnResizingType)|S(cr(oll(er(Part|Arrow)|ArrowPosition)|eenAuxiliaryOpaque)|tringEncoding|ize|ocketNativeHandle|election(Granularity|Direction|Affinity)|wapped(Double|Float)|aveOperationType)|Ha(sh(Table|Enumerator)|ndler(2)?)|C(o(ntrol(Size|Tint)|mp(ositingOperation|arisonResult))|ell(State|Type|ImagePosition|Attribute))|T(hreadPrivate|ypesetterGlyphInfo|i(ckMarkPosition|tlePosition|meInterval)|o(ol(TipTag|bar(SizeMode|DisplayMode))|kenStyle)|IFFCompression|ext(TabType|Alignment)|ab(State|leViewDropOperation|ViewType)|rackingRectTag)|ImageInterpolation|Zone|OpenGL(ContextAuxiliary|PixelFormatAuxiliary)|D(ocumentChangeType|atePickerElementFlags|ra(werState|gOperation))|UsableScrollerParts|P(oint|r(intingPageOrder|ogressIndicator(Style|Th(ickness|readInfo))))|EventType|KeyValueObservingOptions|Fo(nt(SymbolicTraits|TraitMask|Action)|cusRingType)|W(indow(OrderingMode|Depth)|orkspace(IconCreationOptions|LaunchOptions)|ritingDirection)|L(ineBreakMode|ayout(Status|Direction))|A(nimation(Progress|Effect)|ppl(ication(TerminateReply|DelegateReply|PrintReply)|eEventManagerSuspensionID)|ffineTransformStruct|lertStyle))\b, (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[1649267373104]; })
,
({ syntaxItems[1649267373184] = new SyntaxElement{
/*scopes*/ "cocoa.constant.objective-c.support", "(null)",
/*patterns*/ true, REGEX: \bNS(NotFound|Ordered(Ascending|Descending|Same))\b, (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[1649267373184]; })
,
({ syntaxItems[1649267373344] = new SyntaxElement{
/*scopes*/ "cocoa.constant.leopard.notification.objective-c.support", "(null)",
/*patterns*/ true, REGEX: \bNS(MenuDidBeginTracking|ViewDidUpdateTrackingAreas)?Notification\b, (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[1649267373344]; })
,
({ syntaxItems[1649267373424] = new SyntaxElement{
/*scopes*/ "cocoa.constant.notification.objective-c.support", "(null)",
/*patterns*/ true, REGEX: \bNS(Menu(Did(RemoveItem|SendAction|ChangeItem|EndTracking|AddItem)|WillSendAction)|S(ystemColorsDidChange|plitView(DidResizeSubviews|WillResizeSubviews))|C(o(nt(extHelpModeDid(Deactivate|Activate)|rolT(intDidChange|extDid(BeginEditing|Change|EndEditing)))|lor(PanelColorDidChange|ListDidChange)|mboBox(Selection(IsChanging|DidChange)|Will(Dismiss|PopUp)))|lassDescriptionNeededForClass)|T(oolbar(DidRemoveItem|WillAddItem)|ext(Storage(DidProcessEditing|WillProcessEditing)|Did(BeginEditing|Change|EndEditing)|View(DidChange(Selection|TypingAttributes)|WillChangeNotifyingTextView))|ableView(Selection(IsChanging|DidChange)|ColumnDid(Resize|Move)))|ImageRepRegistryDidChange|OutlineView(Selection(IsChanging|DidChange)|ColumnDid(Resize|Move)|Item(Did(Collapse|Expand)|Will(Collapse|Expand)))|Drawer(Did(Close|Open)|Will(Close|Open))|PopUpButton(CellWillPopUp|WillPopUp)|View(GlobalFrameDidChange|BoundsDidChange|F(ocusDidChange|rameDidChange))|FontSetChanged|W(indow(Did(Resi(ze|gn(Main|Key))|M(iniaturize|ove)|Become(Main|Key)|ChangeScreen(|Profile)|Deminiaturize|Update|E(ndSheet|xpose))|Will(M(iniaturize|ove)|BeginSheet|Close))|orkspace(SessionDid(ResignActive|BecomeActive)|Did(Mount|TerminateApplication|Unmount|PerformFileOperation|Wake|LaunchApplication)|Will(Sleep|Unmount|PowerOff|LaunchApplication)))|A(ntialiasThresholdChanged|ppl(ication(Did(ResignActive|BecomeActive|Hide|ChangeScreenParameters|U(nhide|pdate)|FinishLaunching)|Will(ResignActive|BecomeActive|Hide|Terminate|U(nhide|pdate)|FinishLaunching))|eEventManagerWillProcessFirstEvent)))Notification\b, (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[1649267373424]; })
,
({ syntaxItems[1649267373664] = new SyntaxElement{
/*scopes*/ "cocoa.constant.leopard.objective-c.support", "(null)",
/*patterns*/ true, REGEX: \bNS(RuleEditor(RowType(Simple|Compound)|NestingMode(Si(ngle|mple)|Compound|List))|GradientDraws(BeforeStartingLocation|AfterEndingLocation)|M(inusSetExpressionType|a(chPortDeallocate(ReceiveRight|SendRight|None)|pTable(StrongMemory|CopyIn|ZeroingWeakMemory|ObjectPointerPersonality)))|B(oxCustom|undleExecutableArchitecture(X86|I386|PPC(64)?)|etweenPredicateOperatorType|ackgroundStyle(Raised|Dark|L(ight|owered)))|S(tring(DrawingTruncatesLastVisibleLine|EncodingConversion(ExternalRepresentation|AllowLossy))|ubqueryExpressionType|p(e(ech(SentenceBoundary|ImmediateBoundary|WordBoundary)|llingState(GrammarFlag|SpellingFlag))|litViewDividerStyleThi(n|ck))|e(rvice(RequestTimedOutError|M(iscellaneousError|alformedServiceDictionaryError)|InvalidPasteboardDataError|ErrorM(inimum|aximum)|Application(NotFoundError|LaunchFailedError))|gmentStyle(Round(Rect|ed)|SmallSquare|Capsule|Textured(Rounded|Square)|Automatic)))|H(UDWindowMask|ashTable(StrongMemory|CopyIn|ZeroingWeakMemory|ObjectPointerPersonality))|N(oModeColorPanel|etServiceNoAutoRename)|C(hangeRedone|o(ntainsPredicateOperatorType|l(orRenderingIntent(RelativeColorimetric|Saturation|Default|Perceptual|AbsoluteColorimetric)|lectorDisabledOption))|ellHit(None|ContentArea|TrackableArea|EditableTextArea))|T(imeZoneNameStyle(S(hort(Standard|DaylightSaving)|tandard)|DaylightSaving)|extFieldDatePickerStyle|ableViewSelectionHighlightStyle(Regular|SourceList)|racking(Mouse(Moved|EnteredAndExited)|CursorUpdate|InVisibleRect|EnabledDuringMouseDrag|A(ssumeInside|ctive(In(KeyWindow|ActiveApp)|WhenFirstResponder|Always))))|I(n(tersectSetExpressionType|dexedColorSpaceModel)|mageScale(None|Proportionally(Down|UpOrDown)|AxesIndependently))|Ope(nGLPFAAllowOfflineRenderers|rationQueue(DefaultMaxConcurrentOperationCount|Priority(High|Normal|Very(High|Low)|Low)))|D(iacriticInsensitiveSearch|ownloadsDirectory)|U(nionSetExpressionType|TF(16(BigEndianStringEncoding|StringEncoding|LittleEndianStringEncoding)|32(BigEndianStringEncoding|StringEncoding|LittleEndianStringEncoding)))|P(ointerFunctions(Ma(chVirtualMemory|llocMemory)|Str(ongMemory|uctPersonality)|C(StringPersonality|opyIn)|IntegerPersonality|ZeroingWeakMemory|O(paque(Memory|Personality)|bjectP(ointerPersonality|ersonality)))|at(hStyle(Standard|NavigationBar|PopUp)|ternColorSpaceModel)|rintPanelShows(Scaling|Copies|Orientation|P(a(perSize|ge(Range|SetupAccessory))|review)))|Executable(RuntimeMismatchError|NotLoadableError|ErrorM(inimum|aximum)|L(inkError|oadError)|ArchitectureMismatchError)|KeyValueObservingOption(Initial|Prior)|F(i(ndPanelSubstringMatchType(StartsWith|Contains|EndsWith|FullWord)|leRead(TooLargeError|UnknownStringEncodingError))|orcedOrderingSearch)|Wi(ndow(BackingLocation(MainMemory|Default|VideoMemory)|Sharing(Read(Only|Write)|None)|CollectionBehavior(MoveToActiveSpace|CanJoinAllSpaces|Default))|dthInsensitiveSearch)|AggregateExpressionType)\b, (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[1649267373664]; })
,
({ syntaxItems[1649267373744] = new SyntaxElement{
/*scopes*/ "cocoa.constant.objective-c.support", "(null)",
/*patterns*/ true, REGEX: \bNS(R(GB(ModeColorPanel|ColorSpaceModel)|ight(Mouse(D(own(Mask)?|ragged(Mask)?)|Up(Mask)?)|T(ext(Movement|Alignment)|ab(sBezelBorder|StopType))|ArrowFunctionKey)|ound(RectBezelStyle|Bankers|ed(BezelStyle|TokenStyle|DisclosureBezelStyle)|Down|Up|Plain|Line(CapStyle|JoinStyle))|un(StoppedResponse|ContinuesResponse|AbortedResponse)|e(s(izableWindowMask|et(CursorRectsRunLoopOrdering|FunctionKey))|ce(ssedBezelStyle|iver(sCantHandleCommandScriptError|EvaluationScriptError))|turnTextMovement|doFunctionKey|quiredArgumentsMissingScriptError|l(evancyLevelIndicatorStyle|ative(Before|After))|gular(SquareBezelStyle|ControlSize)|moveTraitFontAction)|a(n(domSubelement|geDateMode)|tingLevelIndicatorStyle|dio(ModeMatrix|Button)))|G(IFFileType|lyph(Below|Inscribe(B(elow|ase)|Over(strike|Below)|Above)|Layout(WithPrevious|A(tAPoint|gainstAPoint))|A(ttribute(BidiLevel|Soft|Inscribe|Elastic)|bove))|r(ooveBorder|eaterThan(Comparison|OrEqualTo(Comparison|PredicateOperatorType)|PredicateOperatorType)|a(y(ModeColorPanel|ColorSpaceModel)|dient(None|Con(cave(Strong|Weak)|vex(Strong|Weak)))|phiteControlTint)))|XML(N(o(tationDeclarationKind|de(CompactEmptyElement|IsCDATA|OptionsNone|Use(SingleQuotes|DoubleQuotes)|Pre(serve(NamespaceOrder|C(haracterReferences|DATA)|DTD|Prefixes|E(ntities|mptyElements)|Quotes|Whitespace|A(ttributeOrder|ll))|ttyPrint)|ExpandEmptyElement))|amespaceKind)|CommentKind|TextKind|InvalidKind|D(ocument(X(MLKind|HTMLKind|Include)|HTMLKind|T(idy(XML|HTML)|extKind)|IncludeContentTypeDeclaration|Validate|Kind)|TDKind)|P(arser(GTRequiredError|XMLDeclNot(StartedError|FinishedError)|Mi(splaced(XMLDeclarationError|CDATAEndStringError)|xedContentDeclNot(StartedError|FinishedError))|S(t(andaloneValueError|ringNot(StartedError|ClosedError))|paceRequiredError|eparatorRequiredError)|N(MTOKENRequiredError|o(t(ationNot(StartedError|FinishedError)|WellBalancedError)|DTDError)|amespaceDeclarationError|AMERequiredError)|C(haracterRef(In(DTDError|PrologError|EpilogError)|AtEOFError)|o(nditionalSectionNot(StartedError|FinishedError)|mment(NotFinishedError|ContainsDoubleHyphenError))|DATANotFinishedError)|TagNameMismatchError|In(ternalError|valid(HexCharacterRefError|C(haracter(RefError|InEntityError|Error)|onditionalSectionError)|DecimalCharacterRefError|URIError|Encoding(NameError|Error)))|OutOfMemoryError|D(ocumentStartError|elegateAbortedParseError|OCTYPEDeclNotFinishedError)|U(RI(RequiredError|FragmentError)|n(declaredEntityError|parsedEntityError|knownEncodingError|finishedTagError))|P(CDATARequiredError|ublicIdentifierRequiredError|arsedEntityRef(MissingSemiError|NoNameError|In(Internal(SubsetError|Error)|PrologError|EpilogError)|AtEOFError)|r(ocessingInstructionNot(StartedError|FinishedError)|ematureDocumentEndError))|E(n(codingNotSupportedError|tity(Ref(In(DTDError|PrologError|EpilogError)|erence(MissingSemiError|WithoutNameError)|LoopError|AtEOFError)|BoundaryError|Not(StartedError|FinishedError)|Is(ParameterError|ExternalError)|ValueRequiredError))|qualExpectedError|lementContentDeclNot(StartedError|FinishedError)|xt(ernalS(tandaloneEntityError|ubsetNotFinishedError)|raContentError)|mptyDocumentError)|L(iteralNot(StartedError|FinishedError)|T(RequiredError|SlashRequiredError)|essThanSymbolInAttributeError)|Attribute(RedefinedError|HasNoValueError|Not(StartedError|FinishedError)|ListNot(StartedError|FinishedError)))|rocessingInstructionKind)|E(ntity(GeneralKind|DeclarationKind|UnparsedKind|P(ar(sedKind|ameterKind)|redefined))|lement(Declaration(MixedKind|UndefinedKind|E(lementKind|mptyKind)|Kind|AnyKind)|Kind))|Attribute(N(MToken(sKind|Kind)|otationKind)|CDATAKind|ID(Ref(sKind|Kind)|Kind)|DeclarationKind|En(tit(yKind|iesKind)|umerationKind)|Kind))|M(i(n(XEdge|iaturizableWindowMask|YEdge|uteCalendarUnit)|terLineJoinStyle|ddleSubelement|xedState)|o(nthCalendarUnit|deSwitchFunctionKey|use(Moved(Mask)?|E(ntered(Mask)?|ventSubtype|xited(Mask)?))|veToBezierPathElement|mentary(ChangeButton|Push(Button|InButton)|Light(Button)?))|enuFunctionKey|a(c(intoshInterfaceStyle|OSRomanStringEncoding)|tchesPredicateOperatorType|ppedRead|x(XEdge|YEdge))|ACHOperatingSystem)|B(MPFileType|o(ttomTabsBezelBorder|ldFontMask|rderlessWindowMask|x(Se(condary|parator)|OldStyle|Primary))|uttLineCapStyle|e(zelBorder|velLineJoinStyle|low(Bottom|Top)|gin(sWith(Comparison|PredicateOperatorType)|FunctionKey))|lueControlTint|ack(spaceCharacter|tabTextMovement|ingStore(Retained|Buffered|Nonretained)|TabCharacter|wardsSearch|groundTab)|r(owser(NoColumnResizing|UserColumnResizing|AutoColumnResizing)|eakFunctionKey))|S(h(ift(JISStringEncoding|KeyMask)|ow(ControlGlyphs|InvisibleGlyphs)|adowlessSquareBezelStyle)|y(s(ReqFunctionKey|tem(D(omainMask|efined(Mask)?)|FunctionKey))|mbolStringEncoding)|c(a(nnedOption|le(None|ToFit|Proportionally))|r(oll(er(NoPart|Increment(Page|Line|Arrow)|Decrement(Page|Line|Arrow)|Knob(Slot)?|Arrows(M(inEnd|axEnd)|None|DefaultSetting))|Wheel(Mask)?|LockFunctionKey)|eenChangedEventType))|t(opFunctionKey|r(ingDrawing(OneShot|DisableScreenFontSubstitution|Uses(DeviceMetrics|FontLeading|LineFragmentOrigin))|eam(Status(Reading|NotOpen|Closed|Open(ing)?|Error|Writing|AtEnd)|Event(Has(BytesAvailable|SpaceAvailable)|None|OpenCompleted|E(ndEncountered|rrorOccurred)))))|i(ngle(DateMode|UnderlineStyle)|ze(DownFontAction|UpFontAction))|olarisOperatingSystem|unOSOperatingSystem|pecialPageOrder|e(condCalendarUnit|lect(By(Character|Paragraph|Word)|i(ng(Next|Previous)|onAffinity(Downstream|Upstream))|edTab|FunctionKey)|gmentSwitchTracking(Momentary|Select(One|Any)))|quareLineCapStyle|witchButton|ave(ToOperation|Op(tions(Yes|No|Ask)|eration)|AsOperation)|mall(SquareBezelStyle|C(ontrolSize|apsFontMask)|IconButtonBezelStyle))|H(ighlightModeMatrix|SBModeColorPanel|o(ur(Minute(SecondDatePickerElementFlag|DatePickerElementFlag)|CalendarUnit)|rizontalRuler|meFunctionKey)|TTPCookieAcceptPolicy(Never|OnlyFromMainDocumentDomain|Always)|e(lp(ButtonBezelStyle|KeyMask|FunctionKey)|avierFontAction)|PUXOperatingSystem)|Year(MonthDa(yDatePickerElementFlag|tePickerElementFlag)|CalendarUnit)|N(o(n(StandardCharacterSetFontMask|ZeroWindingRule|activatingPanelMask|LossyASCIIStringEncoding)|Border|t(ification(SuspensionBehavior(Hold|Coalesce|D(eliverImmediately|rop))|NoCoalescing|CoalescingOn(Sender|Name)|DeliverImmediately|PostToAllSessions)|PredicateType|EqualToPredicateOperatorType)|S(cr(iptError|ollerParts)|ubelement|pecifierError)|CellMask|T(itle|opLevelContainersSpecifierError|abs(BezelBorder|NoBorder|LineBorder))|I(nterfaceStyle|mage)|UnderlineStyle|FontChangeAction)|u(ll(Glyph|CellType)|m(eric(Search|PadKeyMask)|berFormatter(Round(Half(Down|Up|Even)|Ceiling|Down|Up|Floor)|Behavior(10|Default)|S(cientificStyle|pellOutStyle)|NoStyle|CurrencyStyle|DecimalStyle|P(ercentStyle|ad(Before(Suffix|Prefix)|After(Suffix|Prefix))))))|e(t(Services(BadArgumentError|NotFoundError|C(ollisionError|ancelledError)|TimeoutError|InvalidError|UnknownError|ActivityInProgress)|workDomainMask)|wlineCharacter|xt(StepInterfaceStyle|FunctionKey))|EXTSTEPStringEncoding|a(t(iveShortGlyphPacking|uralTextAlignment)|rrowFontMask))|C(hange(ReadOtherContents|GrayCell(Mask)?|BackgroundCell(Mask)?|Cleared|Done|Undone|Autosaved)|MYK(ModeColorPanel|ColorSpaceModel)|ircular(BezelStyle|Slider)|o(n(stantValueExpressionType|t(inuousCapacityLevelIndicatorStyle|entsCellMask|ain(sComparison|erSpecifierError)|rol(Glyph|KeyMask))|densedFontMask)|lor(Panel(RGBModeMask|GrayModeMask|HSBModeMask|C(MYKModeMask|olorListModeMask|ustomPaletteModeMask|rayonModeMask)|WheelModeMask|AllModesMask)|ListModeColorPanel)|reServiceDirectory|m(p(osite(XOR|Source(In|O(ut|ver)|Atop)|Highlight|C(opy|lear)|Destination(In|O(ut|ver)|Atop)|Plus(Darker|Lighter))|ressedFontMask)|mandKeyMask))|u(stom(SelectorPredicateOperatorType|PaletteModeColorPanel)|r(sor(Update(Mask)?|PointingDevice)|veToBezierPathElement))|e(nterT(extAlignment|abStopType)|ll(State|H(ighlighted|as(Image(Horizontal|OnLeftOrBottom)|OverlappingImage))|ChangesContents|Is(Bordered|InsetButton)|Disabled|Editable|LightsBy(Gray|Background|Contents)|AllowsMixedState))|l(ipPagination|o(s(ePathBezierPathElement|ableWindowMask)|ckAndCalendarDatePickerStyle)|ear(ControlTint|DisplayFunctionKey|LineFunctionKey))|a(seInsensitive(Search|PredicateOption)|n(notCreateScriptCommandError|cel(Button|TextMovement))|chesDirectory|lculation(NoError|Overflow|DivideByZero|Underflow|LossOfPrecision)|rriageReturnCharacter)|r(itical(Request|AlertStyle)|ayonModeColorPanel))|T(hick(SquareBezelStyle|erSquareBezelStyle)|ypesetter(Behavior|HorizontalTabAction|ContainerBreakAction|ZeroAdvancementAction|OriginalBehavior|ParagraphBreakAction|WhitespaceAction|L(ineBreakAction|atestBehavior))|i(ckMark(Right|Below|Left|Above)|tledWindowMask|meZoneDatePickerElementFlag)|o(olbarItemVisibilityPriority(Standard|High|User|Low)|pTabsBezelBorder|ggleButton)|IFF(Compression(N(one|EXT)|CCITTFAX(3|4)|OldJPEG|JPEG|PackBits|LZW)|FileType)|e(rminate(Now|Cancel|Later)|xt(Read(InapplicableDocumentTypeError|WriteErrorM(inimum|aximum))|Block(M(i(nimum(Height|Width)|ddleAlignment)|a(rgin|ximum(Height|Width)))|B(o(ttomAlignment|rder)|aselineAlignment)|Height|TopAlignment|P(ercentageValueType|adding)|Width|AbsoluteValueType)|StorageEdited(Characters|Attributes)|CellType|ured(RoundedBezelStyle|BackgroundWindowMask|SquareBezelStyle)|Table(FixedLayoutAlgorithm|AutomaticLayoutAlgorithm)|Field(RoundedBezel|SquareBezel|AndStepperDatePickerStyle)|WriteInapplicableDocumentTypeError|ListPrependEnclosingMarker))|woByteGlyphPacking|ab(Character|TextMovement|le(tP(oint(Mask|EventSubtype)?|roximity(Mask|EventSubtype)?)|Column(NoResizing|UserResizingMask|AutoresizingMask)|View(ReverseSequentialColumnAutoresizingStyle|GridNone|S(olid(HorizontalGridLineMask|VerticalGridLineMask)|equentialColumnAutoresizingStyle)|NoColumnAutoresizing|UniformColumnAutoresizingStyle|FirstColumnOnlyAutoresizingStyle|LastColumnOnlyAutoresizingStyle)))|rackModeMatrix)|I(n(sert(CharFunctionKey|FunctionKey|LineFunctionKey)|t(Type|ernalS(criptError|pecifierError))|dexSubelement|validIndexSpecifierError|formational(Request|AlertStyle)|PredicateOperatorType)|talicFontMask|SO(2022JPStringEncoding|Latin(1StringEncoding|2StringEncoding))|dentityMappingCharacterCollection|llegalTextMovement|mage(R(ight|ep(MatchesDevice|LoadStatus(ReadingHeader|Completed|InvalidData|Un(expectedEOF|knownType)|WillNeedAllData)))|Below|C(ellType|ache(BySize|Never|Default|Always))|Interpolation(High|None|Default|Low)|O(nly|verlaps)|Frame(Gr(oove|ayBezel)|Button|None|Photo)|L(oadStatus(ReadError|C(ompleted|ancelled)|InvalidData|UnexpectedEOF)|eft)|A(lign(Right|Bottom(Right|Left)?|Center|Top(Right|Left)?|Left)|bove)))|O(n(State|eByteGlyphPacking|OffButton|lyScrollerArrows)|ther(Mouse(D(own(Mask)?|ragged(Mask)?)|Up(Mask)?)|TextMovement)|SF1OperatingSystem|pe(n(GL(GO(Re(setLibrary|tainRenderers)|ClearFormatCache|FormatCacheSize)|PFA(R(obust|endererID)|M(inimumPolicy|ulti(sample|Screen)|PSafe|aximumPolicy)|BackingStore|S(creenMask|te(ncilSize|reo)|ingleRenderer|upersample|ample(s|Buffers|Alpha))|NoRecovery|C(o(lor(Size|Float)|mpliant)|losestPolicy)|OffScreen|D(oubleBuffer|epthSize)|PixelBuffer|VirtualScreenCount|FullScreen|Window|A(cc(umSize|elerated)|ux(Buffers|DepthStencil)|l(phaSize|lRenderers))))|StepUnicodeReservedBase)|rationNotSupportedForKeyS(criptError|pecifierError))|ffState|KButton|rPredicateType|bjC(B(itfield|oolType)|S(hortType|tr(ingType|uctType)|electorType)|NoType|CharType|ObjectType|DoubleType|UnionType|PointerType|VoidType|FloatType|Long(Type|longType)|ArrayType))|D(i(s(c(losureBezelStyle|reteCapacityLevelIndicatorStyle)|playWindowRunLoopOrdering)|acriticInsensitivePredicateOption|rect(Selection|PredicateModifier))|o(c(ModalWindowMask|ument(Directory|ationDirectory))|ubleType|wn(TextMovement|ArrowFunctionKey))|e(s(cendingPageOrder|ktopDirectory)|cimalTabStopType|v(ice(NColorSpaceModel|IndependentModifierFlagsMask)|eloper(Directory|ApplicationDirectory))|fault(ControlTint|TokenStyle)|lete(Char(acter|FunctionKey)|FunctionKey|LineFunctionKey)|moApplicationDirectory)|a(yCalendarUnit|teFormatter(MediumStyle|Behavior(10|Default)|ShortStyle|NoStyle|FullStyle|LongStyle))|ra(wer(Clos(ingState|edState)|Open(ingState|State))|gOperation(Generic|Move|None|Copy|Delete|Private|Every|Link|All)))|U(ser(CancelledError|D(irectory|omainMask)|FunctionKey)|RL(Handle(NotLoaded|Load(Succeeded|InProgress|Failed))|CredentialPersistence(None|Permanent|ForSession))|n(scaledWindowMask|cachedRead|i(codeStringEncoding|talicFontMask|fiedTitleAndToolbarWindowMask)|d(o(CloseGroupingRunLoopOrdering|FunctionKey)|e(finedDateComponent|rline(Style(Single|None|Thick|Double)|Pattern(Solid|D(ot|ash(Dot(Dot)?)?)))))|known(ColorSpaceModel|P(ointingDevice|ageOrder)|KeyS(criptError|pecifierError))|boldFontMask)|tilityWindowMask|TF8StringEncoding|p(dateWindowsRunLoopOrdering|TextMovement|ArrowFunctionKey))|J(ustifiedTextAlignment|PEG(2000FileType|FileType)|apaneseEUC(GlyphPacking|StringEncoding))|P(o(s(t(Now|erFontMask|WhenIdle|ASAP)|iti(on(Replace|Be(fore|ginning)|End|After)|ve(IntType|DoubleType|FloatType)))|pUp(NoArrow|ArrowAt(Bottom|Center))|werOffEventType|rtraitOrientation)|NGFileType|ush(InCell(Mask)?|OnPushOffButton)|e(n(TipMask|UpperSideMask|PointingDevice|LowerSideMask)|riodic(Mask)?)|P(S(caleField|tatus(Title|Field)|aveButton)|N(ote(Title|Field)|ame(Title|Field))|CopiesField|TitleField|ImageButton|OptionsButton|P(a(perFeedButton|ge(Range(To|From)|ChoiceMatrix))|reviewButton)|LayoutButton)|lainTextTokenStyle|a(useFunctionKey|ragraphSeparatorCharacter|ge(DownFunctionKey|UpFunctionKey))|r(int(ing(ReplyLater|Success|Cancelled|Failure)|ScreenFunctionKey|erTable(NotFound|OK|Error)|FunctionKey)|o(p(ertyList(XMLFormat|MutableContainers(AndLeaves)?|BinaryFormat|Immutable|OpenStepFormat)|rietaryStringEncoding)|gressIndicator(BarStyle|SpinningStyle|Preferred(SmallThickness|Thickness|LargeThickness|AquaThickness)))|e(ssedTab|vFunctionKey))|L(HeightForm|CancelButton|TitleField|ImageButton|O(KButton|rientationMatrix)|UnitsButton|PaperNameButton|WidthForm))|E(n(terCharacter|d(sWith(Comparison|PredicateOperatorType)|FunctionKey))|v(e(nOddWindingRule|rySubelement)|aluatedObjectExpressionType)|qualTo(Comparison|PredicateOperatorType)|ra(serPointingDevice|CalendarUnit|DatePickerElementFlag)|x(clude(10|QuickDrawElementsIconCreationOption)|pandedFontMask|ecuteFunctionKey))|V(i(ew(M(in(XMargin|YMargin)|ax(XMargin|YMargin))|HeightSizable|NotSizable|WidthSizable)|aPanelFontAction)|erticalRuler|a(lidationErrorM(inimum|aximum)|riableExpressionType))|Key(SpecifierEvaluationScriptError|Down(Mask)?|Up(Mask)?|PathExpressionType|Value(MinusSetMutation|SetSetMutation|Change(Re(placement|moval)|Setting|Insertion)|IntersectSetMutation|ObservingOption(New|Old)|UnionSetMutation|ValidationError))|QTMovie(NormalPlayback|Looping(BackAndForthPlayback|Playback))|F(1(1FunctionKey|7FunctionKey|2FunctionKey|8FunctionKey|3FunctionKey|9FunctionKey|4FunctionKey|5FunctionKey|FunctionKey|0FunctionKey|6FunctionKey)|7FunctionKey|i(nd(PanelAction(Replace(A(ndFind|ll(InSelection)?))?|S(howFindPanel|e(tFindString|lectAll(InSelection)?))|Next|Previous)|FunctionKey)|tPagination|le(Read(No(SuchFileError|PermissionError)|CorruptFileError|In(validFileNameError|applicableStringEncodingError)|Un(supportedSchemeError|knownError))|HandlingPanel(CancelButton|OKButton)|NoSuchFileError|ErrorM(inimum|aximum)|Write(NoPermissionError|In(validFileNameError|applicableStringEncodingError)|OutOfSpaceError|Un(supportedSchemeError|knownError))|LockingError)|xedPitchFontMask)|2(1FunctionKey|7FunctionKey|2FunctionKey|8FunctionKey|3FunctionKey|9FunctionKey|4FunctionKey|5FunctionKey|FunctionKey|0FunctionKey|6FunctionKey)|o(nt(Mo(noSpaceTrait|dernSerifsClass)|BoldTrait|S(ymbolicClass|criptsClass|labSerifsClass|ansSerifClass)|C(o(ndensedTrait|llectionApplicationOnlyMask)|larendonSerifsClass)|TransitionalSerifsClass|I(ntegerAdvancementsRenderingMode|talicTrait)|O(ldStyleSerifsClass|rnamentalsClass)|DefaultRenderingMode|U(nknownClass|IOptimizedTrait)|Panel(S(hadowEffectModeMask|t(andardModesMask|rikethroughEffectModeMask)|izeModeMask)|CollectionModeMask|TextColorEffectModeMask|DocumentColorEffectModeMask|UnderlineEffectModeMask|FaceModeMask|All(ModesMask|EffectsModeMask))|ExpandedTrait|VerticalTrait|F(amilyClassMask|reeformSerifsClass)|Antialiased(RenderingMode|IntegerAdvancementsRenderingMode))|cusRing(Below|Type(None|Default|Exterior)|Only|Above)|urByteGlyphPacking|rm(attingError(M(inimum|aximum))?|FeedCharacter))|8FunctionKey|unction(ExpressionType|KeyMask)|3(1FunctionKey|2FunctionKey|3FunctionKey|4FunctionKey|5FunctionKey|FunctionKey|0FunctionKey)|9FunctionKey|4FunctionKey|P(RevertButton|S(ize(Title|Field)|etButton)|CurrentField|Preview(Button|Field))|l(oat(ingPointSamplesBitmapFormat|Type)|agsChanged(Mask)?)|axButton|5FunctionKey|6FunctionKey)|W(heelModeColorPanel|indow(s(NTOperatingSystem|CP125(1StringEncoding|2StringEncoding|3StringEncoding|4StringEncoding|0StringEncoding)|95(InterfaceStyle|OperatingSystem))|M(iniaturizeButton|ovedEventType)|Below|CloseButton|ToolbarButton|ZoomButton|Out|DocumentIconButton|ExposedEventType|Above)|orkspaceLaunch(NewInstance|InhibitingBackgroundOnly|Default|PreferringClassic|WithoutA(ctivation|ddingToRecents)|A(sync|nd(Hide(Others)?|Print)|llowingClassicStartup))|eek(day(CalendarUnit|OrdinalCalendarUnit)|CalendarUnit)|a(ntsBidiLevels|rningAlertStyle)|r(itingDirection(RightToLeft|Natural|LeftToRight)|apCalendarComponents))|L(i(stModeMatrix|ne(Moves(Right|Down|Up|Left)|B(order|reakBy(C(harWrapping|lipping)|Truncating(Middle|Head|Tail)|WordWrapping))|S(eparatorCharacter|weep(Right|Down|Up|Left))|ToBezierPathElement|DoesntMove|arSlider)|teralSearch|kePredicateOperatorType|ghterFontAction|braryDirectory)|ocalDomainMask|e(ssThan(Comparison|OrEqualTo(Comparison|PredicateOperatorType)|PredicateOperatorType)|ft(Mouse(D(own(Mask)?|ragged(Mask)?)|Up(Mask)?)|T(ext(Movement|Alignment)|ab(sBezelBorder|StopType))|ArrowFunctionKey))|a(yout(RightToLeft|NotDone|CantFit|OutOfGlyphs|Done|LeftToRight)|ndscapeOrientation)|ABColorSpaceModel)|A(sc(iiWithDoubleByteEUCGlyphPacking|endingPageOrder)|n(y(Type|PredicateModifier|EventMask)|choredSearch|imation(Blocking|Nonblocking(Threaded)?|E(ffect(DisappearingItemDefault|Poof)|ase(In(Out)?|Out))|Linear)|dPredicateType)|t(Bottom|tachmentCharacter|omicWrite|Top)|SCIIStringEncoding|d(obe(GB1CharacterCollection|CNS1CharacterCollection|Japan(1CharacterCollection|2CharacterCollection)|Korea1CharacterCollection)|dTraitFontAction|minApplicationDirectory)|uto(saveOperation|Pagination)|pp(lication(SupportDirectory|D(irectory|e(fined(Mask)?|legateReply(Success|Cancel|Failure)|activatedEventType))|ActivatedEventType)|KitDefined(Mask)?)|l(ternateKeyMask|pha(ShiftKeyMask|NonpremultipliedBitmapFormat|FirstBitmapFormat)|ert(SecondButtonReturn|ThirdButtonReturn|OtherReturn|DefaultReturn|ErrorReturn|FirstButtonReturn|AlternateReturn)|l(ScrollerParts|DomainsMask|PredicateModifier|LibrariesDirectory|ApplicationsDirectory))|rgument(sWrongScriptError|EvaluationScriptError)|bove(Bottom|Top)|WTEventType))\b, (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[1649267373744]; })
,
({ syntaxItems[549753774736] = new SyntaxElement{
/*scopes*/ "anonymous.objective-c", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[549753774736]; })
,
({ syntaxItems[549753774816] = new SyntaxElement{
/*scopes*/ "anonymous.objective-c", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[549753774816]; })
,
}
}; syntaxItems[1649266216192]; })
}
// Writing lang Objective-C++
void shamrock_test_Objective-C++() {
std::map<intptr_t, Syntaxable*> syntaxItems;
({ syntaxItems[1649266216576] = new SyntaxBase{
"objc++.source", nullptr, {
({ syntaxItems[549753774896] = new SyntaxElement{
/*scopes*/ "anonymous.objective-c++", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[549753774896]; })
,
({ syntaxItems[549753774976] = new SyntaxElement{
/*scopes*/ "anonymous.objective-c++", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[549753774976]; })
,
}
}; syntaxItems[1649266216576]; })
}
// Writing lang Strings File
void shamrock_test_Strings_File() {
std::map<intptr_t, Syntaxable*> syntaxItems;
({ syntaxItems[1649266216960] = new SyntaxBase{
"source.strings", nullptr, {
({ syntaxItems[1649267380944] = new SyntaxElement{
/*scopes*/ "block.comment.strings.strings-file", "(null)",
/*patterns*/ false, REGEX: /\*, REGEX: \*/
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[1649267380944]; })
,
({ syntaxItems[1649267381024] = new SyntaxElement{
/*scopes*/ "double.quoted.string.strings.strings-file", "(null)",
/*patterns*/ false, REGEX: ", REGEX: "
/*refs*/TODO
/*children*/ {
({ syntaxItems[1649267381104] = new SyntaxElement{
/*scopes*/ "character.constant.escape.strings.strings-file", "(null)",
/*patterns*/ true, REGEX: \\(\\|[abefnrtv'"?]|[0-3]\d{,2}|[4-7]\d?|x[a-zA-Z0-9]+), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[1649267381104]; })
,
({ syntaxItems[1649267381264] = new SyntaxElement{
/*scopes*/ "illegal.invalid.strings.strings-file.unknown-escape", "(null)",
/*patterns*/ true, REGEX: \\., (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[1649267381264]; })
,
({ syntaxItems[1649267381424] = new SyntaxElement{
/*scopes*/ "constant.other.placeholder.strings.strings-file", "(null)",
/*patterns*/ true, REGEX: (?x)%
(\d+\$)? # field (argument #)
[#0\- +']* # flags
[,;:_]? # separator character (AltiVec)
((-?\d+)|\*(-?\d+\$)?)? # minimum field width
(\.((-?\d+)|\*(-?\d+\$)?)?)? # precision
(hh|h|ll|l|j|t|z|q|L|vh|vl|v|hv|hl)? # length modifier
[@diouxXDOUeEfFgGaACcSspn%] # conversion type
, (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[1649267381424]; })
,
({ syntaxItems[1649267381584] = new SyntaxElement{
/*scopes*/ "c.illegal.invalid.placeholder.strings-file", "(null)",
/*patterns*/ true, STRING: %, (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[1649267381584]; })
,
}
}; syntaxItems[1649267381024]; })
,
}
}; syntaxItems[1649266216960]; })
}
// --- Writing truffle OCaml ---
// Writing lang camlp4
void shamrock_test_camlp4() {
std::map<intptr_t, Syntaxable*> syntaxItems;
({ syntaxItems[-1211264] = new SyntaxBase{
"camlp4.ocaml.source", nullptr, {
({ syntaxItems[-68480] = new SyntaxElement{
/*scopes*/ "camlp4.camlp4-stream.meta.ocaml", "(null)",
/*patterns*/ false, REGEX: (\[<)(?=.*?>]), REGEX: (?=>])
/*refs*/TODO
/*children*/ {
({ syntaxItems[549755772048] = new SyntaxElement{
/*scopes*/ "anonymous.camlp4", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[549755772048]; })
,
}
}; syntaxItems[-68480]; })
,
({ syntaxItems[-67120] = new SyntaxElement{
/*scopes*/ "camlp4.camlp4-stream.definition.ocaml.punctuation", "(null)",
/*patterns*/ true, REGEX: \[<|>], (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[-67120]; })
,
({ syntaxItems[-67040] = new SyntaxElement{
/*scopes*/ "camlp4.keyword.ocaml.other", "(null)",
/*patterns*/ true, REGEX: \bparser\b|<(<|:)|>>|\$(:|\${0,1}), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[-67040]; })
,
}
}; syntaxItems[-1211264]; })
}
// Writing lang OCaml
void shamrock_test_OCaml() {
std::map<intptr_t, Syntaxable*> syntaxItems;
({ syntaxItems[-1211072] = new SyntaxBase{
"ocaml.source", nullptr, {
({ syntaxItems[-65920] = new SyntaxElement{
/*scopes*/ "binding.meta.module.ocaml", "(null)",
/*patterns*/ true, REGEX: \b(let)\s+(module)\s+([A-Z][a-zA-Z0-9'_]*)\s*(=), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[-65920]; })
,
({ syntaxItems[-65760] = new SyntaxElement{
/*scopes*/ "function.meta.ocaml", "(null)",
/*patterns*/ false, REGEX: \b(let|and)\s+(?!\(\*)((rec\s+)([a-z_][a-zA-Z0-9_']*)\b|([a-z_][a-zA-Z0-9_']*|\([^)]+\))(?=\s)((?=\s*=\s*(?=fun(?:ction)\b))|(?!\s*=))), REGEX: (?:(:)\s*([^=]+))?(?:(=)|(=)\s*(?=fun(?:ction)\b))
/*refs*/TODO
/*children*/ {
({ syntaxItems[549755772128] = new SyntaxElement{
/*scopes*/ "anonymous.ocaml", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[549755772128]; })
,
}
}; syntaxItems[-65760]; })
,
({ syntaxItems[-65520] = new SyntaxElement{
/*scopes*/ "anonymous.function.meta.ocaml", "(null)",
/*patterns*/ false, REGEX: (\(|\s)(?=fun\s), REGEX: (\))
/*refs*/TODO
/*children*/ {
({ syntaxItems[-65280] = new SyntaxElement{
/*scopes*/ "anonymous.definition.function.meta.ocaml", "(null)",
/*patterns*/ false, REGEX: (?<=(\(|\s))(fun)\s, REGEX: (->)
/*refs*/TODO
/*children*/ {
({ syntaxItems[549755772208] = new SyntaxElement{
/*scopes*/ "anonymous.ocaml", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[549755772208]; })
,
}
}; syntaxItems[-65280]; })
,
({ syntaxItems[549755772288] = new SyntaxElement{
/*scopes*/ "anonymous.ocaml", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[549755772288]; })
,
}
}; syntaxItems[-65520]; })
,
({ syntaxItems[-65120] = new SyntaxElement{
/*scopes*/ "meta.ocaml.type-definition-group", "(null)",
/*patterns*/ false, REGEX: ^\s*(?=type\s), REGEX: \b(?=let|end|val)|^\s*$
/*refs*/TODO
/*children*/ {
({ syntaxItems[-65040] = new SyntaxElement{
/*scopes*/ "meta.ocaml.type-definition", "(null)",
/*patterns*/ false, REGEX: \b(type|and)\s+([^=]*)(=)?, REGEX: (?=\b(type|and|let|end|val)\b)|(?=^\s*$)
/*refs*/TODO
/*children*/ {
({ syntaxItems[549755772368] = new SyntaxElement{
/*scopes*/ "anonymous.ocaml", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[549755772368]; })
,
}
}; syntaxItems[-65040]; })
,
}
}; syntaxItems[-65120]; })
,
({ syntaxItems[-64960] = new SyntaxElement{
/*scopes*/ "meta.ocaml.pattern-match", "(null)",
/*patterns*/ false, REGEX: \b(with|function)(?=(\s*$|.*->))\b|((?<!\S)(\|)(?=(\w|\s).*->)), REGEX: (?:(->)|\b(when)\b|\s(?=\|))
/*refs*/TODO
/*children*/ {
({ syntaxItems[549755772448] = new SyntaxElement{
/*scopes*/ "anonymous.ocaml", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[549755772448]; })
,
}
}; syntaxItems[-64960]; })
,
({ syntaxItems[-64880] = new SyntaxElement{
/*scopes*/ "class.meta.ocaml.type-definition", "(null)",
/*patterns*/ true, REGEX: ^[ \t]*(class\s+type\s+)((\[\s*('[A-Za-z][a-zA-Z0-9_']*(?:\s*,\s*'[A-Za-z][a-zA-Z0-9_']*)*)\s*\]\s+)?[a-z_][a-zA-Z0-9'_]*), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[-64880]; })
,
({ syntaxItems[-64800] = new SyntaxElement{
/*scopes*/ "class.meta.ocaml", "(null)",
/*patterns*/ false, REGEX: ^[ \t]*(class)(?:\s+(?!(?:virtual)\s+))((\[\s*('[A-Za-z][a-zA-Z0-9_']*(?:\s*,\s*'[A-Za-z][a-zA-Z0-9_']*)*)\s*\]\s+)?[a-z_][a-zA-Z0-9'_]*), REGEX: (=)
/*refs*/TODO
/*children*/ {
({ syntaxItems[549755772608] = new SyntaxElement{
/*scopes*/ "anonymous.ocaml", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[549755772608]; })
,
}
}; syntaxItems[-64800]; })
,
({ syntaxItems[-64640] = new SyntaxElement{
/*scopes*/ "class.meta.ocaml.virtual", "(null)",
/*patterns*/ false, REGEX: ^[ \t]*(class\s+virtual\s+)((\[\s*('[A-Za-z][a-zA-Z0-9_']*(?:\s*,\s*'[A-Za-z][a-zA-Z0-9_']*)*)\s*\]\s+)?[a-z_][a-zA-Z0-9'_]*), REGEX: (=)
/*refs*/TODO
/*children*/ {
({ syntaxItems[549755772688] = new SyntaxElement{
/*scopes*/ "anonymous.ocaml", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[549755772688]; })
,
}
}; syntaxItems[-64640]; })
,
({ syntaxItems[-64560] = new SyntaxElement{
/*scopes*/ "class.meta.ocaml.type-definition.virtual", "(null)",
/*patterns*/ true, REGEX: ^[ \t]*(class\s+type\s+virtual)((\[\s*('[A-Za-z][a-zA-Z0-9_']*(?:\s*,\s*'[A-Za-z][a-zA-Z0-9_']*)*)\s*\]\s+)?[a-z_][a-zA-Z0-9'_]*), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[-64560]; })
,
({ syntaxItems[-64480] = new SyntaxElement{
/*scopes*/ "meta.ocaml.record", "(null)",
/*patterns*/ false, REGEX: (\{), REGEX: (\})
/*refs*/TODO
/*children*/ {
({ syntaxItems[-64400] = new SyntaxElement{
/*scopes*/ "keyword.language.ocaml.other", "(null)",
/*patterns*/ true, STRING: with, (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[-64400]; })
,
({ syntaxItems[-64320] = new SyntaxElement{
/*scopes*/ "definition.meta.ocaml.record", "(null)",
/*patterns*/ false, REGEX: (\bmutable\s+)?\b([a-z_][a-zA-Z0-9_']*)\s*(:), REGEX: (;|(?=}))
/*refs*/TODO
/*children*/ {
({ syntaxItems[549755772768] = new SyntaxElement{
/*scopes*/ "anonymous.ocaml", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[549755772768]; })
,
}
}; syntaxItems[-64320]; })
,
({ syntaxItems[549755772848] = new SyntaxElement{
/*scopes*/ "anonymous.ocaml", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[549755772848]; })
,
}
}; syntaxItems[-64480]; })
,
({ syntaxItems[-64240] = new SyntaxElement{
/*scopes*/ "meta.object.ocaml", "(null)",
/*patterns*/ false, REGEX: \b(object)\s*(?:(\()(_?[a-z]+)(\)))?\s*$, REGEX: \b(end)\b
/*refs*/TODO
/*children*/ {
({ syntaxItems[-64160] = new SyntaxElement{
/*scopes*/ "meta.method.ocaml", "(null)",
/*patterns*/ false, REGEX: \b(method)\s+(virtual\s+)?(private\s+)?([a-z_][a-zA-Z0-9'_]*), REGEX: (=|:)
/*refs*/TODO
/*children*/ {
({ syntaxItems[549755772528] = new SyntaxElement{
/*scopes*/ "anonymous.ocaml", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[549755772528]; })
,
}
}; syntaxItems[-64160]; })
,
({ syntaxItems[-64000] = new SyntaxElement{
/*scopes*/ "meta.object.ocaml.type-constraint", "(null)",
/*patterns*/ false, REGEX: (constraint)\s+([a-z_'][a-zA-Z0-9'_]*)\s+(=), REGEX: (#[a-z_][a-zA-Z0-9'_]*)|(int|char|float|string|list|array|bool|unit|exn|option|int32|int64|nativeint|format4|lazy_t)|([a-z_][a-zA-Z0-9'_]*)\s*$
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[-64000]; })
,
({ syntaxItems[549755772928] = new SyntaxElement{
/*scopes*/ "anonymous.ocaml", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[549755772928]; })
,
}
}; syntaxItems[-64240]; })
,
({ syntaxItems[-64720] = new SyntaxElement{
/*scopes*/ "meta.method-call.ocaml", "(null)",
/*patterns*/ true, REGEX: (?<=\w|\)|')(#)[a-z_][a-zA-Z0-9'_]*, (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[-64720]; })
,
({ syntaxItems[-63920] = new SyntaxElement{
/*scopes*/ "meta.module.ocaml", "(null)",
/*patterns*/ true, REGEX: ^[ \t]*(module)\s+([A-Z_][a-zA-Z0-9'_]*)(?:\s*(:)\s*([A-Z][a-zA-Z0-9'_]*)?)?, (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[-63920]; })
,
({ syntaxItems[-63840] = new SyntaxElement{
/*scopes*/ "meta.module.ocaml.type", "(null)",
/*patterns*/ true, REGEX: ^[ \t]*(module\s+type\s+)([A-Z][a-zA-Z0-9'_]*), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[-63840]; })
,
({ syntaxItems[-63760] = new SyntaxElement{
/*scopes*/ "meta.module.ocaml.signature", "(null)",
/*patterns*/ false, REGEX: \b(sig)\b, REGEX: \b(end)\b
/*refs*/TODO
/*children*/ {
({ syntaxItems[549755773008] = new SyntaxElement{
/*scopes*/ "anonymous.ocaml", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[549755773008]; })
,
({ syntaxItems[549755773088] = new SyntaxElement{
/*scopes*/ "anonymous.ocaml", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[549755773088]; })
,
}
}; syntaxItems[-63760]; })
,
({ syntaxItems[-63680] = new SyntaxElement{
/*scopes*/ "meta.module.ocaml.structure", "(null)",
/*patterns*/ false, REGEX: \b(struct)\b, REGEX: \b(end)\b
/*refs*/TODO
/*children*/ {
({ syntaxItems[549755773168] = new SyntaxElement{
/*scopes*/ "anonymous.ocaml", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[549755773168]; })
,
}
}; syntaxItems[-63680]; })
,
({ syntaxItems[549755773248] = new SyntaxElement{
/*scopes*/ "anonymous.ocaml", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[549755773248]; })
,
({ syntaxItems[-63600] = new SyntaxElement{
/*scopes*/ "meta.module.ocaml.open", "(null)",
/*patterns*/ false, REGEX: \b(open)\s+([A-Z][a-zA-Z0-9'_]*)(?=(\.[A-Z][a-zA-Z0-9_]*)*), REGEX: (\s|$)
/*refs*/TODO
/*children*/ {
({ syntaxItems[-63440] = new SyntaxElement{
/*scopes*/ "module.ocaml.other.support", "(null)",
/*patterns*/ true, REGEX: (\.)([A-Z][a-zA-Z0-9'_]*), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[-63440]; })
,
}
}; syntaxItems[-63600]; })
,
({ syntaxItems[-63360] = new SyntaxElement{
/*scopes*/ "exception.meta.ocaml", "(null)",
/*patterns*/ true, REGEX: \b(exception)\s+([A-Z][a-zA-Z0-9'_]*)\b, (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[-63360]; })
,
({ syntaxItems[-63280] = new SyntaxElement{
/*scopes*/ "camlp4.embedded.ocaml.source", "(null)",
/*patterns*/ false, REGEX: (?=(\[<)(?![^\[]+?[^>]])), REGEX: (>])
/*refs*/TODO
/*children*/ {
({ syntaxItems[549755773328] = new SyntaxElement{
/*scopes*/ "anonymous.ocaml", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[549755773328]; })
,
}
}; syntaxItems[-63280]; })
,
({ syntaxItems[549755773408] = new SyntaxElement{
/*scopes*/ "anonymous.ocaml", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[549755773408]; })
,
({ syntaxItems[549755773488] = new SyntaxElement{
/*scopes*/ "anonymous.ocaml", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[549755773488]; })
,
({ syntaxItems[549755773568] = new SyntaxElement{
/*scopes*/ "anonymous.ocaml", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[549755773568]; })
,
({ syntaxItems[549755773648] = new SyntaxElement{
/*scopes*/ "anonymous.ocaml", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[549755773648]; })
,
({ syntaxItems[549755773728] = new SyntaxElement{
/*scopes*/ "anonymous.ocaml", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[549755773728]; })
,
({ syntaxItems[-63200] = new SyntaxElement{
/*scopes*/ "meta.ocaml.type-constraint", "(null)",
/*patterns*/ false, REGEX: (\()(?=(~[a-z][a-zA-Z0-9_]*:|("(\\"|[^"])*")|[^\(\)~"])+(?<!:)(:>|:(?![:=]))), REGEX: (?<!:)(:>|:(?![:=]))(.*?)(\))
/*refs*/TODO
/*children*/ {
({ syntaxItems[549755773808] = new SyntaxElement{
/*scopes*/ "anonymous.ocaml", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[549755773808]; })
,
}
}; syntaxItems[-63200]; })
,
({ syntaxItems[-63120] = new SyntaxElement{
/*scopes*/ "directive.keyword.ocaml.other", "(null)",
/*patterns*/ true, REGEX: ^[ \t]*#[a-zA-Z]+, (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[-63120]; })
,
({ syntaxItems[-63040] = new SyntaxElement{
/*scopes*/ "directive.keyword.line-number.ocaml.other", "(null)",
/*patterns*/ true, REGEX: ^[ \t]*#[0-9]*, (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[-63040]; })
,
({ syntaxItems[549755773888] = new SyntaxElement{
/*scopes*/ "anonymous.ocaml", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[549755773888]; })
,
({ syntaxItems[-62960] = new SyntaxElement{
/*scopes*/ "keyword.modifier.ocaml.other.storage", "(null)",
/*patterns*/ true, <CHSyntaxPatternListDefinition: 0x600001647b90>, (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[-62960]; })
,
({ syntaxItems[-62800] = new SyntaxElement{
/*scopes*/ "entity.name.ocaml.polymorphic.type.variant", "(null)",
/*patterns*/ true, REGEX: `[A-Za-z][a-zA-Z0-9'_]*\b, (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[-62800]; })
,
({ syntaxItems[-62720] = new SyntaxElement{
/*scopes*/ "entity.name.ocaml.type.variant", "(null)",
/*patterns*/ true, REGEX: \b[A-Z][a-zA-Z0-9'_]*\b, (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[-62720]; })
,
({ syntaxItems[-62560] = new SyntaxElement{
/*scopes*/ "keyword.ocaml.operator.symbol", "(null)",
/*patterns*/ true, REGEX: !=|:=|>|<, (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[-62560]; })
,
({ syntaxItems[-62400] = new SyntaxElement{
/*scopes*/ "floating-point.infix.keyword.ocaml.operator", "(null)",
/*patterns*/ true, REGEX: [*+/-]\., (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[-62400]; })
,
({ syntaxItems[-62320] = new SyntaxElement{
/*scopes*/ "floating-point.keyword.ocaml.operator.prefix", "(null)",
/*patterns*/ true, REGEX: ~-\., (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[-62320]; })
,
({ syntaxItems[-62160] = new SyntaxElement{
/*scopes*/ "constructor.definition.list.ocaml.punctuation", "(null)",
/*patterns*/ true, STRING: ::, (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[-62160]; })
,
({ syntaxItems[-62000] = new SyntaxElement{
/*scopes*/ "expression.ocaml.punctuation.terminator", "(null)",
/*patterns*/ true, STRING: ;;, (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[-62000]; })
,
({ syntaxItems[-61840] = new SyntaxElement{
/*scopes*/ "ocaml.punctuation.separator", "(null)",
/*patterns*/ true, STRING: ;, (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[-61840]; })
,
({ syntaxItems[-61760] = new SyntaxElement{
/*scopes*/ "function-return.ocaml.punctuation.separator", "(null)",
/*patterns*/ true, STRING: ->, (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[-61760]; })
,
({ syntaxItems[-61680] = new SyntaxElement{
/*scopes*/ "infix.keyword.ocaml.operator", "(null)",
/*patterns*/ true, REGEX: [=<>@^&+\-*/$%|][|!$%&*+./:<=>?@^~-]*, (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[-61680]; })
,
({ syntaxItems[-61520] = new SyntaxElement{
/*scopes*/ "keyword.ocaml.operator.prefix", "(null)",
/*patterns*/ true, REGEX: \bnot\b|!|[!\?~][!$%&*+./:<=>?@^~-]+, (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[-61520]; })
,
({ syntaxItems[-61440] = new SyntaxElement{
/*scopes*/ "entity.label.name.ocaml.tag", "(null)",
/*patterns*/ true, REGEX: ~[a-z][a-z0-9'_]*(:)?, (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[-61440]; })
,
({ syntaxItems[-61360] = new SyntaxElement{
/*scopes*/ "begin-end-group.meta.ocaml", "(null)",
/*patterns*/ false, REGEX: \b(begin)\b, REGEX: \b(end)\b
/*refs*/TODO
/*children*/ {
({ syntaxItems[549755773968] = new SyntaxElement{
/*scopes*/ "anonymous.ocaml", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[549755773968]; })
,
}
}; syntaxItems[-61360]; })
,
({ syntaxItems[-61280] = new SyntaxElement{
/*scopes*/ "for-loop.meta.ocaml", "(null)",
/*patterns*/ false, REGEX: \b(for)\b, REGEX: \b(done)\b
/*refs*/TODO
/*children*/ {
({ syntaxItems[-61200] = new SyntaxElement{
/*scopes*/ "control.keyword.loop.ocaml", "(null)",
/*patterns*/ true, STRING: do, (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[-61200]; })
,
({ syntaxItems[549755774048] = new SyntaxElement{
/*scopes*/ "anonymous.ocaml", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[549755774048]; })
,
}
}; syntaxItems[-61280]; })
,
({ syntaxItems[-61120] = new SyntaxElement{
/*scopes*/ "meta.ocaml.while-loop", "(null)",
/*patterns*/ false, REGEX: \b(while)\b, REGEX: \b(done)\b
/*refs*/TODO
/*children*/ {
({ syntaxItems[-61040] = new SyntaxElement{
/*scopes*/ "control.keyword.loop.ocaml", "(null)",
/*patterns*/ true, STRING: do, (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[-61040]; })
,
({ syntaxItems[549755774128] = new SyntaxElement{
/*scopes*/ "anonymous.ocaml", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[549755774128]; })
,
}
}; syntaxItems[-61120]; })
,
({ syntaxItems[-60960] = new SyntaxElement{
/*scopes*/ "meta.ocaml.paren-group", "(null)",
/*patterns*/ false, REGEX: \(, REGEX: \)
/*refs*/TODO
/*children*/ {
({ syntaxItems[549755774208] = new SyntaxElement{
/*scopes*/ "anonymous.ocaml", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[549755774208]; })
,
}
}; syntaxItems[-60960]; })
,
({ syntaxItems[-60880] = new SyntaxElement{
/*scopes*/ "keyword.ocaml.operator", "(null)",
/*patterns*/ true, <CHSyntaxPatternListDefinition: 0x60000164a6b0>, (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[-60880]; })
,
({ syntaxItems[-60800] = new SyntaxElement{
/*scopes*/ "control.keyword.ocaml", "(null)",
/*patterns*/ true, <CHSyntaxPatternListDefinition: 0x60000164a950>, (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[-60800]; })
,
({ syntaxItems[-60480] = new SyntaxElement{
/*scopes*/ "keyword.ocaml.other", "(null)",
/*patterns*/ true, <CHSyntaxPatternListDefinition: 0x60000164ac50>, (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[-60480]; })
,
({ syntaxItems[549755774288] = new SyntaxElement{
/*scopes*/ "anonymous.ocaml", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[549755774288]; })
,
({ syntaxItems[-60240] = new SyntaxElement{
/*scopes*/ "illegal.invalid.ocaml.unrecognized-character", "(null)",
/*patterns*/ true, <CHSyntaxPatternListDefinition: 0x60000164b190>, (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[-60240]; })
,
}
}; syntaxItems[-1211072]; })
}
// Writing lang OCamllex
void shamrock_test_OCamllex() {
std::map<intptr_t, Syntaxable*> syntaxItems;
({ syntaxItems[-1210688] = new SyntaxBase{
"ocamllex.source", nullptr, {
({ syntaxItems[-53040] = new SyntaxElement{
/*scopes*/ "embedded.meta.ocaml.ocamllex", "(null)",
/*patterns*/ false, REGEX: ^\s*({), REGEX: ^\s*(})
/*refs*/TODO
/*children*/ {
({ syntaxItems[549755774448] = new SyntaxElement{
/*scopes*/ "anonymous.ocamllex", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[549755774448]; })
,
}
}; syntaxItems[-53040]; })
,
({ syntaxItems[-52800] = new SyntaxElement{
/*scopes*/ "meta.ocaml.ocamllex.pattern-definition", "(null)",
/*patterns*/ false, REGEX: \b(let)\s+([a-z][a-zA-Z0-9'_]*)\s+=, REGEX: ^(?:\s*let)|(?:\s*(rule|$))
/*refs*/TODO
/*children*/ {
({ syntaxItems[549755774528] = new SyntaxElement{
/*scopes*/ "anonymous.ocamllex", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[549755774528]; })
,
}
}; syntaxItems[-52800]; })
,
({ syntaxItems[-52640] = new SyntaxElement{
/*scopes*/ "meta.ocaml.ocamllex.pattern-match", "(null)",
/*patterns*/ false, REGEX: (rule|and)\s+([a-z][a-zA-Z0-9_]*)\s+(=)\s+(parse)(?=\s*$)|((?<!\|)(\|)(?!\|)), REGEX: (?:^\s*((and)\b|(?=\|)|$))
/*refs*/TODO
/*children*/ {
({ syntaxItems[549755774608] = new SyntaxElement{
/*scopes*/ "anonymous.ocamllex", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[549755774608]; })
,
({ syntaxItems[549755774688] = new SyntaxElement{
/*scopes*/ "anonymous.ocamllex", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[549755774688]; })
,
}
}; syntaxItems[-52640]; })
,
({ syntaxItems[549755774768] = new SyntaxElement{
/*scopes*/ "anonymous.ocamllex", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[549755774768]; })
,
({ syntaxItems[549755774848] = new SyntaxElement{
/*scopes*/ "anonymous.ocamllex", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[549755774848]; })
,
({ syntaxItems[-52560] = new SyntaxElement{
/*scopes*/ "keyword.ocamllex.operator.symbol", "(null)",
/*patterns*/ true, STRING: =, (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[-52560]; })
,
({ syntaxItems[-52480] = new SyntaxElement{
/*scopes*/ "meta.ocamllex.paren-group", "(null)",
/*patterns*/ false, REGEX: \(, REGEX: \)
/*refs*/TODO
/*children*/ {
({ syntaxItems[549755775008] = new SyntaxElement{
/*scopes*/ "anonymous.ocamllex", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[549755775008]; })
,
}
}; syntaxItems[-52480]; })
,
({ syntaxItems[-52320] = new SyntaxElement{
/*scopes*/ "illegal.invalid.ocamllex.unrecognized-character", "(null)",
/*patterns*/ true, <CHSyntaxPatternListDefinition: 0x60000165d7c0>, (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[-52320]; })
,
}
}; syntaxItems[-1210688]; })
}
// Writing lang OCamlyacc
void shamrock_test_OCamlyacc() {
std::map<intptr_t, Syntaxable*> syntaxItems;
({ syntaxItems[-1210496] = new SyntaxBase{
"ocamlyacc.source", nullptr, {
({ syntaxItems[-48080] = new SyntaxElement{
/*scopes*/ "header.meta.ocamlyacc", "(null)",
/*patterns*/ false, REGEX: (%{)\s*$, REGEX: ^\s*(%})
/*refs*/TODO
/*children*/ {
({ syntaxItems[549755774368] = new SyntaxElement{
/*scopes*/ "anonymous.ocamlyacc", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[549755774368]; })
,
}
}; syntaxItems[-48080]; })
,
({ syntaxItems[-48000] = new SyntaxElement{
/*scopes*/ "declarations.meta.ocamlyacc", "(null)",
/*patterns*/ false, REGEX: (?<=%})\s*$, REGEX: (?:^)(?=%%)
/*refs*/TODO
/*children*/ {
({ syntaxItems[549755775088] = new SyntaxElement{
/*scopes*/ "anonymous.ocamlyacc", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[549755775088]; })
,
({ syntaxItems[549755775168] = new SyntaxElement{
/*scopes*/ "anonymous.ocamlyacc", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[549755775168]; })
,
}
}; syntaxItems[-48000]; })
,
({ syntaxItems[-47920] = new SyntaxElement{
/*scopes*/ "meta.ocamlyacc.rules", "(null)",
/*patterns*/ false, REGEX: (%%)\s*$, REGEX: ^\s*(%%)
/*refs*/TODO
/*children*/ {
({ syntaxItems[549755775248] = new SyntaxElement{
/*scopes*/ "anonymous.ocamlyacc", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[549755775248]; })
,
({ syntaxItems[549755775328] = new SyntaxElement{
/*scopes*/ "anonymous.ocamlyacc", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[549755775328]; })
,
}
}; syntaxItems[-47920]; })
,
({ syntaxItems[549755775408] = new SyntaxElement{
/*scopes*/ "anonymous.ocamlyacc", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[549755775408]; })
,
({ syntaxItems[549755775488] = new SyntaxElement{
/*scopes*/ "anonymous.ocamlyacc", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[549755775488]; })
,
({ syntaxItems[-47840] = new SyntaxElement{
/*scopes*/ "illegal.invalid.ocaml.ocamlyacc.unrecognized-character", "(null)",
/*patterns*/ true, <CHSyntaxPatternListDefinition: 0x600001847bf0>, (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[-47840]; })
,
}
}; syntaxItems[-1210496]; })
}
// --- Writing truffle Perl ---
// Writing lang Perl
void shamrock_test_Perl() {
std::map<intptr_t, Syntaxable*> syntaxItems;
({ syntaxItems[1649266218688] = new SyntaxBase{
"perl.source", nullptr, {
({ syntaxItems[549753775056] = new SyntaxElement{
/*scopes*/ "anonymous.perl", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[549753775056]; })
,
({ syntaxItems[1649267386464] = new SyntaxElement{
/*scopes*/ "block.comment.documentation.perl", "(null)",
/*patterns*/ false, REGEX: ^=, REGEX: ^=cut
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[1649267386464]; })
,
({ syntaxItems[549753775136] = new SyntaxElement{
/*scopes*/ "anonymous.perl", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[549753775136]; })
,
({ syntaxItems[1649267386544] = new SyntaxElement{
/*scopes*/ "anonymous.perl", "(null)",
/*patterns*/ false, REGEX: \b(?=qr\s*[^\s\w]), REGEX: ((([egimosx]*)))(?=(\s+\S|\s*[;\,\#\{\}\)]|$))
/*refs*/TODO
/*children*/ {
({ syntaxItems[1649267386624] = new SyntaxElement{
/*scopes*/ "compile.nested_braces.perl.regexp.string", "(null)",
/*patterns*/ false, REGEX: (qr)\s*\{, REGEX: \}
/*refs*/TODO
/*children*/ {
({ syntaxItems[549753775216] = new SyntaxElement{
/*scopes*/ "anonymous.perl", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[549753775216]; })
,
({ syntaxItems[549753775296] = new SyntaxElement{
/*scopes*/ "anonymous.perl", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[549753775296]; })
,
({ syntaxItems[549753775376] = new SyntaxElement{
/*scopes*/ "anonymous.perl", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[549753775376]; })
,
}
}; syntaxItems[1649267386624]; })
,
({ syntaxItems[1649267386704] = new SyntaxElement{
/*scopes*/ "compile.nested_brackets.perl.regexp.string", "(null)",
/*patterns*/ false, REGEX: (qr)\s*\[, REGEX: \]
/*refs*/TODO
/*children*/ {
({ syntaxItems[549753775456] = new SyntaxElement{
/*scopes*/ "anonymous.perl", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[549753775456]; })
,
({ syntaxItems[549753775536] = new SyntaxElement{
/*scopes*/ "anonymous.perl", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[549753775536]; })
,
({ syntaxItems[549753775616] = new SyntaxElement{
/*scopes*/ "anonymous.perl", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[549753775616]; })
,
}
}; syntaxItems[1649267386704]; })
,
({ syntaxItems[1649267386784] = new SyntaxElement{
/*scopes*/ "compile.nested_ltgt.perl.regexp.string", "(null)",
/*patterns*/ false, REGEX: (qr)\s*<, REGEX: >
/*refs*/TODO
/*children*/ {
({ syntaxItems[549753775696] = new SyntaxElement{
/*scopes*/ "anonymous.perl", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[549753775696]; })
,
({ syntaxItems[549753775776] = new SyntaxElement{
/*scopes*/ "anonymous.perl", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[549753775776]; })
,
({ syntaxItems[549753775856] = new SyntaxElement{
/*scopes*/ "anonymous.perl", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[549753775856]; })
,
}
}; syntaxItems[1649267386784]; })
,
({ syntaxItems[1649267386944] = new SyntaxElement{
/*scopes*/ "compile.nested_parens.perl.regexp.string", "(null)",
/*patterns*/ false, REGEX: (qr)\s*\(, REGEX: \)
/*refs*/TODO
/*children*/ {
({ syntaxItems[549753775936] = new SyntaxElement{
/*scopes*/ "anonymous.perl", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[549753775936]; })
,
({ syntaxItems[549753776016] = new SyntaxElement{
/*scopes*/ "anonymous.perl", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[549753776016]; })
,
({ syntaxItems[549753776096] = new SyntaxElement{
/*scopes*/ "anonymous.perl", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[549753776096]; })
,
}
}; syntaxItems[1649267386944]; })
,
({ syntaxItems[1649267387024] = new SyntaxElement{
/*scopes*/ "compile.perl.regexp.single-quote.string", "(null)",
/*patterns*/ false, REGEX: (qr)\s*\', REGEX: \'
/*refs*/TODO
/*children*/ {
({ syntaxItems[549753776176] = new SyntaxElement{
/*scopes*/ "anonymous.perl", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[549753776176]; })
,
}
}; syntaxItems[1649267387024]; })
,
({ syntaxItems[1649267387104] = new SyntaxElement{
/*scopes*/ "compile.perl.regexp.simple-delimiter.string", "(null)",
/*patterns*/ false, REGEX: (qr)\s*([^\s\w\'\{\[\(\<]), REGEX: \2
/*refs*/TODO
/*children*/ {
({ syntaxItems[1649267387504] = new SyntaxElement{
/*scopes*/ "anchor.control.keyword.perl", "(null)",
/*patterns*/ true, REGEX: \$(?=[^\s\w\'\{\[\(\<]), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[1649267387504]; })
,
({ syntaxItems[549753776256] = new SyntaxElement{
/*scopes*/ "anonymous.perl", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[549753776256]; })
,
({ syntaxItems[549753776336] = new SyntaxElement{
/*scopes*/ "anonymous.perl", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[549753776336]; })
,
({ syntaxItems[549755742528] = new SyntaxElement{
/*scopes*/ "anonymous.perl", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[549755742528]; })
,
}
}; syntaxItems[1649267387104]; })
,
}
}; syntaxItems[1649267386544]; })
,
({ syntaxItems[1649267387264] = new SyntaxElement{
/*scopes*/ "anonymous.perl", "(null)",
/*patterns*/ false, REGEX: \b(?=(?<!\&)(s)(\s+\S|\s*[;\,\#\{\}\(\)\[<]|$)), REGEX: ((([egimosx]*)))(?=(\s+\S|\s*[;\,\#\{\}\)\]>]|$))
/*refs*/TODO
/*children*/ {
({ syntaxItems[1649267387744] = new SyntaxElement{
/*scopes*/ "nested_braces.perl.regexp.string", "(null)",
/*patterns*/ false, REGEX: (s)\s*\{, REGEX: \}
/*refs*/TODO
/*children*/ {
({ syntaxItems[549755742608] = new SyntaxElement{
/*scopes*/ "anonymous.perl", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[549755742608]; })
,
({ syntaxItems[549755742688] = new SyntaxElement{
/*scopes*/ "anonymous.perl", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[549755742688]; })
,
}
}; syntaxItems[1649267387744]; })
,
({ syntaxItems[1649267387904] = new SyntaxElement{
/*scopes*/ "nested_brackets.perl.regexp.string", "(null)",
/*patterns*/ false, REGEX: (s)\s*\[, REGEX: \]
/*refs*/TODO
/*children*/ {
({ syntaxItems[549755742768] = new SyntaxElement{
/*scopes*/ "anonymous.perl", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[549755742768]; })
,
({ syntaxItems[549755742848] = new SyntaxElement{
/*scopes*/ "anonymous.perl", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[549755742848]; })
,
}
}; syntaxItems[1649267387904]; })
,
({ syntaxItems[1649267387984] = new SyntaxElement{
/*scopes*/ "nested_ltgt.perl.regexp.string", "(null)",
/*patterns*/ false, REGEX: (s)\s*<, REGEX: >
/*refs*/TODO
/*children*/ {
({ syntaxItems[549755742928] = new SyntaxElement{
/*scopes*/ "anonymous.perl", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[549755742928]; })
,
({ syntaxItems[549755743008] = new SyntaxElement{
/*scopes*/ "anonymous.perl", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[549755743008]; })
,
}
}; syntaxItems[1649267387984]; })
,
({ syntaxItems[1649267388144] = new SyntaxElement{
/*scopes*/ "nested_parens.perl.regexp.string", "(null)",
/*patterns*/ false, REGEX: (s)\s*\(, REGEX: \)
/*refs*/TODO
/*children*/ {
({ syntaxItems[549755743088] = new SyntaxElement{
/*scopes*/ "anonymous.perl", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[549755743088]; })
,
({ syntaxItems[549755743168] = new SyntaxElement{
/*scopes*/ "anonymous.perl", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[549755743168]; })
,
}
}; syntaxItems[1649267388144]; })
,
({ syntaxItems[1649267388224] = new SyntaxElement{
/*scopes*/ "format.nested_braces.perl.regexp.string", "(null)",
/*patterns*/ false, REGEX: \{, REGEX: \}
/*refs*/TODO
/*children*/ {
({ syntaxItems[549755743248] = new SyntaxElement{
/*scopes*/ "anonymous.perl", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[549755743248]; })
,
({ syntaxItems[549755743328] = new SyntaxElement{
/*scopes*/ "anonymous.perl", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[549755743328]; })
,
({ syntaxItems[549755743408] = new SyntaxElement{
/*scopes*/ "anonymous.perl", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[549755743408]; })
,
}
}; syntaxItems[1649267388224]; })
,
({ syntaxItems[1649267388304] = new SyntaxElement{
/*scopes*/ "format.nested_brackets.perl.regexp.string", "(null)",
/*patterns*/ false, REGEX: \[, REGEX: \]
/*refs*/TODO
/*children*/ {
({ syntaxItems[549755743488] = new SyntaxElement{
/*scopes*/ "anonymous.perl", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[549755743488]; })
,
({ syntaxItems[549755743568] = new SyntaxElement{
/*scopes*/ "anonymous.perl", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[549755743568]; })
,
({ syntaxItems[549755743648] = new SyntaxElement{
/*scopes*/ "anonymous.perl", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[549755743648]; })
,
}
}; syntaxItems[1649267388304]; })
,
({ syntaxItems[1649267388384] = new SyntaxElement{
/*scopes*/ "format.nested_ltgt.perl.regexp.string", "(null)",
/*patterns*/ false, REGEX: <, REGEX: >
/*refs*/TODO
/*children*/ {
({ syntaxItems[549755743808] = new SyntaxElement{
/*scopes*/ "anonymous.perl", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[549755743808]; })
,
({ syntaxItems[549755743888] = new SyntaxElement{
/*scopes*/ "anonymous.perl", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[549755743888]; })
,
({ syntaxItems[549755743968] = new SyntaxElement{
/*scopes*/ "anonymous.perl", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[549755743968]; })
,
}
}; syntaxItems[1649267388384]; })
,
({ syntaxItems[1649267388544] = new SyntaxElement{
/*scopes*/ "format.nested_parens.perl.regexp.string", "(null)",
/*patterns*/ false, REGEX: \(, REGEX: \)
/*refs*/TODO
/*children*/ {
({ syntaxItems[549755744048] = new SyntaxElement{
/*scopes*/ "anonymous.perl", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[549755744048]; })
,
({ syntaxItems[549755744128] = new SyntaxElement{
/*scopes*/ "anonymous.perl", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[549755744128]; })
,
({ syntaxItems[549755744208] = new SyntaxElement{
/*scopes*/ "anonymous.perl", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[549755744208]; })
,
}
}; syntaxItems[1649267388544]; })
,
({ syntaxItems[1649267388624] = new SyntaxElement{
/*scopes*/ "format.perl.regexp.single_quote.string", "(null)",
/*patterns*/ false, REGEX: ', REGEX: '
/*refs*/TODO
/*children*/ {
({ syntaxItems[1649267388704] = new SyntaxElement{
/*scopes*/ "character.constant.escape.perl", "(null)",
/*patterns*/ true, REGEX: \\['\\], (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[1649267388704]; })
,
}
}; syntaxItems[1649267388624]; })
,
({ syntaxItems[1649267388784] = new SyntaxElement{
/*scopes*/ "format.perl.regexp.simple_delimiter.string", "(null)",
/*patterns*/ false, REGEX: ([^\s\w\[({<;]), REGEX: \1
/*refs*/TODO
/*children*/ {
({ syntaxItems[549755744288] = new SyntaxElement{
/*scopes*/ "anonymous.perl", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[549755744288]; })
,
({ syntaxItems[549755744368] = new SyntaxElement{
/*scopes*/ "anonymous.perl", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[549755744368]; })
,
}
}; syntaxItems[1649267388784]; })
,
({ syntaxItems[1649267388864] = new SyntaxElement{
/*scopes*/ "anonymous.perl", "(null)",
/*patterns*/ true, REGEX: \s+, (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[1649267388864]; })
,
}
}; syntaxItems[1649267387264]; })
,
({ syntaxItems[1649267388464] = new SyntaxElement{
/*scopes*/ "anonymous.perl", "(null)",
/*patterns*/ false, REGEX: \b(?=s([^\s\w\[({<]).*\1([egimos]*)([\}\)\;\,]|\s+)), REGEX: ((([egimos]*)))(?=([\}\)\;\,]|\s+|$))
/*refs*/TODO
/*children*/ {
({ syntaxItems[1649267389024] = new SyntaxElement{
/*scopes*/ "perl.regexp.replacexxx.simple_delimiter.string", "(null)",
/*patterns*/ false, REGEX: (s\s*)([^\s\w\[({<]), REGEX: (?=\2)
/*refs*/TODO
/*children*/ {
({ syntaxItems[549755743728] = new SyntaxElement{
/*scopes*/ "anonymous.perl", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[549755743728]; })
,
}
}; syntaxItems[1649267389024]; })
,
({ syntaxItems[1649267389104] = new SyntaxElement{
/*scopes*/ "format.perl.regexp.replacexxx.single_quote.string", "(null)",
/*patterns*/ false, REGEX: ', REGEX: '
/*refs*/TODO
/*children*/ {
({ syntaxItems[1649267389664] = new SyntaxElement{
/*scopes*/ "character.constant.escape.perl", "(null)",
/*patterns*/ true, REGEX: \\['\\], (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[1649267389664]; })
,
}
}; syntaxItems[1649267389104]; })
,
({ syntaxItems[1649267389424] = new SyntaxElement{
/*scopes*/ "format.perl.regexp.replacexxx.simple_delimiter.string", "(null)",
/*patterns*/ false, REGEX: ([^\s\w\[({<]), REGEX: \1
/*refs*/TODO
/*children*/ {
({ syntaxItems[549755744448] = new SyntaxElement{
/*scopes*/ "anonymous.perl", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[549755744448]; })
,
({ syntaxItems[549755744528] = new SyntaxElement{
/*scopes*/ "anonymous.perl", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[549755744528]; })
,
}
}; syntaxItems[1649267389424]; })
,
}
}; syntaxItems[1649267388464]; })
,
({ syntaxItems[1649267389984] = new SyntaxElement{
/*scopes*/ "anonymous.perl", "(null)",
/*patterns*/ false, REGEX: \b(?=(?<!\\)s\s*([^\s\w\[({<])), REGEX: \2((([egimos]*x[egimos]*)))\b
/*refs*/TODO
/*children*/ {
({ syntaxItems[1649267390064] = new SyntaxElement{
/*scopes*/ "extended.perl.regexp.replace.simple_delimiter.string", "(null)",
/*patterns*/ false, REGEX: (s)\s*(.), REGEX: (?=\2)
/*refs*/TODO
/*children*/ {
({ syntaxItems[549755744688] = new SyntaxElement{
/*scopes*/ "anonymous.perl", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[549755744688]; })
,
}
}; syntaxItems[1649267390064]; })
,
({ syntaxItems[1649267390384] = new SyntaxElement{
/*scopes*/ "extended.perl.regexp.replace.simple_delimiter.string", "(null)",
/*patterns*/ false, REGEX: ', REGEX: '(?=[egimos]*x[egimos]*)\b
/*refs*/TODO
/*children*/ {
({ syntaxItems[549755744768] = new SyntaxElement{
/*scopes*/ "anonymous.perl", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[549755744768]; })
,
}
}; syntaxItems[1649267390384]; })
,
({ syntaxItems[1649267390624] = new SyntaxElement{
/*scopes*/ "extended.perl.regexp.replace.simple_delimiter.string", "(null)",
/*patterns*/ false, REGEX: (.), REGEX: \1(?=[egimos]*x[egimos]*)\b
/*refs*/TODO
/*children*/ {
({ syntaxItems[549755744848] = new SyntaxElement{
/*scopes*/ "anonymous.perl", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[549755744848]; })
,
({ syntaxItems[549755744928] = new SyntaxElement{
/*scopes*/ "anonymous.perl", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[549755744928]; })
,
}
}; syntaxItems[1649267390624]; })
,
}
}; syntaxItems[1649267389984]; })
,
({ syntaxItems[1649267390944] = new SyntaxElement{
/*scopes*/ "constant.key.other.perl", "(null)",
/*patterns*/ true, REGEX: \b\w+\s*(?==>), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[1649267390944]; })
,
({ syntaxItems[1649267391024] = new SyntaxElement{
/*scopes*/ "bareword.constant.other.perl", "(null)",
/*patterns*/ true, REGEX: (?<={)\s*\w+\s*(?=}), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[1649267391024]; })
,
({ syntaxItems[1649267391104] = new SyntaxElement{
/*scopes*/ "find.perl.regexp.string", "(null)",
/*patterns*/ false, REGEX: (?<!\\)((~\s*)?\/)(?=\S)(?=([^\\]|\\.)*\/), REGEX: (\/)
/*refs*/TODO
/*children*/ {
({ syntaxItems[549755745008] = new SyntaxElement{
/*scopes*/ "anonymous.perl", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[549755745008]; })
,
}
}; syntaxItems[1649267391104]; })
,
({ syntaxItems[1649267391264] = new SyntaxElement{
/*scopes*/ "extended.find.perl.regexp.string", "(null)",
/*patterns*/ false, REGEX: (?<!\\)(\~\s*\/), REGEX: \/([cgimos]*x[cgimos]*)\b
/*refs*/TODO
/*children*/ {
({ syntaxItems[549755744608] = new SyntaxElement{
/*scopes*/ "anonymous.perl", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[549755744608]; })
,
({ syntaxItems[549755745088] = new SyntaxElement{
/*scopes*/ "anonymous.perl", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[549755745088]; })
,
}
}; syntaxItems[1649267391264]; })
,
({ syntaxItems[1649267390864] = new SyntaxElement{
/*scopes*/ "class.meta.perl", "(null)",
/*patterns*/ true, REGEX: ^\s*(package)\s+(\S+)\s*((#).*)?$\n?, (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[1649267390864]; })
,
({ syntaxItems[1649267391344] = new SyntaxElement{
/*scopes*/ "function.meta.perl", "(null)",
/*patterns*/ true, REGEX: ^\s*(sub)\s+([-a-zA-Z0-9_]+)\s*(\([\$\@\*;]*\))?, (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[1649267391344]; })
,
({ syntaxItems[1649267391504] = new SyntaxElement{
/*scopes*/ "function.meta.perl", "(null)",
/*patterns*/ true, REGEX: ^\s*(BEGIN|END|DESTROY)\b, (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[1649267391504]; })
,
({ syntaxItems[1649267391584] = new SyntaxElement{
/*scopes*/ "leading-tabs.meta.perl", "(null)",
/*patterns*/ false, REGEX: ^(?=(\t| {4})), REGEX: (?=[^\t\s])
/*refs*/TODO
/*children*/ {
({ syntaxItems[1649267391664] = new SyntaxElement{
/*scopes*/ "anonymous.perl", "(null)",
/*patterns*/ true, REGEX: (\t| {4})(\t| {4})?, (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[1649267391664]; })
,
}
}; syntaxItems[1649267391584]; })
,
({ syntaxItems[1649267391744] = new SyntaxElement{
/*scopes*/ "find-m.perl.regexp.string", "(null)",
/*patterns*/ true, REGEX: \b(m)\s*(?<!\\)([^\[\{\(A-Za-z0-9\s])(.*?)(?<!\\)(\\{2})*(\2), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[1649267391744]; })
,
({ syntaxItems[1649267391904] = new SyntaxElement{
/*scopes*/ "find-m-paren.perl.regexp.string", "(null)",
/*patterns*/ false, REGEX: \b(m)\s*(?<!\\)\(, REGEX: \)
/*refs*/TODO
/*children*/ {
({ syntaxItems[549755745168] = new SyntaxElement{
/*scopes*/ "anonymous.perl", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[549755745168]; })
,
({ syntaxItems[549755745248] = new SyntaxElement{
/*scopes*/ "anonymous.perl", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[549755745248]; })
,
({ syntaxItems[549755745328] = new SyntaxElement{
/*scopes*/ "anonymous.perl", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[549755745328]; })
,
}
}; syntaxItems[1649267391904]; })
,
({ syntaxItems[1649267391984] = new SyntaxElement{
/*scopes*/ "find-m-brace.perl.regexp.string", "(null)",
/*patterns*/ false, REGEX: \b(m)\s*(?<!\\)\{, REGEX: \}
/*refs*/TODO
/*children*/ {
({ syntaxItems[549755745408] = new SyntaxElement{
/*scopes*/ "anonymous.perl", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[549755745408]; })
,
({ syntaxItems[549755745488] = new SyntaxElement{
/*scopes*/ "anonymous.perl", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[549755745488]; })
,
({ syntaxItems[549755745568] = new SyntaxElement{
/*scopes*/ "anonymous.perl", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[549755745568]; })
,
}
}; syntaxItems[1649267391984]; })
,
({ syntaxItems[1649267392064] = new SyntaxElement{
/*scopes*/ "find-m-bracket.perl.regexp.string", "(null)",
/*patterns*/ false, REGEX: \b(m)\s*(?<!\\)\[, REGEX: \]
/*refs*/TODO
/*children*/ {
({ syntaxItems[549755745648] = new SyntaxElement{
/*scopes*/ "anonymous.perl", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[549755745648]; })
,
({ syntaxItems[549755745728] = new SyntaxElement{
/*scopes*/ "anonymous.perl", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[549755745728]; })
,
({ syntaxItems[549755745808] = new SyntaxElement{
/*scopes*/ "anonymous.perl", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[549755745808]; })
,
}
}; syntaxItems[1649267392064]; })
,
({ syntaxItems[1649267392144] = new SyntaxElement{
/*scopes*/ "find-m-ltgt.perl.regexp.string", "(null)",
/*patterns*/ false, REGEX: \b(m)\s*(?<!\\)\<, REGEX: \>
/*refs*/TODO
/*children*/ {
({ syntaxItems[549755745888] = new SyntaxElement{
/*scopes*/ "anonymous.perl", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[549755745888]; })
,
({ syntaxItems[549755745968] = new SyntaxElement{
/*scopes*/ "anonymous.perl", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[549755745968]; })
,
({ syntaxItems[549755746048] = new SyntaxElement{
/*scopes*/ "anonymous.perl", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[549755746048]; })
,
}
}; syntaxItems[1649267392144]; })
,
({ syntaxItems[1649267392224] = new SyntaxElement{
/*scopes*/ "perl.regexp.replace.string", "(null)",
/*patterns*/ true, REGEX: \b(s|tr|y)\s*([^A-Za-z0-9\s])(.*?)(?<!\\)(\\{2})*(\2)(.*?)(?<!\\)(\\{2})*(\2), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[1649267392224]; })
,
({ syntaxItems[1649267392304] = new SyntaxElement{
/*scopes*/ "constant.language.perl", "(null)",
/*patterns*/ true, <CHSyntaxPatternListDefinition: 0x618001643660>, (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[1649267392304]; })
,
({ syntaxItems[1649267392384] = new SyntaxElement{
/*scopes*/ "control.keyword.perl", "(null)",
/*patterns*/ true, REGEX: (?<!->)\b(continue|die|do|else|elsif|exit|for|foreach|goto|if|last|next|redo|return|select|unless|until|wait|while|switch|case|package|require|use|eval)\b, (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[1649267392384]; })
,
({ syntaxItems[1649267392464] = new SyntaxElement{
/*scopes*/ "modifier.perl.storage", "(null)",
/*patterns*/ true, <CHSyntaxPatternListDefinition: 0x618001643b40>, (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[1649267392464]; })
,
({ syntaxItems[1649267392544] = new SyntaxElement{
/*scopes*/ "filetest.keyword.operator.perl", "(null)",
/*patterns*/ true, REGEX: (?<!\w)\-[rwx0RWXOezsfdlpSbctugkTBMAC]\b, (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[1649267392544]; })
,
({ syntaxItems[1649267392624] = new SyntaxElement{
/*scopes*/ "keyword.logical.operator.perl", "(null)",
/*patterns*/ true, <CHSyntaxPatternListDefinition: 0x618001644050>, (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[1649267392624]; })
,
({ syntaxItems[1649267392704] = new SyntaxElement{
/*scopes*/ "comparison.keyword.operator.perl", "(null)",
/*patterns*/ true, <CHSyntaxPatternListDefinition: 0x6180016442c0>, (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[1649267392704]; })
,
({ syntaxItems[1649267392784] = new SyntaxElement{
/*scopes*/ "anonymous.perl", "embedded.html.perl.text",
/*patterns*/ false, REGEX: ((<<) *"HTML").*\n?, REGEX: (^HTML$)
/*refs*/TODO
/*children*/ {
({ syntaxItems[549755746128] = new SyntaxElement{
/*scopes*/ "anonymous.perl", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[549755746128]; })
,
({ syntaxItems[549755746208] = new SyntaxElement{
/*scopes*/ "anonymous.perl", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[549755746208]; })
,
({ syntaxItems[549755746288] = new SyntaxElement{
/*scopes*/ "anonymous.perl", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[549755746288]; })
,
}
}; syntaxItems[1649267392784]; })
,
({ syntaxItems[1649267392864] = new SyntaxElement{
/*scopes*/ "anonymous.perl", "embedded.perl.text.xml",
/*patterns*/ false, REGEX: ((<<) *"XML").*\n?, REGEX: (^XML$)
/*refs*/TODO
/*children*/ {
({ syntaxItems[549755746368] = new SyntaxElement{
/*scopes*/ "anonymous.perl", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[549755746368]; })
,
({ syntaxItems[549755746448] = new SyntaxElement{
/*scopes*/ "anonymous.perl", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[549755746448]; })
,
({ syntaxItems[549755746528] = new SyntaxElement{
/*scopes*/ "anonymous.perl", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[549755746528]; })
,
}
}; syntaxItems[1649267392864]; })
,
({ syntaxItems[1649267392944] = new SyntaxElement{
/*scopes*/ "anonymous.perl", "css.embedded.perl.text",
/*patterns*/ false, REGEX: ((<<) *"CSS").*\n?, REGEX: (^CSS$)
/*refs*/TODO
/*children*/ {
({ syntaxItems[549755746608] = new SyntaxElement{
/*scopes*/ "anonymous.perl", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[549755746608]; })
,
({ syntaxItems[549755746688] = new SyntaxElement{
/*scopes*/ "anonymous.perl", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[549755746688]; })
,
({ syntaxItems[549755746768] = new SyntaxElement{
/*scopes*/ "anonymous.perl", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[549755746768]; })
,
}
}; syntaxItems[1649267392944]; })
,
({ syntaxItems[1649267393024] = new SyntaxElement{
/*scopes*/ "anonymous.perl", "embedded.js.perl.text",
/*patterns*/ false, REGEX: ((<<) *"JAVASCRIPT").*\n?, REGEX: (^JAVASCRIPT$)
/*refs*/TODO
/*children*/ {
({ syntaxItems[549755746848] = new SyntaxElement{
/*scopes*/ "anonymous.perl", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[549755746848]; })
,
({ syntaxItems[549755746928] = new SyntaxElement{
/*scopes*/ "anonymous.perl", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[549755746928]; })
,
({ syntaxItems[549755747008] = new SyntaxElement{
/*scopes*/ "anonymous.perl", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[549755747008]; })
,
}
}; syntaxItems[1649267393024]; })
,
({ syntaxItems[1649267393104] = new SyntaxElement{
/*scopes*/ "anonymous.perl", "embedded.perl.source.sql",
/*patterns*/ false, REGEX: ((<<) *"SQL").*\n?, REGEX: (^SQL$)
/*refs*/TODO
/*children*/ {
({ syntaxItems[549755747088] = new SyntaxElement{
/*scopes*/ "anonymous.perl", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[549755747088]; })
,
({ syntaxItems[549755747168] = new SyntaxElement{
/*scopes*/ "anonymous.perl", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[549755747168]; })
,
({ syntaxItems[549755747248] = new SyntaxElement{
/*scopes*/ "anonymous.perl", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[549755747248]; })
,
}
}; syntaxItems[1649267393104]; })
,
({ syntaxItems[1649267393184] = new SyntaxElement{
/*scopes*/ "anonymous.perl", "embedded.perl.postscript.text",
/*patterns*/ false, REGEX: ((<<) *"POSTSCRIPT").*\n?, REGEX: (^POSTSCRIPT$)
/*refs*/TODO
/*children*/ {
({ syntaxItems[549755747328] = new SyntaxElement{
/*scopes*/ "anonymous.perl", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[549755747328]; })
,
({ syntaxItems[549755747408] = new SyntaxElement{
/*scopes*/ "anonymous.perl", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[549755747408]; })
,
}
}; syntaxItems[1649267393184]; })
,
({ syntaxItems[1649267393264] = new SyntaxElement{
/*scopes*/ "anonymous.perl", "doublequote.heredoc.perl.string.unquoted",
/*patterns*/ false, REGEX: ((<<) *"([^"]*)").*\n?, REGEX: (^\3$)
/*refs*/TODO
/*children*/ {
({ syntaxItems[549755747488] = new SyntaxElement{
/*scopes*/ "anonymous.perl", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[549755747488]; })
,
({ syntaxItems[549755747568] = new SyntaxElement{
/*scopes*/ "anonymous.perl", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[549755747568]; })
,
}
}; syntaxItems[1649267393264]; })
,
({ syntaxItems[1649267393344] = new SyntaxElement{
/*scopes*/ "anonymous.perl", "embedded.html.perl.text",
/*patterns*/ false, REGEX: ((<<) *'HTML').*\n?, REGEX: (^HTML$)
/*refs*/TODO
/*children*/ {
({ syntaxItems[549755747648] = new SyntaxElement{
/*scopes*/ "anonymous.perl", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[549755747648]; })
,
}
}; syntaxItems[1649267393344]; })
,
({ syntaxItems[1649267393424] = new SyntaxElement{
/*scopes*/ "anonymous.perl", "embedded.perl.text.xml",
/*patterns*/ false, REGEX: ((<<) *'XML').*\n?, REGEX: (^XML$)
/*refs*/TODO
/*children*/ {
({ syntaxItems[549755747728] = new SyntaxElement{
/*scopes*/ "anonymous.perl", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[549755747728]; })
,
}
}; syntaxItems[1649267393424]; })
,
({ syntaxItems[1649267393584] = new SyntaxElement{
/*scopes*/ "anonymous.perl", "css.embedded.perl.text",
/*patterns*/ false, REGEX: ((<<) *'CSS').*\n?, REGEX: (^CSS$)
/*refs*/TODO
/*children*/ {
({ syntaxItems[549755747808] = new SyntaxElement{
/*scopes*/ "anonymous.perl", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[549755747808]; })
,
}
}; syntaxItems[1649267393584]; })
,
({ syntaxItems[1649267393664] = new SyntaxElement{
/*scopes*/ "anonymous.perl", "embedded.js.perl.text",
/*patterns*/ false, REGEX: ((<<) *'JAVASCRIPT').*\n?, REGEX: (^JAVASCRIPT$)
/*refs*/TODO
/*children*/ {
({ syntaxItems[549755747888] = new SyntaxElement{
/*scopes*/ "anonymous.perl", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[549755747888]; })
,
}
}; syntaxItems[1649267393664]; })
,
({ syntaxItems[1649267393744] = new SyntaxElement{
/*scopes*/ "anonymous.perl", "embedded.perl.source.sql",
/*patterns*/ false, REGEX: ((<<) *'SQL').*\n?, REGEX: (^SQL$)
/*refs*/TODO
/*children*/ {
({ syntaxItems[549755747968] = new SyntaxElement{
/*scopes*/ "anonymous.perl", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[549755747968]; })
,
}
}; syntaxItems[1649267393744]; })
,
({ syntaxItems[1649267393824] = new SyntaxElement{
/*scopes*/ "anonymous.perl", "embedded.perl.postscript.source",
/*patterns*/ false, REGEX: ((<<) *'POSTSCRIPT').*\n?, REGEX: (^POSTSCRIPT)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[1649267393824]; })
,
({ syntaxItems[1649267393904] = new SyntaxElement{
/*scopes*/ "anonymous.perl", "heredoc.perl.quote.string.unquoted",
/*patterns*/ false, REGEX: ((<<) *'([^']*)').*\n?, REGEX: (^\3$)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[1649267393904]; })
,
({ syntaxItems[1649267393984] = new SyntaxElement{
/*scopes*/ "anonymous.perl", "backtick.heredoc.perl.string.unquoted",
/*patterns*/ false, REGEX: ((<<) *`([^`]*)`).*\n?, REGEX: (^\3$)
/*refs*/TODO
/*children*/ {
({ syntaxItems[549755748048] = new SyntaxElement{
/*scopes*/ "anonymous.perl", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[549755748048]; })
,
({ syntaxItems[549755748128] = new SyntaxElement{
/*scopes*/ "anonymous.perl", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[549755748128]; })
,
}
}; syntaxItems[1649267393984]; })
,
({ syntaxItems[1649267394064] = new SyntaxElement{
/*scopes*/ "anonymous.perl", "embedded.html.perl.text",
/*patterns*/ false, REGEX: ((<<) *HTML\b).*\n?, REGEX: (^HTML$)
/*refs*/TODO
/*children*/ {
({ syntaxItems[549755748208] = new SyntaxElement{
/*scopes*/ "anonymous.perl", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[549755748208]; })
,
({ syntaxItems[549755748288] = new SyntaxElement{
/*scopes*/ "anonymous.perl", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[549755748288]; })
,
({ syntaxItems[549755748368] = new SyntaxElement{
/*scopes*/ "anonymous.perl", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[549755748368]; })
,
}
}; syntaxItems[1649267394064]; })
,
({ syntaxItems[1649267394144] = new SyntaxElement{
/*scopes*/ "anonymous.perl", "embedded.perl.text.xml",
/*patterns*/ false, REGEX: ((<<) *XML\b).*\n?, REGEX: (^XML$)
/*refs*/TODO
/*children*/ {
({ syntaxItems[549755748448] = new SyntaxElement{
/*scopes*/ "anonymous.perl", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[549755748448]; })
,
({ syntaxItems[549755748528] = new SyntaxElement{
/*scopes*/ "anonymous.perl", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[549755748528]; })
,
({ syntaxItems[549755748608] = new SyntaxElement{
/*scopes*/ "anonymous.perl", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[549755748608]; })
,
}
}; syntaxItems[1649267394144]; })
,
({ syntaxItems[1649267394224] = new SyntaxElement{
/*scopes*/ "anonymous.perl", "embedded.perl.source.sql",
/*patterns*/ false, REGEX: ((<<) *SQL\b).*\n?, REGEX: (^SQL$)
/*refs*/TODO
/*children*/ {
({ syntaxItems[549755748688] = new SyntaxElement{
/*scopes*/ "anonymous.perl", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[549755748688]; })
,
({ syntaxItems[549755748768] = new SyntaxElement{
/*scopes*/ "anonymous.perl", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[549755748768]; })
,
({ syntaxItems[549755748848] = new SyntaxElement{
/*scopes*/ "anonymous.perl", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[549755748848]; })
,
}
}; syntaxItems[1649267394224]; })
,
({ syntaxItems[1649267394304] = new SyntaxElement{
/*scopes*/ "anonymous.perl", "embedded.perl.postscript.source",
/*patterns*/ false, REGEX: ((<<) *POSTSCRIPT\b).*\n?, REGEX: (^POSTSCRIPT)
/*refs*/TODO
/*children*/ {
({ syntaxItems[549755748928] = new SyntaxElement{
/*scopes*/ "anonymous.perl", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[549755748928]; })
,
({ syntaxItems[549755749008] = new SyntaxElement{
/*scopes*/ "anonymous.perl", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[549755749008]; })
,
}
}; syntaxItems[1649267394304]; })
,
({ syntaxItems[1649267394384] = new SyntaxElement{
/*scopes*/ "anonymous.perl", "heredoc.perl.string.unquoted",
/*patterns*/ false, REGEX: ((<<) *((?![=\d\$ ])[^;,'"`\s)]*)).*\n?, REGEX: (^\3$)
/*refs*/TODO
/*children*/ {
({ syntaxItems[549755749088] = new SyntaxElement{
/*scopes*/ "anonymous.perl", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[549755749088]; })
,
({ syntaxItems[549755749168] = new SyntaxElement{
/*scopes*/ "anonymous.perl", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[549755749168]; })
,
}
}; syntaxItems[1649267394384]; })
,
({ syntaxItems[1649267394464] = new SyntaxElement{
/*scopes*/ "other.perl.qq.quoted.string", "(null)",
/*patterns*/ false, REGEX: \bqq\s*([^\(\{\[\<\w\s]), REGEX: \1
/*refs*/TODO
/*children*/ {
({ syntaxItems[549755749248] = new SyntaxElement{
/*scopes*/ "anonymous.perl", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[549755749248]; })
,
({ syntaxItems[549755749328] = new SyntaxElement{
/*scopes*/ "anonymous.perl", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[549755749328]; })
,
}
}; syntaxItems[1649267394464]; })
,
({ syntaxItems[1649267394544] = new SyntaxElement{
/*scopes*/ "interpolated.perl.qx.string", "(null)",
/*patterns*/ false, REGEX: \bqx\s*([^'\(\{\[\<\w\s]), REGEX: \1
/*refs*/TODO
/*children*/ {
({ syntaxItems[549755749408] = new SyntaxElement{
/*scopes*/ "anonymous.perl", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[549755749408]; })
,
({ syntaxItems[549755749488] = new SyntaxElement{
/*scopes*/ "anonymous.perl", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[549755749488]; })
,
}
}; syntaxItems[1649267394544]; })
,
({ syntaxItems[1649267394624] = new SyntaxElement{
/*scopes*/ "interpolated.perl.qx.single-quote.string", "(null)",
/*patterns*/ false, REGEX: \bqx\s*', REGEX: '
/*refs*/TODO
/*children*/ {
({ syntaxItems[549755749568] = new SyntaxElement{
/*scopes*/ "anonymous.perl", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[549755749568]; })
,
}
}; syntaxItems[1649267394624]; })
,
({ syntaxItems[1649267394784] = new SyntaxElement{
/*scopes*/ "double.perl.quoted.string", "(null)",
/*patterns*/ false, REGEX: ", REGEX: "
/*refs*/TODO
/*children*/ {
({ syntaxItems[549755749648] = new SyntaxElement{
/*scopes*/ "anonymous.perl", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[549755749648]; })
,
({ syntaxItems[549755749728] = new SyntaxElement{
/*scopes*/ "anonymous.perl", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[549755749728]; })
,
}
}; syntaxItems[1649267394784]; })
,
({ syntaxItems[1649267394864] = new SyntaxElement{
/*scopes*/ "other.perl.q.quoted.string", "(null)",
/*patterns*/ false, REGEX: \bqw?\s*([^\(\{\[\<\w\s]), REGEX: \1
/*refs*/TODO
/*children*/ {
({ syntaxItems[549755749808] = new SyntaxElement{
/*scopes*/ "anonymous.perl", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[549755749808]; })
,
}
}; syntaxItems[1649267394864]; })
,
({ syntaxItems[1649267394944] = new SyntaxElement{
/*scopes*/ "perl.quoted.single.string", "(null)",
/*patterns*/ false, REGEX: ', REGEX: '
/*refs*/TODO
/*children*/ {
({ syntaxItems[1649267395024] = new SyntaxElement{
/*scopes*/ "character.constant.escape.perl", "(null)",
/*patterns*/ true, REGEX: \\['\\], (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[1649267395024]; })
,
}
}; syntaxItems[1649267394944]; })
,
({ syntaxItems[1649267395104] = new SyntaxElement{
/*scopes*/ "interpolated.perl.string", "(null)",
/*patterns*/ false, REGEX: `, REGEX: `
/*refs*/TODO
/*children*/ {
({ syntaxItems[549755749888] = new SyntaxElement{
/*scopes*/ "anonymous.perl", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[549755749888]; })
,
({ syntaxItems[549755749968] = new SyntaxElement{
/*scopes*/ "anonymous.perl", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[549755749968]; })
,
}
}; syntaxItems[1649267395104]; })
,
({ syntaxItems[1649267395184] = new SyntaxElement{
/*scopes*/ "other.perl.qq-paren.quoted.string", "(null)",
/*patterns*/ false, REGEX: \bqq\s*\(, REGEX: \)
/*refs*/TODO
/*children*/ {
({ syntaxItems[549755750048] = new SyntaxElement{
/*scopes*/ "anonymous.perl", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[549755750048]; })
,
({ syntaxItems[549755750128] = new SyntaxElement{
/*scopes*/ "anonymous.perl", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[549755750128]; })
,
({ syntaxItems[549755750208] = new SyntaxElement{
/*scopes*/ "anonymous.perl", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[549755750208]; })
,
}
}; syntaxItems[1649267395184]; })
,
({ syntaxItems[1649267395264] = new SyntaxElement{
/*scopes*/ "other.perl.qq-brace.quoted.string", "(null)",
/*patterns*/ false, REGEX: \bqq\s*\{, REGEX: \}
/*refs*/TODO
/*children*/ {
({ syntaxItems[549755750288] = new SyntaxElement{
/*scopes*/ "anonymous.perl", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[549755750288]; })
,
({ syntaxItems[549755750368] = new SyntaxElement{
/*scopes*/ "anonymous.perl", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[549755750368]; })
,
({ syntaxItems[549755750448] = new SyntaxElement{
/*scopes*/ "anonymous.perl", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[549755750448]; })
,
}
}; syntaxItems[1649267395264]; })
,
({ syntaxItems[1649267395344] = new SyntaxElement{
/*scopes*/ "other.perl.qq-bracket.quoted.string", "(null)",
/*patterns*/ false, REGEX: \bqq\s*\[, REGEX: \]
/*refs*/TODO
/*children*/ {
({ syntaxItems[549755750528] = new SyntaxElement{
/*scopes*/ "anonymous.perl", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[549755750528]; })
,
({ syntaxItems[549755750608] = new SyntaxElement{
/*scopes*/ "anonymous.perl", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[549755750608]; })
,
({ syntaxItems[549755750688] = new SyntaxElement{
/*scopes*/ "anonymous.perl", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[549755750688]; })
,
}
}; syntaxItems[1649267395344]; })
,
({ syntaxItems[1649267395424] = new SyntaxElement{
/*scopes*/ "other.perl.qq-ltgt.quoted.string", "(null)",
/*patterns*/ false, REGEX: \bqq\s*\<, REGEX: \>
/*refs*/TODO
/*children*/ {
({ syntaxItems[549755750768] = new SyntaxElement{
/*scopes*/ "anonymous.perl", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[549755750768]; })
,
({ syntaxItems[549755750848] = new SyntaxElement{
/*scopes*/ "anonymous.perl", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[549755750848]; })
,
({ syntaxItems[549755750928] = new SyntaxElement{
/*scopes*/ "anonymous.perl", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[549755750928]; })
,
}
}; syntaxItems[1649267395424]; })
,
({ syntaxItems[1649267395504] = new SyntaxElement{
/*scopes*/ "interpolated.perl.qx-paren.string", "(null)",
/*patterns*/ false, REGEX: \bqx\s*\(, REGEX: \)
/*refs*/TODO
/*children*/ {
({ syntaxItems[549755751008] = new SyntaxElement{
/*scopes*/ "anonymous.perl", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[549755751008]; })
,
({ syntaxItems[549755751088] = new SyntaxElement{
/*scopes*/ "anonymous.perl", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[549755751088]; })
,
({ syntaxItems[549755751168] = new SyntaxElement{
/*scopes*/ "anonymous.perl", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[549755751168]; })
,
}
}; syntaxItems[1649267395504]; })
,
({ syntaxItems[1649267395584] = new SyntaxElement{
/*scopes*/ "interpolated.perl.qx-brace.string", "(null)",
/*patterns*/ false, REGEX: \bqx\s*\{, REGEX: \}
/*refs*/TODO
/*children*/ {
({ syntaxItems[549755751248] = new SyntaxElement{
/*scopes*/ "anonymous.perl", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[549755751248]; })
,
({ syntaxItems[549755751328] = new SyntaxElement{
/*scopes*/ "anonymous.perl", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[549755751328]; })
,
({ syntaxItems[549755751408] = new SyntaxElement{
/*scopes*/ "anonymous.perl", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[549755751408]; })
,
}
}; syntaxItems[1649267395584]; })
,
({ syntaxItems[1649267395664] = new SyntaxElement{
/*scopes*/ "interpolated.perl.qx-bracket.string", "(null)",
/*patterns*/ false, REGEX: \bqx\s*\[, REGEX: \]
/*refs*/TODO
/*children*/ {
({ syntaxItems[549755751488] = new SyntaxElement{
/*scopes*/ "anonymous.perl", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[549755751488]; })
,
({ syntaxItems[549755751568] = new SyntaxElement{
/*scopes*/ "anonymous.perl", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[549755751568]; })
,
({ syntaxItems[549755751648] = new SyntaxElement{
/*scopes*/ "anonymous.perl", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[549755751648]; })
,
}
}; syntaxItems[1649267395664]; })
,
({ syntaxItems[1649267395744] = new SyntaxElement{
/*scopes*/ "interpolated.perl.qx-ltgt.string", "(null)",
/*patterns*/ false, REGEX: \bqx\s*\<, REGEX: \>
/*refs*/TODO
/*children*/ {
({ syntaxItems[549755751728] = new SyntaxElement{
/*scopes*/ "anonymous.perl", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[549755751728]; })
,
({ syntaxItems[549755751808] = new SyntaxElement{
/*scopes*/ "anonymous.perl", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[549755751808]; })
,
({ syntaxItems[549755751888] = new SyntaxElement{
/*scopes*/ "anonymous.perl", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[549755751888]; })
,
}
}; syntaxItems[1649267395744]; })
,
({ syntaxItems[1649267395824] = new SyntaxElement{
/*scopes*/ "other.perl.q-paren.quoted.string", "(null)",
/*patterns*/ false, REGEX: \bqw?\s*\(, REGEX: \)
/*refs*/TODO
/*children*/ {
({ syntaxItems[549755751968] = new SyntaxElement{
/*scopes*/ "anonymous.perl", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[549755751968]; })
,
({ syntaxItems[549755752048] = new SyntaxElement{
/*scopes*/ "anonymous.perl", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[549755752048]; })
,
}
}; syntaxItems[1649267395824]; })
,
({ syntaxItems[1649267395904] = new SyntaxElement{
/*scopes*/ "other.perl.q-brace.quoted.string", "(null)",
/*patterns*/ false, REGEX: \bqw?\s*\{, REGEX: \}
/*refs*/TODO
/*children*/ {
({ syntaxItems[549755752128] = new SyntaxElement{
/*scopes*/ "anonymous.perl", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[549755752128]; })
,
({ syntaxItems[549755752208] = new SyntaxElement{
/*scopes*/ "anonymous.perl", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[549755752208]; })
,
}
}; syntaxItems[1649267395904]; })
,
({ syntaxItems[1649267395984] = new SyntaxElement{
/*scopes*/ "other.perl.q-bracket.quoted.string", "(null)",
/*patterns*/ false, REGEX: \bqw?\s*\[, REGEX: \]
/*refs*/TODO
/*children*/ {
({ syntaxItems[549755752288] = new SyntaxElement{
/*scopes*/ "anonymous.perl", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[549755752288]; })
,
({ syntaxItems[549755752368] = new SyntaxElement{
/*scopes*/ "anonymous.perl", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[549755752368]; })
,
}
}; syntaxItems[1649267395984]; })
,
({ syntaxItems[1649267396064] = new SyntaxElement{
/*scopes*/ "other.perl.q-ltgt.quoted.string", "(null)",
/*patterns*/ false, REGEX: \bqw?\s*\<, REGEX: \>
/*refs*/TODO
/*children*/ {
({ syntaxItems[549755752448] = new SyntaxElement{
/*scopes*/ "anonymous.perl", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[549755752448]; })
,
({ syntaxItems[549755752528] = new SyntaxElement{
/*scopes*/ "anonymous.perl", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[549755752528]; })
,
}
}; syntaxItems[1649267396064]; })
,
({ syntaxItems[1649267396144] = new SyntaxElement{
/*scopes*/ "perl.program-block.string.unquoted", "(null)",
/*patterns*/ false, REGEX: ^__\w+__, REGEX: $
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[1649267396144]; })
,
({ syntaxItems[1649267396224] = new SyntaxElement{
/*scopes*/ "format.meta.perl", "(null)",
/*patterns*/ false, REGEX: \b(format)\s+([A-Za-z]+)\s*=, REGEX: ^\.\s*$
/*refs*/TODO
/*children*/ {
({ syntaxItems[549755752608] = new SyntaxElement{
/*scopes*/ "anonymous.perl", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[549755752608]; })
,
({ syntaxItems[549755752688] = new SyntaxElement{
/*scopes*/ "anonymous.perl", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[549755752688]; })
,
}
}; syntaxItems[1649267396224]; })
,
({ syntaxItems[1649267396304] = new SyntaxElement{
/*scopes*/ "function.perl.support", "(null)",
/*patterns*/ true, <CHSyntaxPatternListDefinition: 0x618001653800>, (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[1649267396304]; })
,
}
}; syntaxItems[1649266218688]; })
}
// --- Writing truffle PHP ---
// Writing lang PHP
void shamrock_test_PHP() {
std::map<intptr_t, Syntaxable*> syntaxItems;
({ syntaxItems[1649266220032] = new SyntaxBase{
"php.source", nullptr, {
({ syntaxItems[1649267400304] = new SyntaxElement{
/*scopes*/ "anonymous.php", "(null)",
/*patterns*/ true, REGEX: (?x)
(^\s*)? # 1 - Leading whitespace
( # 2 - meta.embedded.line.empty.php
( # 3 - Open Tag
(?:
((?<=\?>)<) # 4 - Consecutive tags
| <
)
\?(?i:php|=)?
)
(\s*) # 5 - Loneliness
((\?)>) # 6 - Close Tag
# 7 - Scope ? as scope.php
)
(
\1 # Match nothing if there was no
# leading whitespace...
| (\s*$\n)? # or match trailing whitespace.
)
, (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[1649267400304]; })
,
({ syntaxItems[1649267400784] = new SyntaxElement{
/*scopes*/ "anonymous.php", "(null)",
/*patterns*/ false, REGEX: ^\s*(?=<\?), REGEX: (?<=\?>)(\s*$\n)?
/*refs*/TODO
/*children*/ {
({ syntaxItems[1649267400864] = new SyntaxElement{
/*scopes*/ "block.embedded.html.php.source", "(null)",
/*patterns*/ false, REGEX: <\?(?i:php|=)?, REGEX: (\?)>
/*refs*/TODO
/*children*/ {
({ syntaxItems[549755752768] = new SyntaxElement{
/*scopes*/ "anonymous.php", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[549755752768]; })
,
}
}; syntaxItems[1649267400864]; })
,
}
}; syntaxItems[1649267400784]; })
,
({ syntaxItems[1649267401024] = new SyntaxElement{
/*scopes*/ "embedded.html.line.php.source", "(null)",
/*patterns*/ false, REGEX: (((?<=\?>)<)|<)\?(?i:php|=)?, REGEX: (\?)>
/*refs*/TODO
/*children*/ {
({ syntaxItems[549755752848] = new SyntaxElement{
/*scopes*/ "anonymous.php", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[549755752848]; })
,
}
}; syntaxItems[1649267401024]; })
,
}
}; syntaxItems[1649266220032]; })
}
// --- Writing truffle Python ---
// Writing lang Python
void shamrock_test_Python() {
std::map<intptr_t, Syntaxable*> syntaxItems;
({ syntaxItems[1649266224256] = new SyntaxBase{
"python.source", nullptr, {
({ syntaxItems[1649267429424] = new SyntaxElement{
/*scopes*/ "comment.line.number-sign.python", "(null)",
/*patterns*/ true, REGEX: (#).*$\n?, (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[1649267429424]; })
,
({ syntaxItems[1649267429504] = new SyntaxElement{
/*scopes*/ "constant.hexadecimal.integer.long.numeric.python", "(null)",
/*patterns*/ true, REGEX: \b(?i:(0x\h*)L), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[1649267429504]; })
,
({ syntaxItems[1649267429664] = new SyntaxElement{
/*scopes*/ "constant.hexadecimal.integer.numeric.python", "(null)",
/*patterns*/ true, REGEX: \b(?i:(0x\h*)), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[1649267429664]; })
,
({ syntaxItems[1649267429904] = new SyntaxElement{
/*scopes*/ "constant.integer.long.numeric.octal.python", "(null)",
/*patterns*/ true, REGEX: \b(?i:(0[0-7]+)L), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[1649267429904]; })
,
({ syntaxItems[1649267430064] = new SyntaxElement{
/*scopes*/ "constant.integer.numeric.octal.python", "(null)",
/*patterns*/ true, REGEX: \b(0[0-7]+), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[1649267430064]; })
,
({ syntaxItems[1649267430224] = new SyntaxElement{
/*scopes*/ "complex.constant.numeric.python", "(null)",
/*patterns*/ true, REGEX: \b(?i:(((\d+(\.(?=[^a-zA-Z_])\d*)?|(?<=[^0-9a-zA-Z_])\.\d+)(e[\-\+]?\d+)?))J), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[1649267430224]; })
,
({ syntaxItems[1649267430384] = new SyntaxElement{
/*scopes*/ "constant.float.numeric.python", "(null)",
/*patterns*/ true, REGEX: \b(?i:(\d+\.\d*(e[\-\+]?\d+)?))(?=[^a-zA-Z_]), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[1649267430384]; })
,
({ syntaxItems[1649267430544] = new SyntaxElement{
/*scopes*/ "constant.float.numeric.python", "(null)",
/*patterns*/ true, REGEX: (?<=[^0-9a-zA-Z_])(?i:(\.\d+(e[\-\+]?\d+)?)), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[1649267430544]; })
,
({ syntaxItems[1649267430624] = new SyntaxElement{
/*scopes*/ "constant.float.numeric.python", "(null)",
/*patterns*/ true, REGEX: \b(?i:(\d+e[\-\+]?\d+)), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[1649267430624]; })
,
({ syntaxItems[1649267430704] = new SyntaxElement{
/*scopes*/ "constant.decimal.integer.long.numeric.python", "(null)",
/*patterns*/ true, REGEX: \b(?i:([1-9]+[0-9]*|0)L), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[1649267430704]; })
,
({ syntaxItems[1649267430784] = new SyntaxElement{
/*scopes*/ "constant.decimal.integer.numeric.python", "(null)",
/*patterns*/ true, REGEX: \b([1-9]+[0-9]*|0), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[1649267430784]; })
,
({ syntaxItems[1649267430464] = new SyntaxElement{
/*scopes*/ "anonymous.python", "(null)",
/*patterns*/ true, REGEX: \b(global)\b, (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[1649267430464]; })
,
({ syntaxItems[1649267430944] = new SyntaxElement{
/*scopes*/ "anonymous.python", "(null)",
/*patterns*/ true, REGEX: \b(?:(import)|(from))\b, (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[1649267430944]; })
,
({ syntaxItems[1649267431104] = new SyntaxElement{
/*scopes*/ "control.flow.keyword.python", "(null)",
/*patterns*/ true, <CHSyntaxPatternListDefinition: 0x618001e4aaa0>, (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[1649267431104]; })
,
({ syntaxItems[1649267431264] = new SyntaxElement{
/*scopes*/ "keyword.logical.operator.python", "(null)",
/*patterns*/ true, <CHSyntaxPatternListDefinition: 0x618001e4ada0>, (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[1649267431264]; })
,
({ syntaxItems[1649267431344] = new SyntaxElement{
/*scopes*/ "anonymous.python", "(null)",
/*patterns*/ true, REGEX: \b(as|assert|del|exec|print)\b, (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[1649267431344]; })
,
({ syntaxItems[1649267431424] = new SyntaxElement{
/*scopes*/ "deprecated.invalid.operator.python", "(null)",
/*patterns*/ true, STRING: <>, (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[1649267431424]; })
,
({ syntaxItems[1649267431504] = new SyntaxElement{
/*scopes*/ "comparison.keyword.operator.python", "(null)",
/*patterns*/ true, REGEX: <\=|>\=|\=\=|<|>|\!\=, (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[1649267431504]; })
,
({ syntaxItems[1649267431584] = new SyntaxElement{
/*scopes*/ "assignment.augmented.keyword.operator.python", "(null)",
/*patterns*/ true, REGEX: \+\=|-\=|\*\=|/\=|//\=|%\=|&\=|\|\=|\^\=|>>\=|<<\=|\*\*\=, (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[1649267431584]; })
,
({ syntaxItems[1649267431664] = new SyntaxElement{
/*scopes*/ "arithmetic.keyword.operator.python", "(null)",
/*patterns*/ true, REGEX: \+|\-|\*|\*\*|/|//|%|<<|>>|&|\||\^|~, (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[1649267431664]; })
,
({ syntaxItems[1649267431904] = new SyntaxElement{
/*scopes*/ "assignment.keyword.operator.python", "(null)",
/*patterns*/ true, REGEX: \=, (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[1649267431904]; })
,
({ syntaxItems[1649267431984] = new SyntaxElement{
/*scopes*/ "class.meta.old-style.python", "(null)",
/*patterns*/ false, REGEX: ^\s*(class)\s+(?=[a-zA-Z_][a-zA-Z_0-9]*\s*\:), REGEX: \s*(:)
/*refs*/TODO
/*children*/ {
({ syntaxItems[549755752928] = new SyntaxElement{
/*scopes*/ "anonymous.python", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[549755752928]; })
,
}
}; syntaxItems[1649267431984]; })
,
({ syntaxItems[1649267432064] = new SyntaxElement{
/*scopes*/ "class.meta.python", "(null)",
/*patterns*/ false, REGEX: ^\s*(class)\s+(?=[a-zA-Z_][a-zA-Z_0-9]*\s*\(), REGEX: (\))\s*(?:(\:)|(.*$\n?))
/*refs*/TODO
/*children*/ {
({ syntaxItems[1649267432144] = new SyntaxElement{
/*scopes*/ "anonymous.python", "class.entity.name.python.type",
/*patterns*/ false, REGEX: (?=[A-Za-z_][A-Za-z0-9_]*), REGEX: (?![A-Za-z0-9_])
/*refs*/TODO
/*children*/ {
({ syntaxItems[549755753008] = new SyntaxElement{
/*scopes*/ "anonymous.python", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[549755753008]; })
,
}
}; syntaxItems[1649267432144]; })
,
({ syntaxItems[1649267432224] = new SyntaxElement{
/*scopes*/ "anonymous.python", "class.inheritance.meta.python",
/*patterns*/ false, REGEX: (\(), REGEX: (?=\)|:)
/*refs*/TODO
/*children*/ {
({ syntaxItems[1649267432384] = new SyntaxElement{
/*scopes*/ "anonymous.python", "entity.inherited-class.other.python",
/*patterns*/ false, REGEX: (?<=\(|,)\s*, REGEX: \s*(?:(,)|(?=\)))
/*refs*/TODO
/*children*/ {
({ syntaxItems[549755753168] = new SyntaxElement{
/*scopes*/ "anonymous.python", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[549755753168]; })
,
}
}; syntaxItems[1649267432384]; })
,
}
}; syntaxItems[1649267432224]; })
,
}
}; syntaxItems[1649267432064]; })
,
({ syntaxItems[1649267432464] = new SyntaxElement{
/*scopes*/ "class.meta.python", "(null)",
/*patterns*/ false, REGEX: ^\s*(class)\s+(?=[a-zA-Z_][a-zA-Z_0-9]), REGEX: (\()|\s*($\n?|#.*$\n?)
/*refs*/TODO
/*children*/ {
({ syntaxItems[1649267432624] = new SyntaxElement{
/*scopes*/ "anonymous.python", "class.entity.name.python.type",
/*patterns*/ false, REGEX: (?=[A-Za-z_][A-Za-z0-9_]*), REGEX: (?![A-Za-z0-9_])
/*refs*/TODO
/*children*/ {
({ syntaxItems[549755753248] = new SyntaxElement{
/*scopes*/ "anonymous.python", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[549755753248]; })
,
}
}; syntaxItems[1649267432624]; })
,
}
}; syntaxItems[1649267432464]; })
,
({ syntaxItems[1649267432704] = new SyntaxElement{
/*scopes*/ "function.meta.python", "(null)",
/*patterns*/ false, REGEX: ^\s*(def)\s+(?=[A-Za-z_][A-Za-z0-9_]*\s*\(), REGEX: (\))\s*(?:(\:)|(.*$\n?))
/*refs*/TODO
/*children*/ {
({ syntaxItems[1649267432784] = new SyntaxElement{
/*scopes*/ "anonymous.python", "entity.function.name.python",
/*patterns*/ false, REGEX: (?=[A-Za-z_][A-Za-z0-9_]*), REGEX: (?![A-Za-z0-9_])
/*refs*/TODO
/*children*/ {
({ syntaxItems[549755753328] = new SyntaxElement{
/*scopes*/ "anonymous.python", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[549755753328]; })
,
}
}; syntaxItems[1649267432784]; })
,
({ syntaxItems[1649267432864] = new SyntaxElement{
/*scopes*/ "anonymous.python", "function.meta.parameters.python",
/*patterns*/ false, REGEX: (\(), REGEX: (?=\)\s*\:)
/*refs*/TODO
/*children*/ {
({ syntaxItems[549755753408] = new SyntaxElement{
/*scopes*/ "anonymous.python", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[549755753408]; })
,
({ syntaxItems[1649267432944] = new SyntaxElement{
/*scopes*/ "anonymous.python", "(null)",
/*patterns*/ true, REGEX: \b([a-zA-Z_][a-zA-Z_0-9]*)\s*(?:(,)|(?=[\n\)])), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[1649267432944]; })
,
}
}; syntaxItems[1649267432864]; })
,
}
}; syntaxItems[1649267432704]; })
,
({ syntaxItems[1649267433104] = new SyntaxElement{
/*scopes*/ "function.meta.python", "(null)",
/*patterns*/ false, REGEX: ^\s*(def)\s+(?=[A-Za-z_][A-Za-z0-9_]*), REGEX: (\()|\s*($\n?|#.*$\n?)
/*refs*/TODO
/*children*/ {
({ syntaxItems[1649267433184] = new SyntaxElement{
/*scopes*/ "anonymous.python", "entity.function.name.python",
/*patterns*/ false, REGEX: (?=[A-Za-z_][A-Za-z0-9_]*), REGEX: (?![A-Za-z0-9_])
/*refs*/TODO
/*children*/ {
({ syntaxItems[549755753488] = new SyntaxElement{
/*scopes*/ "anonymous.python", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[549755753488]; })
,
}
}; syntaxItems[1649267433184]; })
,
}
}; syntaxItems[1649267433104]; })
,
({ syntaxItems[1649267433264] = new SyntaxElement{
/*scopes*/ "function.inline.meta.python", "(null)",
/*patterns*/ false, REGEX: (lambda)(?=\s+), REGEX: (\:)
/*refs*/TODO
/*children*/ {
({ syntaxItems[1649267433344] = new SyntaxElement{
/*scopes*/ "anonymous.python", "function.inline.meta.parameters.python",
/*patterns*/ false, REGEX: \s+, REGEX: (?=\:)
/*refs*/TODO
/*children*/ {
({ syntaxItems[549755753568] = new SyntaxElement{
/*scopes*/ "anonymous.python", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[549755753568]; })
,
({ syntaxItems[1649267433424] = new SyntaxElement{
/*scopes*/ "anonymous.python", "(null)",
/*patterns*/ true, REGEX: \b([a-zA-Z_][a-zA-Z_0-9]*)\s*(?:(,)|(?=[\n\)\:])), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[1649267433424]; })
,
}
}; syntaxItems[1649267433344]; })
,
}
}; syntaxItems[1649267433264]; })
,
({ syntaxItems[1649267433584] = new SyntaxElement{
/*scopes*/ "decorator.function.meta.python", "(null)",
/*patterns*/ false, REGEX: ^\s*(?=@\s*[A-Za-z_][A-Za-z0-9_]*(?:\.[a-zA-Z_][a-zA-Z_0-9]*)*\s*\(), REGEX: (\))
/*refs*/TODO
/*children*/ {
({ syntaxItems[1649267433664] = new SyntaxElement{
/*scopes*/ "anonymous.python", "decorator.entity.function.name.python",
/*patterns*/ false, REGEX: (?=(@)\s*[A-Za-z_][A-Za-z0-9_]*(?:\.[A-Za-z_][A-Za-z0-9_]*)*\s*\(), REGEX: (?=\s*\()
/*refs*/TODO
/*children*/ {
({ syntaxItems[549755753648] = new SyntaxElement{
/*scopes*/ "anonymous.python", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[549755753648]; })
,
}
}; syntaxItems[1649267433664]; })
,
({ syntaxItems[1649267433744] = new SyntaxElement{
/*scopes*/ "anonymous.python", "arguments.decorator.function.meta.python",
/*patterns*/ false, REGEX: (\(), REGEX: (?=\))
/*refs*/TODO
/*children*/ {
({ syntaxItems[549755753728] = new SyntaxElement{
/*scopes*/ "anonymous.python", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[549755753728]; })
,
({ syntaxItems[549755753808] = new SyntaxElement{
/*scopes*/ "anonymous.python", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[549755753808]; })
,
}
}; syntaxItems[1649267433744]; })
,
}
}; syntaxItems[1649267433584]; })
,
({ syntaxItems[1649267433824] = new SyntaxElement{
/*scopes*/ "decorator.function.meta.python", "(null)",
/*patterns*/ false, REGEX: ^\s*(?=@\s*[A-Za-z_][A-Za-z0-9_]*(?:\.[a-zA-Z_][a-zA-Z_0-9]*)*), REGEX: (?=\s|$\n?|#)
/*refs*/TODO
/*children*/ {
({ syntaxItems[1649267433904] = new SyntaxElement{
/*scopes*/ "anonymous.python", "(null)",
/*patterns*/ false, REGEX: (?=(@)\s*[A-Za-z_][A-Za-z0-9_]*(\.[A-Za-z_][A-Za-z0-9_]*)*), REGEX: (?=\s|$\n?|#)
/*refs*/TODO
/*children*/ {
({ syntaxItems[549755753888] = new SyntaxElement{
/*scopes*/ "anonymous.python", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[549755753888]; })
,
}
}; syntaxItems[1649267433904]; })
,
}
}; syntaxItems[1649267433824]; })
,
({ syntaxItems[1649267434064] = new SyntaxElement{
/*scopes*/ "function-call.meta.python", "(null)",
/*patterns*/ false, REGEX: (?<=\)|\])\s*(\(), REGEX: (\))
/*refs*/TODO
/*children*/ {
({ syntaxItems[549755753968] = new SyntaxElement{
/*scopes*/ "anonymous.python", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[549755753968]; })
,
({ syntaxItems[549755754048] = new SyntaxElement{
/*scopes*/ "anonymous.python", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[549755754048]; })
,
}
}; syntaxItems[1649267434064]; })
,
({ syntaxItems[1649267434144] = new SyntaxElement{
/*scopes*/ "function-call.meta.python", "(null)",
/*patterns*/ false, REGEX: (?=[A-Za-z_][A-Za-z0-9_]*(?:\.[a-zA-Z_][a-zA-Z_0-9]*)*\s*\(), REGEX: (\))
/*refs*/TODO
/*children*/ {
({ syntaxItems[1649267434304] = new SyntaxElement{
/*scopes*/ "anonymous.python", "(null)",
/*patterns*/ false, REGEX: (?=[A-Za-z_][A-Za-z0-9_]*(?:\.[A-Za-z_][A-Za-z0-9_]*)*\s*\(), REGEX: (?=\s*\()
/*refs*/TODO
/*children*/ {
({ syntaxItems[549755754128] = new SyntaxElement{
/*scopes*/ "anonymous.python", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[549755754128]; })
,
}
}; syntaxItems[1649267434304]; })
,
({ syntaxItems[1649267434464] = new SyntaxElement{
/*scopes*/ "anonymous.python", "arguments.function-call.meta.python",
/*patterns*/ false, REGEX: (\(), REGEX: (?=\))
/*refs*/TODO
/*children*/ {
({ syntaxItems[549755754208] = new SyntaxElement{
/*scopes*/ "anonymous.python", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[549755754208]; })
,
({ syntaxItems[549755754288] = new SyntaxElement{
/*scopes*/ "anonymous.python", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[549755754288]; })
,
}
}; syntaxItems[1649267434464]; })
,
}
}; syntaxItems[1649267434144]; })
,
({ syntaxItems[1649267434544] = new SyntaxElement{
/*scopes*/ "item-access.meta.python", "(null)",
/*patterns*/ false, REGEX: (?=[A-Za-z_][A-Za-z0-9_]*(?:\.[a-zA-Z_][a-zA-Z_0-9]*)*\s*\[), REGEX: (\])
/*refs*/TODO
/*children*/ {
({ syntaxItems[1649267434704] = new SyntaxElement{
/*scopes*/ "anonymous.python", "(null)",
/*patterns*/ false, REGEX: (?=[A-Za-z_][A-Za-z0-9_]*(?:\.[A-Za-z_][A-Za-z0-9_]*)*\s*\[), REGEX: (?=\s*\[)
/*refs*/TODO
/*children*/ {
({ syntaxItems[549755754368] = new SyntaxElement{
/*scopes*/ "anonymous.python", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[549755754368]; })
,
}
}; syntaxItems[1649267434704]; })
,
({ syntaxItems[1649267434864] = new SyntaxElement{
/*scopes*/ "anonymous.python", "arguments.item-access.meta.python",
/*patterns*/ false, REGEX: (\[), REGEX: (?=\])
/*refs*/TODO
/*children*/ {
({ syntaxItems[549755754448] = new SyntaxElement{
/*scopes*/ "anonymous.python", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[549755754448]; })
,
}
}; syntaxItems[1649267434864]; })
,
}
}; syntaxItems[1649267434544]; })
,
({ syntaxItems[1649267434944] = new SyntaxElement{
/*scopes*/ "item-access.meta.python", "(null)",
/*patterns*/ false, REGEX: (?<=\)|\])\s*(\[), REGEX: (\])
/*refs*/TODO
/*children*/ {
({ syntaxItems[549755754528] = new SyntaxElement{
/*scopes*/ "anonymous.python", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[549755754528]; })
,
}
}; syntaxItems[1649267434944]; })
,
({ syntaxItems[1649267435024] = new SyntaxElement{
/*scopes*/ "anonymous.python", "(null)",
/*patterns*/ true, REGEX: \b(def|lambda)\b, (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[1649267435024]; })
,
({ syntaxItems[1649267435104] = new SyntaxElement{
/*scopes*/ "anonymous.python", "(null)",
/*patterns*/ true, REGEX: \b(class)\b, (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[1649267435104]; })
,
({ syntaxItems[549755754608] = new SyntaxElement{
/*scopes*/ "anonymous.python", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[549755754608]; })
,
({ syntaxItems[549755754688] = new SyntaxElement{
/*scopes*/ "anonymous.python", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[549755754688]; })
,
({ syntaxItems[1649267435184] = new SyntaxElement{
/*scopes*/ "constant.language.python", "(null)",
/*patterns*/ true, <CHSyntaxPatternListDefinition: 0x618001e543d0>, (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[1649267435184]; })
,
({ syntaxItems[549755754768] = new SyntaxElement{
/*scopes*/ "anonymous.python", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[549755754768]; })
,
({ syntaxItems[549755754848] = new SyntaxElement{
/*scopes*/ "anonymous.python", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[549755754848]; })
,
({ syntaxItems[549755754928] = new SyntaxElement{
/*scopes*/ "anonymous.python", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[549755754928]; })
,
({ syntaxItems[1649267435264] = new SyntaxElement{
/*scopes*/ "anonymous.python", "(null)",
/*patterns*/ false, REGEX: (\(), REGEX: (\))
/*refs*/TODO
/*children*/ {
({ syntaxItems[549755755008] = new SyntaxElement{
/*scopes*/ "anonymous.python", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[549755755008]; })
,
}
}; syntaxItems[1649267435264]; })
,
({ syntaxItems[1649267435344] = new SyntaxElement{
/*scopes*/ "anonymous.python", "(null)",
/*patterns*/ true, REGEX: (\[)(\s*(\]))\b, (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[1649267435344]; })
,
({ syntaxItems[1649267435424] = new SyntaxElement{
/*scopes*/ "list.meta.python.structure", "(null)",
/*patterns*/ false, REGEX: (\[), REGEX: (\])
/*refs*/TODO
/*children*/ {
({ syntaxItems[1649267435504] = new SyntaxElement{
/*scopes*/ "anonymous.python", "item.list.meta.python.structure",
/*patterns*/ false, REGEX: (?<=\[|\,)\s*(?![\],]), REGEX: \s*(?:(,)|(?=\]))
/*refs*/TODO
/*children*/ {
({ syntaxItems[549755755088] = new SyntaxElement{
/*scopes*/ "anonymous.python", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[549755755088]; })
,
}
}; syntaxItems[1649267435504]; })
,
}
}; syntaxItems[1649267435424]; })
,
({ syntaxItems[1649267435584] = new SyntaxElement{
/*scopes*/ "meta.python.structure.tuple", "(null)",
/*patterns*/ true, REGEX: (\()(\s*(\))), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[1649267435584]; })
,
({ syntaxItems[1649267435664] = new SyntaxElement{
/*scopes*/ "dictionary.meta.python.structure", "(null)",
/*patterns*/ true, REGEX: (\{)(\s*(\})), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[1649267435664]; })
,
({ syntaxItems[1649267435744] = new SyntaxElement{
/*scopes*/ "dictionary.meta.python.structure", "(null)",
/*patterns*/ false, REGEX: (\{), REGEX: (\})
/*refs*/TODO
/*children*/ {
({ syntaxItems[1649267435824] = new SyntaxElement{
/*scopes*/ "anonymous.python", "dictionary.key.meta.python.structure",
/*patterns*/ false, REGEX: (?<=\{|\,|^)\s*(?![\},]), REGEX: \s*(?:(?=\})|(\:))
/*refs*/TODO
/*children*/ {
({ syntaxItems[549755755168] = new SyntaxElement{
/*scopes*/ "anonymous.python", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[549755755168]; })
,
}
}; syntaxItems[1649267435824]; })
,
({ syntaxItems[1649267435984] = new SyntaxElement{
/*scopes*/ "anonymous.python", "dictionary.meta.python.structure.value",
/*patterns*/ false, REGEX: (?<=\:|^)\s*, REGEX: \s*(?:(?=\})|(,))
/*refs*/TODO
/*children*/ {
({ syntaxItems[549755755248] = new SyntaxElement{
/*scopes*/ "anonymous.python", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[549755755248]; })
,
}
}; syntaxItems[1649267435984]; })
,
}
}; syntaxItems[1649267435744]; })
,
}
}; syntaxItems[1649266224256]; })
}
// Writing lang Regular Expressions (Python)
void shamrock_test_Regular_Expressions_Python() {
std::map<intptr_t, Syntaxable*> syntaxItems;
({ syntaxItems[1649266224640] = new SyntaxBase{
"python.regexp.source", nullptr, {
({ syntaxItems[1649267444864] = new SyntaxElement{
/*scopes*/ "anchor.control.keyword.regexp.regular-expressions-python", "(null)",
/*patterns*/ true, REGEX: \\[bBAZzG]|\^|\$, (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[1649267444864]; })
,
({ syntaxItems[1649267445104] = new SyntaxElement{
/*scopes*/ "back-reference.keyword.other.regexp.regular-expressions-python", "(null)",
/*patterns*/ true, REGEX: \\[1-9][0-9]?, (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[1649267445104]; })
,
({ syntaxItems[1649267445264] = new SyntaxElement{
/*scopes*/ "keyword.operator.quantifier.regexp.regular-expressions-python", "(null)",
/*patterns*/ true, REGEX: [?+*][?+]?|\{(\d+,\d+|\d+,|,\d+|\d+)\}\??, (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[1649267445264]; })
,
({ syntaxItems[1649267445424] = new SyntaxElement{
/*scopes*/ "keyword.operator.or.regexp.regular-expressions-python", "(null)",
/*patterns*/ true, REGEX: \|, (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[1649267445424]; })
,
({ syntaxItems[1649267445584] = new SyntaxElement{
/*scopes*/ "block.comment.regexp.regular-expressions-python", "(null)",
/*patterns*/ false, REGEX: \(\?\#, REGEX: \)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[1649267445584]; })
,
({ syntaxItems[1649267445744] = new SyntaxElement{
/*scopes*/ "comment.line.number-sign.regexp.regular-expressions-python", "(null)",
/*patterns*/ true, REGEX: (?<=^|\s)#\s[[a-zA-Z0-9,. \t?!-:][^\x{00}-\x{7F}]]*$, (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[1649267445744]; })
,
({ syntaxItems[1649267445984] = new SyntaxElement{
/*scopes*/ "keyword.option-toggle.other.regexp.regular-expressions-python", "(null)",
/*patterns*/ true, REGEX: \(\?[iLmsux]+\), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[1649267445984]; })
,
({ syntaxItems[1649267446224] = new SyntaxElement{
/*scopes*/ "back-reference.keyword.named.other.regexp.regular-expressions-python", "(null)",
/*patterns*/ true, REGEX: (\()(\?P=([a-zA-Z_][a-zA-Z_0-9]*\w*))(\)), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[1649267446224]; })
,
({ syntaxItems[1649267446304] = new SyntaxElement{
/*scopes*/ "assertion.group.meta.regexp.regular-expressions-python", "(null)",
/*patterns*/ false, REGEX: (\()((\?=)|(\?!)|(\?<=)|(\?<!)), REGEX: (\))
/*refs*/TODO
/*children*/ {
({ syntaxItems[549755755408] = new SyntaxElement{
/*scopes*/ "anonymous.regular-expressions-python", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[549755755408]; })
,
}
}; syntaxItems[1649267446304]; })
,
({ syntaxItems[1649267446464] = new SyntaxElement{
/*scopes*/ "assertion.conditional.group.meta.regexp.regular-expressions-python", "(null)",
/*patterns*/ false, REGEX: (\()(\?\(([1-9][0-9]?|[a-zA-Z_][a-zA-Z_0-9]*)\)), REGEX: (\))
/*refs*/TODO
/*children*/ {
({ syntaxItems[549755755488] = new SyntaxElement{
/*scopes*/ "anonymous.regular-expressions-python", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[549755755488]; })
,
}
}; syntaxItems[1649267446464]; })
,
({ syntaxItems[1649267446704] = new SyntaxElement{
/*scopes*/ "group.meta.regexp.regular-expressions-python", "(null)",
/*patterns*/ false, REGEX: (\()((\?P<)([a-z]\w*)(>)|(\?:))?, REGEX: (\))
/*refs*/TODO
/*children*/ {
({ syntaxItems[549755755328] = new SyntaxElement{
/*scopes*/ "anonymous.regular-expressions-python", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[549755755328]; })
,
}
}; syntaxItems[1649267446704]; })
,
({ syntaxItems[549755755568] = new SyntaxElement{
/*scopes*/ "anonymous.regular-expressions-python", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[549755755568]; })
,
}
}; syntaxItems[1649266224640]; })
}
// --- Writing truffle Ruby ---
// Writing lang Ruby
void shamrock_test_Ruby() {
std::map<intptr_t, Syntaxable*> syntaxItems;
({ syntaxItems[-1219136] = new SyntaxBase{
"ruby.source", nullptr, {
({ syntaxItems[-2096512] = new SyntaxElement{
/*scopes*/ "class.meta.ruby", "(null)",
/*patterns*/ true, REGEX: ^\s*(class)\s+(([.a-zA-Z0-9_:]+(\s*(<)\s*[.a-zA-Z0-9_:]+)?)|((<<)\s*[.a-zA-Z0-9_:]+)), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[-2096512]; })
,
({ syntaxItems[-2096432] = new SyntaxElement{
/*scopes*/ "meta.module.ruby", "(null)",
/*patterns*/ true, REGEX: ^\s*(module)\s+(([A-Z]\w*(::))?([A-Z]\w*(::))?([A-Z]\w*(::))*[A-Z]\w*), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[-2096432]; })
,
({ syntaxItems[-2096032] = new SyntaxElement{
/*scopes*/ "deprecated.invalid.ruby", "(null)",
/*patterns*/ true, REGEX: (?<!\.)\belse(\s)+if\b, (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[-2096032]; })
,
({ syntaxItems[-2095952] = new SyntaxElement{
/*scopes*/ "control.keyword.ruby", "(null)",
/*patterns*/ true, REGEX: (?<!\.)\b(BEGIN|begin|case|class|else|elsif|END|end|ensure|for|if|in|module|rescue|then|unless|until|when|while)\b(?![?!]), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[-2095952]; })
,
({ syntaxItems[-2095872] = new SyntaxElement{
/*scopes*/ "control.keyword.ruby.start-block", "(null)",
/*patterns*/ true, REGEX: (?<!\.)\bdo\b\s*, (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[-2095872]; })
,
({ syntaxItems[-2095792] = new SyntaxElement{
/*scopes*/ "meta.ruby.start-block.syntax", "(null)",
/*patterns*/ true, REGEX: (?<=\{)(\s+), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[-2095792]; })
,
({ syntaxItems[-2095712] = new SyntaxElement{
/*scopes*/ "keyword.logical.operator.ruby", "(null)",
/*patterns*/ true, REGEX: (?<!\.)\b(and|not|or)\b, (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[-2095712]; })
,
({ syntaxItems[-2095552] = new SyntaxElement{
/*scopes*/ "control.keyword.pseudo-method.ruby", "(null)",
/*patterns*/ true, REGEX: (?<!\.)\b(alias|alias_method|break|next|redo|retry|return|super|undef|yield)\b(?![?!])|\bdefined\?|\bblock_given\?, (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[-2095552]; })
,
({ syntaxItems[-2095472] = new SyntaxElement{
/*scopes*/ "constant.language.ruby", "(null)",
/*patterns*/ true, REGEX: \b(nil|true|false)\b(?![?!]), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[-2095472]; })
,
({ syntaxItems[-2095392] = new SyntaxElement{
/*scopes*/ "language.ruby.variable", "(null)",
/*patterns*/ true, REGEX: \b(__(FILE|LINE)__|self)\b(?![?!]), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[-2095392]; })
,
({ syntaxItems[-2095312] = new SyntaxElement{
/*scopes*/ "keyword.other.ruby.special-method", "(null)",
/*patterns*/ true, REGEX: \b(initialize|new|loop|include|extend|raise|attr_reader|attr_writer|attr_accessor|attr|catch|throw|private|module_function|public|protected)\b(?![?!]), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[-2095312]; })
,
({ syntaxItems[-2095632] = new SyntaxElement{
/*scopes*/ "meta.require.ruby", "(null)",
/*patterns*/ false, REGEX: \b(require|gem)\b, REGEX: $|(?=#)
/*refs*/TODO
/*children*/ {
({ syntaxItems[549755757888] = new SyntaxElement{
/*scopes*/ "anonymous.ruby", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[549755757888]; })
,
}
}; syntaxItems[-2095632]; })
,
({ syntaxItems[-2095232] = new SyntaxElement{
/*scopes*/ "instance.other.readwrite.ruby.variable", "(null)",
/*patterns*/ true, REGEX: (@)[a-zA-Z_]\w*, (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[-2095232]; })
,
({ syntaxItems[-2095152] = new SyntaxElement{
/*scopes*/ "class.other.readwrite.ruby.variable", "(null)",
/*patterns*/ true, REGEX: (@@)[a-zA-Z_]\w*, (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[-2095152]; })
,
({ syntaxItems[-2095072] = new SyntaxElement{
/*scopes*/ "global.other.readwrite.ruby.variable", "(null)",
/*patterns*/ true, REGEX: (\$)[a-zA-Z_]\w*, (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[-2095072]; })
,
({ syntaxItems[-2094992] = new SyntaxElement{
/*scopes*/ "global.other.pre-defined.readwrite.ruby.variable", "(null)",
/*patterns*/ true, REGEX: (\$)(!|@|&|`|'|\+|\d+|~|=|/|\\|,|;|\.|<|>|_|\*|\$|\?|:|"|-[0adFiIlpv]), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[-2094992]; })
,
({ syntaxItems[-2094832] = new SyntaxElement{
/*scopes*/ "environment-variable.meta.ruby", "(null)",
/*patterns*/ false, REGEX: \b(ENV)\[, REGEX: \]
/*refs*/TODO
/*children*/ {
({ syntaxItems[549755757968] = new SyntaxElement{
/*scopes*/ "anonymous.ruby", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[549755757968]; })
,
}
}; syntaxItems[-2094832]; })
,
({ syntaxItems[-2094592] = new SyntaxElement{
/*scopes*/ "class.ruby.support", "(null)",
/*patterns*/ true, REGEX: \b[A-Z]\w*(?=((\.|::)[A-Za-z]|\[)), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[-2094592]; })
,
({ syntaxItems[-2094512] = new SyntaxElement{
/*scopes*/ "constant.other.ruby.variable", "(null)",
/*patterns*/ true, REGEX: \b[A-Z]\w*\b, (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[-2094512]; })
,
({ syntaxItems[-2094432] = new SyntaxElement{
/*scopes*/ "function.meta.method.ruby.with-arguments", "(null)",
/*patterns*/ false, REGEX: (?x)
(?=def\b) # an optimization to help Oniguruma fail fast
(?<=^|\s)(def)\s+ # the def keyword
( (?>[a-zA-Z_]\w*(?>\.|::))? # a method name prefix
(?>[a-zA-Z_]\w*(?>[?!]|=(?!>))? # the method name
|===?|>[>=]?|<=>|<[<=]?|[%&`/\|]|\*\*?|=?~|[-+]@?|\[\]=?) ) # …or an operator method
\s*(\() # the openning parenthesis for arguments
, REGEX: \)
/*refs*/TODO
/*children*/ {
({ syntaxItems[549755758048] = new SyntaxElement{
/*scopes*/ "anonymous.ruby", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[549755758048]; })
,
}
}; syntaxItems[-2094432]; })
,
({ syntaxItems[-2094352] = new SyntaxElement{
/*scopes*/ "function.meta.method.ruby.with-arguments", "(null)",
/*patterns*/ false, REGEX: (?x)
(?=def\b) # an optimization to help Oniguruma fail fast
(?<=^|\s)(def)\s+ # the def keyword
( (?>[a-zA-Z_]\w*(?>\.|::))? # a method name prefix
(?>[a-zA-Z_]\w*(?>[?!]|=(?!>))? # the method name
|===?|>[>=]?|<=>|<[<=]?|[%&`/\|]|\*\*?|=?~|[-+]@?|\[\]=?) ) # …or an operator method
[ \t] # the space separating the arguments
(?=[ \t]*[^\s#;]) # make sure arguments and not a comment follow
, REGEX: $
/*refs*/TODO
/*children*/ {
({ syntaxItems[549755758128] = new SyntaxElement{
/*scopes*/ "anonymous.ruby", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[549755758128]; })
,
}
}; syntaxItems[-2094352]; })
,
({ syntaxItems[-2094272] = new SyntaxElement{
/*scopes*/ "function.meta.method.ruby.without-arguments", "(null)",
/*patterns*/ true, REGEX: (?x)
(?=def\b) # an optimization to help Oniguruma fail fast
(?<=^|\s)(def)\b # the def keyword
( \s+ # an optional group of whitespace followed by…
( (?>[a-zA-Z_]\w*(?>\.|::))? # a method name prefix
(?>[a-zA-Z_]\w*(?>[?!]|=(?!>))? # the method name
|===?|>[>=]?|<=>|<[<=]?|[%&`/\|]|\*\*?|=?~|[-+]@?|\[\]=?) ) )? # …or an operator method
, (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[-2094272]; })
,
({ syntaxItems[-2094192] = new SyntaxElement{
/*scopes*/ "constant.numeric.ruby", "(null)",
/*patterns*/ true, REGEX: \b(0[xX]\h(?>_?\h)*|\d(?>_?\d)*(\.(?![^[:space:][:digit:]])(?>_?\d)*)?([eE][-+]?\d(?>_?\d)*)?|0[bB][01]+)\b, (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[-2094192]; })
,
({ syntaxItems[-2094032] = new SyntaxElement{
/*scopes*/ "constant.other.ruby.single-quoted.symbol", "(null)",
/*patterns*/ false, REGEX: :', REGEX: '
/*refs*/TODO
/*children*/ {
({ syntaxItems[-2093952] = new SyntaxElement{
/*scopes*/ "character.constant.escape.ruby", "(null)",
/*patterns*/ true, REGEX: \\['\\], (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[-2093952]; })
,
}
}; syntaxItems[-2094032]; })
,
({ syntaxItems[-2093872] = new SyntaxElement{
/*scopes*/ "constant.double-quoted.other.ruby.symbol", "(null)",
/*patterns*/ false, REGEX: :", REGEX: "
/*refs*/TODO
/*children*/ {
({ syntaxItems[549755758208] = new SyntaxElement{
/*scopes*/ "anonymous.ruby", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[549755758208]; })
,
({ syntaxItems[549755758288] = new SyntaxElement{
/*scopes*/ "anonymous.ruby", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[549755758288]; })
,
}
}; syntaxItems[-2093872]; })
,
({ syntaxItems[-2093792] = new SyntaxElement{
/*scopes*/ "assignment.augmented.keyword.operator.ruby", "(null)",
/*patterns*/ true, REGEX: (?<!\()/=, (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[-2093792]; })
,
({ syntaxItems[-2093712] = new SyntaxElement{
/*scopes*/ "quoted.ruby.single.string", "(null)",
/*patterns*/ false, REGEX: ', REGEX: '
/*refs*/TODO
/*children*/ {
({ syntaxItems[-2093552] = new SyntaxElement{
/*scopes*/ "character.constant.escape.ruby", "(null)",
/*patterns*/ true, REGEX: \\'|\\\\, (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[-2093552]; })
,
}
}; syntaxItems[-2093712]; })
,
({ syntaxItems[-2093472] = new SyntaxElement{
/*scopes*/ "double.quoted.ruby.string", "(null)",
/*patterns*/ false, REGEX: ", REGEX: "
/*refs*/TODO
/*children*/ {
({ syntaxItems[549755758368] = new SyntaxElement{
/*scopes*/ "anonymous.ruby", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[549755758368]; })
,
({ syntaxItems[549755758448] = new SyntaxElement{
/*scopes*/ "anonymous.ruby", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[549755758448]; })
,
}
}; syntaxItems[-2093472]; })
,
({ syntaxItems[-2093392] = new SyntaxElement{
/*scopes*/ "interpolated.ruby.string", "(null)",
/*patterns*/ false, REGEX: `, REGEX: `
/*refs*/TODO
/*children*/ {
({ syntaxItems[549755758528] = new SyntaxElement{
/*scopes*/ "anonymous.ruby", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[549755758528]; })
,
({ syntaxItems[549755758608] = new SyntaxElement{
/*scopes*/ "anonymous.ruby", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[549755758608]; })
,
}
}; syntaxItems[-2093392]; })
,
({ syntaxItems[-2093312] = new SyntaxElement{
/*scopes*/ "interpolated.ruby.string", "(null)",
/*patterns*/ false, REGEX: %x\{, REGEX: \}
/*refs*/TODO
/*children*/ {
({ syntaxItems[549755758688] = new SyntaxElement{
/*scopes*/ "anonymous.ruby", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[549755758688]; })
,
({ syntaxItems[549755758768] = new SyntaxElement{
/*scopes*/ "anonymous.ruby", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[549755758768]; })
,
({ syntaxItems[549755758848] = new SyntaxElement{
/*scopes*/ "anonymous.ruby", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[549755758848]; })
,
}
}; syntaxItems[-2093312]; })
,
({ syntaxItems[-2093232] = new SyntaxElement{
/*scopes*/ "interpolated.ruby.string", "(null)",
/*patterns*/ false, REGEX: %x\[, REGEX: \]
/*refs*/TODO
/*children*/ {
({ syntaxItems[549755758928] = new SyntaxElement{
/*scopes*/ "anonymous.ruby", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[549755758928]; })
,
({ syntaxItems[549755759008] = new SyntaxElement{
/*scopes*/ "anonymous.ruby", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[549755759008]; })
,
({ syntaxItems[549755759088] = new SyntaxElement{
/*scopes*/ "anonymous.ruby", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[549755759088]; })
,
}
}; syntaxItems[-2093232]; })
,
({ syntaxItems[-2093152] = new SyntaxElement{
/*scopes*/ "interpolated.ruby.string", "(null)",
/*patterns*/ false, REGEX: %x\<, REGEX: \>
/*refs*/TODO
/*children*/ {
({ syntaxItems[549755759168] = new SyntaxElement{
/*scopes*/ "anonymous.ruby", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[549755759168]; })
,
({ syntaxItems[549755759248] = new SyntaxElement{
/*scopes*/ "anonymous.ruby", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[549755759248]; })
,
({ syntaxItems[549755759328] = new SyntaxElement{
/*scopes*/ "anonymous.ruby", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[549755759328]; })
,
}
}; syntaxItems[-2093152]; })
,
({ syntaxItems[-2093072] = new SyntaxElement{
/*scopes*/ "interpolated.ruby.string", "(null)",
/*patterns*/ false, REGEX: %x\(, REGEX: \)
/*refs*/TODO
/*children*/ {
({ syntaxItems[549755759408] = new SyntaxElement{
/*scopes*/ "anonymous.ruby", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[549755759408]; })
,
({ syntaxItems[549755759488] = new SyntaxElement{
/*scopes*/ "anonymous.ruby", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[549755759488]; })
,
({ syntaxItems[549755759568] = new SyntaxElement{
/*scopes*/ "anonymous.ruby", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[549755759568]; })
,
}
}; syntaxItems[-2093072]; })
,
({ syntaxItems[-2092992] = new SyntaxElement{
/*scopes*/ "interpolated.ruby.string", "(null)",
/*patterns*/ false, REGEX: %x([^\w]), REGEX: \1
/*refs*/TODO
/*children*/ {
({ syntaxItems[549755759648] = new SyntaxElement{
/*scopes*/ "anonymous.ruby", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[549755759648]; })
,
({ syntaxItems[549755759728] = new SyntaxElement{
/*scopes*/ "anonymous.ruby", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[549755759728]; })
,
}
}; syntaxItems[-2092992]; })
,
({ syntaxItems[-2092912] = new SyntaxElement{
/*scopes*/ "anonymous.ruby", "classic.regexp.ruby.string",
/*patterns*/ false, REGEX: (?x)
(?:
^ # beginning of line
| (?<= # or look-behind on:
[=>~(?:\[,|&;]
| [\s;]if\s # keywords
| [\s;]elsif\s
| [\s;]while\s
| [\s;]unless\s
| [\s;]when\s
| [\s;]assert_match\s
| [\s;]or\s # boolean opperators
| [\s;]and\s
| [\s;]not\s
| [\s.]index\s # methods
| [\s.]scan\s
| [\s.]sub\s
| [\s.]sub!\s
| [\s.]gsub\s
| [\s.]gsub!\s
| [\s.]match\s
)
| (?<= # or a look-behind with line anchor:
^when\s # duplication necessary due to limits of regex
| ^if\s
| ^elsif\s
| ^while\s
| ^unless\s
)
)
\s*((/))(?![*+{}?])
, REGEX: ((/[eimnosux]*))
/*refs*/TODO
/*children*/ {
({ syntaxItems[549755759808] = new SyntaxElement{
/*scopes*/ "anonymous.ruby", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[549755759808]; })
,
}
}; syntaxItems[-2092912]; })
,
({ syntaxItems[-2092832] = new SyntaxElement{
/*scopes*/ "mod-r.regexp.ruby.string", "(null)",
/*patterns*/ false, REGEX: %r\{, REGEX: \}[eimnosux]*
/*refs*/TODO
/*children*/ {
({ syntaxItems[549755759888] = new SyntaxElement{
/*scopes*/ "anonymous.ruby", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[549755759888]; })
,
({ syntaxItems[549755759968] = new SyntaxElement{
/*scopes*/ "anonymous.ruby", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[549755759968]; })
,
}
}; syntaxItems[-2092832]; })
,
({ syntaxItems[-2092752] = new SyntaxElement{
/*scopes*/ "mod-r.regexp.ruby.string", "(null)",
/*patterns*/ false, REGEX: %r\[, REGEX: \][eimnosux]*
/*refs*/TODO
/*children*/ {
({ syntaxItems[549755760048] = new SyntaxElement{
/*scopes*/ "anonymous.ruby", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[549755760048]; })
,
({ syntaxItems[549755760128] = new SyntaxElement{
/*scopes*/ "anonymous.ruby", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[549755760128]; })
,
}
}; syntaxItems[-2092752]; })
,
({ syntaxItems[-2092672] = new SyntaxElement{
/*scopes*/ "mod-r.regexp.ruby.string", "(null)",
/*patterns*/ false, REGEX: %r\(, REGEX: \)[eimnosux]*
/*refs*/TODO
/*children*/ {
({ syntaxItems[549755760208] = new SyntaxElement{
/*scopes*/ "anonymous.ruby", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[549755760208]; })
,
({ syntaxItems[549755760288] = new SyntaxElement{
/*scopes*/ "anonymous.ruby", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[549755760288]; })
,
}
}; syntaxItems[-2092672]; })
,
({ syntaxItems[-2092592] = new SyntaxElement{
/*scopes*/ "mod-r.regexp.ruby.string", "(null)",
/*patterns*/ false, REGEX: %r\<, REGEX: \>[eimnosux]*
/*refs*/TODO
/*children*/ {
({ syntaxItems[549755760368] = new SyntaxElement{
/*scopes*/ "anonymous.ruby", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[549755760368]; })
,
({ syntaxItems[549755760448] = new SyntaxElement{
/*scopes*/ "anonymous.ruby", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[549755760448]; })
,
}
}; syntaxItems[-2092592]; })
,
({ syntaxItems[-2092512] = new SyntaxElement{
/*scopes*/ "mod-r.regexp.ruby.string", "(null)",
/*patterns*/ false, REGEX: %r([^\w]), REGEX: \1[eimnosux]*
/*refs*/TODO
/*children*/ {
({ syntaxItems[549755760528] = new SyntaxElement{
/*scopes*/ "anonymous.ruby", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[549755760528]; })
,
}
}; syntaxItems[-2092512]; })
,
({ syntaxItems[-2092432] = new SyntaxElement{
/*scopes*/ "literal.other.quoted.ruby.string.upper", "(null)",
/*patterns*/ false, REGEX: %[QWSR]?\(, REGEX: \)
/*refs*/TODO
/*children*/ {
({ syntaxItems[549755760608] = new SyntaxElement{
/*scopes*/ "anonymous.ruby", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[549755760608]; })
,
({ syntaxItems[549755760688] = new SyntaxElement{
/*scopes*/ "anonymous.ruby", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[549755760688]; })
,
({ syntaxItems[549755760768] = new SyntaxElement{
/*scopes*/ "anonymous.ruby", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[549755760768]; })
,
}
}; syntaxItems[-2092432]; })
,
({ syntaxItems[-2092352] = new SyntaxElement{
/*scopes*/ "literal.other.quoted.ruby.string.upper", "(null)",
/*patterns*/ false, REGEX: %[QWSR]?\[, REGEX: \]
/*refs*/TODO
/*children*/ {
({ syntaxItems[549755760848] = new SyntaxElement{
/*scopes*/ "anonymous.ruby", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[549755760848]; })
,
({ syntaxItems[549755760928] = new SyntaxElement{
/*scopes*/ "anonymous.ruby", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[549755760928]; })
,
({ syntaxItems[549755761008] = new SyntaxElement{
/*scopes*/ "anonymous.ruby", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[549755761008]; })
,
}
}; syntaxItems[-2092352]; })
,
({ syntaxItems[-2092192] = new SyntaxElement{
/*scopes*/ "literal.other.quoted.ruby.string.upper", "(null)",
/*patterns*/ false, REGEX: %[QWSR]?\<, REGEX: \>
/*refs*/TODO
/*children*/ {
({ syntaxItems[549755761088] = new SyntaxElement{
/*scopes*/ "anonymous.ruby", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[549755761088]; })
,
({ syntaxItems[549755761168] = new SyntaxElement{
/*scopes*/ "anonymous.ruby", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[549755761168]; })
,
({ syntaxItems[549755761248] = new SyntaxElement{
/*scopes*/ "anonymous.ruby", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[549755761248]; })
,
}
}; syntaxItems[-2092192]; })
,
({ syntaxItems[-2092032] = new SyntaxElement{
/*scopes*/ "double.mod.quoted.ruby.string", "(null)",
/*patterns*/ false, REGEX: %[QWSR]?\{, REGEX: \}
/*refs*/TODO
/*children*/ {
({ syntaxItems[549755761328] = new SyntaxElement{
/*scopes*/ "anonymous.ruby", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[549755761328]; })
,
({ syntaxItems[549755761408] = new SyntaxElement{
/*scopes*/ "anonymous.ruby", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[549755761408]; })
,
({ syntaxItems[549755761488] = new SyntaxElement{
/*scopes*/ "anonymous.ruby", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[549755761488]; })
,
}
}; syntaxItems[-2092032]; })
,
({ syntaxItems[-2091872] = new SyntaxElement{
/*scopes*/ "literal.other.quoted.ruby.string.upper", "(null)",
/*patterns*/ false, REGEX: %[QWSR]([^\w]), REGEX: \1
/*refs*/TODO
/*children*/ {
({ syntaxItems[549755761568] = new SyntaxElement{
/*scopes*/ "anonymous.ruby", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[549755761568]; })
,
({ syntaxItems[549755761648] = new SyntaxElement{
/*scopes*/ "anonymous.ruby", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[549755761648]; })
,
}
}; syntaxItems[-2091872]; })
,
({ syntaxItems[-2091792] = new SyntaxElement{
/*scopes*/ "literal.other.quoted.ruby.string", "(null)",
/*patterns*/ false, REGEX: %([^\w\s=]), REGEX: \1
/*refs*/TODO
/*children*/ {
({ syntaxItems[549755761728] = new SyntaxElement{
/*scopes*/ "anonymous.ruby", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[549755761728]; })
,
({ syntaxItems[549755761808] = new SyntaxElement{
/*scopes*/ "anonymous.ruby", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[549755761808]; })
,
}
}; syntaxItems[-2091792]; })
,
({ syntaxItems[-2091632] = new SyntaxElement{
/*scopes*/ "literal.lower.other.quoted.ruby.string", "(null)",
/*patterns*/ false, REGEX: %[qws]\(, REGEX: \)
/*refs*/TODO
/*children*/ {
({ syntaxItems[-2091472] = new SyntaxElement{
/*scopes*/ "character.constant.escape.ruby", "(null)",
/*patterns*/ true, REGEX: \\\)|\\\\, (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[-2091472]; })
,
({ syntaxItems[549755761888] = new SyntaxElement{
/*scopes*/ "anonymous.ruby", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[549755761888]; })
,
}
}; syntaxItems[-2091632]; })
,
({ syntaxItems[-2091312] = new SyntaxElement{
/*scopes*/ "literal.lower.other.quoted.ruby.string", "(null)",
/*patterns*/ false, REGEX: %[qws]\<, REGEX: \>
/*refs*/TODO
/*children*/ {
({ syntaxItems[-2091232] = new SyntaxElement{
/*scopes*/ "character.constant.escape.ruby", "(null)",
/*patterns*/ true, REGEX: \\\>|\\\\, (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[-2091232]; })
,
({ syntaxItems[549755761968] = new SyntaxElement{
/*scopes*/ "anonymous.ruby", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[549755761968]; })
,
}
}; syntaxItems[-2091312]; })
,
({ syntaxItems[-2091072] = new SyntaxElement{
/*scopes*/ "literal.lower.other.quoted.ruby.string", "(null)",
/*patterns*/ false, REGEX: %[qws]\[, REGEX: \]
/*refs*/TODO
/*children*/ {
({ syntaxItems[-2090992] = new SyntaxElement{
/*scopes*/ "character.constant.escape.ruby", "(null)",
/*patterns*/ true, REGEX: \\\]|\\\\, (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[-2090992]; })
,
({ syntaxItems[549755762048] = new SyntaxElement{
/*scopes*/ "anonymous.ruby", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[549755762048]; })
,
}
}; syntaxItems[-2091072]; })
,
({ syntaxItems[-2090832] = new SyntaxElement{
/*scopes*/ "literal.lower.other.quoted.ruby.string", "(null)",
/*patterns*/ false, REGEX: %[qws]\{, REGEX: \}
/*refs*/TODO
/*children*/ {
({ syntaxItems[-2090752] = new SyntaxElement{
/*scopes*/ "character.constant.escape.ruby", "(null)",
/*patterns*/ true, REGEX: \\\}|\\\\, (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[-2090752]; })
,
({ syntaxItems[549755762128] = new SyntaxElement{
/*scopes*/ "anonymous.ruby", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[549755762128]; })
,
}
}; syntaxItems[-2090832]; })
,
({ syntaxItems[-2090592] = new SyntaxElement{
/*scopes*/ "literal.lower.other.quoted.ruby.string", "(null)",
/*patterns*/ false, REGEX: %[qws]([^\w]), REGEX: \1
/*refs*/TODO
/*children*/ {
({ syntaxItems[-2090512] = new SyntaxElement{
/*scopes*/ "anonymous.ruby", "(null)",
/*patterns*/ true, REGEX: \\., (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[-2090512]; })
,
}
}; syntaxItems[-2090592]; })
,
({ syntaxItems[-2090352] = new SyntaxElement{
/*scopes*/ "constant.other.ruby.symbol", "(null)",
/*patterns*/ true, REGEX: (?<!:)(:)(?>[a-zA-Z_]\w*(?>[?!]|=(?![>=]))?|===?|>[>=]?|<[<=]?|<=>|[%&`/\|]|\*\*?|=?~|[-+]@?|\[\]=?|@@?[a-zA-Z_]\w*), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[-2090352]; })
,
({ syntaxItems[-2090272] = new SyntaxElement{
/*scopes*/ "19syntax.constant.other.ruby.symbol", "(null)",
/*patterns*/ true, REGEX: (?>[a-zA-Z_]\w*(?>[?!])?)(:)(?!:), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[-2090272]; })
,
({ syntaxItems[-2090192] = new SyntaxElement{
/*scopes*/ "block.comment.documentation.ruby", "(null)",
/*patterns*/ false, REGEX: ^=begin, REGEX: ^=end
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[-2090192]; })
,
({ syntaxItems[-2090112] = new SyntaxElement{
/*scopes*/ "comment.line.number-sign.ruby", "(null)",
/*patterns*/ true, REGEX: (?:^[ \t]+)?(#).*$\n?, (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[-2090112]; })
,
({ syntaxItems[-2090032] = new SyntaxElement{
/*scopes*/ "constant.numeric.ruby", "(null)",
/*patterns*/ true, REGEX: (?<!\w)\?(\\(x\h{1,2}(?!\h)\b|0[0-7]{0,2}(?![0-7])\b|[^x0MC])|(\\[MC]-)+\w|[^\s\\]), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[-2090032]; })
,
({ syntaxItems[-2089952] = new SyntaxElement{
/*scopes*/ "anonymous.ruby", "plain.text",
/*patterns*/ false, REGEX: ^__END__\n, REGEX: (?=not)impossible
/*refs*/TODO
/*children*/ {
({ syntaxItems[-2089872] = new SyntaxElement{
/*scopes*/ "embedded.html.ruby.text", "(null)",
/*patterns*/ false, REGEX: (?=<?xml|<(?i:html\b)|!DOCTYPE (?i:html\b)), REGEX: (?=not)impossible
/*refs*/TODO
/*children*/ {
({ syntaxItems[549755762208] = new SyntaxElement{
/*scopes*/ "anonymous.ruby", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[549755762208]; })
,
}
}; syntaxItems[-2089872]; })
,
}
}; syntaxItems[-2089952]; })
,
({ syntaxItems[-2089792] = new SyntaxElement{
/*scopes*/ "embedded.html.ruby.string.unquoted", "(null)",
/*patterns*/ false, REGEX: (?><<-("?)((?:[_\w]+_|)HTML)\b\1), REGEX: \s*\2$
/*refs*/TODO
/*children*/ {
({ syntaxItems[549755762288] = new SyntaxElement{
/*scopes*/ "anonymous.ruby", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[549755762288]; })
,
({ syntaxItems[549755762368] = new SyntaxElement{
/*scopes*/ "anonymous.ruby", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[549755762368]; })
,
({ syntaxItems[549755762448] = new SyntaxElement{
/*scopes*/ "anonymous.ruby", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[549755762448]; })
,
({ syntaxItems[549755762528] = new SyntaxElement{
/*scopes*/ "anonymous.ruby", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[549755762528]; })
,
}
}; syntaxItems[-2089792]; })
,
({ syntaxItems[-2089712] = new SyntaxElement{
/*scopes*/ "embedded.ruby.sql.string.unquoted", "(null)",
/*patterns*/ false, REGEX: (?><<-("?)((?:[_\w]+_|)SQL)\b\1), REGEX: \s*\2$
/*refs*/TODO
/*children*/ {
({ syntaxItems[549755762608] = new SyntaxElement{
/*scopes*/ "anonymous.ruby", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[549755762608]; })
,
({ syntaxItems[549755762688] = new SyntaxElement{
/*scopes*/ "anonymous.ruby", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[549755762688]; })
,
({ syntaxItems[549755762768] = new SyntaxElement{
/*scopes*/ "anonymous.ruby", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[549755762768]; })
,
({ syntaxItems[549755762848] = new SyntaxElement{
/*scopes*/ "anonymous.ruby", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[549755762848]; })
,
}
}; syntaxItems[-2089712]; })
,
({ syntaxItems[-2089632] = new SyntaxElement{
/*scopes*/ "css.embedded.ruby.string.unquoted", "(null)",
/*patterns*/ false, REGEX: (?><<-("?)((?:[_\w]+_|)CSS)\b\1), REGEX: \s*\2$
/*refs*/TODO
/*children*/ {
({ syntaxItems[549755762928] = new SyntaxElement{
/*scopes*/ "anonymous.ruby", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[549755762928]; })
,
({ syntaxItems[549755763008] = new SyntaxElement{
/*scopes*/ "anonymous.ruby", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[549755763008]; })
,
({ syntaxItems[549755763088] = new SyntaxElement{
/*scopes*/ "anonymous.ruby", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[549755763088]; })
,
({ syntaxItems[549755763168] = new SyntaxElement{
/*scopes*/ "anonymous.ruby", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[549755763168]; })
,
}
}; syntaxItems[-2089632]; })
,
({ syntaxItems[-2089552] = new SyntaxElement{
/*scopes*/ "cplusplus.embedded.ruby.string.unquoted", "(null)",
/*patterns*/ false, REGEX: (?><<-("?)((?:[_\w]+_|)CPP)\b\1), REGEX: \s*\2$
/*refs*/TODO
/*children*/ {
({ syntaxItems[549755763248] = new SyntaxElement{
/*scopes*/ "anonymous.ruby", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[549755763248]; })
,
({ syntaxItems[549755763328] = new SyntaxElement{
/*scopes*/ "anonymous.ruby", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[549755763328]; })
,
({ syntaxItems[549755763408] = new SyntaxElement{
/*scopes*/ "anonymous.ruby", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[549755763408]; })
,
({ syntaxItems[549755763488] = new SyntaxElement{
/*scopes*/ "anonymous.ruby", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[549755763488]; })
,
}
}; syntaxItems[-2089552]; })
,
({ syntaxItems[-2089472] = new SyntaxElement{
/*scopes*/ "c.embedded.ruby.string.unquoted", "(null)",
/*patterns*/ false, REGEX: (?><<-("?)((?:[_\w]+_|)C)\b\1), REGEX: \s*\2$
/*refs*/TODO
/*children*/ {
({ syntaxItems[549755763568] = new SyntaxElement{
/*scopes*/ "anonymous.ruby", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[549755763568]; })
,
({ syntaxItems[549755763648] = new SyntaxElement{
/*scopes*/ "anonymous.ruby", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[549755763648]; })
,
({ syntaxItems[549755763728] = new SyntaxElement{
/*scopes*/ "anonymous.ruby", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[549755763728]; })
,
({ syntaxItems[549755763808] = new SyntaxElement{
/*scopes*/ "anonymous.ruby", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[549755763808]; })
,
}
}; syntaxItems[-2089472]; })
,
({ syntaxItems[-2089392] = new SyntaxElement{
/*scopes*/ "embedded.js.ruby.string.unquoted", "(null)",
/*patterns*/ false, REGEX: (?><<-("?)((?:[_\w]+_|)(?:JS|JAVASCRIPT))\b\1), REGEX: \s*\2$
/*refs*/TODO
/*children*/ {
({ syntaxItems[549755763888] = new SyntaxElement{
/*scopes*/ "anonymous.ruby", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[549755763888]; })
,
({ syntaxItems[549755763968] = new SyntaxElement{
/*scopes*/ "anonymous.ruby", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[549755763968]; })
,
({ syntaxItems[549755764048] = new SyntaxElement{
/*scopes*/ "anonymous.ruby", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[549755764048]; })
,
({ syntaxItems[549755764128] = new SyntaxElement{
/*scopes*/ "anonymous.ruby", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[549755764128]; })
,
}
}; syntaxItems[-2089392]; })
,
({ syntaxItems[-2089312] = new SyntaxElement{
/*scopes*/ "embedded.jquery.js.ruby.string.unquoted", "(null)",
/*patterns*/ false, REGEX: (?><<-("?)((?:[_\w]+_|)JQUERY)\b\1), REGEX: \s*\2$
/*refs*/TODO
/*children*/ {
({ syntaxItems[549755764208] = new SyntaxElement{
/*scopes*/ "anonymous.ruby", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[549755764208]; })
,
({ syntaxItems[549755764288] = new SyntaxElement{
/*scopes*/ "anonymous.ruby", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[549755764288]; })
,
({ syntaxItems[549755764368] = new SyntaxElement{
/*scopes*/ "anonymous.ruby", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[549755764368]; })
,
}
}; syntaxItems[-2089312]; })
,
({ syntaxItems[-2089232] = new SyntaxElement{
/*scopes*/ "embedded.ruby.shell.string.unquoted", "(null)",
/*patterns*/ false, REGEX: (?><<-("?)((?:[_\w]+_|)(?:SH|SHELL))\b\1), REGEX: \s*\2$
/*refs*/TODO
/*children*/ {
({ syntaxItems[549755764448] = new SyntaxElement{
/*scopes*/ "anonymous.ruby", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[549755764448]; })
,
({ syntaxItems[549755764528] = new SyntaxElement{
/*scopes*/ "anonymous.ruby", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[549755764528]; })
,
({ syntaxItems[549755764608] = new SyntaxElement{
/*scopes*/ "anonymous.ruby", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[549755764608]; })
,
({ syntaxItems[549755764688] = new SyntaxElement{
/*scopes*/ "anonymous.ruby", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[549755764688]; })
,
}
}; syntaxItems[-2089232]; })
,
({ syntaxItems[-2089072] = new SyntaxElement{
/*scopes*/ "embedded.ruby.string.unquoted", "(null)",
/*patterns*/ false, REGEX: (?><<-("?)((?:[_\w]+_|)RUBY)\b\1), REGEX: \s*\2$
/*refs*/TODO
/*children*/ {
({ syntaxItems[549755764768] = new SyntaxElement{
/*scopes*/ "anonymous.ruby", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[549755764768]; })
,
({ syntaxItems[549755764848] = new SyntaxElement{
/*scopes*/ "anonymous.ruby", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[549755764848]; })
,
({ syntaxItems[549755764928] = new SyntaxElement{
/*scopes*/ "anonymous.ruby", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[549755764928]; })
,
({ syntaxItems[549755765008] = new SyntaxElement{
/*scopes*/ "anonymous.ruby", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[549755765008]; })
,
}
}; syntaxItems[-2089072]; })
,
({ syntaxItems[-2088992] = new SyntaxElement{
/*scopes*/ "heredoc.ruby.string.unquoted", "(null)",
/*patterns*/ false, REGEX: (?>\=\s*<<(\w+)), REGEX: ^\1$
/*refs*/TODO
/*children*/ {
({ syntaxItems[549755765088] = new SyntaxElement{
/*scopes*/ "anonymous.ruby", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[549755765088]; })
,
({ syntaxItems[549755765168] = new SyntaxElement{
/*scopes*/ "anonymous.ruby", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[549755765168]; })
,
({ syntaxItems[549755765248] = new SyntaxElement{
/*scopes*/ "anonymous.ruby", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[549755765248]; })
,
}
}; syntaxItems[-2088992]; })
,
({ syntaxItems[-2088912] = new SyntaxElement{
/*scopes*/ "heredoc.ruby.string.unquoted", "(null)",
/*patterns*/ false, REGEX: (?><<-(\w+)), REGEX: \s*\1$
/*refs*/TODO
/*children*/ {
({ syntaxItems[549755765328] = new SyntaxElement{
/*scopes*/ "anonymous.ruby", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[549755765328]; })
,
({ syntaxItems[549755765408] = new SyntaxElement{
/*scopes*/ "anonymous.ruby", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[549755765408]; })
,
({ syntaxItems[549755765488] = new SyntaxElement{
/*scopes*/ "anonymous.ruby", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[549755765488]; })
,
}
}; syntaxItems[-2088912]; })
,
({ syntaxItems[-2088832] = new SyntaxElement{
/*scopes*/ "anonymous.ruby", "(null)",
/*patterns*/ false, REGEX: (?<=\{|do|\{\s|do\s)(\|), REGEX: (\|)
/*refs*/TODO
/*children*/ {
({ syntaxItems[-2088752] = new SyntaxElement{
/*scopes*/ "block.other.ruby.variable", "(null)",
/*patterns*/ true, REGEX: [_a-zA-Z][_a-zA-Z0-9]*, (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[-2088752]; })
,
({ syntaxItems[-2088672] = new SyntaxElement{
/*scopes*/ "punctuation.ruby.separator.variable", "(null)",
/*patterns*/ true, STRING: ,, (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[-2088672]; })
,
}
}; syntaxItems[-2088832]; })
,
({ syntaxItems[-2088592] = new SyntaxElement{
/*scopes*/ "key-value.punctuation.ruby.separator", "(null)",
/*patterns*/ true, STRING: =>, (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[-2088592]; })
,
({ syntaxItems[-2088512] = new SyntaxElement{
/*scopes*/ "assignment.augmented.keyword.operator.ruby", "(null)",
/*patterns*/ true, REGEX: <<=|%=|&=|\*=|\*\*=|\+=|\-=|\^=|\|{1,2}=|<<, (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[-2088512]; })
,
({ syntaxItems[-2088432] = new SyntaxElement{
/*scopes*/ "comparison.keyword.operator.ruby", "(null)",
/*patterns*/ true, REGEX: <=>|<(?!<|=)|>(?!<|=|>)|<=|>=|===|==|=~|!=|!~|(?<=[ \t])\?, (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[-2088432]; })
,
({ syntaxItems[-2088192] = new SyntaxElement{
/*scopes*/ "keyword.logical.operator.ruby", "(null)",
/*patterns*/ true, REGEX: (?<=[ \t])!+|\bnot\b|&&|\band\b|\|\||\bor\b|\^, (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[-2088192]; })
,
({ syntaxItems[-2088112] = new SyntaxElement{
/*scopes*/ "arithmetic.keyword.operator.ruby", "(null)",
/*patterns*/ true, REGEX: (%|&|\*\*|\*|\+|\-|/), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[-2088112]; })
,
({ syntaxItems[-2088032] = new SyntaxElement{
/*scopes*/ "assignment.keyword.operator.ruby", "(null)",
/*patterns*/ true, STRING: =, (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[-2088032]; })
,
({ syntaxItems[-2087952] = new SyntaxElement{
/*scopes*/ "keyword.operator.other.ruby", "(null)",
/*patterns*/ true, REGEX: \||~|>>, (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[-2087952]; })
,
({ syntaxItems[-2087872] = new SyntaxElement{
/*scopes*/ "other.punctuation.ruby.separator", "(null)",
/*patterns*/ true, STRING: :, (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[-2087872]; })
,
({ syntaxItems[-2087792] = new SyntaxElement{
/*scopes*/ "punctuation.ruby.separator.statement", "(null)",
/*patterns*/ true, REGEX: \;, (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[-2087792]; })
,
({ syntaxItems[-2087712] = new SyntaxElement{
/*scopes*/ "object.punctuation.ruby.separator", "(null)",
/*patterns*/ true, STRING: ,, (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[-2087712]; })
,
({ syntaxItems[-2087632] = new SyntaxElement{
/*scopes*/ "method.punctuation.ruby.separator", "(null)",
/*patterns*/ true, REGEX: \.|::, (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[-2087632]; })
,
({ syntaxItems[-2087552] = new SyntaxElement{
/*scopes*/ "punctuation.ruby.scope.section", "(null)",
/*patterns*/ true, REGEX: \{|\}, (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[-2087552]; })
,
({ syntaxItems[-2087472] = new SyntaxElement{
/*scopes*/ "array.punctuation.ruby.section", "(null)",
/*patterns*/ true, REGEX: \[|\], (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[-2087472]; })
,
({ syntaxItems[-2087392] = new SyntaxElement{
/*scopes*/ "function.punctuation.ruby.section", "(null)",
/*patterns*/ true, REGEX: \(|\), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[-2087392]; })
,
}
}; syntaxItems[-1219136]; })
}
// --- Writing truffle Ruby on Rails ---
// Writing lang HTML (Rails)
void shamrock_test_HTML_Rails() {
std::map<intptr_t, Syntaxable*> syntaxItems;
({ syntaxItems[-1236032] = new SyntaxBase{
"html.ruby.text", nullptr, {
({ syntaxItems[-2114272] = new SyntaxElement{
/*scopes*/ "block.comment.erb.html-rails", "(null)",
/*patterns*/ false, REGEX: <%+#, REGEX: %>
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[-2114272]; })
,
({ syntaxItems[-2114192] = new SyntaxElement{
/*scopes*/ "embedded.html.html-rails.rails.ruby.source", "(null)",
/*patterns*/ false, REGEX: <%+(?!>)[-=]?, REGEX: -?%>
/*refs*/TODO
/*children*/ {
({ syntaxItems[-2114112] = new SyntaxElement{
/*scopes*/ "comment.html-rails.line.number-sign.ruby", "(null)",
/*patterns*/ true, REGEX: (#).*?(?=-?%>), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[-2114112]; })
,
({ syntaxItems[549755755648] = new SyntaxElement{
/*scopes*/ "anonymous.html-rails", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[549755755648]; })
,
}
}; syntaxItems[-2114192]; })
,
({ syntaxItems[549755755728] = new SyntaxElement{
/*scopes*/ "anonymous.html-rails", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[549755755728]; })
,
}
}; syntaxItems[-1236032]; })
}
// Writing lang JavaScript (Rails)
void shamrock_test_JavaScript_Rails() {
std::map<intptr_t, Syntaxable*> syntaxItems;
({ syntaxItems[-1221440] = new SyntaxBase{
"js.rails.source", nullptr, {
({ syntaxItems[-2114032] = new SyntaxElement{
/*scopes*/ "block.comment.erb.javascript-rails", "(null)",
/*patterns*/ false, REGEX: <%+#, REGEX: %>
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[-2114032]; })
,
({ syntaxItems[-2113952] = new SyntaxElement{
/*scopes*/ "erb.javascript-rails.rails.ruby.source", "(null)",
/*patterns*/ false, REGEX: <%+(?!>)[-=]?, REGEX: -?%>
/*refs*/TODO
/*children*/ {
({ syntaxItems[-2113872] = new SyntaxElement{
/*scopes*/ "comment.javascript-rails.line.number-sign.ruby", "(null)",
/*patterns*/ true, REGEX: (#).*?(?=-?%>), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[-2113872]; })
,
({ syntaxItems[549755755808] = new SyntaxElement{
/*scopes*/ "anonymous.javascript-rails", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[549755755808]; })
,
}
}; syntaxItems[-2113952]; })
,
({ syntaxItems[549755755888] = new SyntaxElement{
/*scopes*/ "anonymous.javascript-rails", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[549755755888]; })
,
}
}; syntaxItems[-1221440]; })
}
// Writing lang RJS
void shamrock_test_RJS() {
std::map<intptr_t, Syntaxable*> syntaxItems;
({ syntaxItems[-1221632] = new SyntaxBase{
"rails.rjs.ruby.source", nullptr, {
({ syntaxItems[549755755968] = new SyntaxElement{
/*scopes*/ "anonymous.rjs", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[549755755968]; })
,
}
}; syntaxItems[-1221632]; })
}
// Writing lang Ruby on Rails
void shamrock_test_Ruby_on_Rails() {
std::map<intptr_t, Syntaxable*> syntaxItems;
({ syntaxItems[-1221248] = new SyntaxBase{
"rails.ruby.source", nullptr, {
({ syntaxItems[-2113632] = new SyntaxElement{
/*scopes*/ "functional_test.meta.rails.ruby-on-rails", "(null)",
/*patterns*/ false, REGEX: (^\s*)(?=class\s+(([.a-zA-Z0-9_:]+ControllerTest(\s*<\s*[.a-zA-Z0-9_:]+)?))), REGEX: ^\1(?=end)\b
/*refs*/TODO
/*children*/ {
({ syntaxItems[549755756048] = new SyntaxElement{
/*scopes*/ "anonymous.ruby-on-rails", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[549755756048]; })
,
({ syntaxItems[549755756128] = new SyntaxElement{
/*scopes*/ "anonymous.ruby-on-rails", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[549755756128]; })
,
}
}; syntaxItems[-2113632]; })
,
({ syntaxItems[-2113552] = new SyntaxElement{
/*scopes*/ "controller.meta.rails.ruby-on-rails", "(null)",
/*patterns*/ false, REGEX: (^\s*)(?=class\s+(([.a-zA-Z0-9_:]+Controller\b(\s*<\s*[.a-zA-Z0-9_:]+)?)|(<<\s*[.a-zA-Z0-9_:]+)))(?!.+\bend\b), REGEX: ^\1(?=end)\b
/*refs*/TODO
/*children*/ {
({ syntaxItems[549755756208] = new SyntaxElement{
/*scopes*/ "anonymous.ruby-on-rails", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[549755756208]; })
,
({ syntaxItems[549755756288] = new SyntaxElement{
/*scopes*/ "anonymous.ruby-on-rails", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[549755756288]; })
,
}
}; syntaxItems[-2113552]; })
,
({ syntaxItems[-2113472] = new SyntaxElement{
/*scopes*/ "helper.meta.rails.ruby-on-rails", "(null)",
/*patterns*/ false, REGEX: (^\s*)(?=module\s+((([A-Z]\w*::)*)[A-Z]\w*)Helper), REGEX: ^\1(?=end)\b
/*refs*/TODO
/*children*/ {
({ syntaxItems[549755756368] = new SyntaxElement{
/*scopes*/ "anonymous.ruby-on-rails", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[549755756368]; })
,
({ syntaxItems[549755756448] = new SyntaxElement{
/*scopes*/ "anonymous.ruby-on-rails", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[549755756448]; })
,
}
}; syntaxItems[-2113472]; })
,
({ syntaxItems[-2113312] = new SyntaxElement{
/*scopes*/ "mailer.meta.rails.ruby-on-rails", "(null)",
/*patterns*/ false, REGEX: (^\s*)(?=class\s+(([.a-zA-Z0-9_:]+(\s*<\s*ActionMailer::Base)))), REGEX: ^\1(?=end)\b
/*refs*/TODO
/*children*/ {
({ syntaxItems[549755756528] = new SyntaxElement{
/*scopes*/ "anonymous.ruby-on-rails", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[549755756528]; })
,
({ syntaxItems[549755756608] = new SyntaxElement{
/*scopes*/ "anonymous.ruby-on-rails", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[549755756608]; })
,
}
}; syntaxItems[-2113312]; })
,
({ syntaxItems[-2113232] = new SyntaxElement{
/*scopes*/ "meta.model.rails.ruby-on-rails", "(null)",
/*patterns*/ false, REGEX: (^\s*)(?=class\s+.+ActiveRecord::Base), REGEX: ^\1(?=end)\b
/*refs*/TODO
/*children*/ {
({ syntaxItems[549755756688] = new SyntaxElement{
/*scopes*/ "anonymous.ruby-on-rails", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[549755756688]; })
,
({ syntaxItems[549755756768] = new SyntaxElement{
/*scopes*/ "anonymous.ruby-on-rails", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[549755756768]; })
,
}
}; syntaxItems[-2113232]; })
,
({ syntaxItems[-2113152] = new SyntaxElement{
/*scopes*/ "meta.migration.rails.ruby-on-rails", "(null)",
/*patterns*/ false, REGEX: (^\s*)(?=class\s+.+ActiveRecord::Migration), REGEX: ^\1(?=end)\b
/*refs*/TODO
/*children*/ {
({ syntaxItems[-2113072] = new SyntaxElement{
/*scopes*/ "anonymous.ruby-on-rails", "change_table.meta.migration.rails",
/*patterns*/ false, REGEX: (^\s*)(?=change_table)\b, REGEX: ^\1(?=end)\b
/*refs*/TODO
/*children*/ {
({ syntaxItems[549755756848] = new SyntaxElement{
/*scopes*/ "anonymous.ruby-on-rails", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[549755756848]; })
,
({ syntaxItems[549755756928] = new SyntaxElement{
/*scopes*/ "anonymous.ruby-on-rails", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[549755756928]; })
,
}
}; syntaxItems[-2113072]; })
,
({ syntaxItems[-2112992] = new SyntaxElement{
/*scopes*/ "anonymous.ruby-on-rails", "create_table.meta.migration.rails",
/*patterns*/ false, REGEX: (^\s*)(?=create_table)\b, REGEX: ^\1(?=end)\b
/*refs*/TODO
/*children*/ {
({ syntaxItems[549755757008] = new SyntaxElement{
/*scopes*/ "anonymous.ruby-on-rails", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[549755757008]; })
,
({ syntaxItems[549755757088] = new SyntaxElement{
/*scopes*/ "anonymous.ruby-on-rails", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[549755757088]; })
,
}
}; syntaxItems[-2112992]; })
,
({ syntaxItems[549755757168] = new SyntaxElement{
/*scopes*/ "anonymous.ruby-on-rails", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[549755757168]; })
,
({ syntaxItems[549755757248] = new SyntaxElement{
/*scopes*/ "anonymous.ruby-on-rails", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[549755757248]; })
,
}
}; syntaxItems[-2113152]; })
,
({ syntaxItems[-2112912] = new SyntaxElement{
/*scopes*/ "meta.rails.ruby-on-rails.unit_test", "(null)",
/*patterns*/ false, REGEX: (^\s*)(?=class\s+(?![.a-zA-Z0-9_:]+ControllerTest)(([.a-zA-Z0-9_:]+Test(\s*<\s*[.a-zA-Z0-9_:]+)?)|(<<\s*[.a-zA-Z0-9_:]+))), REGEX: ^\1(?=end)\b
/*refs*/TODO
/*children*/ {
({ syntaxItems[549755757408] = new SyntaxElement{
/*scopes*/ "anonymous.ruby-on-rails", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[549755757408]; })
,
({ syntaxItems[549755757488] = new SyntaxElement{
/*scopes*/ "anonymous.ruby-on-rails", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[549755757488]; })
,
}
}; syntaxItems[-2112912]; })
,
({ syntaxItems[-2112752] = new SyntaxElement{
/*scopes*/ "meta.rails.routes.ruby-on-rails", "(null)",
/*patterns*/ false, REGEX: (^\s*)ActionController::Routing::Routes, REGEX: ^\1(?=end)\b
/*refs*/TODO
/*children*/ {
({ syntaxItems[549755757568] = new SyntaxElement{
/*scopes*/ "anonymous.ruby-on-rails", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[549755757568]; })
,
({ syntaxItems[549755757648] = new SyntaxElement{
/*scopes*/ "anonymous.ruby-on-rails", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[549755757648]; })
,
}
}; syntaxItems[-2112752]; })
,
({ syntaxItems[-2112672] = new SyntaxElement{
/*scopes*/ "actionpack.function.rails.ruby-on-rails.support", "(null)",
/*patterns*/ true, <CHSyntaxPatternListDefinition: 0x600000443960>, (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[-2112672]; })
,
({ syntaxItems[-2112512] = new SyntaxElement{
/*scopes*/ "activerecord.function.rails.ruby-on-rails.support", "(null)",
/*patterns*/ true, <CHSyntaxPatternListDefinition: 0x600000444110>, (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[-2112512]; })
,
({ syntaxItems[-2112352] = new SyntaxElement{
/*scopes*/ "activesupport.function.rails.ruby-on-rails.support", "(null)",
/*patterns*/ true, <CHSyntaxPatternListDefinition: 0x600000444d10>, (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[-2112352]; })
,
({ syntaxItems[549755757328] = new SyntaxElement{
/*scopes*/ "anonymous.ruby-on-rails", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[549755757328]; })
,
}
}; syntaxItems[-1221248]; })
}
// Writing lang SQL (Rails)
void shamrock_test_SQL_Rails() {
std::map<intptr_t, Syntaxable*> syntaxItems;
({ syntaxItems[-1221056] = new SyntaxBase{
"ruby.source.sql", nullptr, {
({ syntaxItems[-2112832] = new SyntaxElement{
/*scopes*/ "embedded.rails.ruby.source.sql.sql-rails", "(null)",
/*patterns*/ false, REGEX: <%+(?!>)=?, STRING: %>
/*refs*/TODO
/*children*/ {
({ syntaxItems[-2112192] = new SyntaxElement{
/*scopes*/ "comment.line.number-sign.ruby.sql-rails", "(null)",
/*patterns*/ true, REGEX: #.*?(?=%>), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[-2112192]; })
,
({ syntaxItems[549755757728] = new SyntaxElement{
/*scopes*/ "anonymous.sql-rails", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[549755757728]; })
,
}
}; syntaxItems[-2112832]; })
,
({ syntaxItems[549755757808] = new SyntaxElement{
/*scopes*/ "anonymous.sql-rails", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[549755757808]; })
,
}
}; syntaxItems[-1221056]; })
}
// --- Writing truffle Rust ---
// Writing lang Rust
void shamrock_test_Rust() {
std::map<intptr_t, Syntaxable*> syntaxItems;
({ syntaxItems[-1217408] = new SyntaxBase{
"rust.source", nullptr, {
({ syntaxItems[549755765568] = new SyntaxElement{
/*scopes*/ "anonymous.rust", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[549755765568]; })
,
({ syntaxItems[549755765648] = new SyntaxElement{
/*scopes*/ "anonymous.rust", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[549755765648]; })
,
({ syntaxItems[549755765728] = new SyntaxElement{
/*scopes*/ "anonymous.rust", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[549755765728]; })
,
({ syntaxItems[549755765808] = new SyntaxElement{
/*scopes*/ "anonymous.rust", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[549755765808]; })
,
({ syntaxItems[-2073312] = new SyntaxElement{
/*scopes*/ "attribute.meta.rust", "(null)",
/*patterns*/ false, REGEX: #\!?\[, REGEX: \]
/*refs*/TODO
/*children*/ {
({ syntaxItems[549755765888] = new SyntaxElement{
/*scopes*/ "anonymous.rust", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[549755765888]; })
,
}
}; syntaxItems[-2073312]; })
,
({ syntaxItems[-2073232] = new SyntaxElement{
/*scopes*/ "quoted.rust.single.string", "(null)",
/*patterns*/ true, REGEX: (')([^'\\]|(\\(x\h{2}|[0-2][0-7]{0,2}|3[0-6][0-7]?|37[0-7]?|[4-7][0-7]?|.)))('), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[-2073232]; })
,
({ syntaxItems[549755765968] = new SyntaxElement{
/*scopes*/ "anonymous.rust", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[549755765968]; })
,
({ syntaxItems[549755766128] = new SyntaxElement{
/*scopes*/ "anonymous.rust", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[549755766128]; })
,
({ syntaxItems[-2073072] = new SyntaxElement{
/*scopes*/ "constant.float.numeric.rust", "(null)",
/*patterns*/ true, REGEX: \b[0-9][0-9_]*\.[0-9][0-9_]*([eE][+-][0-9_]+)?(f32|f64)?\b, (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[-2073072]; })
,
({ syntaxItems[-2072912] = new SyntaxElement{
/*scopes*/ "constant.float.numeric.rust", "(null)",
/*patterns*/ true, REGEX: \b[0-9][0-9_]*(\.[0-9][0-9_]*)?[eE][+-][0-9_]+(f32|f64)?\b, (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[-2072912]; })
,
({ syntaxItems[-2072752] = new SyntaxElement{
/*scopes*/ "constant.float.numeric.rust", "(null)",
/*patterns*/ true, REGEX: \b[0-9][0-9_]*(\.[0-9][0-9_]*)?([eE][+-][0-9_]+)?(f32|f64)\b, (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[-2072752]; })
,
({ syntaxItems[-2073152] = new SyntaxElement{
/*scopes*/ "constant.decimal.integer.numeric.rust", "(null)",
/*patterns*/ true, REGEX: \b[0-9][0-9_]*([ui](8|16|32|64)?)?\b, (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[-2073152]; })
,
({ syntaxItems[-2072592] = new SyntaxElement{
/*scopes*/ "constant.hexadecimal.integer.numeric.rust", "(null)",
/*patterns*/ true, REGEX: \b0x[a-fA-F0-9_]+([ui](8|16|32|64)?)?\b, (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[-2072592]; })
,
({ syntaxItems[-2072512] = new SyntaxElement{
/*scopes*/ "constant.integer.numeric.octal.rust", "(null)",
/*patterns*/ true, REGEX: \b0o[0-7_]+([ui](8|16|32|64)?)?\b, (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[-2072512]; })
,
({ syntaxItems[-2072432] = new SyntaxElement{
/*scopes*/ "binary.constant.integer.numeric.rust", "(null)",
/*patterns*/ true, REGEX: \b0b[01_]+([ui](8|16|32|64)?)?\b, (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[-2072432]; })
,
({ syntaxItems[-2072352] = new SyntaxElement{
/*scopes*/ "modifier.rust.static.storage", "(null)",
/*patterns*/ true, STRING: static, (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[-2072352]; })
,
({ syntaxItems[-2072272] = new SyntaxElement{
/*scopes*/ "modifier.rust.storage.visibility", "(null)",
/*patterns*/ true, <CHSyntaxPatternListDefinition: 0x600000a5e570>, (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[-2072272]; })
,
({ syntaxItems[-2072192] = new SyntaxElement{
/*scopes*/ "boolean.constant.language.rust", "(null)",
/*patterns*/ true, <CHSyntaxPatternListDefinition: 0x600000a5e810>, (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[-2072192]; })
,
({ syntaxItems[-2072112] = new SyntaxElement{
/*scopes*/ "control.keyword.rust", "(null)",
/*patterns*/ true, <CHSyntaxPatternListDefinition: 0x600000a5e9f0>, (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[-2072112]; })
,
({ syntaxItems[-2072032] = new SyntaxElement{
/*scopes*/ "keyword.other.rust", "(null)",
/*patterns*/ true, <CHSyntaxPatternListDefinition: 0x600000a5ed20>, (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[-2072032]; })
,
({ syntaxItems[-2071952] = new SyntaxElement{
/*scopes*/ "keyword.other.rust.unsafe", "(null)",
/*patterns*/ true, STRING: unsafe, (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[-2071952]; })
,
({ syntaxItems[549755766048] = new SyntaxElement{
/*scopes*/ "anonymous.rust", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[549755766048]; })
,
({ syntaxItems[549755766208] = new SyntaxElement{
/*scopes*/ "anonymous.rust", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[549755766208]; })
,
({ syntaxItems[549755766288] = new SyntaxElement{
/*scopes*/ "anonymous.rust", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[549755766288]; })
,
({ syntaxItems[549755766368] = new SyntaxElement{
/*scopes*/ "anonymous.rust", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[549755766368]; })
,
({ syntaxItems[549755766448] = new SyntaxElement{
/*scopes*/ "anonymous.rust", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[549755766448]; })
,
({ syntaxItems[549755766528] = new SyntaxElement{
/*scopes*/ "anonymous.rust", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[549755766528]; })
,
({ syntaxItems[549755766608] = new SyntaxElement{
/*scopes*/ "anonymous.rust", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[549755766608]; })
,
({ syntaxItems[549755766688] = new SyntaxElement{
/*scopes*/ "anonymous.rust", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[549755766688]; })
,
({ syntaxItems[549755766768] = new SyntaxElement{
/*scopes*/ "anonymous.rust", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[549755766768]; })
,
({ syntaxItems[-2071712] = new SyntaxElement{
/*scopes*/ "keyword.operator.rust", "(null)",
/*patterns*/ true, REGEX: (\+|-|/|\*|=|\^|&|\||!|>|<|%|::|\bas\b), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[-2071712]; })
,
({ syntaxItems[-2071632] = new SyntaxElement{
/*scopes*/ "function.rust.std.support", "(null)",
/*patterns*/ true, REGEX: \b(log|error|warn|info|debug|log_enabled|fail|assert|assert_eq|unreachable|unimplemented|format|write|writeln|print|println|local_data_key|try|vec|select)!, (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[-2071632]; })
,
({ syntaxItems[-2071552] = new SyntaxElement{
/*scopes*/ "constant.rust.std.support", "(null)",
/*patterns*/ true, <CHSyntaxPatternListDefinition: 0x600000a5fad0>, (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[-2071552]; })
,
({ syntaxItems[-2071472] = new SyntaxElement{
/*scopes*/ "anonymous.rust", "(null)",
/*patterns*/ true, REGEX: \b([a-zA-Z_][a-zA-Z0-9_]*\!)\s*[({\[], (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[-2071472]; })
,
({ syntaxItems[-2071392] = new SyntaxElement{
/*scopes*/ "anonymous.rust", "(null)",
/*patterns*/ true, REGEX: \b([a-zA-Z_][a-zA-Z0-9_]*)\s*\(, (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[-2071392]; })
,
({ syntaxItems[-2071312] = new SyntaxElement{
/*scopes*/ "anonymous.rust", "(null)",
/*patterns*/ false, REGEX: \b(fn)\s+([a-zA-Z_][a-zA-Z0-9_]*), REGEX: [\{;]
/*refs*/TODO
/*children*/ {
({ syntaxItems[549755766848] = new SyntaxElement{
/*scopes*/ "anonymous.rust", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[549755766848]; })
,
({ syntaxItems[549755766928] = new SyntaxElement{
/*scopes*/ "anonymous.rust", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[549755766928]; })
,
}
}; syntaxItems[-2071312]; })
,
({ syntaxItems[-2071232] = new SyntaxElement{
/*scopes*/ "anonymous.rust", "(null)",
/*patterns*/ false, REGEX: \b(enum|struct|trait|type)\s+([a-zA-Z_][a-zA-Z0-9_]*), REGEX: [\{;]
/*refs*/TODO
/*children*/ {
({ syntaxItems[549755767008] = new SyntaxElement{
/*scopes*/ "anonymous.rust", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[549755767008]; })
,
({ syntaxItems[549755767088] = new SyntaxElement{
/*scopes*/ "anonymous.rust", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[549755767088]; })
,
}
}; syntaxItems[-2071232]; })
,
({ syntaxItems[-2071072] = new SyntaxElement{
/*scopes*/ "anonymous.rust", "(null)",
/*patterns*/ false, REGEX: \b(impl)\b, REGEX: \{
/*refs*/TODO
/*children*/ {
({ syntaxItems[549755767168] = new SyntaxElement{
/*scopes*/ "anonymous.rust", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[549755767168]; })
,
({ syntaxItems[549755767248] = new SyntaxElement{
/*scopes*/ "anonymous.rust", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[549755767248]; })
,
}
}; syntaxItems[-2071072]; })
,
({ syntaxItems[-2070992] = new SyntaxElement{
/*scopes*/ "anonymous.rust", "(null)",
/*patterns*/ false, STRING: :, REGEX: [=;,\)\|]
/*refs*/TODO
/*children*/ {
({ syntaxItems[549755767328] = new SyntaxElement{
/*scopes*/ "anonymous.rust", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[549755767328]; })
,
({ syntaxItems[549755767408] = new SyntaxElement{
/*scopes*/ "anonymous.rust", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[549755767408]; })
,
}
}; syntaxItems[-2070992]; })
,
}
}; syntaxItems[-1217408]; })
}
// --- Writing truffle Rust ---
// Writing lang Rust
void shamrock_test_Rust() {
std::map<intptr_t, Syntaxable*> syntaxItems;
({ syntaxItems[-1204928] = new SyntaxBase{
"rust.source", nullptr, {
({ syntaxItems[549755775568] = new SyntaxElement{
/*scopes*/ "anonymous.rust", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[549755775568]; })
,
({ syntaxItems[549755775648] = new SyntaxElement{
/*scopes*/ "anonymous.rust", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[549755775648]; })
,
({ syntaxItems[549755775728] = new SyntaxElement{
/*scopes*/ "anonymous.rust", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[549755775728]; })
,
({ syntaxItems[549755775808] = new SyntaxElement{
/*scopes*/ "anonymous.rust", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[549755775808]; })
,
({ syntaxItems[-43200] = new SyntaxElement{
/*scopes*/ "attribute.meta.rust", "(null)",
/*patterns*/ false, REGEX: #\!?\[, REGEX: \]
/*refs*/TODO
/*children*/ {
({ syntaxItems[549755775888] = new SyntaxElement{
/*scopes*/ "anonymous.rust", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[549755775888]; })
,
}
}; syntaxItems[-43200]; })
,
({ syntaxItems[-43120] = new SyntaxElement{
/*scopes*/ "quoted.rust.single.string", "(null)",
/*patterns*/ true, REGEX: (')([^'\\]|(\\(x\h{2}|[0-2][0-7]{0,2}|3[0-6][0-7]?|37[0-7]?|[4-7][0-7]?|.)))('), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[-43120]; })
,
({ syntaxItems[549755775968] = new SyntaxElement{
/*scopes*/ "anonymous.rust", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[549755775968]; })
,
({ syntaxItems[549755776128] = new SyntaxElement{
/*scopes*/ "anonymous.rust", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[549755776128]; })
,
({ syntaxItems[-42960] = new SyntaxElement{
/*scopes*/ "constant.float.numeric.rust", "(null)",
/*patterns*/ true, REGEX: \b[0-9][0-9_]*\.[0-9][0-9_]*([eE][+-][0-9_]+)?(f32|f64)?\b, (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[-42960]; })
,
({ syntaxItems[-42800] = new SyntaxElement{
/*scopes*/ "constant.float.numeric.rust", "(null)",
/*patterns*/ true, REGEX: \b[0-9][0-9_]*(\.[0-9][0-9_]*)?[eE][+-][0-9_]+(f32|f64)?\b, (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[-42800]; })
,
({ syntaxItems[-42640] = new SyntaxElement{
/*scopes*/ "constant.float.numeric.rust", "(null)",
/*patterns*/ true, REGEX: \b[0-9][0-9_]*(\.[0-9][0-9_]*)?([eE][+-][0-9_]+)?(f32|f64)\b, (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[-42640]; })
,
({ syntaxItems[-43040] = new SyntaxElement{
/*scopes*/ "constant.decimal.integer.numeric.rust", "(null)",
/*patterns*/ true, REGEX: \b[0-9][0-9_]*([ui](8|16|32|64)?)?\b, (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[-43040]; })
,
({ syntaxItems[-42480] = new SyntaxElement{
/*scopes*/ "constant.hexadecimal.integer.numeric.rust", "(null)",
/*patterns*/ true, REGEX: \b0x[a-fA-F0-9_]+([ui](8|16|32|64)?)?\b, (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[-42480]; })
,
({ syntaxItems[-42400] = new SyntaxElement{
/*scopes*/ "constant.integer.numeric.octal.rust", "(null)",
/*patterns*/ true, REGEX: \b0o[0-7_]+([ui](8|16|32|64)?)?\b, (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[-42400]; })
,
({ syntaxItems[-42320] = new SyntaxElement{
/*scopes*/ "binary.constant.integer.numeric.rust", "(null)",
/*patterns*/ true, REGEX: \b0b[01_]+([ui](8|16|32|64)?)?\b, (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[-42320]; })
,
({ syntaxItems[-42240] = new SyntaxElement{
/*scopes*/ "modifier.rust.static.storage", "(null)",
/*patterns*/ true, STRING: static, (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[-42240]; })
,
({ syntaxItems[-42160] = new SyntaxElement{
/*scopes*/ "modifier.rust.storage.visibility", "(null)",
/*patterns*/ true, <CHSyntaxPatternListDefinition: 0x60000185a850>, (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[-42160]; })
,
({ syntaxItems[-42080] = new SyntaxElement{
/*scopes*/ "boolean.constant.language.rust", "(null)",
/*patterns*/ true, <CHSyntaxPatternListDefinition: 0x60000185aaf0>, (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[-42080]; })
,
({ syntaxItems[-42000] = new SyntaxElement{
/*scopes*/ "control.keyword.rust", "(null)",
/*patterns*/ true, <CHSyntaxPatternListDefinition: 0x60000185acd0>, (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[-42000]; })
,
({ syntaxItems[-41920] = new SyntaxElement{
/*scopes*/ "keyword.other.rust", "(null)",
/*patterns*/ true, <CHSyntaxPatternListDefinition: 0x60000185b000>, (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[-41920]; })
,
({ syntaxItems[-41840] = new SyntaxElement{
/*scopes*/ "keyword.other.rust.unsafe", "(null)",
/*patterns*/ true, STRING: unsafe, (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[-41840]; })
,
({ syntaxItems[549755776048] = new SyntaxElement{
/*scopes*/ "anonymous.rust", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[549755776048]; })
,
({ syntaxItems[549755776208] = new SyntaxElement{
/*scopes*/ "anonymous.rust", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[549755776208]; })
,
({ syntaxItems[549755776288] = new SyntaxElement{
/*scopes*/ "anonymous.rust", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[549755776288]; })
,
({ syntaxItems[549755776368] = new SyntaxElement{
/*scopes*/ "anonymous.rust", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[549755776368]; })
,
({ syntaxItems[549755776448] = new SyntaxElement{
/*scopes*/ "anonymous.rust", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[549755776448]; })
,
({ syntaxItems[549755776528] = new SyntaxElement{
/*scopes*/ "anonymous.rust", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[549755776528]; })
,
({ syntaxItems[549755776608] = new SyntaxElement{
/*scopes*/ "anonymous.rust", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[549755776608]; })
,
({ syntaxItems[549755776688] = new SyntaxElement{
/*scopes*/ "anonymous.rust", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[549755776688]; })
,
({ syntaxItems[549755776768] = new SyntaxElement{
/*scopes*/ "anonymous.rust", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[549755776768]; })
,
({ syntaxItems[-41600] = new SyntaxElement{
/*scopes*/ "keyword.operator.rust", "(null)",
/*patterns*/ true, REGEX: (\+|-|/|\*|=|\^|&|\||!|>|<|%|::|\bas\b), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[-41600]; })
,
({ syntaxItems[-41520] = new SyntaxElement{
/*scopes*/ "function.rust.std.support", "(null)",
/*patterns*/ true, REGEX: \b(log|error|warn|info|debug|log_enabled|fail|assert|assert_eq|unreachable|unimplemented|format|write|writeln|print|println|local_data_key|try|vec|select)!, (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[-41520]; })
,
({ syntaxItems[-41440] = new SyntaxElement{
/*scopes*/ "constant.rust.std.support", "(null)",
/*patterns*/ true, <CHSyntaxPatternListDefinition: 0x60000185bdb0>, (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[-41440]; })
,
({ syntaxItems[-41360] = new SyntaxElement{
/*scopes*/ "anonymous.rust", "(null)",
/*patterns*/ true, REGEX: \b([a-zA-Z_][a-zA-Z0-9_]*\!)\s*[({\[], (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[-41360]; })
,
({ syntaxItems[-41280] = new SyntaxElement{
/*scopes*/ "anonymous.rust", "(null)",
/*patterns*/ true, REGEX: \b([a-zA-Z_][a-zA-Z0-9_]*)\s*\(, (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[-41280]; })
,
({ syntaxItems[-41200] = new SyntaxElement{
/*scopes*/ "anonymous.rust", "(null)",
/*patterns*/ false, REGEX: \b(fn)\s+([a-zA-Z_][a-zA-Z0-9_]*), REGEX: [\{;]
/*refs*/TODO
/*children*/ {
({ syntaxItems[549755776848] = new SyntaxElement{
/*scopes*/ "anonymous.rust", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[549755776848]; })
,
({ syntaxItems[549755776928] = new SyntaxElement{
/*scopes*/ "anonymous.rust", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[549755776928]; })
,
}
}; syntaxItems[-41200]; })
,
({ syntaxItems[-41120] = new SyntaxElement{
/*scopes*/ "anonymous.rust", "(null)",
/*patterns*/ false, REGEX: \b(enum|struct|trait|type)\s+([a-zA-Z_][a-zA-Z0-9_]*), REGEX: [\{;]
/*refs*/TODO
/*children*/ {
({ syntaxItems[549755777008] = new SyntaxElement{
/*scopes*/ "anonymous.rust", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[549755777008]; })
,
({ syntaxItems[549755777088] = new SyntaxElement{
/*scopes*/ "anonymous.rust", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[549755777088]; })
,
}
}; syntaxItems[-41120]; })
,
({ syntaxItems[-40960] = new SyntaxElement{
/*scopes*/ "anonymous.rust", "(null)",
/*patterns*/ false, REGEX: \b(impl)\b, REGEX: \{
/*refs*/TODO
/*children*/ {
({ syntaxItems[549755777168] = new SyntaxElement{
/*scopes*/ "anonymous.rust", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[549755777168]; })
,
({ syntaxItems[549755777248] = new SyntaxElement{
/*scopes*/ "anonymous.rust", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[549755777248]; })
,
}
}; syntaxItems[-40960]; })
,
({ syntaxItems[-40880] = new SyntaxElement{
/*scopes*/ "anonymous.rust", "(null)",
/*patterns*/ false, STRING: :, REGEX: [=;,\)\|]
/*refs*/TODO
/*children*/ {
({ syntaxItems[549755777328] = new SyntaxElement{
/*scopes*/ "anonymous.rust", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[549755777328]; })
,
({ syntaxItems[549755777408] = new SyntaxElement{
/*scopes*/ "anonymous.rust", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[549755777408]; })
,
}
}; syntaxItems[-40880]; })
,
}
}; syntaxItems[-1204928]; })
}
// --- Writing truffle SCSS ---
// Writing lang SCSS
void shamrock_test_SCSS() {
std::map<intptr_t, Syntaxable*> syntaxItems;
({ syntaxItems[-1203200] = new SyntaxBase{
"scss.source", nullptr, {
({ syntaxItems[549755777488] = new SyntaxElement{
/*scopes*/ "anonymous.scss", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[549755777488]; })
,
({ syntaxItems[549755777568] = new SyntaxElement{
/*scopes*/ "anonymous.scss", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[549755777568]; })
,
({ syntaxItems[549755777648] = new SyntaxElement{
/*scopes*/ "anonymous.scss", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[549755777648]; })
,
({ syntaxItems[549755777728] = new SyntaxElement{
/*scopes*/ "anonymous.scss", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[549755777728]; })
,
({ syntaxItems[549755777808] = new SyntaxElement{
/*scopes*/ "anonymous.scss", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[549755777808]; })
,
({ syntaxItems[549755777888] = new SyntaxElement{
/*scopes*/ "anonymous.scss", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[549755777888]; })
,
({ syntaxItems[549755777968] = new SyntaxElement{
/*scopes*/ "anonymous.scss", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[549755777968]; })
,
({ syntaxItems[549755778128] = new SyntaxElement{
/*scopes*/ "anonymous.scss", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[549755778128]; })
,
({ syntaxItems[549755778208] = new SyntaxElement{
/*scopes*/ "anonymous.scss", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[549755778208]; })
,
({ syntaxItems[549755778288] = new SyntaxElement{
/*scopes*/ "anonymous.scss", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[549755778288]; })
,
({ syntaxItems[549755778368] = new SyntaxElement{
/*scopes*/ "anonymous.scss", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[549755778368]; })
,
({ syntaxItems[549755778048] = new SyntaxElement{
/*scopes*/ "anonymous.scss", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[549755778048]; })
,
({ syntaxItems[549755778448] = new SyntaxElement{
/*scopes*/ "anonymous.scss", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[549755778448]; })
,
({ syntaxItems[549755778528] = new SyntaxElement{
/*scopes*/ "anonymous.scss", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[549755778528]; })
,
({ syntaxItems[549755778608] = new SyntaxElement{
/*scopes*/ "anonymous.scss", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[549755778608]; })
,
({ syntaxItems[549755778688] = new SyntaxElement{
/*scopes*/ "anonymous.scss", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[549755778688]; })
,
}
}; syntaxItems[-1203200]; })
}
// --- Writing truffle Shell Script ---
// Writing lang Shell Script (Bash)
void shamrock_test_Shell_Script_Bash() {
std::map<intptr_t, Syntaxable*> syntaxItems;
({ syntaxItems[-1216832] = new SyntaxBase{
"shell.source", nullptr, {
({ syntaxItems[549755767488] = new SyntaxElement{
/*scopes*/ "anonymous.shell-script-bash", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[549755767488]; })
,
({ syntaxItems[549755767568] = new SyntaxElement{
/*scopes*/ "anonymous.shell-script-bash", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[549755767568]; })
,
({ syntaxItems[549755767648] = new SyntaxElement{
/*scopes*/ "anonymous.shell-script-bash", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[549755767648]; })
,
({ syntaxItems[549755767728] = new SyntaxElement{
/*scopes*/ "anonymous.shell-script-bash", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[549755767728]; })
,
({ syntaxItems[549755767808] = new SyntaxElement{
/*scopes*/ "anonymous.shell-script-bash", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[549755767808]; })
,
({ syntaxItems[549755767888] = new SyntaxElement{
/*scopes*/ "anonymous.shell-script-bash", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[549755767888]; })
,
({ syntaxItems[549755767968] = new SyntaxElement{
/*scopes*/ "anonymous.shell-script-bash", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[549755767968]; })
,
({ syntaxItems[549755768128] = new SyntaxElement{
/*scopes*/ "anonymous.shell-script-bash", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[549755768128]; })
,
({ syntaxItems[549755768208] = new SyntaxElement{
/*scopes*/ "anonymous.shell-script-bash", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[549755768208]; })
,
({ syntaxItems[549755768288] = new SyntaxElement{
/*scopes*/ "anonymous.shell-script-bash", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[549755768288]; })
,
({ syntaxItems[549755768368] = new SyntaxElement{
/*scopes*/ "anonymous.shell-script-bash", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[549755768368]; })
,
({ syntaxItems[549755768048] = new SyntaxElement{
/*scopes*/ "anonymous.shell-script-bash", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[549755768048]; })
,
({ syntaxItems[549755768448] = new SyntaxElement{
/*scopes*/ "anonymous.shell-script-bash", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[549755768448]; })
,
({ syntaxItems[549755768528] = new SyntaxElement{
/*scopes*/ "anonymous.shell-script-bash", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[549755768528]; })
,
({ syntaxItems[549755768608] = new SyntaxElement{
/*scopes*/ "anonymous.shell-script-bash", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[549755768608]; })
,
}
}; syntaxItems[-1216832]; })
}
// --- Writing truffle SQL ---
// Writing lang SQL
void shamrock_test_SQL() {
std::map<intptr_t, Syntaxable*> syntaxItems;
({ syntaxItems[-1216256] = new SyntaxBase{
"source.sql", nullptr, {
({ syntaxItems[549755768688] = new SyntaxElement{
/*scopes*/ "anonymous.sql", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[549755768688]; })
,
({ syntaxItems[-2057472] = new SyntaxElement{
/*scopes*/ "create.meta.sql", "(null)",
/*patterns*/ true, REGEX: (?i:^\s*(create)\s+(aggregate|conversion|database|domain|function|group|(unique\s+)?index|language|operator class|operator|rule|schema|sequence|table|tablespace|trigger|type|user|view)\s+)(['"`]?)(\w+)\4, (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[-2057472]; })
,
({ syntaxItems[-2057392] = new SyntaxElement{
/*scopes*/ "drop.meta.sql", "(null)",
/*patterns*/ true, REGEX: (?i:^\s*(drop)\s+(aggregate|conversion|database|domain|function|group|index|language|operator class|operator|rule|schema|sequence|table|tablespace|trigger|type|user|view)), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[-2057392]; })
,
({ syntaxItems[-2057312] = new SyntaxElement{
/*scopes*/ "drop.meta.sql", "(null)",
/*patterns*/ true, REGEX: (?i:\s*(drop)\s+(table)\s+(\w+)(\s+cascade)?\b), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[-2057312]; })
,
({ syntaxItems[-2057152] = new SyntaxElement{
/*scopes*/ "alter.meta.sql", "(null)",
/*patterns*/ true, REGEX: (?i:^\s*(alter)\s+(aggregate|conversion|database|domain|function|group|index|language|operator class|operator|rule|schema|sequence|table|tablespace|trigger|type|user|view)\s+), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[-2057152]; })
,
({ syntaxItems[-2057072] = new SyntaxElement{
/*scopes*/ "anonymous.sql", "(null)",
/*patterns*/ true, REGEX: (?xi)
# normal stuff, capture 1
\b(bigint|bigserial|bit|boolean|box|bytea|cidr|circle|date|double\sprecision|inet|int|integer|line|lseg|macaddr|money|oid|path|point|polygon|real|serial|smallint|sysdate|text)\b
# numeric suffix, capture 2 + 3i
|\b(bit\svarying|character\s(?:varying)?|tinyint|var\schar|float|interval)\((\d+)\)
# optional numeric suffix, capture 4 + 5i
|\b(char|number|varchar\d?)\b(?:\((\d+)\))?
# special case, capture 6 + 7i + 8i
|\b(numeric)\b(?:\((\d+),(\d+)\))?
# special case, captures 9, 10i, 11
|\b(times)(?:\((\d+)\))(\swithoutstimeszone\b)?
# special case, captures 12, 13, 14i, 15
|\b(timestamp)(?:(s)\((\d+)\)(\swithoutstimeszone\b)?)?
, (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[-2057072]; })
,
({ syntaxItems[-2056992] = new SyntaxElement{
/*scopes*/ "modifier.sql.storage", "(null)",
/*patterns*/ true, REGEX: (?i:\b((?:primary|foreign)\s+key|references|on\sdelete(\s+cascade)?|check|constraint)\b), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[-2056992]; })
,
({ syntaxItems[-2056832] = new SyntaxElement{
/*scopes*/ "constant.numeric.sql", "(null)",
/*patterns*/ true, REGEX: \b\d+\b, (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[-2056832]; })
,
({ syntaxItems[-2056752] = new SyntaxElement{
/*scopes*/ "dml.keyword.other.sql", "(null)",
/*patterns*/ true, REGEX: (?i:\b(select(\s+distinct)?|insert\s+(ignore\s+)?into|update|delete|from|set|where|group\sby|or|like|and|union(\s+all)?|having|order\sby|limit|(inner|cross)\s+join|join|straight_join|(left|right)(\s+outer)?\s+join|natural(\s+(left|right)(\s+outer)?)?\s+join)\b), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[-2056752]; })
,
({ syntaxItems[-2056672] = new SyntaxElement{
/*scopes*/ "create.ddl.ii.keyword.other.sql", "(null)",
/*patterns*/ true, REGEX: (?i:\b(on|((is\s+)?not\s+)?null)\b), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[-2056672]; })
,
({ syntaxItems[-2056512] = new SyntaxElement{
/*scopes*/ "dml.ii.keyword.other.sql", "(null)",
/*patterns*/ true, REGEX: (?i:\bvalues\b), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[-2056512]; })
,
({ syntaxItems[-2056912] = new SyntaxElement{
/*scopes*/ "keyword.luw.other.sql", "(null)",
/*patterns*/ true, REGEX: (?i:\b(begin(\s+work)?|start\s+transaction|commit(\s+work)?|rollback(\s+work)?)\b), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[-2056912]; })
,
({ syntaxItems[-2056432] = new SyntaxElement{
/*scopes*/ "authorization.keyword.other.sql", "(null)",
/*patterns*/ true, REGEX: (?i:\b(grant(\swith\sgrant\soption)?|revoke)\b), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[-2056432]; })
,
({ syntaxItems[-2056272] = new SyntaxElement{
/*scopes*/ "data-integrity.keyword.other.sql", "(null)",
/*patterns*/ true, REGEX: (?i:\bin\b), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[-2056272]; })
,
({ syntaxItems[-2056192] = new SyntaxElement{
/*scopes*/ "keyword.object-comments.other.sql", "(null)",
/*patterns*/ true, REGEX: (?i:^\s*(comment\s+on\s+(table|column|aggregate|constraint|database|domain|function|index|operator|rule|schema|sequence|trigger|type|view))\s+.*?\s+(is)\s+), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[-2056192]; })
,
({ syntaxItems[-2056112] = new SyntaxElement{
/*scopes*/ "alias.keyword.other.sql", "(null)",
/*patterns*/ true, STRING: AS, (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[-2056112]; })
,
({ syntaxItems[-2056032] = new SyntaxElement{
/*scopes*/ "keyword.order.other.sql", "(null)",
/*patterns*/ true, <CHSyntaxPatternListDefinition: 0x600000e55d20>, (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[-2056032]; })
,
({ syntaxItems[-2055952] = new SyntaxElement{
/*scopes*/ "keyword.operator.sql.star", "(null)",
/*patterns*/ true, REGEX: \*, (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[-2055952]; })
,
({ syntaxItems[-2055872] = new SyntaxElement{
/*scopes*/ "comparison.keyword.operator.sql", "(null)",
/*patterns*/ true, REGEX: [!<>]?=|<>|<|>, (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[-2055872]; })
,
({ syntaxItems[-2055792] = new SyntaxElement{
/*scopes*/ "keyword.math.operator.sql", "(null)",
/*patterns*/ true, REGEX: -|\+|/, (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[-2055792]; })
,
({ syntaxItems[-2055712] = new SyntaxElement{
/*scopes*/ "concatenator.keyword.operator.sql", "(null)",
/*patterns*/ true, REGEX: \|\|, (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[-2055712]; })
,
({ syntaxItems[-2055632] = new SyntaxElement{
/*scopes*/ "function.scalar.sql.support", "(null)",
/*patterns*/ true, REGEX: (?i)\b(CURRENT_(DATE|TIME(STAMP)?|USER)|(SESSION|SYSTEM)_USER)\b, (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[-2055632]; })
,
({ syntaxItems[-2055552] = new SyntaxElement{
/*scopes*/ "aggregate.function.sql.support", "(null)",
/*patterns*/ true, REGEX: (?i)\b(AVG|COUNT|MIN|MAX|SUM)(?=\s*\(), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[-2055552]; })
,
({ syntaxItems[-2055472] = new SyntaxElement{
/*scopes*/ "function.sql.string.support", "(null)",
/*patterns*/ true, <CHSyntaxPatternListDefinition: 0x600000e56b90>, (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[-2055472]; })
,
({ syntaxItems[-2055392] = new SyntaxElement{
/*scopes*/ "anonymous.sql", "(null)",
/*patterns*/ true, REGEX: (\w+?)\.(\w+), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[-2055392]; })
,
({ syntaxItems[549755768768] = new SyntaxElement{
/*scopes*/ "anonymous.sql", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[549755768768]; })
,
({ syntaxItems[549755768848] = new SyntaxElement{
/*scopes*/ "anonymous.sql", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[549755768848]; })
,
}
}; syntaxItems[-1216256]; })
}
// --- Writing truffle Swift ---
// Writing lang Swift
void shamrock_test_Swift() {
std::map<intptr_t, Syntaxable*> syntaxItems;
({ syntaxItems[-1215680] = new SyntaxBase{
"source.swift", nullptr, {
({ syntaxItems[549755768928] = new SyntaxElement{
/*scopes*/ "anonymous.swift", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[549755768928]; })
,
({ syntaxItems[549755769008] = new SyntaxElement{
/*scopes*/ "anonymous.swift", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[549755769008]; })
,
({ syntaxItems[549755769088] = new SyntaxElement{
/*scopes*/ "anonymous.swift", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[549755769088]; })
,
({ syntaxItems[549755769168] = new SyntaxElement{
/*scopes*/ "anonymous.swift", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[549755769168]; })
,
({ syntaxItems[549755769248] = new SyntaxElement{
/*scopes*/ "anonymous.swift", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[549755769248]; })
,
({ syntaxItems[549755769328] = new SyntaxElement{
/*scopes*/ "anonymous.swift", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[549755769328]; })
,
({ syntaxItems[549755769408] = new SyntaxElement{
/*scopes*/ "anonymous.swift", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[549755769408]; })
,
({ syntaxItems[549755769568] = new SyntaxElement{
/*scopes*/ "anonymous.swift", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[549755769568]; })
,
({ syntaxItems[549755769648] = new SyntaxElement{
/*scopes*/ "anonymous.swift", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[549755769648]; })
,
({ syntaxItems[549755769728] = new SyntaxElement{
/*scopes*/ "anonymous.swift", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[549755769728]; })
,
({ syntaxItems[549755769808] = new SyntaxElement{
/*scopes*/ "anonymous.swift", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[549755769808]; })
,
({ syntaxItems[549755769488] = new SyntaxElement{
/*scopes*/ "anonymous.swift", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[549755769488]; })
,
({ syntaxItems[549755769888] = new SyntaxElement{
/*scopes*/ "anonymous.swift", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[549755769888]; })
,
({ syntaxItems[549755769968] = new SyntaxElement{
/*scopes*/ "anonymous.swift", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[549755769968]; })
,
({ syntaxItems[549755770048] = new SyntaxElement{
/*scopes*/ "anonymous.swift", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[549755770048]; })
,
}
}; syntaxItems[-1215680]; })
}
// --- Writing truffle Text ---
// Writing lang Plain Text
void shamrock_test_Plain_Text() {
std::map<intptr_t, Syntaxable*> syntaxItems;
({ syntaxItems[-1215104] = new SyntaxBase{
"plain.text", nullptr, {
}
}; syntaxItems[-1215104]; })
}
// --- Writing truffle XML ---
// Writing lang XML
void shamrock_test_XML() {
std::map<intptr_t, Syntaxable*> syntaxItems;
({ syntaxItems[-1214528] = new SyntaxBase{
"text.xml", nullptr, {
({ syntaxItems[-2042112] = new SyntaxElement{
/*scopes*/ "meta.preprocessor.tag.xml", "(null)",
/*patterns*/ false, REGEX: (<\?)\s*([-_a-zA-Z0-9]+), REGEX: (\?>)
/*refs*/TODO
/*children*/ {
({ syntaxItems[-2042032] = new SyntaxElement{
/*scopes*/ "attribute-name.entity.other.xml", "(null)",
/*patterns*/ true, REGEX: ([a-zA-Z-]+), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[-2042032]; })
,
({ syntaxItems[549755770128] = new SyntaxElement{
/*scopes*/ "anonymous.xml", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[549755770128]; })
,
({ syntaxItems[549755770208] = new SyntaxElement{
/*scopes*/ "anonymous.xml", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[549755770208]; })
,
}
}; syntaxItems[-2042112]; })
,
({ syntaxItems[-2041952] = new SyntaxElement{
/*scopes*/ "doctype.meta.sgml.tag.xml", "(null)",
/*patterns*/ false, REGEX: (<!)(DOCTYPE)\s+([:a-zA-Z_][:a-zA-Z0-9_.-]*), REGEX: \s*(>)
/*refs*/TODO
/*children*/ {
({ syntaxItems[549755770288] = new SyntaxElement{
/*scopes*/ "anonymous.xml", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[549755770288]; })
,
}
}; syntaxItems[-2041952]; })
,
({ syntaxItems[-2041872] = new SyntaxElement{
/*scopes*/ "block.comment.xml", "(null)",
/*patterns*/ false, REGEX: <[!%]--, REGEX: --%?>
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[-2041872]; })
,
({ syntaxItems[-2041792] = new SyntaxElement{
/*scopes*/ "meta.no-content.tag.xml", "(null)",
/*patterns*/ false, REGEX: (<)((?:([-_a-zA-Z0-9]+)((:)))?([-_a-zA-Z0-9:]+))(?=(\s[^>]*)?></\2>), REGEX: (>(<))/(?:([-_a-zA-Z0-9]+)((:)))?([-_a-zA-Z0-9:]+)(>)
/*refs*/TODO
/*children*/ {
({ syntaxItems[549755770368] = new SyntaxElement{
/*scopes*/ "anonymous.xml", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[549755770368]; })
,
}
}; syntaxItems[-2041792]; })
,
({ syntaxItems[-2041472] = new SyntaxElement{
/*scopes*/ "meta.tag.xml", "(null)",
/*patterns*/ false, REGEX: (</?)(?:([-_a-zA-Z0-9]+)((:)))?([-_a-zA-Z0-9:]+), REGEX: (/?>)
/*refs*/TODO
/*children*/ {
({ syntaxItems[549755770448] = new SyntaxElement{
/*scopes*/ "anonymous.xml", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[549755770448]; })
,
}
}; syntaxItems[-2041472]; })
,
({ syntaxItems[549755770528] = new SyntaxElement{
/*scopes*/ "anonymous.xml", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[549755770528]; })
,
({ syntaxItems[549755770608] = new SyntaxElement{
/*scopes*/ "anonymous.xml", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[549755770608]; })
,
({ syntaxItems[-2041232] = new SyntaxElement{
/*scopes*/ "embedded.java-props.source.xml", "(null)",
/*patterns*/ false, REGEX: <%@, REGEX: %>
/*refs*/TODO
/*children*/ {
({ syntaxItems[-2041152] = new SyntaxElement{
/*scopes*/ "keyword.other.page-props.xml", "(null)",
/*patterns*/ true, REGEX: page|include|taglib, (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[-2041152]; })
,
}
}; syntaxItems[-2041232]; })
,
({ syntaxItems[-2041072] = new SyntaxElement{
/*scopes*/ "embedded.java.source.xml", "(null)",
/*patterns*/ false, REGEX: <%[!=]?(?!--), REGEX: (?!--)%>
/*refs*/TODO
/*children*/ {
({ syntaxItems[549755770768] = new SyntaxElement{
/*scopes*/ "anonymous.xml", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[549755770768]; })
,
}
}; syntaxItems[-2041072]; })
,
({ syntaxItems[-2040992] = new SyntaxElement{
/*scopes*/ "cdata.string.unquoted.xml", "(null)",
/*patterns*/ false, REGEX: <!\[CDATA\[, REGEX: ]]>
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[-2040992]; })
,
}
}; syntaxItems[-1214528]; })
}
// Writing lang XSL
void shamrock_test_XSL() {
std::map<intptr_t, Syntaxable*> syntaxItems;
({ syntaxItems[-1214144] = new SyntaxBase{
"text.xml.xsl", nullptr, {
({ syntaxItems[-2039872] = new SyntaxElement{
/*scopes*/ "meta.tag.template.xml.xsl", "(null)",
/*patterns*/ false, REGEX: (<)(xsl)((:))(template), REGEX: (>)
/*refs*/TODO
/*children*/ {
({ syntaxItems[-2039792] = new SyntaxElement{
/*scopes*/ "anonymous.xsl", "(null)",
/*patterns*/ true, REGEX: (?:([-_a-zA-Z0-9]+)((:)))?([a-zA-Z-]+), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[-2039792]; })
,
({ syntaxItems[549755770848] = new SyntaxElement{
/*scopes*/ "anonymous.xsl", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[549755770848]; })
,
({ syntaxItems[549755770928] = new SyntaxElement{
/*scopes*/ "anonymous.xsl", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[549755770928]; })
,
}
}; syntaxItems[-2039872]; })
,
({ syntaxItems[549755771008] = new SyntaxElement{
/*scopes*/ "anonymous.xsl", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[549755771008]; })
,
}
}; syntaxItems[-1214144]; })
}
// --- Writing truffle YAML ---
// Writing lang YAML
void shamrock_test_YAML() {
std::map<intptr_t, Syntaxable*> syntaxItems;
({ syntaxItems[-1213568] = new SyntaxBase{
"source.yaml", nullptr, {
({ syntaxItems[549755771088] = new SyntaxElement{
/*scopes*/ "anonymous.yaml", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[549755771088]; })
,
({ syntaxItems[-2039072] = new SyntaxElement{
/*scopes*/ "block.string.unquoted.yaml", "(null)",
/*patterns*/ false, REGEX: ^(\s*)(?:(-)|(?:(-\s*)?(\w+\s*(:))))\s*(\||>), REGEX: ^(?!^\1)|^(?=\1(-|\w+\s*:)|#)
/*refs*/TODO
/*children*/ {
({ syntaxItems[549755771168] = new SyntaxElement{
/*scopes*/ "anonymous.yaml", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[549755771168]; })
,
}
}; syntaxItems[-2039072]; })
,
({ syntaxItems[-2038992] = new SyntaxElement{
/*scopes*/ "constant.numeric.yaml", "(null)",
/*patterns*/ true, REGEX: (?:(?:(-\s*)?(\w+\s*(:)))|(-))\s*((0(x|X)[0-9a-fA-F]*)|(([0-9]+\.?[0-9]*)|(\.[0-9]+))((e|E)(\+|-)?[0-9]+)?)(L|l|UL|ul|u|U|F|f)?\s*$, (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[-2038992]; })
,
({ syntaxItems[-2038912] = new SyntaxElement{
/*scopes*/ "string.unquoted.yaml", "(null)",
/*patterns*/ true, REGEX: (?:(?:(-\s*)?(\w+\s*(:)))|(-))\s*(?:((")[^"]*("))|((')[^']*('))|([^,{}&#\[\]]+))\s*, (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[-2038912]; })
,
({ syntaxItems[-2038832] = new SyntaxElement{
/*scopes*/ "constant.date.other.yaml", "(null)",
/*patterns*/ true, REGEX: (?:(?:(-\s*)?(\w+\s*(:)))|(-))\s*([0-9]{4}-[0-9]{2}-[0-9]{2})\s*$, (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[-2038832]; })
,
({ syntaxItems[-2038752] = new SyntaxElement{
/*scopes*/ "meta.tag.yaml", "(null)",
/*patterns*/ true, REGEX: (\w.*?)(:)\s*((\!\!)omap)?, (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[-2038752]; })
,
({ syntaxItems[-2038672] = new SyntaxElement{
/*scopes*/ "other.variable.yaml", "(null)",
/*patterns*/ true, REGEX: (\&|\*)\w.*?$, (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[-2038672]; })
,
({ syntaxItems[-2038512] = new SyntaxElement{
/*scopes*/ "double.quoted.string.yaml", "(null)",
/*patterns*/ false, REGEX: ", REGEX: "
/*refs*/TODO
/*children*/ {
({ syntaxItems[549755771328] = new SyntaxElement{
/*scopes*/ "anonymous.yaml", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[549755771328]; })
,
({ syntaxItems[549755771408] = new SyntaxElement{
/*scopes*/ "anonymous.yaml", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[549755771408]; })
,
}
}; syntaxItems[-2038512]; })
,
({ syntaxItems[-2038432] = new SyntaxElement{
/*scopes*/ "quoted.single.string.yaml", "(null)",
/*patterns*/ false, REGEX: ', REGEX: '
/*refs*/TODO
/*children*/ {
({ syntaxItems[549755771488] = new SyntaxElement{
/*scopes*/ "anonymous.yaml", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[549755771488]; })
,
({ syntaxItems[549755771568] = new SyntaxElement{
/*scopes*/ "anonymous.yaml", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[549755771568]; })
,
}
}; syntaxItems[-2038432]; })
,
({ syntaxItems[-2038352] = new SyntaxElement{
/*scopes*/ "interpolated.string.yaml", "(null)",
/*patterns*/ false, REGEX: `, REGEX: `
/*refs*/TODO
/*children*/ {
({ syntaxItems[549755771648] = new SyntaxElement{
/*scopes*/ "anonymous.yaml", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[549755771648]; })
,
({ syntaxItems[549755771728] = new SyntaxElement{
/*scopes*/ "anonymous.yaml", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[549755771728]; })
,
}
}; syntaxItems[-2038352]; })
,
({ syntaxItems[-2038272] = new SyntaxElement{
/*scopes*/ "keyword.merge-key.operator.yaml", "(null)",
/*patterns*/ true, REGEX: (\<\<): ((\*).*)$, (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[-2038272]; })
,
({ syntaxItems[-2038592] = new SyntaxElement{
/*scopes*/ "deprecated.invalid.trailing-whitespace.yaml", "(null)",
/*patterns*/ true, REGEX: ( | )+$, (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[-2038592]; })
,
({ syntaxItems[-2038192] = new SyntaxElement{
/*scopes*/ "comment.line.number-sign.yaml", "(null)",
/*patterns*/ true, REGEX: (?<!\$)(#)(?!\{).*$\n?, (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[-2038192]; })
,
({ syntaxItems[-2038032] = new SyntaxElement{
/*scopes*/ "keyword.operator.symbol.yaml", "(null)",
/*patterns*/ true, STRING: -, (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[-2038032]; })
,
({ syntaxItems[-2037952] = new SyntaxElement{
/*scopes*/ "leading-tabs.meta.yaml", "(null)",
/*patterns*/ false, REGEX: ^(?=\t), REGEX: (?=[^\t])
/*refs*/TODO
/*children*/ {
({ syntaxItems[-2037872] = new SyntaxElement{
/*scopes*/ "anonymous.yaml", "(null)",
/*patterns*/ true, REGEX: (\t)(\t)?, (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[-2037872]; })
,
}
}; syntaxItems[-2037952]; })
,
}
}; syntaxItems[-1213568]; })
}
connections property is deprecated. Use getConnections() method
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment