Skip to content

Instantly share code, notes, and snippets.

@atg
Created February 15, 2016 22:12
Show Gist options
  • Save atg/4a4ed2ce49891cf75842 to your computer and use it in GitHub Desktop.
Save atg/4a4ed2ce49891cf75842 to your computer and use it in GitHub Desktop.
connections property is deprecated. Use getConnections() method
2016-02-15 22:11:53.524 Chocolat[40551:24686714]
// --- Writing truffle AppleScript ---
// Writing lang AppleScript
void shamrock_test_AppleScript() {
std::map<intptr_t, Syntaxable*> syntaxItems;
({ syntaxItems[106102873527552] = new SyntaxBase{
"applescript.source", nullptr, {
({ syntaxItems[105553118953776] = new SyntaxElement{
/*scopes*/ "anonymous.applescript", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[105553118953776]; })
,
({ syntaxItems[105553118953856] = new SyntaxElement{
/*scopes*/ "anonymous.applescript", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[105553118953856]; })
,
}
}; syntaxItems[106102873527552]; })
}
// --- Writing truffle Bison ---
// Writing lang Bison
void shamrock_test_Bison() {
std::map<intptr_t, Syntaxable*> syntaxItems;
({ syntaxItems[106652629356224] = new SyntaxBase{
"bison.source", nullptr, {
({ syntaxItems[106652628510160] = new SyntaxElement{
/*scopes*/ "bison.meta.prologue", "(null)",
/*patterns*/ false, REGEX: ^%\{, REGEX: %\}
/*refs*/TODO
/*children*/ {
({ syntaxItems[105553118993376] = new SyntaxElement{
/*scopes*/ "anonymous.bison", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[105553118993376]; })
,
}
}; syntaxItems[106652628510160]; })
,
({ syntaxItems[106652628510240] = new SyntaxElement{
/*scopes*/ "bison.declarations.meta", "(null)",
/*patterns*/ false, REGEX: ^(?!%%$), REGEX: ^(?=%%$)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[106652628510240]; })
,
({ syntaxItems[106652628510320] = new SyntaxElement{
/*scopes*/ "anonymous.bison", "(null)",
/*patterns*/ false, STRING: %%, REGEX: $.^
/*refs*/TODO
/*children*/ {
({ syntaxItems[106652628510400] = new SyntaxElement{
/*scopes*/ "anonymous.bison", "bison.meta.rules",
/*patterns*/ false, REGEX: ^(?!%%$), REGEX: ^(?=%%$)
/*refs*/TODO
/*children*/ {
({ syntaxItems[105553118993936] = new SyntaxElement{
/*scopes*/ "anonymous.bison", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[105553118993936]; })
,
}
}; syntaxItems[106652628510400]; })
,
({ syntaxItems[106652628510480] = new SyntaxElement{
/*scopes*/ "anonymous.bison", "bison.epilogue.meta",
/*patterns*/ false, STRING: %%, REGEX: $.^
/*refs*/TODO
/*children*/ {
({ syntaxItems[106652628510560] = new SyntaxElement{
/*scopes*/ "bison.c.source", "(null)",
/*patterns*/ false, REGEX: ^, REGEX: $.^
/*refs*/TODO
/*children*/ {
({ syntaxItems[105553118994096] = new SyntaxElement{
/*scopes*/ "anonymous.bison", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[105553118994096]; })
,
}
}; syntaxItems[106652628510560]; })
,
}
}; syntaxItems[106652628510480]; })
,
}
}; syntaxItems[106652628510320]; })
,
}
}; syntaxItems[106652629356224]; })
}
// --- Writing truffle C ---
// Writing lang C
void shamrock_test_C() {
std::map<intptr_t, Syntaxable*> syntaxItems;
({ syntaxItems[107202385165696] = new SyntaxBase{
"c.source", nullptr, {
({ syntaxItems[105553118953936] = new SyntaxElement{
/*scopes*/ "anonymous.c", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[105553118953936]; })
,
({ syntaxItems[105553118954016] = new SyntaxElement{
/*scopes*/ "anonymous.c", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[105553118954016]; })
,
({ syntaxItems[105553118954096] = new SyntaxElement{
/*scopes*/ "anonymous.c", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[105553118954096]; })
,
({ syntaxItems[105553118954176] = new SyntaxElement{
/*scopes*/ "anonymous.c", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[105553118954176]; })
,
({ syntaxItems[107202384318128] = new SyntaxElement{
/*scopes*/ "c.control.keyword", "(null)",
/*patterns*/ true, <CHSyntaxPatternListDefinition: 0x618000458c90>, (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[107202384318128]; })
,
({ syntaxItems[107202384318288] = new SyntaxElement{
/*scopes*/ "c.storage.type", "(null)",
/*patterns*/ true, <CHSyntaxPatternListDefinition: 0x618000459020>, (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[107202384318288]; })
,
({ syntaxItems[107202384318448] = new SyntaxElement{
/*scopes*/ "c.modifier.storage", "(null)",
/*patterns*/ true, <CHSyntaxPatternListDefinition: 0x6180004593b0>, (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[107202384318448]; })
,
({ syntaxItems[107202384318768] = new SyntaxElement{
/*scopes*/ "c.constant.mac-classic.other.variable", "(null)",
/*patterns*/ true, REGEX: \bk[A-Z]\w*\b, (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[107202384318768]; })
,
({ syntaxItems[107202384318848] = new SyntaxElement{
/*scopes*/ "c.global.mac-classic.other.readwrite.variable", "(null)",
/*patterns*/ true, REGEX: \bg[A-Z]\w*\b, (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[107202384318848]; })
,
({ syntaxItems[107202384318928] = new SyntaxElement{
/*scopes*/ "c.mac-classic.other.readwrite.static.variable", "(null)",
/*patterns*/ true, REGEX: \bs[A-Z]\w*\b, (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[107202384318928]; })
,
({ syntaxItems[107202384319088] = new SyntaxElement{
/*scopes*/ "c.constant.language", "(null)",
/*patterns*/ true, <CHSyntaxPatternListDefinition: 0x618000459b90>, (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[107202384319088]; })
,
({ syntaxItems[105553118954256] = new SyntaxElement{
/*scopes*/ "anonymous.c", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[105553118954256]; })
,
({ syntaxItems[107202384318528] = 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[107202384318528]; })
,
({ syntaxItems[107202384319328] = new SyntaxElement{
/*scopes*/ "c.double.quoted.string", "(null)",
/*patterns*/ false, REGEX: ", REGEX: "
/*refs*/TODO
/*children*/ {
({ syntaxItems[105553118954336] = new SyntaxElement{
/*scopes*/ "anonymous.c", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[105553118954336]; })
,
({ syntaxItems[105553118954416] = new SyntaxElement{
/*scopes*/ "anonymous.c", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[105553118954416]; })
,
}
}; syntaxItems[107202384319328]; })
,
({ syntaxItems[107202384319488] = new SyntaxElement{
/*scopes*/ "c.quoted.single.string", "(null)",
/*patterns*/ false, REGEX: ', REGEX: '
/*refs*/TODO
/*children*/ {
({ syntaxItems[105553118954496] = new SyntaxElement{
/*scopes*/ "anonymous.c", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[105553118954496]; })
,
}
}; syntaxItems[107202384319488]; })
,
({ syntaxItems[107202384319568] = 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[107202384319648] = new SyntaxElement{
/*scopes*/ "c.continuation.punctuation.separator", "(null)",
/*patterns*/ true, REGEX: (?>\\\s*\n), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[107202384319648]; })
,
({ syntaxItems[105553118954576] = new SyntaxElement{
/*scopes*/ "anonymous.c", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[105553118954576]; })
,
}
}; syntaxItems[107202384319568]; })
,
({ syntaxItems[107202384319728] = new SyntaxElement{
/*scopes*/ "c.diagnostic.meta.preprocessor", "(null)",
/*patterns*/ false, REGEX: ^\s*#\s*(error|warning)\b, REGEX: $
/*refs*/TODO
/*children*/ {
({ syntaxItems[107202384319808] = new SyntaxElement{
/*scopes*/ "c.continuation.punctuation.separator", "(null)",
/*patterns*/ true, REGEX: (?>\\\s*\n), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[107202384319808]; })
,
}
}; syntaxItems[107202384319728]; })
,
({ syntaxItems[107202384319888] = new SyntaxElement{
/*scopes*/ "c.include.meta.preprocessor", "(null)",
/*patterns*/ false, REGEX: ^\s*#\s*(include|import)\b\s+, REGEX: (?=(?://|/\*))|$
/*refs*/TODO
/*children*/ {
({ syntaxItems[107202384319968] = new SyntaxElement{
/*scopes*/ "c.continuation.punctuation.separator", "(null)",
/*patterns*/ true, REGEX: (?>\\\s*\n), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[107202384319968]; })
,
({ syntaxItems[107202384320048] = new SyntaxElement{
/*scopes*/ "c.double.include.quoted.string", "(null)",
/*patterns*/ false, REGEX: ", REGEX: "
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[107202384320048]; })
,
({ syntaxItems[107202384320128] = new SyntaxElement{
/*scopes*/ "c.include.lt-gt.other.quoted.string", "(null)",
/*patterns*/ false, REGEX: <, REGEX: >
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[107202384320128]; })
,
}
}; syntaxItems[107202384319888]; })
,
({ syntaxItems[105553118954656] = new SyntaxElement{
/*scopes*/ "anonymous.c", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[105553118954656]; })
,
({ syntaxItems[107202384320288] = 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[107202384320368] = new SyntaxElement{
/*scopes*/ "c.continuation.punctuation.separator", "(null)",
/*patterns*/ true, REGEX: (?>\\\s*\n), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[107202384320368]; })
,
}
}; syntaxItems[107202384320288]; })
,
({ syntaxItems[107202384320448] = new SyntaxElement{
/*scopes*/ "c.support.sys-types.type", "(null)",
/*patterns*/ true, <CHSyntaxPatternListDefinition: 0x61800045d2e0>, (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[107202384320448]; })
,
({ syntaxItems[107202384320608] = new SyntaxElement{
/*scopes*/ "c.pthread.support.type", "(null)",
/*patterns*/ true, <CHSyntaxPatternListDefinition: 0x61800045d6d0>, (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[107202384320608]; })
,
({ syntaxItems[107202384320768] = new SyntaxElement{
/*scopes*/ "c.stdint.support.type", "(null)",
/*patterns*/ true, <CHSyntaxPatternListDefinition: 0x61800045dc70>, (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[107202384320768]; })
,
({ syntaxItems[107202384321088] = new SyntaxElement{
/*scopes*/ "c.constant.mac-classic.support", "(null)",
/*patterns*/ true, <CHSyntaxPatternListDefinition: 0x61800045e030>, (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[107202384321088]; })
,
({ syntaxItems[107202384321168] = new SyntaxElement{
/*scopes*/ "c.mac-classic.support.type", "(null)",
/*patterns*/ true, <CHSyntaxPatternListDefinition: 0x61800045e3f0>, (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[107202384321168]; })
,
({ syntaxItems[105553118954736] = new SyntaxElement{
/*scopes*/ "anonymous.c", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[105553118954736]; })
,
({ syntaxItems[107202384321248] = 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[105553118954816] = new SyntaxElement{
/*scopes*/ "anonymous.c", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[105553118954816]; })
,
({ syntaxItems[105553118954896] = new SyntaxElement{
/*scopes*/ "anonymous.c", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[105553118954896]; })
,
({ syntaxItems[107202384321328] = new SyntaxElement{
/*scopes*/ "c.modifier.storage", "(null)",
/*patterns*/ true, STRING: const, (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[107202384321328]; })
,
({ syntaxItems[105553118954976] = new SyntaxElement{
/*scopes*/ "anonymous.c", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[105553118954976]; })
,
}
}; syntaxItems[107202384321248]; })
,
}
}; syntaxItems[107202385165696]; })
}
// Writing lang C++
void shamrock_test_C++() {
std::map<intptr_t, Syntaxable*> syntaxItems;
({ syntaxItems[107202385166464] = new SyntaxBase{
"c++.source", nullptr, {
({ syntaxItems[105553118955056] = new SyntaxElement{
/*scopes*/ "anonymous.c++", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[105553118955056]; })
,
({ syntaxItems[105553118955136] = new SyntaxElement{
/*scopes*/ "anonymous.c++", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[105553118955136]; })
,
({ syntaxItems[107202384324848] = new SyntaxElement{
/*scopes*/ "c++.modifier.storage", "(null)",
/*patterns*/ true, <CHSyntaxPatternListDefinition: 0x61800064eaf0>, (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[107202384324848]; })
,
({ syntaxItems[107202384324928] = new SyntaxElement{
/*scopes*/ "c++.modifier.storage", "(null)",
/*patterns*/ true, <CHSyntaxPatternListDefinition: 0x61800064ed90>, (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[107202384324928]; })
,
({ syntaxItems[107202384325008] = new SyntaxElement{
/*scopes*/ "c++.control.keyword", "(null)",
/*patterns*/ true, <CHSyntaxPatternListDefinition: 0x61800064f060>, (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[107202384325008]; })
,
({ syntaxItems[107202384325088] = new SyntaxElement{
/*scopes*/ "c++.control.keyword", "(null)",
/*patterns*/ true, REGEX: \bdelete\b(\s*\[\])?|\bnew\b(?!]), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[107202384325088]; })
,
({ syntaxItems[107202384325168] = new SyntaxElement{
/*scopes*/ "c++.member.other.readwrite.variable", "(null)",
/*patterns*/ true, REGEX: \b(f|m)[A-Z]\w*\b, (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[107202384325168]; })
,
({ syntaxItems[107202384325328] = new SyntaxElement{
/*scopes*/ "c++.language.variable", "(null)",
/*patterns*/ true, <CHSyntaxPatternListDefinition: 0x61800064f780>, (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[107202384325328]; })
,
({ syntaxItems[107202384325408] = new SyntaxElement{
/*scopes*/ "c++.storage.template.type", "(null)",
/*patterns*/ true, REGEX: \btemplate\b\s*, (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[107202384325408]; })
,
({ syntaxItems[107202384325488] = 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[107202384325488]; })
,
({ syntaxItems[107202384325648] = new SyntaxElement{
/*scopes*/ "c++.keyword.operator", "(null)",
/*patterns*/ true, <CHSyntaxPatternListDefinition: 0x61800064fea0>, (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[107202384325648]; })
,
({ syntaxItems[107202384325248] = new SyntaxElement{
/*scopes*/ "c++.storage.type", "(null)",
/*patterns*/ true, <CHSyntaxPatternListDefinition: 0x618000650170>, (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[107202384325248]; })
,
({ syntaxItems[107202384325728] = new SyntaxElement{
/*scopes*/ "c++.modifier.storage", "(null)",
/*patterns*/ true, <CHSyntaxPatternListDefinition: 0x6180006503e0>, (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[107202384325728]; })
,
({ syntaxItems[107202384325808] = 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[105553118955216] = new SyntaxElement{
/*scopes*/ "anonymous.c++", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[105553118955216]; })
,
}
}; syntaxItems[107202384325808]; })
,
({ syntaxItems[107202384325888] = 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[105553118955296] = new SyntaxElement{
/*scopes*/ "anonymous.c++", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[105553118955296]; })
,
}
}; syntaxItems[107202384325888]; })
,
}
}; syntaxItems[107202385166464]; })
}
// --- Writing truffle CoffeeScript ---
// Writing lang CoffeeScript
void shamrock_test_CoffeeScript() {
std::map<intptr_t, Syntaxable*> syntaxItems;
({ syntaxItems[107202385168384] = new SyntaxBase{
"coffee.source", nullptr, {
({ syntaxItems[107202384329008] = new SyntaxElement{
/*scopes*/ "coffee.coffeescript.function.inline.meta", "(null)",
/*patterns*/ true, REGEX: (\([^()]*?\))\s*([=-]>), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[107202384329008]; })
,
({ syntaxItems[107202384329088] = new SyntaxElement{
/*scopes*/ "class.coffeescript.constructor.instance.meta", "(null)",
/*patterns*/ true, REGEX: (new)\s+(\w+(?:\.\w*)*), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[107202384329088]; })
,
({ syntaxItems[107202384329168] = new SyntaxElement{
/*scopes*/ "coffee.coffeescript.heredoc.quoted.string", "(null)",
/*patterns*/ false, REGEX: ''', REGEX: '''
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[107202384329168]; })
,
({ syntaxItems[107202384329248] = new SyntaxElement{
/*scopes*/ "coffee.coffeescript.double.heredoc.quoted.string", "(null)",
/*patterns*/ false, REGEX: """, REGEX: """
/*refs*/TODO
/*children*/ {
({ syntaxItems[107202384329408] = new SyntaxElement{
/*scopes*/ "character.coffee.coffeescript.constant.escape", "(null)",
/*patterns*/ true, REGEX: \\., (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[107202384329408]; })
,
({ syntaxItems[105553118955376] = new SyntaxElement{
/*scopes*/ "anonymous.coffeescript", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[105553118955376]; })
,
}
}; syntaxItems[107202384329248]; })
,
({ syntaxItems[107202384329488] = new SyntaxElement{
/*scopes*/ "coffee.coffeescript.quoted.script.string", "(null)",
/*patterns*/ false, REGEX: `, REGEX: `
/*refs*/TODO
/*children*/ {
({ syntaxItems[107202384329568] = 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[107202384329568]; })
,
}
}; syntaxItems[107202384329488]; })
,
({ syntaxItems[107202384329728] = new SyntaxElement{
/*scopes*/ "block.coffee.coffeescript.comment", "(null)",
/*patterns*/ false, REGEX: (?<!#)###(?!#), REGEX: ###(?:[ \t]*\n)
/*refs*/TODO
/*children*/ {
({ syntaxItems[107202384329808] = new SyntaxElement{
/*scopes*/ "annotation.coffeescript.storage.type", "(null)",
/*patterns*/ true, REGEX: @\w*, (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[107202384329808]; })
,
}
}; syntaxItems[107202384329728]; })
,
({ syntaxItems[107202384329968] = new SyntaxElement{
/*scopes*/ "coffee.coffeescript.comment.line.number-sign", "(null)",
/*patterns*/ true, REGEX: (#)(?!\{).*$\n?, (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[107202384329968]; })
,
({ syntaxItems[107202384330128] = new SyntaxElement{
/*scopes*/ "coffee.coffeescript.regexp.string", "(null)",
/*patterns*/ false, STRING: /{3}, REGEX: /{3}[imgy]{0,4}
/*refs*/TODO
/*children*/ {
({ syntaxItems[105553118955536] = new SyntaxElement{
/*scopes*/ "anonymous.coffeescript", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[105553118955536]; })
,
({ syntaxItems[105553118955616] = new SyntaxElement{
/*scopes*/ "anonymous.coffeescript", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[105553118955616]; })
,
}
}; syntaxItems[107202384330128]; })
,
({ syntaxItems[107202384330208] = new SyntaxElement{
/*scopes*/ "coffee.coffeescript.regexp.string", "(null)",
/*patterns*/ true, REGEX: /(?![\s=/*+{}?]).*?[^\\]/[igmy]{0,4}(?![a-zA-Z0-9]), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[107202384330208]; })
,
({ syntaxItems[107202384330368] = 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[107202384330368]; })
,
({ syntaxItems[107202384330448] = 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[107202384330448]; })
,
({ syntaxItems[107202384330048] = new SyntaxElement{
/*scopes*/ "assignment.coffee.coffeescript.variable", "(null)",
/*patterns*/ true, REGEX: ([a-zA-Z\$_](\w|\$|\.)*\s*(?!\::)((:)|(=))(?!(\s*\(.*\))?\s*((=|-)>))), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[107202384330048]; })
,
({ syntaxItems[107202384330528] = new SyntaxElement{
/*scopes*/ "assignment.coffee.coffeescript.destructured.meta.variable", "(null)",
/*patterns*/ false, REGEX: (?<=\s|^)([\[\{])(?=.*?[\]\}]\s+[:=]), REGEX: ([\]\}]\s*[:=])
/*refs*/TODO
/*children*/ {
({ syntaxItems[105553118955456] = new SyntaxElement{
/*scopes*/ "anonymous.coffeescript", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[105553118955456]; })
,
({ syntaxItems[105553118955696] = new SyntaxElement{
/*scopes*/ "anonymous.coffeescript", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[105553118955696]; })
,
({ syntaxItems[105553118955776] = new SyntaxElement{
/*scopes*/ "anonymous.coffeescript", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[105553118955776]; })
,
({ syntaxItems[105553118955856] = new SyntaxElement{
/*scopes*/ "anonymous.coffeescript", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[105553118955856]; })
,
({ syntaxItems[105553118955936] = new SyntaxElement{
/*scopes*/ "anonymous.coffeescript", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[105553118955936]; })
,
}
}; syntaxItems[107202384330528]; })
,
({ syntaxItems[107202384330608] = 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[107202384330608]; })
,
({ syntaxItems[107202384330768] = new SyntaxElement{
/*scopes*/ "coffee.coffeescript.function.storage.type", "(null)",
/*patterns*/ true, REGEX: [=-]>, (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[107202384330768]; })
,
({ syntaxItems[107202384330848] = new SyntaxElement{
/*scopes*/ "boolean.coffee.coffeescript.constant.language.true", "(null)",
/*patterns*/ true, REGEX: \b(?<!\.)(true|on|yes)(?!\s*[:=])\b, (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[107202384330848]; })
,
({ syntaxItems[107202384331008] = new SyntaxElement{
/*scopes*/ "boolean.coffee.coffeescript.constant.false.language", "(null)",
/*patterns*/ true, REGEX: \b(?<!\.)(false|off|no)(?!\s*[:=])\b, (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[107202384331008]; })
,
({ syntaxItems[107202384331168] = new SyntaxElement{
/*scopes*/ "coffee.coffeescript.constant.language.null", "(null)",
/*patterns*/ true, REGEX: \b(?<!\.)null(?!\s*[:=])\b, (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[107202384331168]; })
,
({ syntaxItems[107202384331248] = new SyntaxElement{
/*scopes*/ "coffee.coffeescript.language.variable", "(null)",
/*patterns*/ true, REGEX: \b(?<!\.)(super|this|extends)(?!\s*[:=])\b, (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[107202384331248]; })
,
({ syntaxItems[107202384331328] = 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[107202384331328]; })
,
({ syntaxItems[107202384331408] = new SyntaxElement{
/*scopes*/ "coffee.coffeescript.keyword.other", "(null)",
/*patterns*/ true, REGEX: \b(debugger|\\)\b, (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[107202384331408]; })
,
({ syntaxItems[107202384331488] = 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[107202384331488]; })
,
({ syntaxItems[107202384331568] = new SyntaxElement{
/*scopes*/ "coffee.coffeescript.entity.name.object.type", "(null)",
/*patterns*/ true, <CHSyntaxPatternListDefinition: 0x618000845a00>, (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[107202384331568]; })
,
({ syntaxItems[107202384331648] = 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[107202384331648]; })
,
({ syntaxItems[107202384331728] = 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[107202384331728]; })
,
({ syntaxItems[107202384331808] = 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[107202384331808]; })
,
({ syntaxItems[107202384331968] = new SyntaxElement{
/*scopes*/ "array.coffee.coffeescript.function.static.support", "(null)",
/*patterns*/ true, REGEX: (?x)((?<=Array\.)(
isArray
))\b, (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[107202384331968]; })
,
({ syntaxItems[107202384332128] = 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[107202384332128]; })
,
({ syntaxItems[107202384332288] = 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[107202384332288]; })
,
({ syntaxItems[107202384332448] = 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[107202384332448]; })
,
({ syntaxItems[107202384332608] = new SyntaxElement{
/*scopes*/ "coffee.coffeescript.constant.language", "(null)",
/*patterns*/ true, <CHSyntaxPatternListDefinition: 0x618000846960>, (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[107202384332608]; })
,
({ syntaxItems[107202384332688] = new SyntaxElement{
/*scopes*/ "coffee.coffeescript.punctuation.statement.terminator", "(null)",
/*patterns*/ true, REGEX: \;, (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[107202384332688]; })
,
({ syntaxItems[107202384332848] = new SyntaxElement{
/*scopes*/ "coffee.coffeescript.comma.delimiter.meta.object", "(null)",
/*patterns*/ true, REGEX: ,[ |\t]*, (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[107202384332848]; })
,
({ syntaxItems[107202384333008] = new SyntaxElement{
/*scopes*/ "coffee.coffeescript.delimiter.meta.method.period", "(null)",
/*patterns*/ true, REGEX: \., (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[107202384333008]; })
,
({ syntaxItems[107202384333168] = new SyntaxElement{
/*scopes*/ "brace.coffee.coffeescript.curly.meta", "(null)",
/*patterns*/ true, REGEX: \{|\}, (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[107202384333168]; })
,
({ syntaxItems[107202384333248] = new SyntaxElement{
/*scopes*/ "brace.coffee.coffeescript.meta.round", "(null)",
/*patterns*/ true, REGEX: \(|\), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[107202384333248]; })
,
({ syntaxItems[107202384333328] = new SyntaxElement{
/*scopes*/ "brace.coffee.coffeescript.meta.square", "(null)",
/*patterns*/ true, REGEX: \[|\]\s*, (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[107202384333328]; })
,
({ syntaxItems[105553118956016] = new SyntaxElement{
/*scopes*/ "anonymous.coffeescript", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[105553118956016]; })
,
({ syntaxItems[105553118956096] = new SyntaxElement{
/*scopes*/ "anonymous.coffeescript", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[105553118956096]; })
,
({ syntaxItems[105553118956176] = new SyntaxElement{
/*scopes*/ "anonymous.coffeescript", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[105553118956176]; })
,
({ syntaxItems[105553118956256] = new SyntaxElement{
/*scopes*/ "anonymous.coffeescript", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[105553118956256]; })
,
}
}; syntaxItems[107202385168384]; })
}
// --- Writing truffle CSS ---
// Writing lang CSS
void shamrock_test_CSS() {
std::map<intptr_t, Syntaxable*> syntaxItems;
({ syntaxItems[107202385168960] = new SyntaxBase{
"css.source", nullptr, {
({ syntaxItems[105553118956416] = new SyntaxElement{
/*scopes*/ "anonymous.css", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[105553118956416]; })
,
({ syntaxItems[105553118956496] = new SyntaxElement{
/*scopes*/ "anonymous.css", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[105553118956496]; })
,
({ syntaxItems[107202384335488] = new SyntaxElement{
/*scopes*/ "at-rule.charset.css.meta", "(null)",
/*patterns*/ false, REGEX: \s*((@)charset\b)\s*, REGEX: \s*((?=;|$))
/*refs*/TODO
/*children*/ {
({ syntaxItems[105553118956576] = new SyntaxElement{
/*scopes*/ "anonymous.css", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[105553118956576]; })
,
({ syntaxItems[105553118956656] = new SyntaxElement{
/*scopes*/ "anonymous.css", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[105553118956656]; })
,
}
}; syntaxItems[107202384335488]; })
,
({ syntaxItems[107202384335568] = new SyntaxElement{
/*scopes*/ "at-rule.css.import.meta", "(null)",
/*patterns*/ false, REGEX: \s*((@)import\b)\s*, REGEX: \s*((?=;|\}))
/*refs*/TODO
/*children*/ {
({ syntaxItems[105553118956736] = new SyntaxElement{
/*scopes*/ "anonymous.css", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[105553118956736]; })
,
({ syntaxItems[105553118956816] = new SyntaxElement{
/*scopes*/ "anonymous.css", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[105553118956816]; })
,
({ syntaxItems[107202384335648] = new SyntaxElement{
/*scopes*/ "anonymous.css", "(null)",
/*patterns*/ false, REGEX: \s*(url)\s*(\()\s*, REGEX: \s*(\))\s*
/*refs*/TODO
/*children*/ {
({ syntaxItems[107202384335728] = new SyntaxElement{
/*scopes*/ "css.parameter.url.variable", "(null)",
/*patterns*/ true, REGEX: [^'") \t]+, (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[107202384335728]; })
,
({ syntaxItems[105553118956896] = new SyntaxElement{
/*scopes*/ "anonymous.css", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[105553118956896]; })
,
({ syntaxItems[105553118956976] = new SyntaxElement{
/*scopes*/ "anonymous.css", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[105553118956976]; })
,
}
}; syntaxItems[107202384335648]; })
,
({ syntaxItems[105553118957056] = new SyntaxElement{
/*scopes*/ "anonymous.css", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[105553118957056]; })
,
}
}; syntaxItems[107202384335568]; })
,
({ syntaxItems[107202384335808] = new SyntaxElement{
/*scopes*/ "at-rule.css.font-face.meta", "(null)",
/*patterns*/ false, REGEX: ^\s*((@)font-face)\s*(?=\{), REGEX: \s*(\})
/*refs*/TODO
/*children*/ {
({ syntaxItems[105553118957136] = new SyntaxElement{
/*scopes*/ "anonymous.css", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[105553118957136]; })
,
}
}; syntaxItems[107202384335808]; })
,
({ syntaxItems[107202384335888] = new SyntaxElement{
/*scopes*/ "anonymous.css", "(null)",
/*patterns*/ false, REGEX: (?=^\s*@media\s*.*?\{), REGEX: \s*(\})
/*refs*/TODO
/*children*/ {
({ syntaxItems[107202384335968] = new SyntaxElement{
/*scopes*/ "at-rule.css.media.meta", "(null)",
/*patterns*/ false, REGEX: ^\s*((@)media)(?=.*?\{), REGEX: \s*(?=\{)
/*refs*/TODO
/*children*/ {
({ syntaxItems[105553118957216] = new SyntaxElement{
/*scopes*/ "anonymous.css", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[105553118957216]; })
,
}
}; syntaxItems[107202384335968]; })
,
({ syntaxItems[107202384336048] = new SyntaxElement{
/*scopes*/ "anonymous.css", "(null)",
/*patterns*/ false, REGEX: \s*(\{), REGEX: (?=\})
/*refs*/TODO
/*children*/ {
({ syntaxItems[105553118957296] = new SyntaxElement{
/*scopes*/ "anonymous.css", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[105553118957296]; })
,
}
}; syntaxItems[107202384336048]; })
,
}
}; syntaxItems[107202384335888]; })
,
({ syntaxItems[107202384336128] = new SyntaxElement{
/*scopes*/ "anonymous.css", "(null)",
/*patterns*/ false, REGEX: (?=\{), REGEX: (\})
/*refs*/TODO
/*children*/ {
({ syntaxItems[105553118957456] = new SyntaxElement{
/*scopes*/ "anonymous.css", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[105553118957456]; })
,
}
}; syntaxItems[107202384336128]; })
,
}
}; syntaxItems[107202385168960]; })
}
// --- Writing truffle Erlang ---
// Writing lang Erlang
void shamrock_test_Erlang() {
std::map<intptr_t, Syntaxable*> syntaxItems;
({ syntaxItems[106652629350080] = new SyntaxBase{
"erlang.source", nullptr, {
({ syntaxItems[105553118957536] = new SyntaxElement{
/*scopes*/ "anonymous.erlang", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[105553118957536]; })
,
({ syntaxItems[105553118957616] = new SyntaxElement{
/*scopes*/ "anonymous.erlang", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[105553118957616]; })
,
({ syntaxItems[105553118957696] = new SyntaxElement{
/*scopes*/ "anonymous.erlang", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[105553118957696]; })
,
({ syntaxItems[105553118957776] = new SyntaxElement{
/*scopes*/ "anonymous.erlang", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[105553118957776]; })
,
({ syntaxItems[105553118957856] = new SyntaxElement{
/*scopes*/ "anonymous.erlang", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[105553118957856]; })
,
({ syntaxItems[105553118957936] = new SyntaxElement{
/*scopes*/ "anonymous.erlang", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[105553118957936]; })
,
({ syntaxItems[105553118958016] = new SyntaxElement{
/*scopes*/ "anonymous.erlang", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[105553118958016]; })
,
({ syntaxItems[105553118958176] = new SyntaxElement{
/*scopes*/ "anonymous.erlang", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[105553118958176]; })
,
}
}; syntaxItems[106652629350080]; })
}
// Writing lang HTML (Erlang)
void shamrock_test_HTML_Erlang() {
std::map<intptr_t, Syntaxable*> syntaxItems;
({ syntaxItems[106102873569600] = new SyntaxBase{
"erlang.html.text.yaws", nullptr, {
({ syntaxItems[106102872638432] = new SyntaxElement{
/*scopes*/ "embedded.erlang.html.html-erlang.source", "(null)",
/*patterns*/ false, REGEX: <erl>, REGEX: </erl>
/*refs*/TODO
/*children*/ {
({ syntaxItems[105553118956336] = new SyntaxElement{
/*scopes*/ "anonymous.html-erlang", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[105553118956336]; })
,
}
}; syntaxItems[106102872638432]; })
,
({ syntaxItems[105553118958256] = new SyntaxElement{
/*scopes*/ "anonymous.html-erlang", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[105553118958256]; })
,
}
}; syntaxItems[106102873569600]; })
}
// --- Writing truffle Graphviz ---
// Writing lang Graphviz (DOT)
void shamrock_test_Graphviz_DOT() {
std::map<intptr_t, Syntaxable*> syntaxItems;
({ syntaxItems[106652629357184] = new SyntaxBase{
"dot.source", nullptr, {
({ syntaxItems[106652628510720] = new SyntaxElement{
/*scopes*/ "anonymous.graphviz-dot", "(null)",
/*patterns*/ true, REGEX: ?(digraph)[ \t]+([A-Za-z0-9]+) ?(\{), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[106652628510720]; })
,
({ syntaxItems[106652628510800] = new SyntaxElement{
/*scopes*/ "dot.graphviz-dot.keyword.operator", "(null)",
/*patterns*/ true, REGEX: (<|-)(>|-), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[106652628510800]; })
,
({ syntaxItems[106652628510880] = new SyntaxElement{
/*scopes*/ "dot.graphviz-dot.storage.type", "(null)",
/*patterns*/ true, <CHSyntaxPatternListDefinition: 0x610000c4dfb0>, (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[106652628510880]; })
,
({ syntaxItems[106652628510960] = new SyntaxElement{
/*scopes*/ "attribute.constant.dot.graphviz-dot.node.support", "(null)",
/*patterns*/ true, <CHSyntaxPatternListDefinition: 0x610000c4e3a0>, (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[106652628510960]; })
,
({ syntaxItems[106652628511200] = new SyntaxElement{
/*scopes*/ "attribute.constant.dot.edge.graphviz-dot.support", "(null)",
/*patterns*/ true, <CHSyntaxPatternListDefinition: 0x610000c4e760>, (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[106652628511200]; })
,
({ syntaxItems[106652628511440] = new SyntaxElement{
/*scopes*/ "attribute.constant.dot.graph.graphviz-dot.support", "(null)",
/*patterns*/ true, <CHSyntaxPatternListDefinition: 0x610000c4eaf0>, (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[106652628511440]; })
,
({ syntaxItems[106652628511680] = new SyntaxElement{
/*scopes*/ "dot.graphviz-dot.other.variable", "(null)",
/*patterns*/ true, <CHSyntaxPatternListDefinition: 0x610000c4eeb0>, (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[106652628511680]; })
,
({ syntaxItems[106652628511920] = new SyntaxElement{
/*scopes*/ "dot.double.graphviz-dot.quoted.string", "(null)",
/*patterns*/ false, REGEX: ", REGEX: "
/*refs*/TODO
/*children*/ {
({ syntaxItems[106652628512000] = new SyntaxElement{
/*scopes*/ "character.constant.dot.escape.graphviz-dot", "(null)",
/*patterns*/ true, REGEX: \\., (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[106652628512000]; })
,
}
}; syntaxItems[106652628511920]; })
,
({ syntaxItems[106652628512080] = new SyntaxElement{
/*scopes*/ "comment.dot.double-slash.graphviz-dot.line", "(null)",
/*patterns*/ true, REGEX: (//).*$\n?, (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[106652628512080]; })
,
({ syntaxItems[106652628512160] = new SyntaxElement{
/*scopes*/ "comment.dot.graphviz-dot.line.number-sign", "(null)",
/*patterns*/ true, REGEX: (#).*$\n?, (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[106652628512160]; })
,
({ syntaxItems[106652628512240] = new SyntaxElement{
/*scopes*/ "block.comment.dot.graphviz-dot", "(null)",
/*patterns*/ false, REGEX: /\*, REGEX: \*/
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[106652628512240]; })
,
}
}; syntaxItems[106652629357184]; })
}
// --- Writing truffle Haskell ---
// Writing lang Haskell
void shamrock_test_Haskell() {
std::map<intptr_t, Syntaxable*> syntaxItems;
({ syntaxItems[106102873569984] = new SyntaxBase{
"haskell.source", nullptr, {
({ syntaxItems[106102872639952] = new SyntaxElement{
/*scopes*/ "function.haskell.infix.keyword.operator", "(null)",
/*patterns*/ true, REGEX: (`)[a-zA-Z_']*?(`), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[106102872639952]; })
,
({ syntaxItems[106102872640112] = new SyntaxElement{
/*scopes*/ "constant.haskell.language.unit", "(null)",
/*patterns*/ true, REGEX: \(\), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[106102872640112]; })
,
({ syntaxItems[106102872640192] = new SyntaxElement{
/*scopes*/ "constant.empty-list.haskell.language", "(null)",
/*patterns*/ true, REGEX: \[\], (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[106102872640192]; })
,
({ syntaxItems[106102872640272] = new SyntaxElement{
/*scopes*/ "declaration.haskell.meta.module", "(null)",
/*patterns*/ false, REGEX: (module), REGEX: (where)
/*refs*/TODO
/*children*/ {
({ syntaxItems[105553118958336] = new SyntaxElement{
/*scopes*/ "anonymous.haskell", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[105553118958336]; })
,
({ syntaxItems[105553118958416] = new SyntaxElement{
/*scopes*/ "anonymous.haskell", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[105553118958416]; })
,
({ syntaxItems[106102872640352] = new SyntaxElement{
/*scopes*/ "haskell.invalid", "(null)",
/*patterns*/ true, REGEX: [a-z]+, (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[106102872640352]; })
,
}
}; syntaxItems[106102872640272]; })
,
({ syntaxItems[106102872640432] = new SyntaxElement{
/*scopes*/ "class.declaration.haskell.meta", "(null)",
/*patterns*/ false, REGEX: \b(class)\b, REGEX: \b(where)\b
/*refs*/TODO
/*children*/ {
({ syntaxItems[106102872640512] = 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[106102872640512]; })
,
({ syntaxItems[106102872640592] = new SyntaxElement{
/*scopes*/ "entity.haskell.inherited-class.other", "(null)",
/*patterns*/ true, REGEX: [A-Z][A-Za-z_']*, (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[106102872640592]; })
,
({ syntaxItems[106102872640672] = 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[106102872640672]; })
,
}
}; syntaxItems[106102872640432]; })
,
({ syntaxItems[106102872640752] = new SyntaxElement{
/*scopes*/ "declaration.haskell.instance.meta", "(null)",
/*patterns*/ false, REGEX: \b(instance)\b, REGEX: \b(where)\b|$
/*refs*/TODO
/*children*/ {
({ syntaxItems[105553118958496] = new SyntaxElement{
/*scopes*/ "anonymous.haskell", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[105553118958496]; })
,
}
}; syntaxItems[106102872640752]; })
,
({ syntaxItems[106102872640832] = new SyntaxElement{
/*scopes*/ "haskell.import.meta", "(null)",
/*patterns*/ false, REGEX: (import), REGEX: ($|;)
/*refs*/TODO
/*children*/ {
({ syntaxItems[106102872640912] = new SyntaxElement{
/*scopes*/ "haskell.keyword.other", "(null)",
/*patterns*/ true, <CHSyntaxPatternListDefinition: 0x608000244ad0>, (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[106102872640912]; })
,
({ syntaxItems[105553118958656] = new SyntaxElement{
/*scopes*/ "anonymous.haskell", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[105553118958656]; })
,
({ syntaxItems[105553118958736] = new SyntaxElement{
/*scopes*/ "anonymous.haskell", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[105553118958736]; })
,
}
}; syntaxItems[106102872640832]; })
,
({ syntaxItems[106102872641072] = new SyntaxElement{
/*scopes*/ "deriving.haskell.meta", "(null)",
/*patterns*/ false, REGEX: (deriving)\s*\(, REGEX: \)
/*refs*/TODO
/*children*/ {
({ syntaxItems[106102872641152] = new SyntaxElement{
/*scopes*/ "entity.haskell.inherited-class.other", "(null)",
/*patterns*/ true, REGEX: \b[A-Z][a-zA-Z_']*, (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[106102872641152]; })
,
}
}; syntaxItems[106102872641072]; })
,
({ syntaxItems[106102872641232] = new SyntaxElement{
/*scopes*/ "haskell.keyword.other", "(null)",
/*patterns*/ true, <CHSyntaxPatternListDefinition: 0x6080002453d0>, (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[106102872641232]; })
,
({ syntaxItems[106102872641392] = new SyntaxElement{
/*scopes*/ "haskell.keyword.operator", "(null)",
/*patterns*/ true, REGEX: \binfix[lr]?\b, (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[106102872641392]; })
,
({ syntaxItems[106102872641552] = new SyntaxElement{
/*scopes*/ "control.haskell.keyword", "(null)",
/*patterns*/ true, <CHSyntaxPatternListDefinition: 0x608000245910>, (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[106102872641552]; })
,
({ syntaxItems[106102872640992] = 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[106102872640992]; })
,
({ syntaxItems[106102872641712] = 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[106102872641712]; })
,
({ syntaxItems[106102872641792] = new SyntaxElement{
/*scopes*/ "c.haskell.meta.preprocessor", "(null)",
/*patterns*/ true, REGEX: ^\s*(#)\s*\w+, (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[106102872641792]; })
,
({ syntaxItems[105553118958576] = new SyntaxElement{
/*scopes*/ "anonymous.haskell", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[105553118958576]; })
,
({ syntaxItems[106102872641872] = new SyntaxElement{
/*scopes*/ "double.haskell.quoted.string", "(null)",
/*patterns*/ false, REGEX: ", REGEX: "
/*refs*/TODO
/*children*/ {
({ syntaxItems[106102872641952] = 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[106102872641952]; })
,
({ syntaxItems[106102872642032] = 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[106102872642032]; })
,
({ syntaxItems[106102872642192] = new SyntaxElement{
/*scopes*/ "character.constant.control.escape.haskell", "(null)",
/*patterns*/ true, REGEX: \^[A-Z@\[\]\\\^_], (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[106102872642192]; })
,
}
}; syntaxItems[106102872641872]; })
,
({ syntaxItems[106102872642272] = 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[106102872642272]; })
,
({ syntaxItems[106102872642432] = 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[105553118958816] = new SyntaxElement{
/*scopes*/ "anonymous.haskell", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[105553118958816]; })
,
}
}; syntaxItems[106102872642432]; })
,
({ syntaxItems[106102872642592] = 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[106102872642592]; })
,
({ syntaxItems[106102872642752] = new SyntaxElement{
/*scopes*/ "constant.haskell.other", "(null)",
/*patterns*/ true, REGEX: \b[A-Z]\w*\b, (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[106102872642752]; })
,
({ syntaxItems[105553118958896] = new SyntaxElement{
/*scopes*/ "anonymous.haskell", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[105553118958896]; })
,
({ syntaxItems[106102872642832] = new SyntaxElement{
/*scopes*/ "function.haskell.prelude.support", "(null)",
/*patterns*/ true, <CHSyntaxPatternListDefinition: 0x608000247e60>, (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[106102872642832]; })
,
({ syntaxItems[105553118958976] = new SyntaxElement{
/*scopes*/ "anonymous.haskell", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[105553118958976]; })
,
({ syntaxItems[106102872642912] = new SyntaxElement{
/*scopes*/ "haskell.keyword.operator", "(null)",
/*patterns*/ true, REGEX: [|!%$?~+:\-.=</>\\]+, (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[106102872642912]; })
,
({ syntaxItems[106102872642992] = new SyntaxElement{
/*scopes*/ "comma.haskell.punctuation.separator", "(null)",
/*patterns*/ true, STRING: ,, (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[106102872642992]; })
,
}
}; syntaxItems[106102873569984]; })
}
// Writing lang Literate Haskell
void shamrock_test_Literate_Haskell() {
std::map<intptr_t, Syntaxable*> syntaxItems;
({ syntaxItems[106102873570752] = new SyntaxBase{
"haskell.latex.tex.text", nullptr, {
({ syntaxItems[106102872643072] = 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[105553118959056] = new SyntaxElement{
/*scopes*/ "anonymous.literate-haskell", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[105553118959056]; })
,
}
}; syntaxItems[106102872643072]; })
,
({ syntaxItems[106102872645072] = new SyntaxElement{
/*scopes*/ "embedded.haskell.literate-haskell.meta", "(null)",
/*patterns*/ false, REGEX: ^(> ), REGEX: $
/*refs*/TODO
/*children*/ {
({ syntaxItems[105553118959136] = new SyntaxElement{
/*scopes*/ "anonymous.literate-haskell", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[105553118959136]; })
,
}
}; syntaxItems[106102872645072]; })
,
}
}; syntaxItems[106102873570752]; })
}
// --- Writing truffle HTML ---
// Writing lang HTML
void shamrock_test_HTML() {
std::map<intptr_t, Syntaxable*> syntaxItems;
({ syntaxItems[106102873572672] = new SyntaxBase{
"basic.html.text", nullptr, {
({ syntaxItems[106102872645952] = new SyntaxElement{
/*scopes*/ "any.html.meta.tag", "(null)",
/*patterns*/ false, REGEX: (<)([a-zA-Z0-9:]++)(?=[^>]*></\2>), REGEX: (>(<)/)(\2)(>)
/*refs*/TODO
/*children*/ {
({ syntaxItems[105553118959216] = new SyntaxElement{
/*scopes*/ "anonymous.html", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[105553118959216]; })
,
}
}; syntaxItems[106102872645952]; })
,
({ syntaxItems[106102872646032] = new SyntaxElement{
/*scopes*/ "html.meta.preprocessor.tag.xml", "(null)",
/*patterns*/ false, REGEX: (<\?)(xml), REGEX: (\?>)
/*refs*/TODO
/*children*/ {
({ syntaxItems[105553118959296] = new SyntaxElement{
/*scopes*/ "anonymous.html", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[105553118959296]; })
,
({ syntaxItems[105553118959376] = new SyntaxElement{
/*scopes*/ "anonymous.html", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[105553118959376]; })
,
({ syntaxItems[105553118959456] = new SyntaxElement{
/*scopes*/ "anonymous.html", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[105553118959456]; })
,
}
}; syntaxItems[106102872646032]; })
,
({ syntaxItems[106102872646112] = new SyntaxElement{
/*scopes*/ "block.comment.html", "(null)",
/*patterns*/ false, REGEX: <!--, REGEX: --\s*>
/*refs*/TODO
/*children*/ {
({ syntaxItems[106102872646192] = new SyntaxElement{
/*scopes*/ "bad-comments-or-cdata.html.illegal.invalid", "(null)",
/*patterns*/ true, STRING: --, (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[106102872646192]; })
,
({ syntaxItems[105553118959536] = new SyntaxElement{
/*scopes*/ "anonymous.html", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[105553118959536]; })
,
}
}; syntaxItems[106102872646112]; })
,
({ syntaxItems[106102872646272] = new SyntaxElement{
/*scopes*/ "html.meta.sgml.tag", "(null)",
/*patterns*/ false, REGEX: <!, REGEX: >
/*refs*/TODO
/*children*/ {
({ syntaxItems[106102872646432] = new SyntaxElement{
/*scopes*/ "doctype.html.meta.sgml.tag", "(null)",
/*patterns*/ false, REGEX: (DOCTYPE), REGEX: (?=>)
/*refs*/TODO
/*children*/ {
({ syntaxItems[106102872646512] = new SyntaxElement{
/*scopes*/ "doctype.double.html.identifiers-and-dtds.quoted.string", "(null)",
/*patterns*/ true, REGEX: "[^">]*", (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[106102872646512]; })
,
}
}; syntaxItems[106102872646432]; })
,
({ syntaxItems[106102872646832] = new SyntaxElement{
/*scopes*/ "constant.html.inline-data.other", "(null)",
/*patterns*/ false, REGEX: \[CDATA\[, REGEX: ]](?=>)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[106102872646832]; })
,
({ syntaxItems[106102872646912] = new SyntaxElement{
/*scopes*/ "bad-comments-or-cdata.html.illegal.invalid", "(null)",
/*patterns*/ true, REGEX: (\s*)(?!--|>)\S(\s*), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[106102872646912]; })
,
}
}; syntaxItems[106102872646272]; })
,
({ syntaxItems[105553118959616] = new SyntaxElement{
/*scopes*/ "anonymous.html", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[105553118959616]; })
,
({ syntaxItems[106102872646992] = new SyntaxElement{
/*scopes*/ "css.embedded.html.source", "(null)",
/*patterns*/ false, REGEX: (?:^\s+)?(<)((?i:style))\b(?![^>]*/>), REGEX: (</)((?i:style))(>)(?:\s*\n)?
/*refs*/TODO
/*children*/ {
({ syntaxItems[105553118959696] = new SyntaxElement{
/*scopes*/ "anonymous.html", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[105553118959696]; })
,
({ syntaxItems[106102872647152] = new SyntaxElement{
/*scopes*/ "anonymous.html", "(null)",
/*patterns*/ false, REGEX: (>), REGEX: (?=</(?i:style))
/*refs*/TODO
/*children*/ {
({ syntaxItems[105553118959776] = new SyntaxElement{
/*scopes*/ "anonymous.html", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[105553118959776]; })
,
({ syntaxItems[105553118959856] = new SyntaxElement{
/*scopes*/ "anonymous.html", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[105553118959856]; })
,
}
}; syntaxItems[106102872647152]; })
,
}
}; syntaxItems[106102872646992]; })
,
({ syntaxItems[106102872647232] = new SyntaxElement{
/*scopes*/ "embedded.html.js.source", "(null)",
/*patterns*/ false, REGEX: (?:^\s+)?(<)((?i:script))\b(?![^>]*/>), REGEX: (?<=</(script|SCRIPT))(>)(?:\s*\n)?
/*refs*/TODO
/*children*/ {
({ syntaxItems[105553118960016] = new SyntaxElement{
/*scopes*/ "anonymous.html", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[105553118960016]; })
,
({ syntaxItems[106102872647312] = new SyntaxElement{
/*scopes*/ "anonymous.html", "(null)",
/*patterns*/ false, REGEX: (?<!</(?:script|SCRIPT))(>), REGEX: (</)((?i:script))
/*refs*/TODO
/*children*/ {
({ syntaxItems[106102872647392] = new SyntaxElement{
/*scopes*/ "comment.double-slash.html.js.line", "(null)",
/*patterns*/ true, REGEX: (//).*?((?=</script)|$\n?), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[106102872647392]; })
,
({ syntaxItems[106102872647472] = new SyntaxElement{
/*scopes*/ "block.comment.html.js", "(null)",
/*patterns*/ false, REGEX: /\*, REGEX: \*/|(?=</script)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[106102872647472]; })
,
({ syntaxItems[105553118960096] = new SyntaxElement{
/*scopes*/ "anonymous.html", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[105553118960096]; })
,
({ syntaxItems[105553118960176] = new SyntaxElement{
/*scopes*/ "anonymous.html", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[105553118960176]; })
,
}
}; syntaxItems[106102872647312]; })
,
}
}; syntaxItems[106102872647232]; })
,
({ syntaxItems[106102872647632] = new SyntaxElement{
/*scopes*/ "any.html.meta.structure.tag", "(null)",
/*patterns*/ false, REGEX: (</?)((?i:body|head|html)\b), REGEX: (>)
/*refs*/TODO
/*children*/ {
({ syntaxItems[105553118960256] = new SyntaxElement{
/*scopes*/ "anonymous.html", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[105553118960256]; })
,
}
}; syntaxItems[106102872647632]; })
,
({ syntaxItems[106102872647712] = 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[105553118960336] = new SyntaxElement{
/*scopes*/ "anonymous.html", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[105553118960336]; })
,
}
}; syntaxItems[106102872647712]; })
,
({ syntaxItems[106102872647792] = 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[105553118960416] = new SyntaxElement{
/*scopes*/ "anonymous.html", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[105553118960416]; })
,
}
}; syntaxItems[106102872647792]; })
,
({ syntaxItems[106102872647872] = new SyntaxElement{
/*scopes*/ "html.meta.other.tag", "(null)",
/*patterns*/ false, REGEX: (</?)([a-zA-Z0-9:]+), REGEX: (>)
/*refs*/TODO
/*children*/ {
({ syntaxItems[105553118959936] = new SyntaxElement{
/*scopes*/ "anonymous.html", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[105553118959936]; })
,
}
}; syntaxItems[106102872647872]; })
,
({ syntaxItems[105553118960496] = new SyntaxElement{
/*scopes*/ "anonymous.html", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[105553118960496]; })
,
({ syntaxItems[106102872647552] = new SyntaxElement{
/*scopes*/ "html.illegal.incomplete.invalid", "(null)",
/*patterns*/ true, STRING: <>, (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[106102872647552]; })
,
({ syntaxItems[106102872647952] = new SyntaxElement{
/*scopes*/ "bad-angle-bracket.html.illegal.invalid", "(null)",
/*patterns*/ true, STRING: <, (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[106102872647952]; })
,
}
}; syntaxItems[106102873572672]; })
}
// --- Writing truffle Java ---
// Writing lang Java
void shamrock_test_Java() {
std::map<intptr_t, Syntaxable*> syntaxItems;
({ syntaxItems[106102873573632] = new SyntaxBase{
"java.source", nullptr, {
({ syntaxItems[106102872652512] = new SyntaxElement{
/*scopes*/ "java.meta.package", "(null)",
/*patterns*/ true, REGEX: ^\s*(package)\b(?:\s*([^ ;$]+)\s*(;)?)?, (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[106102872652512]; })
,
({ syntaxItems[106102872652592] = new SyntaxElement{
/*scopes*/ "import.java.meta.static", "(null)",
/*patterns*/ true, REGEX: ^\s*(import static)\b(?:\s*([^ ;$]+)\s*(;)?)?, (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[106102872652592]; })
,
({ syntaxItems[106102872652672] = new SyntaxElement{
/*scopes*/ "import.java.meta", "(null)",
/*patterns*/ true, REGEX: ^\s*(import)\b(?:\s*([^ ;$]+)\s*(;)?)?, (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[106102872652672]; })
,
({ syntaxItems[105553118960576] = new SyntaxElement{
/*scopes*/ "anonymous.java", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[105553118960576]; })
,
}
}; syntaxItems[106102873573632]; })
}
// Writing lang Java Server Page (JSP)
void shamrock_test_Java_Server_Page_JSP() {
std::map<intptr_t, Syntaxable*> syntaxItems;
({ syntaxItems[106652629350272] = new SyntaxBase{
"html.jsp.text", nullptr, {
({ syntaxItems[106652628483600] = new SyntaxElement{
/*scopes*/ "block.comment.java-server-page-jsp.jsp", "(null)",
/*patterns*/ false, REGEX: <%--, REGEX: --%>
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[106652628483600]; })
,
({ syntaxItems[106652628483680] = new SyntaxElement{
/*scopes*/ "directive.java-server-page-jsp.jsp.meta", "(null)",
/*patterns*/ false, REGEX: <%@, REGEX: %>
/*refs*/TODO
/*children*/ {
({ syntaxItems[106652628483760] = new SyntaxElement{
/*scopes*/ "anonymous.java-server-page-jsp", "(null)",
/*patterns*/ false, REGEX: \w+, REGEX: (?=%>)
/*refs*/TODO
/*children*/ {
({ syntaxItems[106652628483840] = new SyntaxElement{
/*scopes*/ "attribute.constant.directive.java-server-page-jsp.jsp.other", "(null)",
/*patterns*/ true, REGEX: \w+, (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[106652628483840]; })
,
({ syntaxItems[106652628484000] = new SyntaxElement{
/*scopes*/ "assignment.java-server-page-jsp.jsp.keyword.operator", "(null)",
/*patterns*/ true, STRING: =, (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[106652628484000]; })
,
({ syntaxItems[106652628484160] = new SyntaxElement{
/*scopes*/ "double.java-server-page-jsp.jsp.quoted.string", "(null)",
/*patterns*/ false, REGEX: ", REGEX: "
/*refs*/TODO
/*children*/ {
({ syntaxItems[106652628484240] = new SyntaxElement{
/*scopes*/ "character.constant.escape.java-server-page-jsp.jsp", "(null)",
/*patterns*/ true, REGEX: \\., (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[106652628484240]; })
,
}
}; syntaxItems[106652628484160]; })
,
({ syntaxItems[106652628484400] = new SyntaxElement{
/*scopes*/ "java-server-page-jsp.jsp.quoted.single.string", "(null)",
/*patterns*/ false, REGEX: ', REGEX: '
/*refs*/TODO
/*children*/ {
({ syntaxItems[106652628484480] = new SyntaxElement{
/*scopes*/ "character.constant.escape.java-server-page-jsp.jsp", "(null)",
/*patterns*/ true, REGEX: \\., (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[106652628484480]; })
,
}
}; syntaxItems[106652628484400]; })
,
}
}; syntaxItems[106652628483760]; })
,
}
}; syntaxItems[106652628483680]; })
,
({ syntaxItems[106652628484640] = 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[106652628484880] = new SyntaxElement{
/*scopes*/ "anonymous.java-server-page-jsp", "(null)",
/*patterns*/ true, REGEX: (</jsp:scriptlet>|</jsp:expression>|</jsp:declaration>)|(%>), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[106652628484880]; })
,
({ syntaxItems[106652628485040] = 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[105553118960816] = new SyntaxElement{
/*scopes*/ "anonymous.java-server-page-jsp", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[105553118960816]; })
,
}
}; syntaxItems[106652628485040]; })
,
({ syntaxItems[106652628485120] = new SyntaxElement{
/*scopes*/ "anonymous.java-server-page-jsp", "(null)",
/*patterns*/ false, STRING: {, STRING: }
/*refs*/TODO
/*children*/ {
({ syntaxItems[106652628485200] = 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[105553118960976] = new SyntaxElement{
/*scopes*/ "anonymous.java-server-page-jsp", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[105553118960976]; })
,
}
}; syntaxItems[106652628485200]; })
,
({ syntaxItems[105553118961056] = new SyntaxElement{
/*scopes*/ "anonymous.java-server-page-jsp", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[105553118961056]; })
,
}
}; syntaxItems[106652628485120]; })
,
({ syntaxItems[105553118961136] = new SyntaxElement{
/*scopes*/ "anonymous.java-server-page-jsp", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[105553118961136]; })
,
}
}; syntaxItems[106652628484640]; })
,
({ syntaxItems[105553118961216] = new SyntaxElement{
/*scopes*/ "anonymous.java-server-page-jsp", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[105553118961216]; })
,
}
}; syntaxItems[106652629350272]; })
}
// Writing lang JavaProperties
void shamrock_test_JavaProperties() {
std::map<intptr_t, Syntaxable*> syntaxItems;
({ syntaxItems[106652629350464] = new SyntaxBase{
"java.properties.source", nullptr, {
({ syntaxItems[106652628486080] = new SyntaxElement{
/*scopes*/ "comment.javaproperties.line.properties", "(null)",
/*patterns*/ true, REGEX: ^(#.*)(
|$), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[106652628486080]; })
,
({ syntaxItems[106652628486160] = 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[106652628486160]; })
,
({ syntaxItems[106652628486240] = 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[106652628486240]; })
,
({ syntaxItems[106652628486560] = new SyntaxElement{
/*scopes*/ "javaproperties.kvp.multiline.properties", "(null)",
/*patterns*/ true, REGEX: ^((?:[ ])*[^#].*\
|(?:[ ])*\
|(?:[ ])*[^#](?<!=).*
), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[106652628486560]; })
,
}
}; syntaxItems[106652629350464]; })
}
// Writing lang JUnit Test Report
void shamrock_test_JUnit_Test_Report() {
std::map<intptr_t, Syntaxable*> syntaxItems;
({ syntaxItems[106102873573824] = new SyntaxBase{
"junit-test-report.text", nullptr, {
({ syntaxItems[106102872652832] = new SyntaxElement{
/*scopes*/ "junit-test-report.meta.name.testsuite", "(null)",
/*patterns*/ true, REGEX: (Testsuite:) (.+)$\n, (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[106102872652832]; })
,
({ syntaxItems[106102872652992] = new SyntaxElement{
/*scopes*/ "junit-test-report.meta.name.testcase", "(null)",
/*patterns*/ true, REGEX: (Testcase:) (.+) took ([\d\.]+) sec$\n, (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[106102872652992]; })
,
({ syntaxItems[106102872653152] = new SyntaxElement{
/*scopes*/ "junit-test-report.meta.stackframe", "(null)",
/*patterns*/ false, REGEX: at\s+(?=.+?\(.+?\)$), REGEX: $\n
/*refs*/TODO
/*children*/ {
({ syntaxItems[106102872653312] = new SyntaxElement{
/*scopes*/ "junit-test-report.meta.method.stackframe", "(null)",
/*patterns*/ true, REGEX: (?<=\.)[^\.]+?(?=\(), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[106102872653312]; })
,
({ syntaxItems[106102872653472] = new SyntaxElement{
/*scopes*/ "anonymous.junit-test-report", "(null)",
/*patterns*/ true, REGEX: \((.+)(:)(.+)\)$, (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[106102872653472]; })
,
}
}; syntaxItems[106102872653152]; })
,
({ syntaxItems[106102872653552] = new SyntaxElement{
/*scopes*/ "junit-test-report.meta.output.section", "(null)",
/*patterns*/ false, REGEX: ------------- Standard Output ---------------$\n, REGEX: ------------- ---------------- ---------------$\n
/*refs*/TODO
/*children*/ {
({ syntaxItems[106102872653872] = new SyntaxElement{
/*scopes*/ "junit-test-report.meta.output", "(null)",
/*patterns*/ false, REGEX: --Output from (.+?)--$\n, REGEX: (?=--Output from|------------- ---------------- ---------------)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[106102872653872]; })
,
}
}; syntaxItems[106102872653552]; })
,
({ syntaxItems[106102872654032] = new SyntaxElement{
/*scopes*/ "error.junit-test-report.meta.section", "(null)",
/*patterns*/ false, REGEX: ------------- Standard Error -----------------$\n, REGEX: ------------- ---------------- ---------------$\n
/*refs*/TODO
/*children*/ {
({ syntaxItems[106102872654352] = new SyntaxElement{
/*scopes*/ "error.junit-test-report.meta", "(null)",
/*patterns*/ false, REGEX: --Output from (.+?)--$\n, REGEX: (?=--Output from|------------- ---------------- ---------------)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[106102872654352]; })
,
}
}; syntaxItems[106102872654032]; })
,
}
}; syntaxItems[106102873573824]; })
}
// --- Writing truffle JavaScript ---
// Writing lang JavaScript
void shamrock_test_JavaScript() {
std::map<intptr_t, Syntaxable*> syntaxItems;
({ syntaxItems[106652629350656] = new SyntaxBase{
"js.source", nullptr, {
({ syntaxItems[106652628487520] = new SyntaxElement{
/*scopes*/ "class.javascript.js.meta", "(null)",
/*patterns*/ true, REGEX: ([a-zA-Z_?.$][\w?.$]*)\.(prototype)\s*(=)\s*, (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[106652628487520]; })
,
({ syntaxItems[106652628487600] = 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[106652628487600]; })
,
({ syntaxItems[106652628487920] = 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[106652628487920]; })
,
({ syntaxItems[106652628488000] = 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[106652628488000]; })
,
({ syntaxItems[106652628488240] = new SyntaxElement{
/*scopes*/ "function.javascript.js.meta", "(null)",
/*patterns*/ true, REGEX: ([a-zA-Z_?$][\w?$]*)\s*(=)\s*(function)\s*(\()(.*?)(\)), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[106652628488240]; })
,
({ syntaxItems[106652628488400] = new SyntaxElement{
/*scopes*/ "function.javascript.js.meta", "(null)",
/*patterns*/ true, REGEX: \b(function)\s+([a-zA-Z_$]\w*)?\s*(\()(.*?)(\)), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[106652628488400]; })
,
({ syntaxItems[106652628488560] = 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[106652628488560]; })
,
({ syntaxItems[106652628488800] = new SyntaxElement{
/*scopes*/ "function.javascript.js.json.meta", "(null)",
/*patterns*/ true, REGEX: (?:((')(.*?)('))|((")(.*?)(")))\s*:\s*\b(function)?\s*(\()(.*?)(\)), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[106652628488800]; })
,
({ syntaxItems[106652628488880] = new SyntaxElement{
/*scopes*/ "class.constructor.instance.javascript.meta", "(null)",
/*patterns*/ true, REGEX: (new)\s+(\w+(?:\.\w*)?), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[106652628488880]; })
,
({ syntaxItems[106652628488960] = new SyntaxElement{
/*scopes*/ "entity.firebug.javascript.js.name.object.type", "(null)",
/*patterns*/ true, <CHSyntaxPatternListDefinition: 0x61000065aaf0>, (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[106652628488960]; })
,
({ syntaxItems[106652628489040] = 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[106652628489040]; })
,
({ syntaxItems[106652628488720] = 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[106652628488720]; })
,
({ syntaxItems[106652628489200] = new SyntaxElement{
/*scopes*/ "javascript.js.quoted.single.string", "(null)",
/*patterns*/ false, REGEX: ', REGEX: '
/*refs*/TODO
/*children*/ {
({ syntaxItems[106652628489280] = 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[106652628489280]; })
,
}
}; syntaxItems[106652628489200]; })
,
({ syntaxItems[106652628489440] = new SyntaxElement{
/*scopes*/ "double.javascript.js.quoted.string", "(null)",
/*patterns*/ false, REGEX: ", REGEX: "
/*refs*/TODO
/*children*/ {
({ syntaxItems[106652628489520] = 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[106652628489520]; })
,
}
}; syntaxItems[106652628489440]; })
,
({ syntaxItems[106652628489680] = new SyntaxElement{
/*scopes*/ "block.comment.documentation.javascript.js", "(null)",
/*patterns*/ false, REGEX: /\*\*(?!/), REGEX: \*/
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[106652628489680]; })
,
({ syntaxItems[106652628489760] = new SyntaxElement{
/*scopes*/ "block.comment.javascript.js", "(null)",
/*patterns*/ false, REGEX: /\*, REGEX: \*/
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[106652628489760]; })
,
({ syntaxItems[106652628489840] = new SyntaxElement{
/*scopes*/ "comment.double-slash.javascript.js.line", "(null)",
/*patterns*/ true, REGEX: (//).*$\n?, (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[106652628489840]; })
,
({ syntaxItems[106652628489920] = new SyntaxElement{
/*scopes*/ "block.comment.html.javascript.js", "(null)",
/*patterns*/ true, REGEX: (<!--|-->), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[106652628489920]; })
,
({ syntaxItems[106652628490000] = new SyntaxElement{
/*scopes*/ "javascript.js.storage.type", "(null)",
/*patterns*/ true, <CHSyntaxPatternListDefinition: 0x61000065c980>, (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[106652628490000]; })
,
({ syntaxItems[106652628490160] = new SyntaxElement{
/*scopes*/ "javascript.js.modifier.storage", "(null)",
/*patterns*/ true, <CHSyntaxPatternListDefinition: 0x61000065cd10>, (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[106652628490160]; })
,
({ syntaxItems[106652628490320] = new SyntaxElement{
/*scopes*/ "control.javascript.js.keyword", "(null)",
/*patterns*/ true, <CHSyntaxPatternListDefinition: 0x61000065d0a0>, (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[106652628490320]; })
,
({ syntaxItems[106652628490480] = new SyntaxElement{
/*scopes*/ "javascript.js.keyword.operator", "(null)",
/*patterns*/ true, <CHSyntaxPatternListDefinition: 0x61000065d430>, (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[106652628490480]; })
,
({ syntaxItems[106652628490560] = new SyntaxElement{
/*scopes*/ "boolean.constant.javascript.js.language.true", "(null)",
/*patterns*/ true, STRING: true, (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[106652628490560]; })
,
({ syntaxItems[106652628490640] = new SyntaxElement{
/*scopes*/ "boolean.constant.false.javascript.js.language", "(null)",
/*patterns*/ true, STRING: false, (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[106652628490640]; })
,
({ syntaxItems[106652628490720] = new SyntaxElement{
/*scopes*/ "constant.javascript.js.language.null", "(null)",
/*patterns*/ true, STRING: null, (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[106652628490720]; })
,
({ syntaxItems[106652628490800] = new SyntaxElement{
/*scopes*/ "javascript.js.language.variable", "(null)",
/*patterns*/ true, <CHSyntaxPatternListDefinition: 0x61000065dca0>, (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[106652628490800]; })
,
({ syntaxItems[106652628490880] = new SyntaxElement{
/*scopes*/ "javascript.js.keyword.other", "(null)",
/*patterns*/ true, <CHSyntaxPatternListDefinition: 0x61000065df10>, (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[106652628490880]; })
,
({ syntaxItems[106652628490960] = new SyntaxElement{
/*scopes*/ "class.javascript.js.support", "(null)",
/*patterns*/ true, <CHSyntaxPatternListDefinition: 0x61000065e180>, (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[106652628490960]; })
,
({ syntaxItems[106652628491120] = 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[106652628491120]; })
,
({ syntaxItems[106652628491200] = 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[106652628491200]; })
,
({ syntaxItems[106652628491280] = 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[106652628491280]; })
,
({ syntaxItems[106652628491360] = 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[106652628491360]; })
,
({ syntaxItems[106652628491440] = new SyntaxElement{
/*scopes*/ "constant.dom.javascript.js.support", "(null)",
/*patterns*/ true, <CHSyntaxPatternListDefinition: 0x61000065ed80>, (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[106652628491440]; })
,
({ syntaxItems[106652628491520] = 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[106652628491520]; })
,
({ syntaxItems[106652628491600] = new SyntaxElement{
/*scopes*/ "javascript.js.keyword.operator", "(null)",
/*patterns*/ true, REGEX: !|\$|%|&|\*|\-\-|\-|\+\+|\+|~|===|==|=|!=|!==|<=|>=|<<=|>>=|>>>=|<>|<|>|!|&&|\|\||\?\:|\*=|(?<!\()/=|%=|\+=|\-=|&=|\^=|\b(in|instanceof|new|delete|typeof|void)\b, (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[106652628491600]; })
,
({ syntaxItems[106652628491680] = new SyntaxElement{
/*scopes*/ "constant.javascript.js.language", "(null)",
/*patterns*/ true, <CHSyntaxPatternListDefinition: 0x61000065f9b0>, (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[106652628491680]; })
,
({ syntaxItems[106652628491760] = new SyntaxElement{
/*scopes*/ "javascript.js.regexp.string", "(null)",
/*patterns*/ false, REGEX: (?<=[=(:]|^|return)\s*(/)(?![/*+{}?]), REGEX: (/)[igm]*
/*refs*/TODO
/*children*/ {
({ syntaxItems[106652628491840] = new SyntaxElement{
/*scopes*/ "character.constant.escape.javascript.js", "(null)",
/*patterns*/ true, REGEX: \\., (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[106652628491840]; })
,
}
}; syntaxItems[106652628491760]; })
,
({ syntaxItems[106652628491920] = new SyntaxElement{
/*scopes*/ "javascript.js.punctuation.statement.terminator", "(null)",
/*patterns*/ true, REGEX: \;, (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[106652628491920]; })
,
({ syntaxItems[106652628492000] = new SyntaxElement{
/*scopes*/ "comma.delimiter.javascript.js.meta.object", "(null)",
/*patterns*/ true, REGEX: ,[ |\t]*, (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[106652628492000]; })
,
({ syntaxItems[106652628492080] = new SyntaxElement{
/*scopes*/ "delimiter.javascript.js.meta.method.period", "(null)",
/*patterns*/ true, REGEX: \., (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[106652628492080]; })
,
({ syntaxItems[106652628492160] = new SyntaxElement{
/*scopes*/ "brace.curly.javascript.js.meta", "(null)",
/*patterns*/ true, REGEX: \{|\}, (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[106652628492160]; })
,
({ syntaxItems[106652628492240] = new SyntaxElement{
/*scopes*/ "brace.javascript.js.meta.round", "(null)",
/*patterns*/ true, REGEX: \(|\), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[106652628492240]; })
,
({ syntaxItems[106652628492320] = new SyntaxElement{
/*scopes*/ "brace.javascript.js.meta.square", "(null)",
/*patterns*/ true, REGEX: \[|\], (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[106652628492320]; })
,
}
}; syntaxItems[106652629350656]; })
}
// --- Writing truffle JSON ---
// Writing lang JSON
void shamrock_test_JSON() {
std::map<intptr_t, Syntaxable*> syntaxItems;
({ syntaxItems[106652629352000] = new SyntaxBase{
"json.source", nullptr, {
({ syntaxItems[105553118961296] = new SyntaxElement{
/*scopes*/ "anonymous.json", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[105553118961296]; })
,
}
}; syntaxItems[106652629352000]; })
}
// --- Writing truffle Lua ---
// Writing lang Lua
void shamrock_test_Lua() {
std::map<intptr_t, Syntaxable*> syntaxItems;
({ syntaxItems[106652629352576] = new SyntaxBase{
"lua.source", nullptr, {
({ syntaxItems[106652628495760] = 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[106652628495760]; })
,
({ syntaxItems[106652628495840] = 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[106652628495840]; })
,
({ syntaxItems[106652628495920] = new SyntaxElement{
/*scopes*/ "lua.quoted.single.string", "(null)",
/*patterns*/ false, REGEX: ', REGEX: '
/*refs*/TODO
/*children*/ {
({ syntaxItems[106652628496000] = new SyntaxElement{
/*scopes*/ "character.constant.escape.lua", "(null)",
/*patterns*/ true, REGEX: \\., (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[106652628496000]; })
,
}
}; syntaxItems[106652628495920]; })
,
({ syntaxItems[106652628496080] = new SyntaxElement{
/*scopes*/ "double.lua.quoted.string", "(null)",
/*patterns*/ false, REGEX: ", REGEX: "
/*refs*/TODO
/*children*/ {
({ syntaxItems[106652628496160] = new SyntaxElement{
/*scopes*/ "character.constant.escape.lua", "(null)",
/*patterns*/ true, REGEX: \\., (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[106652628496160]; })
,
}
}; syntaxItems[106652628496080]; })
,
({ syntaxItems[106652628496240] = new SyntaxElement{
/*scopes*/ "lua.multiline.other.quoted.string", "(null)",
/*patterns*/ false, REGEX: (?<!--)\[(=*)\[, REGEX: \]\1\]
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[106652628496240]; })
,
({ syntaxItems[106652628496320] = new SyntaxElement{
/*scopes*/ "block.comment.lua", "(null)",
/*patterns*/ false, REGEX: --\[(=*)\[, REGEX: \]\1\]
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[106652628496320]; })
,
({ syntaxItems[106652628496400] = new SyntaxElement{
/*scopes*/ "comment.double-dash.line.lua", "(null)",
/*patterns*/ true, REGEX: (--)(?!\[\[).*$\n?, (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[106652628496400]; })
,
({ syntaxItems[106652628496560] = new SyntaxElement{
/*scopes*/ "control.keyword.lua", "(null)",
/*patterns*/ true, <CHSyntaxPatternListDefinition: 0x61000084f0c0>, (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[106652628496560]; })
,
({ syntaxItems[106652628496640] = 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[106652628496640]; })
,
({ syntaxItems[106652628496720] = new SyntaxElement{
/*scopes*/ "language.lua.self.variable", "(null)",
/*patterns*/ true, REGEX: (?<![^.]\.|:)\b(self)\b, (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[106652628496720]; })
,
({ syntaxItems[106652628496800] = 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[106652628496800]; })
,
({ syntaxItems[106652628496480] = 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[106652628496480]; })
,
({ syntaxItems[106652628496880] = new SyntaxElement{
/*scopes*/ "keyword.lua.operator", "(null)",
/*patterns*/ true, <CHSyntaxPatternListDefinition: 0x61000084fd20>, (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[106652628496880]; })
,
({ syntaxItems[106652628496960] = new SyntaxElement{
/*scopes*/ "keyword.lua.operator", "(null)",
/*patterns*/ true, REGEX: \+|-|%|#|\*|\/|\^|==?|~=|<=?|>=?|(?<!\.)\.{2}(?!\.), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[106652628496960]; })
,
}
}; syntaxItems[106652629352576]; })
}
// --- Writing truffle Markdown ---
// Writing lang Markdown
void shamrock_test_Markdown() {
std::map<intptr_t, Syntaxable*> syntaxItems;
({ syntaxItems[106652629352768] = new SyntaxBase{
"html.markdown.text", nullptr, {
({ syntaxItems[106652628498400] = 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[105553118961456] = new SyntaxElement{
/*scopes*/ "anonymous.markdown", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[105553118961456]; })
,
({ syntaxItems[105553118961536] = new SyntaxElement{
/*scopes*/ "anonymous.markdown", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[105553118961536]; })
,
({ syntaxItems[105553118961616] = new SyntaxElement{
/*scopes*/ "anonymous.markdown", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[105553118961616]; })
,
({ syntaxItems[105553118961696] = new SyntaxElement{
/*scopes*/ "anonymous.markdown", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[105553118961696]; })
,
}
}; syntaxItems[106652628498400]; })
,
({ syntaxItems[106652628498480] = new SyntaxElement{
/*scopes*/ "list.markdown.markup.unnumbered", "(null)",
/*patterns*/ false, REGEX: ^[ ]{0,3}([*+-])(?=\s), REGEX: ^(?=\S)
/*refs*/TODO
/*children*/ {
({ syntaxItems[105553118961776] = new SyntaxElement{
/*scopes*/ "anonymous.markdown", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[105553118961776]; })
,
}
}; syntaxItems[106652628498480]; })
,
({ syntaxItems[106652628498560] = new SyntaxElement{
/*scopes*/ "list.markdown.markup.numbered", "(null)",
/*patterns*/ false, REGEX: ^[ ]{0,3}([0-9]+\.)(?=\s), REGEX: ^(?=\S)
/*refs*/TODO
/*children*/ {
({ syntaxItems[105553118961856] = new SyntaxElement{
/*scopes*/ "anonymous.markdown", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[105553118961856]; })
,
}
}; syntaxItems[106652628498560]; })
,
({ syntaxItems[106652628498640] = 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[105553118961936] = new SyntaxElement{
/*scopes*/ "anonymous.markdown", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[105553118961936]; })
,
}
}; syntaxItems[106652628498640]; })
,
({ syntaxItems[106652628498720] = 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[105553118962016] = new SyntaxElement{
/*scopes*/ "anonymous.markdown", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[105553118962016]; })
,
}
}; syntaxItems[106652628498720]; })
,
({ syntaxItems[106652628498800] = 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[106652628498800]; })
,
({ syntaxItems[106652628498880] = new SyntaxElement{
/*scopes*/ "markdown.meta.paragraph", "(null)",
/*patterns*/ false, REGEX: ^(?=\S)(?![=-]{3,}(?=$)), REGEX: ^(?:\s*$|(?=[ ]{,3}>.))|(?=[ \t]*\n)(?<=^===|^====|=====|^---|^----|-----)[ \t]*\n|(?=^#)
/*refs*/TODO
/*children*/ {
({ syntaxItems[105553118962176] = new SyntaxElement{
/*scopes*/ "anonymous.markdown", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[105553118962176]; })
,
({ syntaxItems[105553118962256] = new SyntaxElement{
/*scopes*/ "anonymous.markdown", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[105553118962256]; })
,
({ syntaxItems[106652628498960] = new SyntaxElement{
/*scopes*/ "1.heading.markdown.markup", "(null)",
/*patterns*/ true, REGEX: ^(={3,})(?=[ \t]*$), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[106652628498960]; })
,
({ syntaxItems[106652628499040] = new SyntaxElement{
/*scopes*/ "2.heading.markdown.markup", "(null)",
/*patterns*/ true, REGEX: ^(-{3,})(?=[ \t]*$), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[106652628499040]; })
,
}
}; syntaxItems[106652628498880]; })
,
}
}; syntaxItems[106652629352768]; })
}
// Writing lang MultiMarkdown
void shamrock_test_MultiMarkdown() {
std::map<intptr_t, Syntaxable*> syntaxItems;
({ syntaxItems[106652629353152] = new SyntaxBase{
"html.markdown.multimarkdown.text", nullptr, {
({ syntaxItems[106652628501520] = new SyntaxElement{
/*scopes*/ "header.meta.multimarkdown", "(null)",
/*patterns*/ false, REGEX: ^([A-Za-z0-9]+)(:)\s*, REGEX: ^$|^(?=[A-Za-z0-9]+:)
/*refs*/TODO
/*children*/ {
({ syntaxItems[106652628501600] = new SyntaxElement{
/*scopes*/ "multimarkdown.string.unquoted", "(null)",
/*patterns*/ true, REGEX: .+, (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[106652628501600]; })
,
}
}; syntaxItems[106652628501520]; })
,
({ syntaxItems[106652628501680] = new SyntaxElement{
/*scopes*/ "content.meta.multimarkdown", "(null)",
/*patterns*/ false, REGEX: ^(?!=[A-Za-z0-9]+:), REGEX: ^(?=not)possible$
/*refs*/TODO
/*children*/ {
({ syntaxItems[105553118961376] = new SyntaxElement{
/*scopes*/ "anonymous.multimarkdown", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[105553118961376]; })
,
}
}; syntaxItems[106652628501680]; })
,
}
}; syntaxItems[106652629353152]; })
}
// --- Writing truffle Nu ---
// Writing lang Nu
void shamrock_test_Nu() {
std::map<intptr_t, Syntaxable*> syntaxItems;
({ syntaxItems[106652629353920] = new SyntaxBase{
"nu.source", nullptr, {
({ syntaxItems[106652628502480] = new SyntaxElement{
/*scopes*/ "constant.language.nu", "(null)",
/*patterns*/ true, <CHSyntaxPatternListDefinition: 0x610000a51640>, (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[106652628502480]; })
,
({ syntaxItems[106652628502560] = 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[106652628502560]; })
,
({ syntaxItems[106652628502800] = 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[106652628502800]; })
,
({ syntaxItems[106652628502960] = new SyntaxElement{
/*scopes*/ "instance.nu.other.readwrite.variable", "(null)",
/*patterns*/ true, REGEX: (@)[a-zA-Z_]\w*, (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[106652628502960]; })
,
({ syntaxItems[106652628503040] = new SyntaxElement{
/*scopes*/ "global.nu.other.readwrite.variable", "(null)",
/*patterns*/ true, REGEX: (\$)[a-zA-Z_]\w*, (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[106652628503040]; })
,
({ syntaxItems[106652628503120] = new SyntaxElement{
/*scopes*/ "class.nu.support", "(null)",
/*patterns*/ true, REGEX: \b[A-Z]\w*\b, (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[106652628503120]; })
,
({ syntaxItems[106652628503200] = new SyntaxElement{
/*scopes*/ "comment.nu.nudoc", "(null)",
/*patterns*/ true, REGEX: (;.*|#.*)(@(abstract|copyright|discussion|file|header|info).*), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[106652628503200]; })
,
({ syntaxItems[106652628503440] = new SyntaxElement{
/*scopes*/ "comment.line.nu.semicolon", "(null)",
/*patterns*/ true, REGEX: (;).*$\n?, (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[106652628503440]; })
,
({ syntaxItems[106652628503520] = new SyntaxElement{
/*scopes*/ "comment.hash.line.nu", "(null)",
/*patterns*/ true, REGEX: (#).*$\n?, (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[106652628503520]; })
,
({ syntaxItems[106652628503600] = new SyntaxElement{
/*scopes*/ "double.nu.quoted.string.unescaped", "(null)",
/*patterns*/ false, REGEX: -", REGEX: "
/*refs*/TODO
/*children*/ {
({ syntaxItems[105553118962416] = new SyntaxElement{
/*scopes*/ "anonymous.nu", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[105553118962416]; })
,
}
}; syntaxItems[106652628503600]; })
,
({ syntaxItems[106652628503680] = new SyntaxElement{
/*scopes*/ "double.escaped.nu.quoted.string", "(null)",
/*patterns*/ false, REGEX: \+?", REGEX: "
/*refs*/TODO
/*children*/ {
({ syntaxItems[105553118962336] = new SyntaxElement{
/*scopes*/ "anonymous.nu", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[105553118962336]; })
,
({ syntaxItems[105553118962496] = new SyntaxElement{
/*scopes*/ "anonymous.nu", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[105553118962496]; })
,
}
}; syntaxItems[106652628503680]; })
,
({ syntaxItems[106652628503360] = new SyntaxElement{
/*scopes*/ "escaped.heredoc.nu.string.unquoted", "(null)",
/*patterns*/ false, REGEX: <<[+](.*), REGEX: \1
/*refs*/TODO
/*children*/ {
({ syntaxItems[105553118962576] = new SyntaxElement{
/*scopes*/ "anonymous.nu", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[105553118962576]; })
,
({ syntaxItems[105553118962656] = new SyntaxElement{
/*scopes*/ "anonymous.nu", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[105553118962656]; })
,
}
}; syntaxItems[106652628503360]; })
,
({ syntaxItems[106652628503760] = new SyntaxElement{
/*scopes*/ "heredoc.nu.string.unescaped.unquoted", "(null)",
/*patterns*/ false, REGEX: <<[-](.*), REGEX: \1
/*refs*/TODO
/*children*/ {
({ syntaxItems[105553118962736] = new SyntaxElement{
/*scopes*/ "anonymous.nu", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[105553118962736]; })
,
}
}; syntaxItems[106652628503760]; })
,
({ syntaxItems[106652628503840] = new SyntaxElement{
/*scopes*/ "nu.regexp.string", "(null)",
/*patterns*/ false, REGEX: (/)(?=[^ ]), REGEX: /[isxlm]*
/*refs*/TODO
/*children*/ {
({ syntaxItems[106652628503920] = new SyntaxElement{
/*scopes*/ "character.constant.escape.nu", "(null)",
/*patterns*/ true, REGEX: \\/, (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[106652628503920]; })
,
}
}; syntaxItems[106652628503840]; })
,
({ syntaxItems[106652628504000] = new SyntaxElement{
/*scopes*/ "class.meta.nu", "(null)",
/*patterns*/ true, REGEX: \b(class)\s+((\w|\-|\!|\?)*)(\s+(is)\s+((\w|\-|\!|\?)*))?, (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[106652628504000]; })
,
({ syntaxItems[106652628504160] = new SyntaxElement{
/*scopes*/ "meta.nu.protocol", "(null)",
/*patterns*/ true, REGEX: \b(protocol)\s+((\w)*), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[106652628504160]; })
,
({ syntaxItems[106652628504240] = new SyntaxElement{
/*scopes*/ "import.meta.nu", "(null)",
/*patterns*/ true, REGEX: \((import)\s+(\w*), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[106652628504240]; })
,
({ syntaxItems[106652628504320] = new SyntaxElement{
/*scopes*/ "global.meta.nu", "(null)",
/*patterns*/ true, REGEX: \((global)\s+([\w\-]*), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[106652628504320]; })
,
({ syntaxItems[106652628504400] = 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[106652628504400]; })
,
({ syntaxItems[106652628504480] = 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[106652628504480]; })
,
({ syntaxItems[106652628504560] = 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[106652628504560]; })
,
({ syntaxItems[106652628504880] = 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[106652628504880]; })
,
({ syntaxItems[106652628504960] = 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[106652628504960]; })
,
({ syntaxItems[106652628505040] = new SyntaxElement{
/*scopes*/ "function.meta.nu", "(null)",
/*patterns*/ true, REGEX: \b(function|macro|macro-0|macro-1)\s+((\w|\-|\!|\?)*), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[106652628505040]; })
,
({ syntaxItems[106652628505200] = 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[106652628505200]; })
,
({ syntaxItems[106652628505360] = 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[106652628505360]; })
,
({ syntaxItems[106652628505600] = new SyntaxElement{
/*scopes*/ "default.meta.nu.nukefile.task", "(null)",
/*patterns*/ true, REGEX: (task)\s+(\"default\")\s+(=>)\s+(\"\w+\"), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[106652628505600]; })
,
({ syntaxItems[106652628505680] = new SyntaxElement{
/*scopes*/ "control.keyword.nu", "(null)",
/*patterns*/ true, <CHSyntaxPatternListDefinition: 0x610000a59380>, (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[106652628505680]; })
,
({ syntaxItems[106652628505760] = new SyntaxElement{
/*scopes*/ "keyword.nu.operator", "(null)",
/*patterns*/ true, <CHSyntaxPatternListDefinition: 0x610000a59710>, (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[106652628505760]; })
,
({ syntaxItems[106652628505840] = new SyntaxElement{
/*scopes*/ "keyword.nu.operator.symbolic", "(null)",
/*patterns*/ true, REGEX: [/*+-/&|><=!`@], (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[106652628505840]; })
,
({ syntaxItems[106652628505920] = new SyntaxElement{
/*scopes*/ "function.nu.support", "(null)",
/*patterns*/ true, <CHSyntaxPatternListDefinition: 0x610000a59c80>, (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[106652628505920]; })
,
({ syntaxItems[106652628506000] = new SyntaxElement{
/*scopes*/ "function.nu.support.testing", "(null)",
/*patterns*/ true, <CHSyntaxPatternListDefinition: 0x610000a5a040>, (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[106652628506000]; })
,
({ syntaxItems[106652628506080] = new SyntaxElement{
/*scopes*/ "keyword.nu.nukefile", "(null)",
/*patterns*/ true, <CHSyntaxPatternListDefinition: 0x610000a5a4f0>, (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[106652628506080]; })
,
}
}; syntaxItems[106652629353920]; })
}
// --- Writing truffle Objective-C ---
// Writing lang Objective-C
void shamrock_test_Objective-C() {
std::map<intptr_t, Syntaxable*> syntaxItems;
({ syntaxItems[105553117744960] = new SyntaxBase{
"objc.source", nullptr, {
({ syntaxItems[105553116831824] = 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[105553118962816] = new SyntaxElement{
/*scopes*/ "anonymous.objective-c", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[105553118962816]; })
,
}
}; syntaxItems[105553116831824]; })
,
({ syntaxItems[105553116835744] = 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[105553118962896] = new SyntaxElement{
/*scopes*/ "anonymous.objective-c", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[105553118962896]; })
,
}
}; syntaxItems[105553116835744]; })
,
({ syntaxItems[105553116835824] = new SyntaxElement{
/*scopes*/ "double.objc.objective-c.quoted.string", "(null)",
/*patterns*/ false, REGEX: @", REGEX: "
/*refs*/TODO
/*children*/ {
({ syntaxItems[105553116835904] = 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[105553116835904]; })
,
({ syntaxItems[105553116835984] = new SyntaxElement{
/*scopes*/ "illegal.invalid.objc.objective-c.unknown-escape", "(null)",
/*patterns*/ true, REGEX: \\., (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[105553116835984]; })
,
}
}; syntaxItems[105553116835824]; })
,
({ syntaxItems[105553116836144] = new SyntaxElement{
/*scopes*/ "id-with-protocol.meta.objc.objective-c", "(null)",
/*patterns*/ false, REGEX: \b(id)\s*(?=<), REGEX: (?<=>)
/*refs*/TODO
/*children*/ {
({ syntaxItems[105553118962976] = new SyntaxElement{
/*scopes*/ "anonymous.objective-c", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[105553118962976]; })
,
}
}; syntaxItems[105553116836144]; })
,
({ syntaxItems[105553116836224] = new SyntaxElement{
/*scopes*/ "control.keyword.macro.objc.objective-c", "(null)",
/*patterns*/ true, <CHSyntaxPatternListDefinition: 0x60000024ae00>, (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[105553116836224]; })
,
({ syntaxItems[105553116836304] = new SyntaxElement{
/*scopes*/ "control.exception.keyword.objc.objective-c", "(null)",
/*patterns*/ true, REGEX: (@)(try|catch|finally|throw)\b, (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[105553116836304]; })
,
({ syntaxItems[105553116836384] = new SyntaxElement{
/*scopes*/ "control.keyword.objc.objective-c.synchronize", "(null)",
/*patterns*/ true, REGEX: (@)(synchronized)\b, (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[105553116836384]; })
,
({ syntaxItems[105553116836544] = new SyntaxElement{
/*scopes*/ "control.keyword.objc.objective-c.protocol-specification", "(null)",
/*patterns*/ true, REGEX: (@)(required|optional)\b, (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[105553116836544]; })
,
({ syntaxItems[105553116836624] = new SyntaxElement{
/*scopes*/ "keyword.objc.objective-c.other", "(null)",
/*patterns*/ true, REGEX: (@)(defs|encode)\b, (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[105553116836624]; })
,
({ syntaxItems[105553116836784] = new SyntaxElement{
/*scopes*/ "id.objc.objective-c.storage.type", "(null)",
/*patterns*/ true, REGEX: \bid\b(\s|\n)?, (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[105553116836784]; })
,
({ syntaxItems[105553116836864] = new SyntaxElement{
/*scopes*/ "objc.objective-c.storage.type", "(null)",
/*patterns*/ true, <CHSyntaxPatternListDefinition: 0x60000024bd90>, (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[105553116836864]; })
,
({ syntaxItems[105553116836464] = new SyntaxElement{
/*scopes*/ "objc.objective-c.storage.type", "(null)",
/*patterns*/ true, REGEX: (@)(class|protocol)\b, (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[105553116836464]; })
,
({ syntaxItems[105553116836944] = new SyntaxElement{
/*scopes*/ "meta.objc.objective-c.selector", "(null)",
/*patterns*/ false, REGEX: ((@)selector)\s*(\(), REGEX: (\))
/*refs*/TODO
/*children*/ {
({ syntaxItems[105553116837184] = 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[105553116837184]; })
,
}
}; syntaxItems[105553116836944]; })
,
({ syntaxItems[105553116837344] = new SyntaxElement{
/*scopes*/ "modifier.objc.objective-c.storage", "(null)",
/*patterns*/ true, REGEX: (@)(synchronized|public|private|protected)\b, (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[105553116837344]; })
,
({ syntaxItems[105553116837504] = new SyntaxElement{
/*scopes*/ "constant.language.objc.objective-c", "(null)",
/*patterns*/ true, <CHSyntaxPatternListDefinition: 0x60000024ce10>, (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[105553116837504]; })
,
({ syntaxItems[105553116837584] = new SyntaxElement{
/*scopes*/ "foundation.objective-c.support.variable", "(null)",
/*patterns*/ true, STRING: NSApp, (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[105553116837584]; })
,
({ syntaxItems[105553116837664] = 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[105553116837664]; })
,
({ syntaxItems[105553116837824] = 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[105553116837824]; })
,
({ syntaxItems[105553116837984] = 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[105553116837984]; })
,
({ syntaxItems[105553116838064] = 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[105553116838064]; })
,
({ syntaxItems[105553116838144] = 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[105553116838144]; })
,
({ syntaxItems[105553116838224] = 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[105553116838224]; })
,
({ syntaxItems[105553116838304] = 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[105553116838304]; })
,
({ syntaxItems[105553116838464] = 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[105553116838464]; })
,
({ syntaxItems[105553116838544] = new SyntaxElement{
/*scopes*/ "cocoa.constant.objective-c.support", "(null)",
/*patterns*/ true, REGEX: \bNS(NotFound|Ordered(Ascending|Descending|Same))\b, (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[105553116838544]; })
,
({ syntaxItems[105553116838704] = new SyntaxElement{
/*scopes*/ "cocoa.constant.leopard.notification.objective-c.support", "(null)",
/*patterns*/ true, REGEX: \bNS(MenuDidBeginTracking|ViewDidUpdateTrackingAreas)?Notification\b, (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[105553116838704]; })
,
({ syntaxItems[105553116838784] = 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[105553116838784]; })
,
({ syntaxItems[105553116839024] = 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[105553116839024]; })
,
({ syntaxItems[105553116839104] = 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[105553116839104]; })
,
({ syntaxItems[105553118963056] = new SyntaxElement{
/*scopes*/ "anonymous.objective-c", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[105553118963056]; })
,
({ syntaxItems[105553118963136] = new SyntaxElement{
/*scopes*/ "anonymous.objective-c", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[105553118963136]; })
,
}
}; syntaxItems[105553117744960]; })
}
// Writing lang Objective-C++
void shamrock_test_Objective-C++() {
std::map<intptr_t, Syntaxable*> syntaxItems;
({ syntaxItems[105553117745344] = new SyntaxBase{
"objc++.source", nullptr, {
({ syntaxItems[105553118963216] = new SyntaxElement{
/*scopes*/ "anonymous.objective-c++", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[105553118963216]; })
,
({ syntaxItems[105553118963296] = new SyntaxElement{
/*scopes*/ "anonymous.objective-c++", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[105553118963296]; })
,
}
}; syntaxItems[105553117745344]; })
}
// Writing lang Strings File
void shamrock_test_Strings_File() {
std::map<intptr_t, Syntaxable*> syntaxItems;
({ syntaxItems[105553117745728] = new SyntaxBase{
"source.strings", nullptr, {
({ syntaxItems[105553116845024] = new SyntaxElement{
/*scopes*/ "block.comment.strings.strings-file", "(null)",
/*patterns*/ false, REGEX: /\*, REGEX: \*/
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[105553116845024]; })
,
({ syntaxItems[105553116845104] = new SyntaxElement{
/*scopes*/ "double.quoted.string.strings.strings-file", "(null)",
/*patterns*/ false, REGEX: ", REGEX: "
/*refs*/TODO
/*children*/ {
({ syntaxItems[105553116845184] = 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[105553116845184]; })
,
({ syntaxItems[105553116845344] = new SyntaxElement{
/*scopes*/ "illegal.invalid.strings.strings-file.unknown-escape", "(null)",
/*patterns*/ true, REGEX: \\., (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[105553116845344]; })
,
({ syntaxItems[105553116845504] = 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[105553116845504]; })
,
({ syntaxItems[105553116845664] = new SyntaxElement{
/*scopes*/ "c.illegal.invalid.placeholder.strings-file", "(null)",
/*patterns*/ true, STRING: %, (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[105553116845664]; })
,
}
}; syntaxItems[105553116845104]; })
,
}
}; syntaxItems[105553117745728]; })
}
// --- Writing truffle OCaml ---
// Writing lang camlp4
void shamrock_test_camlp4() {
std::map<intptr_t, Syntaxable*> syntaxItems;
({ syntaxItems[106652629357760] = new SyntaxBase{
"camlp4.ocaml.source", nullptr, {
({ syntaxItems[106652628512720] = new SyntaxElement{
/*scopes*/ "camlp4.camlp4-stream.meta.ocaml", "(null)",
/*patterns*/ false, REGEX: (\[<)(?=.*?>]), REGEX: (?=>])
/*refs*/TODO
/*children*/ {
({ syntaxItems[105553118994176] = new SyntaxElement{
/*scopes*/ "anonymous.camlp4", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[105553118994176]; })
,
}
}; syntaxItems[106652628512720]; })
,
({ syntaxItems[106652628514080] = new SyntaxElement{
/*scopes*/ "camlp4.camlp4-stream.definition.ocaml.punctuation", "(null)",
/*patterns*/ true, REGEX: \[<|>], (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[106652628514080]; })
,
({ syntaxItems[106652628514160] = new SyntaxElement{
/*scopes*/ "camlp4.keyword.ocaml.other", "(null)",
/*patterns*/ true, REGEX: \bparser\b|<(<|:)|>>|\$(:|\${0,1}), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[106652628514160]; })
,
}
}; syntaxItems[106652629357760]; })
}
// Writing lang OCaml
void shamrock_test_OCaml() {
std::map<intptr_t, Syntaxable*> syntaxItems;
({ syntaxItems[106652629357952] = new SyntaxBase{
"ocaml.source", nullptr, {
({ syntaxItems[106652628515280] = 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[106652628515280]; })
,
({ syntaxItems[106652628515440] = 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[105553118994256] = new SyntaxElement{
/*scopes*/ "anonymous.ocaml", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[105553118994256]; })
,
}
}; syntaxItems[106652628515440]; })
,
({ syntaxItems[106652628515680] = new SyntaxElement{
/*scopes*/ "anonymous.function.meta.ocaml", "(null)",
/*patterns*/ false, REGEX: (\(|\s)(?=fun\s), REGEX: (\))
/*refs*/TODO
/*children*/ {
({ syntaxItems[106652628515920] = new SyntaxElement{
/*scopes*/ "anonymous.definition.function.meta.ocaml", "(null)",
/*patterns*/ false, REGEX: (?<=(\(|\s))(fun)\s, REGEX: (->)
/*refs*/TODO
/*children*/ {
({ syntaxItems[105553118994336] = new SyntaxElement{
/*scopes*/ "anonymous.ocaml", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[105553118994336]; })
,
}
}; syntaxItems[106652628515920]; })
,
({ syntaxItems[105553118994416] = new SyntaxElement{
/*scopes*/ "anonymous.ocaml", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[105553118994416]; })
,
}
}; syntaxItems[106652628515680]; })
,
({ syntaxItems[106652628516080] = 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[106652628516160] = 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[105553118994496] = new SyntaxElement{
/*scopes*/ "anonymous.ocaml", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[105553118994496]; })
,
}
}; syntaxItems[106652628516160]; })
,
}
}; syntaxItems[106652628516080]; })
,
({ syntaxItems[106652628516240] = 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[105553118994576] = new SyntaxElement{
/*scopes*/ "anonymous.ocaml", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[105553118994576]; })
,
}
}; syntaxItems[106652628516240]; })
,
({ syntaxItems[106652628516320] = 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[106652628516320]; })
,
({ syntaxItems[106652628516400] = 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[105553118994736] = new SyntaxElement{
/*scopes*/ "anonymous.ocaml", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[105553118994736]; })
,
}
}; syntaxItems[106652628516400]; })
,
({ syntaxItems[106652628516560] = 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[105553118994816] = new SyntaxElement{
/*scopes*/ "anonymous.ocaml", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[105553118994816]; })
,
}
}; syntaxItems[106652628516560]; })
,
({ syntaxItems[106652628516640] = 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[106652628516640]; })
,
({ syntaxItems[106652628516720] = new SyntaxElement{
/*scopes*/ "meta.ocaml.record", "(null)",
/*patterns*/ false, REGEX: (\{), REGEX: (\})
/*refs*/TODO
/*children*/ {
({ syntaxItems[106652628516800] = new SyntaxElement{
/*scopes*/ "keyword.language.ocaml.other", "(null)",
/*patterns*/ true, STRING: with, (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[106652628516800]; })
,
({ syntaxItems[106652628516880] = 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[105553118994896] = new SyntaxElement{
/*scopes*/ "anonymous.ocaml", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[105553118994896]; })
,
}
}; syntaxItems[106652628516880]; })
,
({ syntaxItems[105553118994976] = new SyntaxElement{
/*scopes*/ "anonymous.ocaml", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[105553118994976]; })
,
}
}; syntaxItems[106652628516720]; })
,
({ syntaxItems[106652628516960] = new SyntaxElement{
/*scopes*/ "meta.object.ocaml", "(null)",
/*patterns*/ false, REGEX: \b(object)\s*(?:(\()(_?[a-z]+)(\)))?\s*$, REGEX: \b(end)\b
/*refs*/TODO
/*children*/ {
({ syntaxItems[106652628517040] = 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[105553118994656] = new SyntaxElement{
/*scopes*/ "anonymous.ocaml", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[105553118994656]; })
,
}
}; syntaxItems[106652628517040]; })
,
({ syntaxItems[106652628517200] = 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[106652628517200]; })
,
({ syntaxItems[105553118995056] = new SyntaxElement{
/*scopes*/ "anonymous.ocaml", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[105553118995056]; })
,
}
}; syntaxItems[106652628516960]; })
,
({ syntaxItems[106652628516480] = new SyntaxElement{
/*scopes*/ "meta.method-call.ocaml", "(null)",
/*patterns*/ true, REGEX: (?<=\w|\)|')(#)[a-z_][a-zA-Z0-9'_]*, (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[106652628516480]; })
,
({ syntaxItems[106652628517280] = 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[106652628517280]; })
,
({ syntaxItems[106652628517360] = 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[106652628517360]; })
,
({ syntaxItems[106652628517440] = new SyntaxElement{
/*scopes*/ "meta.module.ocaml.signature", "(null)",
/*patterns*/ false, REGEX: \b(sig)\b, REGEX: \b(end)\b
/*refs*/TODO
/*children*/ {
({ syntaxItems[105553118995136] = new SyntaxElement{
/*scopes*/ "anonymous.ocaml", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[105553118995136]; })
,
({ syntaxItems[105553118995216] = new SyntaxElement{
/*scopes*/ "anonymous.ocaml", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[105553118995216]; })
,
}
}; syntaxItems[106652628517440]; })
,
({ syntaxItems[106652628517520] = new SyntaxElement{
/*scopes*/ "meta.module.ocaml.structure", "(null)",
/*patterns*/ false, REGEX: \b(struct)\b, REGEX: \b(end)\b
/*refs*/TODO
/*children*/ {
({ syntaxItems[105553118995296] = new SyntaxElement{
/*scopes*/ "anonymous.ocaml", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[105553118995296]; })
,
}
}; syntaxItems[106652628517520]; })
,
({ syntaxItems[105553118995376] = new SyntaxElement{
/*scopes*/ "anonymous.ocaml", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[105553118995376]; })
,
({ syntaxItems[106652628517600] = 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[106652628517760] = new SyntaxElement{
/*scopes*/ "module.ocaml.other.support", "(null)",
/*patterns*/ true, REGEX: (\.)([A-Z][a-zA-Z0-9'_]*), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[106652628517760]; })
,
}
}; syntaxItems[106652628517600]; })
,
({ syntaxItems[106652628517840] = 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[106652628517840]; })
,
({ syntaxItems[106652628517920] = new SyntaxElement{
/*scopes*/ "camlp4.embedded.ocaml.source", "(null)",
/*patterns*/ false, REGEX: (?=(\[<)(?![^\[]+?[^>]])), REGEX: (>])
/*refs*/TODO
/*children*/ {
({ syntaxItems[105553118995456] = new SyntaxElement{
/*scopes*/ "anonymous.ocaml", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[105553118995456]; })
,
}
}; syntaxItems[106652628517920]; })
,
({ syntaxItems[105553118995536] = new SyntaxElement{
/*scopes*/ "anonymous.ocaml", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[105553118995536]; })
,
({ syntaxItems[105553118995616] = new SyntaxElement{
/*scopes*/ "anonymous.ocaml", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[105553118995616]; })
,
({ syntaxItems[105553118995696] = new SyntaxElement{
/*scopes*/ "anonymous.ocaml", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[105553118995696]; })
,
({ syntaxItems[105553118995776] = new SyntaxElement{
/*scopes*/ "anonymous.ocaml", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[105553118995776]; })
,
({ syntaxItems[105553118995856] = new SyntaxElement{
/*scopes*/ "anonymous.ocaml", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[105553118995856]; })
,
({ syntaxItems[106652628518000] = new SyntaxElement{
/*scopes*/ "meta.ocaml.type-constraint", "(null)",
/*patterns*/ false, REGEX: (\()(?=(~[a-z][a-zA-Z0-9_]*:|("(\\"|[^"])*")|[^\(\)~"])+(?<!:)(:>|:(?![:=]))), REGEX: (?<!:)(:>|:(?![:=]))(.*?)(\))
/*refs*/TODO
/*children*/ {
({ syntaxItems[105553118995936] = new SyntaxElement{
/*scopes*/ "anonymous.ocaml", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[105553118995936]; })
,
}
}; syntaxItems[106652628518000]; })
,
({ syntaxItems[106652628518080] = new SyntaxElement{
/*scopes*/ "directive.keyword.ocaml.other", "(null)",
/*patterns*/ true, REGEX: ^[ \t]*#[a-zA-Z]+, (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[106652628518080]; })
,
({ syntaxItems[106652628518160] = new SyntaxElement{
/*scopes*/ "directive.keyword.line-number.ocaml.other", "(null)",
/*patterns*/ true, REGEX: ^[ \t]*#[0-9]*, (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[106652628518160]; })
,
({ syntaxItems[105553118996016] = new SyntaxElement{
/*scopes*/ "anonymous.ocaml", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[105553118996016]; })
,
({ syntaxItems[106652628518240] = new SyntaxElement{
/*scopes*/ "keyword.modifier.ocaml.other.storage", "(null)",
/*patterns*/ true, <CHSyntaxPatternListDefinition: 0x610000e50590>, (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[106652628518240]; })
,
({ syntaxItems[106652628518400] = 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[106652628518400]; })
,
({ syntaxItems[106652628518480] = 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[106652628518480]; })
,
({ syntaxItems[106652628518640] = new SyntaxElement{
/*scopes*/ "keyword.ocaml.operator.symbol", "(null)",
/*patterns*/ true, REGEX: !=|:=|>|<, (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[106652628518640]; })
,
({ syntaxItems[106652628518800] = new SyntaxElement{
/*scopes*/ "floating-point.infix.keyword.ocaml.operator", "(null)",
/*patterns*/ true, REGEX: [*+/-]\., (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[106652628518800]; })
,
({ syntaxItems[106652628518880] = new SyntaxElement{
/*scopes*/ "floating-point.keyword.ocaml.operator.prefix", "(null)",
/*patterns*/ true, REGEX: ~-\., (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[106652628518880]; })
,
({ syntaxItems[106652628519040] = new SyntaxElement{
/*scopes*/ "constructor.definition.list.ocaml.punctuation", "(null)",
/*patterns*/ true, STRING: ::, (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[106652628519040]; })
,
({ syntaxItems[106652628519200] = new SyntaxElement{
/*scopes*/ "expression.ocaml.punctuation.terminator", "(null)",
/*patterns*/ true, STRING: ;;, (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[106652628519200]; })
,
({ syntaxItems[106652628519360] = new SyntaxElement{
/*scopes*/ "ocaml.punctuation.separator", "(null)",
/*patterns*/ true, STRING: ;, (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[106652628519360]; })
,
({ syntaxItems[106652628519440] = new SyntaxElement{
/*scopes*/ "function-return.ocaml.punctuation.separator", "(null)",
/*patterns*/ true, STRING: ->, (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[106652628519440]; })
,
({ syntaxItems[106652628519520] = new SyntaxElement{
/*scopes*/ "infix.keyword.ocaml.operator", "(null)",
/*patterns*/ true, REGEX: [=<>@^&+\-*/$%|][|!$%&*+./:<=>?@^~-]*, (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[106652628519520]; })
,
({ syntaxItems[106652628519680] = new SyntaxElement{
/*scopes*/ "keyword.ocaml.operator.prefix", "(null)",
/*patterns*/ true, REGEX: \bnot\b|!|[!\?~][!$%&*+./:<=>?@^~-]+, (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[106652628519680]; })
,
({ syntaxItems[106652628519760] = new SyntaxElement{
/*scopes*/ "entity.label.name.ocaml.tag", "(null)",
/*patterns*/ true, REGEX: ~[a-z][a-z0-9'_]*(:)?, (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[106652628519760]; })
,
({ syntaxItems[106652628519840] = new SyntaxElement{
/*scopes*/ "begin-end-group.meta.ocaml", "(null)",
/*patterns*/ false, REGEX: \b(begin)\b, REGEX: \b(end)\b
/*refs*/TODO
/*children*/ {
({ syntaxItems[105553118996096] = new SyntaxElement{
/*scopes*/ "anonymous.ocaml", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[105553118996096]; })
,
}
}; syntaxItems[106652628519840]; })
,
({ syntaxItems[106652628519920] = new SyntaxElement{
/*scopes*/ "for-loop.meta.ocaml", "(null)",
/*patterns*/ false, REGEX: \b(for)\b, REGEX: \b(done)\b
/*refs*/TODO
/*children*/ {
({ syntaxItems[106652628520000] = new SyntaxElement{
/*scopes*/ "control.keyword.loop.ocaml", "(null)",
/*patterns*/ true, STRING: do, (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[106652628520000]; })
,
({ syntaxItems[105553118996176] = new SyntaxElement{
/*scopes*/ "anonymous.ocaml", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[105553118996176]; })
,
}
}; syntaxItems[106652628519920]; })
,
({ syntaxItems[106652628520080] = new SyntaxElement{
/*scopes*/ "meta.ocaml.while-loop", "(null)",
/*patterns*/ false, REGEX: \b(while)\b, REGEX: \b(done)\b
/*refs*/TODO
/*children*/ {
({ syntaxItems[106652628520160] = new SyntaxElement{
/*scopes*/ "control.keyword.loop.ocaml", "(null)",
/*patterns*/ true, STRING: do, (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[106652628520160]; })
,
({ syntaxItems[105553118996256] = new SyntaxElement{
/*scopes*/ "anonymous.ocaml", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[105553118996256]; })
,
}
}; syntaxItems[106652628520080]; })
,
({ syntaxItems[106652628520240] = new SyntaxElement{
/*scopes*/ "meta.ocaml.paren-group", "(null)",
/*patterns*/ false, REGEX: \(, REGEX: \)
/*refs*/TODO
/*children*/ {
({ syntaxItems[105553118996336] = new SyntaxElement{
/*scopes*/ "anonymous.ocaml", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[105553118996336]; })
,
}
}; syntaxItems[106652628520240]; })
,
({ syntaxItems[106652628520320] = new SyntaxElement{
/*scopes*/ "keyword.ocaml.operator", "(null)",
/*patterns*/ true, <CHSyntaxPatternListDefinition: 0x610000e530b0>, (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[106652628520320]; })
,
({ syntaxItems[106652628520400] = new SyntaxElement{
/*scopes*/ "control.keyword.ocaml", "(null)",
/*patterns*/ true, <CHSyntaxPatternListDefinition: 0x610000e53350>, (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[106652628520400]; })
,
({ syntaxItems[106652628520720] = new SyntaxElement{
/*scopes*/ "keyword.ocaml.other", "(null)",
/*patterns*/ true, <CHSyntaxPatternListDefinition: 0x610000e53650>, (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[106652628520720]; })
,
({ syntaxItems[105553118996416] = new SyntaxElement{
/*scopes*/ "anonymous.ocaml", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[105553118996416]; })
,
({ syntaxItems[106652628520960] = new SyntaxElement{
/*scopes*/ "illegal.invalid.ocaml.unrecognized-character", "(null)",
/*patterns*/ true, <CHSyntaxPatternListDefinition: 0x610000e53b90>, (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[106652628520960]; })
,
}
}; syntaxItems[106652629357952]; })
}
// Writing lang OCamllex
void shamrock_test_OCamllex() {
std::map<intptr_t, Syntaxable*> syntaxItems;
({ syntaxItems[106652629358336] = new SyntaxBase{
"ocamllex.source", nullptr, {
({ syntaxItems[106652628528160] = new SyntaxElement{
/*scopes*/ "embedded.meta.ocaml.ocamllex", "(null)",
/*patterns*/ false, REGEX: ^\s*({), REGEX: ^\s*(})
/*refs*/TODO
/*children*/ {
({ syntaxItems[105553118996576] = new SyntaxElement{
/*scopes*/ "anonymous.ocamllex", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[105553118996576]; })
,
}
}; syntaxItems[106652628528160]; })
,
({ syntaxItems[106652628528400] = 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[105553118996656] = new SyntaxElement{
/*scopes*/ "anonymous.ocamllex", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[105553118996656]; })
,
}
}; syntaxItems[106652628528400]; })
,
({ syntaxItems[106652628528560] = 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[105553118996736] = new SyntaxElement{
/*scopes*/ "anonymous.ocamllex", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[105553118996736]; })
,
({ syntaxItems[105553118996816] = new SyntaxElement{
/*scopes*/ "anonymous.ocamllex", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[105553118996816]; })
,
}
}; syntaxItems[106652628528560]; })
,
({ syntaxItems[105553118996896] = new SyntaxElement{
/*scopes*/ "anonymous.ocamllex", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[105553118996896]; })
,
({ syntaxItems[105553118996976] = new SyntaxElement{
/*scopes*/ "anonymous.ocamllex", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[105553118996976]; })
,
({ syntaxItems[106652628528640] = new SyntaxElement{
/*scopes*/ "keyword.ocamllex.operator.symbol", "(null)",
/*patterns*/ true, STRING: =, (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[106652628528640]; })
,
({ syntaxItems[106652628528720] = new SyntaxElement{
/*scopes*/ "meta.ocamllex.paren-group", "(null)",
/*patterns*/ false, REGEX: \(, REGEX: \)
/*refs*/TODO
/*children*/ {
({ syntaxItems[105553118997136] = new SyntaxElement{
/*scopes*/ "anonymous.ocamllex", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[105553118997136]; })
,
}
}; syntaxItems[106652628528720]; })
,
({ syntaxItems[106652628528880] = new SyntaxElement{
/*scopes*/ "illegal.invalid.ocamllex.unrecognized-character", "(null)",
/*patterns*/ true, <CHSyntaxPatternListDefinition: 0x610001046210>, (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[106652628528880]; })
,
}
}; syntaxItems[106652629358336]; })
}
// Writing lang OCamlyacc
void shamrock_test_OCamlyacc() {
std::map<intptr_t, Syntaxable*> syntaxItems;
({ syntaxItems[106652629358528] = new SyntaxBase{
"ocamlyacc.source", nullptr, {
({ syntaxItems[106652628533120] = new SyntaxElement{
/*scopes*/ "header.meta.ocamlyacc", "(null)",
/*patterns*/ false, REGEX: (%{)\s*$, REGEX: ^\s*(%})
/*refs*/TODO
/*children*/ {
({ syntaxItems[105553118996496] = new SyntaxElement{
/*scopes*/ "anonymous.ocamlyacc", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[105553118996496]; })
,
}
}; syntaxItems[106652628533120]; })
,
({ syntaxItems[106652628533200] = new SyntaxElement{
/*scopes*/ "declarations.meta.ocamlyacc", "(null)",
/*patterns*/ false, REGEX: (?<=%})\s*$, REGEX: (?:^)(?=%%)
/*refs*/TODO
/*children*/ {
({ syntaxItems[105553118997216] = new SyntaxElement{
/*scopes*/ "anonymous.ocamlyacc", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[105553118997216]; })
,
({ syntaxItems[105553118997296] = new SyntaxElement{
/*scopes*/ "anonymous.ocamlyacc", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[105553118997296]; })
,
}
}; syntaxItems[106652628533200]; })
,
({ syntaxItems[106652628533280] = new SyntaxElement{
/*scopes*/ "meta.ocamlyacc.rules", "(null)",
/*patterns*/ false, REGEX: (%%)\s*$, REGEX: ^\s*(%%)
/*refs*/TODO
/*children*/ {
({ syntaxItems[105553118997376] = new SyntaxElement{
/*scopes*/ "anonymous.ocamlyacc", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[105553118997376]; })
,
({ syntaxItems[105553118997456] = new SyntaxElement{
/*scopes*/ "anonymous.ocamlyacc", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[105553118997456]; })
,
}
}; syntaxItems[106652628533280]; })
,
({ syntaxItems[105553118997536] = new SyntaxElement{
/*scopes*/ "anonymous.ocamlyacc", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[105553118997536]; })
,
({ syntaxItems[105553118997616] = new SyntaxElement{
/*scopes*/ "anonymous.ocamlyacc", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[105553118997616]; })
,
({ syntaxItems[106652628533360] = new SyntaxElement{
/*scopes*/ "illegal.invalid.ocaml.ocamlyacc.unrecognized-character", "(null)",
/*patterns*/ true, <CHSyntaxPatternListDefinition: 0x6100010506b0>, (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[106652628533360]; })
,
}
}; syntaxItems[106652629358528]; })
}
// --- Writing truffle Perl ---
// Writing lang Perl
void shamrock_test_Perl() {
std::map<intptr_t, Syntaxable*> syntaxItems;
({ syntaxItems[105553117747456] = new SyntaxBase{
"perl.source", nullptr, {
({ syntaxItems[105553118963376] = new SyntaxElement{
/*scopes*/ "anonymous.perl", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[105553118963376]; })
,
({ syntaxItems[107202384340368] = new SyntaxElement{
/*scopes*/ "block.comment.documentation.perl", "(null)",
/*patterns*/ false, REGEX: ^=, REGEX: ^=cut
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[107202384340368]; })
,
({ syntaxItems[105553118963456] = new SyntaxElement{
/*scopes*/ "anonymous.perl", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[105553118963456]; })
,
({ syntaxItems[107202384340448] = new SyntaxElement{
/*scopes*/ "anonymous.perl", "(null)",
/*patterns*/ false, REGEX: \b(?=qr\s*[^\s\w]), REGEX: ((([egimosx]*)))(?=(\s+\S|\s*[;\,\#\{\}\)]|$))
/*refs*/TODO
/*children*/ {
({ syntaxItems[107202384340528] = new SyntaxElement{
/*scopes*/ "compile.nested_braces.perl.regexp.string", "(null)",
/*patterns*/ false, REGEX: (qr)\s*\{, REGEX: \}
/*refs*/TODO
/*children*/ {
({ syntaxItems[105553118963536] = new SyntaxElement{
/*scopes*/ "anonymous.perl", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[105553118963536]; })
,
({ syntaxItems[105553118963616] = new SyntaxElement{
/*scopes*/ "anonymous.perl", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[105553118963616]; })
,
({ syntaxItems[105553118963696] = new SyntaxElement{
/*scopes*/ "anonymous.perl", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[105553118963696]; })
,
}
}; syntaxItems[107202384340528]; })
,
({ syntaxItems[107202384340608] = new SyntaxElement{
/*scopes*/ "compile.nested_brackets.perl.regexp.string", "(null)",
/*patterns*/ false, REGEX: (qr)\s*\[, REGEX: \]
/*refs*/TODO
/*children*/ {
({ syntaxItems[105553118963776] = new SyntaxElement{
/*scopes*/ "anonymous.perl", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[105553118963776]; })
,
({ syntaxItems[105553118963856] = new SyntaxElement{
/*scopes*/ "anonymous.perl", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[105553118963856]; })
,
({ syntaxItems[105553118963936] = new SyntaxElement{
/*scopes*/ "anonymous.perl", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[105553118963936]; })
,
}
}; syntaxItems[107202384340608]; })
,
({ syntaxItems[107202384340688] = new SyntaxElement{
/*scopes*/ "compile.nested_ltgt.perl.regexp.string", "(null)",
/*patterns*/ false, REGEX: (qr)\s*<, REGEX: >
/*refs*/TODO
/*children*/ {
({ syntaxItems[105553118964016] = new SyntaxElement{
/*scopes*/ "anonymous.perl", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[105553118964016]; })
,
({ syntaxItems[105553118964096] = new SyntaxElement{
/*scopes*/ "anonymous.perl", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[105553118964096]; })
,
({ syntaxItems[105553118964176] = new SyntaxElement{
/*scopes*/ "anonymous.perl", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[105553118964176]; })
,
}
}; syntaxItems[107202384340688]; })
,
({ syntaxItems[107202384340848] = new SyntaxElement{
/*scopes*/ "compile.nested_parens.perl.regexp.string", "(null)",
/*patterns*/ false, REGEX: (qr)\s*\(, REGEX: \)
/*refs*/TODO
/*children*/ {
({ syntaxItems[105553118964256] = new SyntaxElement{
/*scopes*/ "anonymous.perl", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[105553118964256]; })
,
({ syntaxItems[105553118964336] = new SyntaxElement{
/*scopes*/ "anonymous.perl", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[105553118964336]; })
,
({ syntaxItems[105553118964416] = new SyntaxElement{
/*scopes*/ "anonymous.perl", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[105553118964416]; })
,
}
}; syntaxItems[107202384340848]; })
,
({ syntaxItems[107202384340928] = new SyntaxElement{
/*scopes*/ "compile.perl.regexp.single-quote.string", "(null)",
/*patterns*/ false, REGEX: (qr)\s*\', REGEX: \'
/*refs*/TODO
/*children*/ {
({ syntaxItems[105553118964496] = new SyntaxElement{
/*scopes*/ "anonymous.perl", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[105553118964496]; })
,
}
}; syntaxItems[107202384340928]; })
,
({ syntaxItems[107202384341008] = new SyntaxElement{
/*scopes*/ "compile.perl.regexp.simple-delimiter.string", "(null)",
/*patterns*/ false, REGEX: (qr)\s*([^\s\w\'\{\[\(\<]), REGEX: \2
/*refs*/TODO
/*children*/ {
({ syntaxItems[107202384341248] = new SyntaxElement{
/*scopes*/ "anchor.control.keyword.perl", "(null)",
/*patterns*/ true, REGEX: \$(?=[^\s\w\'\{\[\(\<]), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[107202384341248]; })
,
({ syntaxItems[105553118964576] = new SyntaxElement{
/*scopes*/ "anonymous.perl", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[105553118964576]; })
,
({ syntaxItems[105553118964656] = new SyntaxElement{
/*scopes*/ "anonymous.perl", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[105553118964656]; })
,
({ syntaxItems[105553118964736] = new SyntaxElement{
/*scopes*/ "anonymous.perl", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[105553118964736]; })
,
}
}; syntaxItems[107202384341008]; })
,
}
}; syntaxItems[107202384340448]; })
,
({ syntaxItems[107202384341088] = new SyntaxElement{
/*scopes*/ "anonymous.perl", "(null)",
/*patterns*/ false, REGEX: \b(?=(?<!\&)(s)(\s+\S|\s*[;\,\#\{\}\(\)\[<]|$)), REGEX: ((([egimosx]*)))(?=(\s+\S|\s*[;\,\#\{\}\)\]>]|$))
/*refs*/TODO
/*children*/ {
({ syntaxItems[107202384341488] = new SyntaxElement{
/*scopes*/ "nested_braces.perl.regexp.string", "(null)",
/*patterns*/ false, REGEX: (s)\s*\{, REGEX: \}
/*refs*/TODO
/*children*/ {
({ syntaxItems[105553118964816] = new SyntaxElement{
/*scopes*/ "anonymous.perl", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[105553118964816]; })
,
({ syntaxItems[105553118964896] = new SyntaxElement{
/*scopes*/ "anonymous.perl", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[105553118964896]; })
,
}
}; syntaxItems[107202384341488]; })
,
({ syntaxItems[107202384341568] = new SyntaxElement{
/*scopes*/ "nested_brackets.perl.regexp.string", "(null)",
/*patterns*/ false, REGEX: (s)\s*\[, REGEX: \]
/*refs*/TODO
/*children*/ {
({ syntaxItems[105553118964976] = new SyntaxElement{
/*scopes*/ "anonymous.perl", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[105553118964976]; })
,
({ syntaxItems[105553118965056] = new SyntaxElement{
/*scopes*/ "anonymous.perl", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[105553118965056]; })
,
}
}; syntaxItems[107202384341568]; })
,
({ syntaxItems[107202384341648] = new SyntaxElement{
/*scopes*/ "nested_ltgt.perl.regexp.string", "(null)",
/*patterns*/ false, REGEX: (s)\s*<, REGEX: >
/*refs*/TODO
/*children*/ {
({ syntaxItems[105553118965136] = new SyntaxElement{
/*scopes*/ "anonymous.perl", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[105553118965136]; })
,
({ syntaxItems[105553118965216] = new SyntaxElement{
/*scopes*/ "anonymous.perl", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[105553118965216]; })
,
}
}; syntaxItems[107202384341648]; })
,
({ syntaxItems[107202384341728] = new SyntaxElement{
/*scopes*/ "nested_parens.perl.regexp.string", "(null)",
/*patterns*/ false, REGEX: (s)\s*\(, REGEX: \)
/*refs*/TODO
/*children*/ {
({ syntaxItems[105553118965296] = new SyntaxElement{
/*scopes*/ "anonymous.perl", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[105553118965296]; })
,
({ syntaxItems[105553118965376] = new SyntaxElement{
/*scopes*/ "anonymous.perl", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[105553118965376]; })
,
}
}; syntaxItems[107202384341728]; })
,
({ syntaxItems[107202384341808] = new SyntaxElement{
/*scopes*/ "format.nested_braces.perl.regexp.string", "(null)",
/*patterns*/ false, REGEX: \{, REGEX: \}
/*refs*/TODO
/*children*/ {
({ syntaxItems[105553118965456] = new SyntaxElement{
/*scopes*/ "anonymous.perl", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[105553118965456]; })
,
({ syntaxItems[105553118965536] = new SyntaxElement{
/*scopes*/ "anonymous.perl", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[105553118965536]; })
,
({ syntaxItems[105553118965616] = new SyntaxElement{
/*scopes*/ "anonymous.perl", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[105553118965616]; })
,
}
}; syntaxItems[107202384341808]; })
,
({ syntaxItems[107202384341888] = new SyntaxElement{
/*scopes*/ "format.nested_brackets.perl.regexp.string", "(null)",
/*patterns*/ false, REGEX: \[, REGEX: \]
/*refs*/TODO
/*children*/ {
({ syntaxItems[105553118965696] = new SyntaxElement{
/*scopes*/ "anonymous.perl", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[105553118965696]; })
,
({ syntaxItems[105553118965776] = new SyntaxElement{
/*scopes*/ "anonymous.perl", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[105553118965776]; })
,
({ syntaxItems[105553118965856] = new SyntaxElement{
/*scopes*/ "anonymous.perl", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[105553118965856]; })
,
}
}; syntaxItems[107202384341888]; })
,
({ syntaxItems[107202384341968] = new SyntaxElement{
/*scopes*/ "format.nested_ltgt.perl.regexp.string", "(null)",
/*patterns*/ false, REGEX: <, REGEX: >
/*refs*/TODO
/*children*/ {
({ syntaxItems[105553118966016] = new SyntaxElement{
/*scopes*/ "anonymous.perl", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[105553118966016]; })
,
({ syntaxItems[105553118966096] = new SyntaxElement{
/*scopes*/ "anonymous.perl", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[105553118966096]; })
,
({ syntaxItems[105553118966176] = new SyntaxElement{
/*scopes*/ "anonymous.perl", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[105553118966176]; })
,
}
}; syntaxItems[107202384341968]; })
,
({ syntaxItems[107202384342128] = new SyntaxElement{
/*scopes*/ "format.nested_parens.perl.regexp.string", "(null)",
/*patterns*/ false, REGEX: \(, REGEX: \)
/*refs*/TODO
/*children*/ {
({ syntaxItems[105553118966256] = new SyntaxElement{
/*scopes*/ "anonymous.perl", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[105553118966256]; })
,
({ syntaxItems[105553118966336] = new SyntaxElement{
/*scopes*/ "anonymous.perl", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[105553118966336]; })
,
({ syntaxItems[105553118966416] = new SyntaxElement{
/*scopes*/ "anonymous.perl", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[105553118966416]; })
,
}
}; syntaxItems[107202384342128]; })
,
({ syntaxItems[107202384342208] = new SyntaxElement{
/*scopes*/ "format.perl.regexp.single_quote.string", "(null)",
/*patterns*/ false, REGEX: ', REGEX: '
/*refs*/TODO
/*children*/ {
({ syntaxItems[107202384342288] = new SyntaxElement{
/*scopes*/ "character.constant.escape.perl", "(null)",
/*patterns*/ true, REGEX: \\['\\], (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[107202384342288]; })
,
}
}; syntaxItems[107202384342208]; })
,
({ syntaxItems[107202384342368] = new SyntaxElement{
/*scopes*/ "format.perl.regexp.simple_delimiter.string", "(null)",
/*patterns*/ false, REGEX: ([^\s\w\[({<;]), REGEX: \1
/*refs*/TODO
/*children*/ {
({ syntaxItems[105553118966496] = new SyntaxElement{
/*scopes*/ "anonymous.perl", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[105553118966496]; })
,
({ syntaxItems[105553118966576] = new SyntaxElement{
/*scopes*/ "anonymous.perl", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[105553118966576]; })
,
}
}; syntaxItems[107202384342368]; })
,
({ syntaxItems[107202384342448] = new SyntaxElement{
/*scopes*/ "anonymous.perl", "(null)",
/*patterns*/ true, REGEX: \s+, (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[107202384342448]; })
,
}
}; syntaxItems[107202384341088]; })
,
({ syntaxItems[107202384342048] = new SyntaxElement{
/*scopes*/ "anonymous.perl", "(null)",
/*patterns*/ false, REGEX: \b(?=s([^\s\w\[({<]).*\1([egimos]*)([\}\)\;\,]|\s+)), REGEX: ((([egimos]*)))(?=([\}\)\;\,]|\s+|$))
/*refs*/TODO
/*children*/ {
({ syntaxItems[107202384342688] = new SyntaxElement{
/*scopes*/ "perl.regexp.replacexxx.simple_delimiter.string", "(null)",
/*patterns*/ false, REGEX: (s\s*)([^\s\w\[({<]), REGEX: (?=\2)
/*refs*/TODO
/*children*/ {
({ syntaxItems[105553118965936] = new SyntaxElement{
/*scopes*/ "anonymous.perl", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[105553118965936]; })
,
}
}; syntaxItems[107202384342688]; })
,
({ syntaxItems[107202384342768] = new SyntaxElement{
/*scopes*/ "format.perl.regexp.replacexxx.single_quote.string", "(null)",
/*patterns*/ false, REGEX: ', REGEX: '
/*refs*/TODO
/*children*/ {
({ syntaxItems[107202384343248] = new SyntaxElement{
/*scopes*/ "character.constant.escape.perl", "(null)",
/*patterns*/ true, REGEX: \\['\\], (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[107202384343248]; })
,
}
}; syntaxItems[107202384342768]; })
,
({ syntaxItems[107202384343008] = new SyntaxElement{
/*scopes*/ "format.perl.regexp.replacexxx.simple_delimiter.string", "(null)",
/*patterns*/ false, REGEX: ([^\s\w\[({<]), REGEX: \1
/*refs*/TODO
/*children*/ {
({ syntaxItems[105553118966656] = new SyntaxElement{
/*scopes*/ "anonymous.perl", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[105553118966656]; })
,
({ syntaxItems[105553118966736] = new SyntaxElement{
/*scopes*/ "anonymous.perl", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[105553118966736]; })
,
}
}; syntaxItems[107202384343008]; })
,
}
}; syntaxItems[107202384342048]; })
,
({ syntaxItems[107202384343568] = new SyntaxElement{
/*scopes*/ "anonymous.perl", "(null)",
/*patterns*/ false, REGEX: \b(?=(?<!\\)s\s*([^\s\w\[({<])), REGEX: \2((([egimos]*x[egimos]*)))\b
/*refs*/TODO
/*children*/ {
({ syntaxItems[107202384343648] = new SyntaxElement{
/*scopes*/ "extended.perl.regexp.replace.simple_delimiter.string", "(null)",
/*patterns*/ false, REGEX: (s)\s*(.), REGEX: (?=\2)
/*refs*/TODO
/*children*/ {
({ syntaxItems[105553118966896] = new SyntaxElement{
/*scopes*/ "anonymous.perl", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[105553118966896]; })
,
}
}; syntaxItems[107202384343648]; })
,
({ syntaxItems[107202384343968] = new SyntaxElement{
/*scopes*/ "extended.perl.regexp.replace.simple_delimiter.string", "(null)",
/*patterns*/ false, REGEX: ', REGEX: '(?=[egimos]*x[egimos]*)\b
/*refs*/TODO
/*children*/ {
({ syntaxItems[105553118966976] = new SyntaxElement{
/*scopes*/ "anonymous.perl", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[105553118966976]; })
,
}
}; syntaxItems[107202384343968]; })
,
({ syntaxItems[107202384344208] = new SyntaxElement{
/*scopes*/ "extended.perl.regexp.replace.simple_delimiter.string", "(null)",
/*patterns*/ false, REGEX: (.), REGEX: \1(?=[egimos]*x[egimos]*)\b
/*refs*/TODO
/*children*/ {
({ syntaxItems[105553118967056] = new SyntaxElement{
/*scopes*/ "anonymous.perl", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[105553118967056]; })
,
({ syntaxItems[105553118967136] = new SyntaxElement{
/*scopes*/ "anonymous.perl", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[105553118967136]; })
,
}
}; syntaxItems[107202384344208]; })
,
}
}; syntaxItems[107202384343568]; })
,
({ syntaxItems[107202384344528] = new SyntaxElement{
/*scopes*/ "constant.key.other.perl", "(null)",
/*patterns*/ true, REGEX: \b\w+\s*(?==>), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[107202384344528]; })
,
({ syntaxItems[107202384344608] = new SyntaxElement{
/*scopes*/ "bareword.constant.other.perl", "(null)",
/*patterns*/ true, REGEX: (?<={)\s*\w+\s*(?=}), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[107202384344608]; })
,
({ syntaxItems[107202384344688] = new SyntaxElement{
/*scopes*/ "find.perl.regexp.string", "(null)",
/*patterns*/ false, REGEX: (?<!\\)((~\s*)?\/)(?=\S)(?=([^\\]|\\.)*\/), REGEX: (\/)
/*refs*/TODO
/*children*/ {
({ syntaxItems[105553118967216] = new SyntaxElement{
/*scopes*/ "anonymous.perl", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[105553118967216]; })
,
}
}; syntaxItems[107202384344688]; })
,
({ syntaxItems[107202384344768] = new SyntaxElement{
/*scopes*/ "extended.find.perl.regexp.string", "(null)",
/*patterns*/ false, REGEX: (?<!\\)(\~\s*\/), REGEX: \/([cgimos]*x[cgimos]*)\b
/*refs*/TODO
/*children*/ {
({ syntaxItems[105553118966816] = new SyntaxElement{
/*scopes*/ "anonymous.perl", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[105553118966816]; })
,
({ syntaxItems[105553118967296] = new SyntaxElement{
/*scopes*/ "anonymous.perl", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[105553118967296]; })
,
}
}; syntaxItems[107202384344768]; })
,
({ syntaxItems[107202384344448] = new SyntaxElement{
/*scopes*/ "class.meta.perl", "(null)",
/*patterns*/ true, REGEX: ^\s*(package)\s+(\S+)\s*((#).*)?$\n?, (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[107202384344448]; })
,
({ syntaxItems[107202384344848] = new SyntaxElement{
/*scopes*/ "function.meta.perl", "(null)",
/*patterns*/ true, REGEX: ^\s*(sub)\s+([-a-zA-Z0-9_]+)\s*(\([\$\@\*;]*\))?, (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[107202384344848]; })
,
({ syntaxItems[107202384345008] = new SyntaxElement{
/*scopes*/ "function.meta.perl", "(null)",
/*patterns*/ true, REGEX: ^\s*(BEGIN|END|DESTROY)\b, (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[107202384345008]; })
,
({ syntaxItems[107202384345088] = new SyntaxElement{
/*scopes*/ "leading-tabs.meta.perl", "(null)",
/*patterns*/ false, REGEX: ^(?=(\t| {4})), REGEX: (?=[^\t\s])
/*refs*/TODO
/*children*/ {
({ syntaxItems[107202384345168] = new SyntaxElement{
/*scopes*/ "anonymous.perl", "(null)",
/*patterns*/ true, REGEX: (\t| {4})(\t| {4})?, (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[107202384345168]; })
,
}
}; syntaxItems[107202384345088]; })
,
({ syntaxItems[107202384345248] = 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[107202384345248]; })
,
({ syntaxItems[107202384345408] = new SyntaxElement{
/*scopes*/ "find-m-paren.perl.regexp.string", "(null)",
/*patterns*/ false, REGEX: \b(m)\s*(?<!\\)\(, REGEX: \)
/*refs*/TODO
/*children*/ {
({ syntaxItems[105553118967376] = new SyntaxElement{
/*scopes*/ "anonymous.perl", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[105553118967376]; })
,
({ syntaxItems[105553118967456] = new SyntaxElement{
/*scopes*/ "anonymous.perl", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[105553118967456]; })
,
({ syntaxItems[105553118967536] = new SyntaxElement{
/*scopes*/ "anonymous.perl", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[105553118967536]; })
,
}
}; syntaxItems[107202384345408]; })
,
({ syntaxItems[107202384345488] = new SyntaxElement{
/*scopes*/ "find-m-brace.perl.regexp.string", "(null)",
/*patterns*/ false, REGEX: \b(m)\s*(?<!\\)\{, REGEX: \}
/*refs*/TODO
/*children*/ {
({ syntaxItems[105553118967616] = new SyntaxElement{
/*scopes*/ "anonymous.perl", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[105553118967616]; })
,
({ syntaxItems[105553118967696] = new SyntaxElement{
/*scopes*/ "anonymous.perl", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[105553118967696]; })
,
({ syntaxItems[105553118967776] = new SyntaxElement{
/*scopes*/ "anonymous.perl", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[105553118967776]; })
,
}
}; syntaxItems[107202384345488]; })
,
({ syntaxItems[107202384345568] = new SyntaxElement{
/*scopes*/ "find-m-bracket.perl.regexp.string", "(null)",
/*patterns*/ false, REGEX: \b(m)\s*(?<!\\)\[, REGEX: \]
/*refs*/TODO
/*children*/ {
({ syntaxItems[105553118967856] = new SyntaxElement{
/*scopes*/ "anonymous.perl", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[105553118967856]; })
,
({ syntaxItems[105553118967936] = new SyntaxElement{
/*scopes*/ "anonymous.perl", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[105553118967936]; })
,
({ syntaxItems[105553118968016] = new SyntaxElement{
/*scopes*/ "anonymous.perl", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[105553118968016]; })
,
}
}; syntaxItems[107202384345568]; })
,
({ syntaxItems[107202384345648] = new SyntaxElement{
/*scopes*/ "find-m-ltgt.perl.regexp.string", "(null)",
/*patterns*/ false, REGEX: \b(m)\s*(?<!\\)\<, REGEX: \>
/*refs*/TODO
/*children*/ {
({ syntaxItems[105553118968096] = new SyntaxElement{
/*scopes*/ "anonymous.perl", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[105553118968096]; })
,
({ syntaxItems[105553118968176] = new SyntaxElement{
/*scopes*/ "anonymous.perl", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[105553118968176]; })
,
({ syntaxItems[105553118968256] = new SyntaxElement{
/*scopes*/ "anonymous.perl", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[105553118968256]; })
,
}
}; syntaxItems[107202384345648]; })
,
({ syntaxItems[107202384345728] = 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[107202384345728]; })
,
({ syntaxItems[107202384345808] = new SyntaxElement{
/*scopes*/ "constant.language.perl", "(null)",
/*patterns*/ true, <CHSyntaxPatternListDefinition: 0x618000a5eb70>, (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[107202384345808]; })
,
({ syntaxItems[107202384345888] = 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[107202384345888]; })
,
({ syntaxItems[107202384345968] = new SyntaxElement{
/*scopes*/ "modifier.perl.storage", "(null)",
/*patterns*/ true, <CHSyntaxPatternListDefinition: 0x618000a5f050>, (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[107202384345968]; })
,
({ syntaxItems[107202384346048] = new SyntaxElement{
/*scopes*/ "filetest.keyword.operator.perl", "(null)",
/*patterns*/ true, REGEX: (?<!\w)\-[rwx0RWXOezsfdlpSbctugkTBMAC]\b, (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[107202384346048]; })
,
({ syntaxItems[107202384346128] = new SyntaxElement{
/*scopes*/ "keyword.logical.operator.perl", "(null)",
/*patterns*/ true, <CHSyntaxPatternListDefinition: 0x618000a5f560>, (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[107202384346128]; })
,
({ syntaxItems[107202384346208] = new SyntaxElement{
/*scopes*/ "comparison.keyword.operator.perl", "(null)",
/*patterns*/ true, <CHSyntaxPatternListDefinition: 0x618000a5f7d0>, (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[107202384346208]; })
,
({ syntaxItems[107202384346288] = new SyntaxElement{
/*scopes*/ "anonymous.perl", "embedded.html.perl.text",
/*patterns*/ false, REGEX: ((<<) *"HTML").*\n?, REGEX: (^HTML$)
/*refs*/TODO
/*children*/ {
({ syntaxItems[105553118968336] = new SyntaxElement{
/*scopes*/ "anonymous.perl", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[105553118968336]; })
,
({ syntaxItems[105553118968416] = new SyntaxElement{
/*scopes*/ "anonymous.perl", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[105553118968416]; })
,
({ syntaxItems[105553118968496] = new SyntaxElement{
/*scopes*/ "anonymous.perl", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[105553118968496]; })
,
}
}; syntaxItems[107202384346288]; })
,
({ syntaxItems[107202384346368] = new SyntaxElement{
/*scopes*/ "anonymous.perl", "embedded.perl.text.xml",
/*patterns*/ false, REGEX: ((<<) *"XML").*\n?, REGEX: (^XML$)
/*refs*/TODO
/*children*/ {
({ syntaxItems[105553118968576] = new SyntaxElement{
/*scopes*/ "anonymous.perl", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[105553118968576]; })
,
({ syntaxItems[105553118968656] = new SyntaxElement{
/*scopes*/ "anonymous.perl", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[105553118968656]; })
,
({ syntaxItems[105553118968736] = new SyntaxElement{
/*scopes*/ "anonymous.perl", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[105553118968736]; })
,
}
}; syntaxItems[107202384346368]; })
,
({ syntaxItems[107202384346448] = new SyntaxElement{
/*scopes*/ "anonymous.perl", "css.embedded.perl.text",
/*patterns*/ false, REGEX: ((<<) *"CSS").*\n?, REGEX: (^CSS$)
/*refs*/TODO
/*children*/ {
({ syntaxItems[105553118968816] = new SyntaxElement{
/*scopes*/ "anonymous.perl", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[105553118968816]; })
,
({ syntaxItems[105553118968896] = new SyntaxElement{
/*scopes*/ "anonymous.perl", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[105553118968896]; })
,
({ syntaxItems[105553118968976] = new SyntaxElement{
/*scopes*/ "anonymous.perl", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[105553118968976]; })
,
}
}; syntaxItems[107202384346448]; })
,
({ syntaxItems[107202384346528] = new SyntaxElement{
/*scopes*/ "anonymous.perl", "embedded.js.perl.text",
/*patterns*/ false, REGEX: ((<<) *"JAVASCRIPT").*\n?, REGEX: (^JAVASCRIPT$)
/*refs*/TODO
/*children*/ {
({ syntaxItems[105553118969056] = new SyntaxElement{
/*scopes*/ "anonymous.perl", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[105553118969056]; })
,
({ syntaxItems[105553118969136] = new SyntaxElement{
/*scopes*/ "anonymous.perl", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[105553118969136]; })
,
({ syntaxItems[105553118969216] = new SyntaxElement{
/*scopes*/ "anonymous.perl", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[105553118969216]; })
,
}
}; syntaxItems[107202384346528]; })
,
({ syntaxItems[107202384346608] = new SyntaxElement{
/*scopes*/ "anonymous.perl", "embedded.perl.source.sql",
/*patterns*/ false, REGEX: ((<<) *"SQL").*\n?, REGEX: (^SQL$)
/*refs*/TODO
/*children*/ {
({ syntaxItems[105553118969296] = new SyntaxElement{
/*scopes*/ "anonymous.perl", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[105553118969296]; })
,
({ syntaxItems[105553118969376] = new SyntaxElement{
/*scopes*/ "anonymous.perl", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[105553118969376]; })
,
({ syntaxItems[105553118969456] = new SyntaxElement{
/*scopes*/ "anonymous.perl", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[105553118969456]; })
,
}
}; syntaxItems[107202384346608]; })
,
({ syntaxItems[107202384346688] = new SyntaxElement{
/*scopes*/ "anonymous.perl", "embedded.perl.postscript.text",
/*patterns*/ false, REGEX: ((<<) *"POSTSCRIPT").*\n?, REGEX: (^POSTSCRIPT$)
/*refs*/TODO
/*children*/ {
({ syntaxItems[105553118969536] = new SyntaxElement{
/*scopes*/ "anonymous.perl", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[105553118969536]; })
,
({ syntaxItems[105553118969616] = new SyntaxElement{
/*scopes*/ "anonymous.perl", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[105553118969616]; })
,
}
}; syntaxItems[107202384346688]; })
,
({ syntaxItems[107202384346768] = new SyntaxElement{
/*scopes*/ "anonymous.perl", "doublequote.heredoc.perl.string.unquoted",
/*patterns*/ false, REGEX: ((<<) *"([^"]*)").*\n?, REGEX: (^\3$)
/*refs*/TODO
/*children*/ {
({ syntaxItems[105553118969696] = new SyntaxElement{
/*scopes*/ "anonymous.perl", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[105553118969696]; })
,
({ syntaxItems[105553118969776] = new SyntaxElement{
/*scopes*/ "anonymous.perl", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[105553118969776]; })
,
}
}; syntaxItems[107202384346768]; })
,
({ syntaxItems[107202384346848] = new SyntaxElement{
/*scopes*/ "anonymous.perl", "embedded.html.perl.text",
/*patterns*/ false, REGEX: ((<<) *'HTML').*\n?, REGEX: (^HTML$)
/*refs*/TODO
/*children*/ {
({ syntaxItems[105553118969856] = new SyntaxElement{
/*scopes*/ "anonymous.perl", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[105553118969856]; })
,
}
}; syntaxItems[107202384346848]; })
,
({ syntaxItems[107202384346928] = new SyntaxElement{
/*scopes*/ "anonymous.perl", "embedded.perl.text.xml",
/*patterns*/ false, REGEX: ((<<) *'XML').*\n?, REGEX: (^XML$)
/*refs*/TODO
/*children*/ {
({ syntaxItems[105553118969936] = new SyntaxElement{
/*scopes*/ "anonymous.perl", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[105553118969936]; })
,
}
}; syntaxItems[107202384346928]; })
,
({ syntaxItems[107202384347008] = new SyntaxElement{
/*scopes*/ "anonymous.perl", "css.embedded.perl.text",
/*patterns*/ false, REGEX: ((<<) *'CSS').*\n?, REGEX: (^CSS$)
/*refs*/TODO
/*children*/ {
({ syntaxItems[105553118970016] = new SyntaxElement{
/*scopes*/ "anonymous.perl", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[105553118970016]; })
,
}
}; syntaxItems[107202384347008]; })
,
({ syntaxItems[107202384347088] = new SyntaxElement{
/*scopes*/ "anonymous.perl", "embedded.js.perl.text",
/*patterns*/ false, REGEX: ((<<) *'JAVASCRIPT').*\n?, REGEX: (^JAVASCRIPT$)
/*refs*/TODO
/*children*/ {
({ syntaxItems[105553118970096] = new SyntaxElement{
/*scopes*/ "anonymous.perl", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[105553118970096]; })
,
}
}; syntaxItems[107202384347088]; })
,
({ syntaxItems[107202384347168] = new SyntaxElement{
/*scopes*/ "anonymous.perl", "embedded.perl.source.sql",
/*patterns*/ false, REGEX: ((<<) *'SQL').*\n?, REGEX: (^SQL$)
/*refs*/TODO
/*children*/ {
({ syntaxItems[105553118970176] = new SyntaxElement{
/*scopes*/ "anonymous.perl", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[105553118970176]; })
,
}
}; syntaxItems[107202384347168]; })
,
({ syntaxItems[107202384347248] = new SyntaxElement{
/*scopes*/ "anonymous.perl", "embedded.perl.postscript.source",
/*patterns*/ false, REGEX: ((<<) *'POSTSCRIPT').*\n?, REGEX: (^POSTSCRIPT)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[107202384347248]; })
,
({ syntaxItems[107202384347328] = new SyntaxElement{
/*scopes*/ "anonymous.perl", "heredoc.perl.quote.string.unquoted",
/*patterns*/ false, REGEX: ((<<) *'([^']*)').*\n?, REGEX: (^\3$)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[107202384347328]; })
,
({ syntaxItems[107202384347408] = new SyntaxElement{
/*scopes*/ "anonymous.perl", "backtick.heredoc.perl.string.unquoted",
/*patterns*/ false, REGEX: ((<<) *`([^`]*)`).*\n?, REGEX: (^\3$)
/*refs*/TODO
/*children*/ {
({ syntaxItems[105553118970256] = new SyntaxElement{
/*scopes*/ "anonymous.perl", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[105553118970256]; })
,
({ syntaxItems[105553118970336] = new SyntaxElement{
/*scopes*/ "anonymous.perl", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[105553118970336]; })
,
}
}; syntaxItems[107202384347408]; })
,
({ syntaxItems[107202384347488] = new SyntaxElement{
/*scopes*/ "anonymous.perl", "embedded.html.perl.text",
/*patterns*/ false, REGEX: ((<<) *HTML\b).*\n?, REGEX: (^HTML$)
/*refs*/TODO
/*children*/ {
({ syntaxItems[105553118970416] = new SyntaxElement{
/*scopes*/ "anonymous.perl", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[105553118970416]; })
,
({ syntaxItems[105553118970496] = new SyntaxElement{
/*scopes*/ "anonymous.perl", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[105553118970496]; })
,
({ syntaxItems[105553118970576] = new SyntaxElement{
/*scopes*/ "anonymous.perl", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[105553118970576]; })
,
}
}; syntaxItems[107202384347488]; })
,
({ syntaxItems[107202384347568] = new SyntaxElement{
/*scopes*/ "anonymous.perl", "embedded.perl.text.xml",
/*patterns*/ false, REGEX: ((<<) *XML\b).*\n?, REGEX: (^XML$)
/*refs*/TODO
/*children*/ {
({ syntaxItems[105553118970656] = new SyntaxElement{
/*scopes*/ "anonymous.perl", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[105553118970656]; })
,
({ syntaxItems[105553118970736] = new SyntaxElement{
/*scopes*/ "anonymous.perl", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[105553118970736]; })
,
({ syntaxItems[105553118970816] = new SyntaxElement{
/*scopes*/ "anonymous.perl", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[105553118970816]; })
,
}
}; syntaxItems[107202384347568]; })
,
({ syntaxItems[107202384347648] = new SyntaxElement{
/*scopes*/ "anonymous.perl", "embedded.perl.source.sql",
/*patterns*/ false, REGEX: ((<<) *SQL\b).*\n?, REGEX: (^SQL$)
/*refs*/TODO
/*children*/ {
({ syntaxItems[105553118970896] = new SyntaxElement{
/*scopes*/ "anonymous.perl", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[105553118970896]; })
,
({ syntaxItems[105553118970976] = new SyntaxElement{
/*scopes*/ "anonymous.perl", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[105553118970976]; })
,
({ syntaxItems[105553118971056] = new SyntaxElement{
/*scopes*/ "anonymous.perl", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[105553118971056]; })
,
}
}; syntaxItems[107202384347648]; })
,
({ syntaxItems[107202384347728] = new SyntaxElement{
/*scopes*/ "anonymous.perl", "embedded.perl.postscript.source",
/*patterns*/ false, REGEX: ((<<) *POSTSCRIPT\b).*\n?, REGEX: (^POSTSCRIPT)
/*refs*/TODO
/*children*/ {
({ syntaxItems[105553118971136] = new SyntaxElement{
/*scopes*/ "anonymous.perl", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[105553118971136]; })
,
({ syntaxItems[105553118971216] = new SyntaxElement{
/*scopes*/ "anonymous.perl", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[105553118971216]; })
,
}
}; syntaxItems[107202384347728]; })
,
({ syntaxItems[107202384347808] = new SyntaxElement{
/*scopes*/ "anonymous.perl", "heredoc.perl.string.unquoted",
/*patterns*/ false, REGEX: ((<<) *((?![=\d\$ ])[^;,'"`\s)]*)).*\n?, REGEX: (^\3$)
/*refs*/TODO
/*children*/ {
({ syntaxItems[105553118971296] = new SyntaxElement{
/*scopes*/ "anonymous.perl", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[105553118971296]; })
,
({ syntaxItems[105553118971376] = new SyntaxElement{
/*scopes*/ "anonymous.perl", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[105553118971376]; })
,
}
}; syntaxItems[107202384347808]; })
,
({ syntaxItems[107202384347888] = new SyntaxElement{
/*scopes*/ "other.perl.qq.quoted.string", "(null)",
/*patterns*/ false, REGEX: \bqq\s*([^\(\{\[\<\w\s]), REGEX: \1
/*refs*/TODO
/*children*/ {
({ syntaxItems[105553118971456] = new SyntaxElement{
/*scopes*/ "anonymous.perl", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[105553118971456]; })
,
({ syntaxItems[105553118971536] = new SyntaxElement{
/*scopes*/ "anonymous.perl", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[105553118971536]; })
,
}
}; syntaxItems[107202384347888]; })
,
({ syntaxItems[107202384347968] = new SyntaxElement{
/*scopes*/ "interpolated.perl.qx.string", "(null)",
/*patterns*/ false, REGEX: \bqx\s*([^'\(\{\[\<\w\s]), REGEX: \1
/*refs*/TODO
/*children*/ {
({ syntaxItems[105553118971616] = new SyntaxElement{
/*scopes*/ "anonymous.perl", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[105553118971616]; })
,
({ syntaxItems[105553118971696] = new SyntaxElement{
/*scopes*/ "anonymous.perl", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[105553118971696]; })
,
}
}; syntaxItems[107202384347968]; })
,
({ syntaxItems[107202384348048] = new SyntaxElement{
/*scopes*/ "interpolated.perl.qx.single-quote.string", "(null)",
/*patterns*/ false, REGEX: \bqx\s*', REGEX: '
/*refs*/TODO
/*children*/ {
({ syntaxItems[105553118971776] = new SyntaxElement{
/*scopes*/ "anonymous.perl", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[105553118971776]; })
,
}
}; syntaxItems[107202384348048]; })
,
({ syntaxItems[107202384348128] = new SyntaxElement{
/*scopes*/ "double.perl.quoted.string", "(null)",
/*patterns*/ false, REGEX: ", REGEX: "
/*refs*/TODO
/*children*/ {
({ syntaxItems[105553118971856] = new SyntaxElement{
/*scopes*/ "anonymous.perl", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[105553118971856]; })
,
({ syntaxItems[105553118971936] = new SyntaxElement{
/*scopes*/ "anonymous.perl", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[105553118971936]; })
,
}
}; syntaxItems[107202384348128]; })
,
({ syntaxItems[107202384348208] = new SyntaxElement{
/*scopes*/ "other.perl.q.quoted.string", "(null)",
/*patterns*/ false, REGEX: \bqw?\s*([^\(\{\[\<\w\s]), REGEX: \1
/*refs*/TODO
/*children*/ {
({ syntaxItems[105553118972016] = new SyntaxElement{
/*scopes*/ "anonymous.perl", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[105553118972016]; })
,
}
}; syntaxItems[107202384348208]; })
,
({ syntaxItems[107202384348288] = new SyntaxElement{
/*scopes*/ "perl.quoted.single.string", "(null)",
/*patterns*/ false, REGEX: ', REGEX: '
/*refs*/TODO
/*children*/ {
({ syntaxItems[107202384348368] = new SyntaxElement{
/*scopes*/ "character.constant.escape.perl", "(null)",
/*patterns*/ true, REGEX: \\['\\], (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[107202384348368]; })
,
}
}; syntaxItems[107202384348288]; })
,
({ syntaxItems[107202384348448] = new SyntaxElement{
/*scopes*/ "interpolated.perl.string", "(null)",
/*patterns*/ false, REGEX: `, REGEX: `
/*refs*/TODO
/*children*/ {
({ syntaxItems[105553118972096] = new SyntaxElement{
/*scopes*/ "anonymous.perl", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[105553118972096]; })
,
({ syntaxItems[105553118972176] = new SyntaxElement{
/*scopes*/ "anonymous.perl", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[105553118972176]; })
,
}
}; syntaxItems[107202384348448]; })
,
({ syntaxItems[107202384348528] = new SyntaxElement{
/*scopes*/ "other.perl.qq-paren.quoted.string", "(null)",
/*patterns*/ false, REGEX: \bqq\s*\(, REGEX: \)
/*refs*/TODO
/*children*/ {
({ syntaxItems[105553118972256] = new SyntaxElement{
/*scopes*/ "anonymous.perl", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[105553118972256]; })
,
({ syntaxItems[105553118972336] = new SyntaxElement{
/*scopes*/ "anonymous.perl", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[105553118972336]; })
,
({ syntaxItems[105553118972416] = new SyntaxElement{
/*scopes*/ "anonymous.perl", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[105553118972416]; })
,
}
}; syntaxItems[107202384348528]; })
,
({ syntaxItems[107202384348608] = new SyntaxElement{
/*scopes*/ "other.perl.qq-brace.quoted.string", "(null)",
/*patterns*/ false, REGEX: \bqq\s*\{, REGEX: \}
/*refs*/TODO
/*children*/ {
({ syntaxItems[105553118972496] = new SyntaxElement{
/*scopes*/ "anonymous.perl", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[105553118972496]; })
,
({ syntaxItems[105553118972576] = new SyntaxElement{
/*scopes*/ "anonymous.perl", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[105553118972576]; })
,
({ syntaxItems[105553118972656] = new SyntaxElement{
/*scopes*/ "anonymous.perl", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[105553118972656]; })
,
}
}; syntaxItems[107202384348608]; })
,
({ syntaxItems[107202384348688] = new SyntaxElement{
/*scopes*/ "other.perl.qq-bracket.quoted.string", "(null)",
/*patterns*/ false, REGEX: \bqq\s*\[, REGEX: \]
/*refs*/TODO
/*children*/ {
({ syntaxItems[105553118972736] = new SyntaxElement{
/*scopes*/ "anonymous.perl", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[105553118972736]; })
,
({ syntaxItems[105553118972816] = new SyntaxElement{
/*scopes*/ "anonymous.perl", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[105553118972816]; })
,
({ syntaxItems[105553118972896] = new SyntaxElement{
/*scopes*/ "anonymous.perl", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[105553118972896]; })
,
}
}; syntaxItems[107202384348688]; })
,
({ syntaxItems[107202384348768] = new SyntaxElement{
/*scopes*/ "other.perl.qq-ltgt.quoted.string", "(null)",
/*patterns*/ false, REGEX: \bqq\s*\<, REGEX: \>
/*refs*/TODO
/*children*/ {
({ syntaxItems[105553118972976] = new SyntaxElement{
/*scopes*/ "anonymous.perl", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[105553118972976]; })
,
({ syntaxItems[105553118973056] = new SyntaxElement{
/*scopes*/ "anonymous.perl", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[105553118973056]; })
,
({ syntaxItems[105553118973136] = new SyntaxElement{
/*scopes*/ "anonymous.perl", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[105553118973136]; })
,
}
}; syntaxItems[107202384348768]; })
,
({ syntaxItems[107202384348848] = new SyntaxElement{
/*scopes*/ "interpolated.perl.qx-paren.string", "(null)",
/*patterns*/ false, REGEX: \bqx\s*\(, REGEX: \)
/*refs*/TODO
/*children*/ {
({ syntaxItems[105553118973216] = new SyntaxElement{
/*scopes*/ "anonymous.perl", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[105553118973216]; })
,
({ syntaxItems[105553118973296] = new SyntaxElement{
/*scopes*/ "anonymous.perl", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[105553118973296]; })
,
({ syntaxItems[105553118973376] = new SyntaxElement{
/*scopes*/ "anonymous.perl", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[105553118973376]; })
,
}
}; syntaxItems[107202384348848]; })
,
({ syntaxItems[107202384348928] = new SyntaxElement{
/*scopes*/ "interpolated.perl.qx-brace.string", "(null)",
/*patterns*/ false, REGEX: \bqx\s*\{, REGEX: \}
/*refs*/TODO
/*children*/ {
({ syntaxItems[105553118973456] = new SyntaxElement{
/*scopes*/ "anonymous.perl", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[105553118973456]; })
,
({ syntaxItems[105553118973536] = new SyntaxElement{
/*scopes*/ "anonymous.perl", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[105553118973536]; })
,
({ syntaxItems[105553118973616] = new SyntaxElement{
/*scopes*/ "anonymous.perl", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[105553118973616]; })
,
}
}; syntaxItems[107202384348928]; })
,
({ syntaxItems[107202384349008] = new SyntaxElement{
/*scopes*/ "interpolated.perl.qx-bracket.string", "(null)",
/*patterns*/ false, REGEX: \bqx\s*\[, REGEX: \]
/*refs*/TODO
/*children*/ {
({ syntaxItems[105553118973696] = new SyntaxElement{
/*scopes*/ "anonymous.perl", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[105553118973696]; })
,
({ syntaxItems[105553118973776] = new SyntaxElement{
/*scopes*/ "anonymous.perl", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[105553118973776]; })
,
({ syntaxItems[105553118973856] = new SyntaxElement{
/*scopes*/ "anonymous.perl", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[105553118973856]; })
,
}
}; syntaxItems[107202384349008]; })
,
({ syntaxItems[107202384349088] = new SyntaxElement{
/*scopes*/ "interpolated.perl.qx-ltgt.string", "(null)",
/*patterns*/ false, REGEX: \bqx\s*\<, REGEX: \>
/*refs*/TODO
/*children*/ {
({ syntaxItems[105553118973936] = new SyntaxElement{
/*scopes*/ "anonymous.perl", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[105553118973936]; })
,
({ syntaxItems[105553118974016] = new SyntaxElement{
/*scopes*/ "anonymous.perl", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[105553118974016]; })
,
({ syntaxItems[105553118974096] = new SyntaxElement{
/*scopes*/ "anonymous.perl", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[105553118974096]; })
,
}
}; syntaxItems[107202384349088]; })
,
({ syntaxItems[107202384349168] = new SyntaxElement{
/*scopes*/ "other.perl.q-paren.quoted.string", "(null)",
/*patterns*/ false, REGEX: \bqw?\s*\(, REGEX: \)
/*refs*/TODO
/*children*/ {
({ syntaxItems[105553118974176] = new SyntaxElement{
/*scopes*/ "anonymous.perl", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[105553118974176]; })
,
({ syntaxItems[105553118974256] = new SyntaxElement{
/*scopes*/ "anonymous.perl", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[105553118974256]; })
,
}
}; syntaxItems[107202384349168]; })
,
({ syntaxItems[107202384349248] = new SyntaxElement{
/*scopes*/ "other.perl.q-brace.quoted.string", "(null)",
/*patterns*/ false, REGEX: \bqw?\s*\{, REGEX: \}
/*refs*/TODO
/*children*/ {
({ syntaxItems[105553118974336] = new SyntaxElement{
/*scopes*/ "anonymous.perl", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[105553118974336]; })
,
({ syntaxItems[105553118974416] = new SyntaxElement{
/*scopes*/ "anonymous.perl", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[105553118974416]; })
,
}
}; syntaxItems[107202384349248]; })
,
({ syntaxItems[107202384349328] = new SyntaxElement{
/*scopes*/ "other.perl.q-bracket.quoted.string", "(null)",
/*patterns*/ false, REGEX: \bqw?\s*\[, REGEX: \]
/*refs*/TODO
/*children*/ {
({ syntaxItems[105553118974496] = new SyntaxElement{
/*scopes*/ "anonymous.perl", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[105553118974496]; })
,
({ syntaxItems[105553118974576] = new SyntaxElement{
/*scopes*/ "anonymous.perl", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[105553118974576]; })
,
}
}; syntaxItems[107202384349328]; })
,
({ syntaxItems[107202384349408] = new SyntaxElement{
/*scopes*/ "other.perl.q-ltgt.quoted.string", "(null)",
/*patterns*/ false, REGEX: \bqw?\s*\<, REGEX: \>
/*refs*/TODO
/*children*/ {
({ syntaxItems[105553118974656] = new SyntaxElement{
/*scopes*/ "anonymous.perl", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[105553118974656]; })
,
({ syntaxItems[105553118974736] = new SyntaxElement{
/*scopes*/ "anonymous.perl", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[105553118974736]; })
,
}
}; syntaxItems[107202384349408]; })
,
({ syntaxItems[107202384349488] = new SyntaxElement{
/*scopes*/ "perl.program-block.string.unquoted", "(null)",
/*patterns*/ false, REGEX: ^__\w+__, REGEX: $
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[107202384349488]; })
,
({ syntaxItems[107202384349568] = new SyntaxElement{
/*scopes*/ "format.meta.perl", "(null)",
/*patterns*/ false, REGEX: \b(format)\s+([A-Za-z]+)\s*=, REGEX: ^\.\s*$
/*refs*/TODO
/*children*/ {
({ syntaxItems[105553118974816] = new SyntaxElement{
/*scopes*/ "anonymous.perl", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[105553118974816]; })
,
({ syntaxItems[105553118974896] = new SyntaxElement{
/*scopes*/ "anonymous.perl", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[105553118974896]; })
,
}
}; syntaxItems[107202384349568]; })
,
({ syntaxItems[107202384349648] = new SyntaxElement{
/*scopes*/ "function.perl.support", "(null)",
/*patterns*/ true, <CHSyntaxPatternListDefinition: 0x618000c4ed90>, (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[107202384349648]; })
,
}
}; syntaxItems[105553117747456]; })
}
// --- Writing truffle PHP ---
// Writing lang PHP
void shamrock_test_PHP() {
std::map<intptr_t, Syntaxable*> syntaxItems;
({ syntaxItems[107202385170496] = new SyntaxBase{
"php.source", nullptr, {
({ syntaxItems[107202384353248] = 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[107202384353248]; })
,
({ syntaxItems[107202384353568] = new SyntaxElement{
/*scopes*/ "anonymous.php", "(null)",
/*patterns*/ false, REGEX: ^\s*(?=<\?), REGEX: (?<=\?>)(\s*$\n)?
/*refs*/TODO
/*children*/ {
({ syntaxItems[107202384353648] = new SyntaxElement{
/*scopes*/ "block.embedded.html.php.source", "(null)",
/*patterns*/ false, REGEX: <\?(?i:php|=)?, REGEX: (\?)>
/*refs*/TODO
/*children*/ {
({ syntaxItems[105553118974976] = new SyntaxElement{
/*scopes*/ "anonymous.php", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[105553118974976]; })
,
}
}; syntaxItems[107202384353648]; })
,
}
}; syntaxItems[107202384353568]; })
,
({ syntaxItems[107202384353728] = new SyntaxElement{
/*scopes*/ "embedded.html.line.php.source", "(null)",
/*patterns*/ false, REGEX: (((?<=\?>)<)|<)\?(?i:php|=)?, REGEX: (\?)>
/*refs*/TODO
/*children*/ {
({ syntaxItems[105553118975056] = new SyntaxElement{
/*scopes*/ "anonymous.php", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[105553118975056]; })
,
}
}; syntaxItems[107202384353728]; })
,
}
}; syntaxItems[107202385170496]; })
}
// --- Writing truffle Python ---
// Writing lang Python
void shamrock_test_Python() {
std::map<intptr_t, Syntaxable*> syntaxItems;
({ syntaxItems[106102873575936] = new SyntaxBase{
"python.source", nullptr, {
({ syntaxItems[106102872660672] = new SyntaxElement{
/*scopes*/ "comment.line.number-sign.python", "(null)",
/*patterns*/ true, REGEX: (#).*$\n?, (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[106102872660672]; })
,
({ syntaxItems[106102872660752] = new SyntaxElement{
/*scopes*/ "constant.hexadecimal.integer.long.numeric.python", "(null)",
/*patterns*/ true, REGEX: \b(?i:(0x\h*)L), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[106102872660752]; })
,
({ syntaxItems[106102872660912] = new SyntaxElement{
/*scopes*/ "constant.hexadecimal.integer.numeric.python", "(null)",
/*patterns*/ true, REGEX: \b(?i:(0x\h*)), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[106102872660912]; })
,
({ syntaxItems[106102872661152] = new SyntaxElement{
/*scopes*/ "constant.integer.long.numeric.octal.python", "(null)",
/*patterns*/ true, REGEX: \b(?i:(0[0-7]+)L), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[106102872661152]; })
,
({ syntaxItems[106102872661312] = new SyntaxElement{
/*scopes*/ "constant.integer.numeric.octal.python", "(null)",
/*patterns*/ true, REGEX: \b(0[0-7]+), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[106102872661312]; })
,
({ syntaxItems[106102872661472] = 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[106102872661472]; })
,
({ syntaxItems[106102872661632] = 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[106102872661632]; })
,
({ syntaxItems[106102872661792] = new SyntaxElement{
/*scopes*/ "constant.float.numeric.python", "(null)",
/*patterns*/ true, REGEX: (?<=[^0-9a-zA-Z_])(?i:(\.\d+(e[\-\+]?\d+)?)), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[106102872661792]; })
,
({ syntaxItems[106102872661872] = new SyntaxElement{
/*scopes*/ "constant.float.numeric.python", "(null)",
/*patterns*/ true, REGEX: \b(?i:(\d+e[\-\+]?\d+)), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[106102872661872]; })
,
({ syntaxItems[106102872661952] = 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[106102872661952]; })
,
({ syntaxItems[106102872662032] = new SyntaxElement{
/*scopes*/ "constant.decimal.integer.numeric.python", "(null)",
/*patterns*/ true, REGEX: \b([1-9]+[0-9]*|0), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[106102872662032]; })
,
({ syntaxItems[106102872661712] = new SyntaxElement{
/*scopes*/ "anonymous.python", "(null)",
/*patterns*/ true, REGEX: \b(global)\b, (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[106102872661712]; })
,
({ syntaxItems[106102872662192] = new SyntaxElement{
/*scopes*/ "anonymous.python", "(null)",
/*patterns*/ true, REGEX: \b(?:(import)|(from))\b, (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[106102872662192]; })
,
({ syntaxItems[106102872662352] = new SyntaxElement{
/*scopes*/ "control.flow.keyword.python", "(null)",
/*patterns*/ true, <CHSyntaxPatternListDefinition: 0x608000853a10>, (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[106102872662352]; })
,
({ syntaxItems[106102872662512] = new SyntaxElement{
/*scopes*/ "keyword.logical.operator.python", "(null)",
/*patterns*/ true, <CHSyntaxPatternListDefinition: 0x608000853d40>, (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[106102872662512]; })
,
({ syntaxItems[106102872662592] = new SyntaxElement{
/*scopes*/ "anonymous.python", "(null)",
/*patterns*/ true, REGEX: \b(as|assert|del|exec|print)\b, (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[106102872662592]; })
,
({ syntaxItems[106102872662672] = new SyntaxElement{
/*scopes*/ "deprecated.invalid.operator.python", "(null)",
/*patterns*/ true, STRING: <>, (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[106102872662672]; })
,
({ syntaxItems[106102872662752] = new SyntaxElement{
/*scopes*/ "comparison.keyword.operator.python", "(null)",
/*patterns*/ true, REGEX: <\=|>\=|\=\=|<|>|\!\=, (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[106102872662752]; })
,
({ syntaxItems[106102872662832] = new SyntaxElement{
/*scopes*/ "assignment.augmented.keyword.operator.python", "(null)",
/*patterns*/ true, REGEX: \+\=|-\=|\*\=|/\=|//\=|%\=|&\=|\|\=|\^\=|>>\=|<<\=|\*\*\=, (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[106102872662832]; })
,
({ syntaxItems[106102872662912] = new SyntaxElement{
/*scopes*/ "arithmetic.keyword.operator.python", "(null)",
/*patterns*/ true, REGEX: \+|\-|\*|\*\*|/|//|%|<<|>>|&|\||\^|~, (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[106102872662912]; })
,
({ syntaxItems[106102872663152] = new SyntaxElement{
/*scopes*/ "assignment.keyword.operator.python", "(null)",
/*patterns*/ true, REGEX: \=, (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[106102872663152]; })
,
({ syntaxItems[106102872663232] = 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[105553118975136] = new SyntaxElement{
/*scopes*/ "anonymous.python", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[105553118975136]; })
,
}
}; syntaxItems[106102872663232]; })
,
({ syntaxItems[106102872663312] = 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[106102872663392] = 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[105553118975216] = new SyntaxElement{
/*scopes*/ "anonymous.python", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[105553118975216]; })
,
}
}; syntaxItems[106102872663392]; })
,
({ syntaxItems[106102872663472] = new SyntaxElement{
/*scopes*/ "anonymous.python", "class.inheritance.meta.python",
/*patterns*/ false, REGEX: (\(), REGEX: (?=\)|:)
/*refs*/TODO
/*children*/ {
({ syntaxItems[106102872663632] = new SyntaxElement{
/*scopes*/ "anonymous.python", "entity.inherited-class.other.python",
/*patterns*/ false, REGEX: (?<=\(|,)\s*, REGEX: \s*(?:(,)|(?=\)))
/*refs*/TODO
/*children*/ {
({ syntaxItems[105553118975376] = new SyntaxElement{
/*scopes*/ "anonymous.python", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[105553118975376]; })
,
}
}; syntaxItems[106102872663632]; })
,
}
}; syntaxItems[106102872663472]; })
,
}
}; syntaxItems[106102872663312]; })
,
({ syntaxItems[106102872663712] = 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[106102872663872] = 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[105553118975456] = new SyntaxElement{
/*scopes*/ "anonymous.python", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[105553118975456]; })
,
}
}; syntaxItems[106102872663872]; })
,
}
}; syntaxItems[106102872663712]; })
,
({ syntaxItems[106102872663952] = 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[106102872664032] = 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[105553118975536] = new SyntaxElement{
/*scopes*/ "anonymous.python", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[105553118975536]; })
,
}
}; syntaxItems[106102872664032]; })
,
({ syntaxItems[106102872664112] = new SyntaxElement{
/*scopes*/ "anonymous.python", "function.meta.parameters.python",
/*patterns*/ false, REGEX: (\(), REGEX: (?=\)\s*\:)
/*refs*/TODO
/*children*/ {
({ syntaxItems[105553118975616] = new SyntaxElement{
/*scopes*/ "anonymous.python", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[105553118975616]; })
,
({ syntaxItems[106102872664192] = 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[106102872664192]; })
,
}
}; syntaxItems[106102872664112]; })
,
}
}; syntaxItems[106102872663952]; })
,
({ syntaxItems[106102872664352] = 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[106102872664432] = 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[105553118975696] = new SyntaxElement{
/*scopes*/ "anonymous.python", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[105553118975696]; })
,
}
}; syntaxItems[106102872664432]; })
,
}
}; syntaxItems[106102872664352]; })
,
({ syntaxItems[106102872664512] = new SyntaxElement{
/*scopes*/ "function.inline.meta.python", "(null)",
/*patterns*/ false, REGEX: (lambda)(?=\s+), REGEX: (\:)
/*refs*/TODO
/*children*/ {
({ syntaxItems[106102872664592] = new SyntaxElement{
/*scopes*/ "anonymous.python", "function.inline.meta.parameters.python",
/*patterns*/ false, REGEX: \s+, REGEX: (?=\:)
/*refs*/TODO
/*children*/ {
({ syntaxItems[105553118975776] = new SyntaxElement{
/*scopes*/ "anonymous.python", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[105553118975776]; })
,
({ syntaxItems[106102872664672] = 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[106102872664672]; })
,
}
}; syntaxItems[106102872664592]; })
,
}
}; syntaxItems[106102872664512]; })
,
({ syntaxItems[106102872664832] = 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[106102872664912] = 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[105553118975856] = new SyntaxElement{
/*scopes*/ "anonymous.python", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[105553118975856]; })
,
}
}; syntaxItems[106102872664912]; })
,
({ syntaxItems[106102872664992] = new SyntaxElement{
/*scopes*/ "anonymous.python", "arguments.decorator.function.meta.python",
/*patterns*/ false, REGEX: (\(), REGEX: (?=\))
/*refs*/TODO
/*children*/ {
({ syntaxItems[105553118975936] = new SyntaxElement{
/*scopes*/ "anonymous.python", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[105553118975936]; })
,
({ syntaxItems[105553118976016] = new SyntaxElement{
/*scopes*/ "anonymous.python", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[105553118976016]; })
,
}
}; syntaxItems[106102872664992]; })
,
}
}; syntaxItems[106102872664832]; })
,
({ syntaxItems[106102872665072] = 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[106102872665152] = 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[105553118976096] = new SyntaxElement{
/*scopes*/ "anonymous.python", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[105553118976096]; })
,
}
}; syntaxItems[106102872665152]; })
,
}
}; syntaxItems[106102872665072]; })
,
({ syntaxItems[106102872665312] = new SyntaxElement{
/*scopes*/ "function-call.meta.python", "(null)",
/*patterns*/ false, REGEX: (?<=\)|\])\s*(\(), REGEX: (\))
/*refs*/TODO
/*children*/ {
({ syntaxItems[105553118976176] = new SyntaxElement{
/*scopes*/ "anonymous.python", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[105553118976176]; })
,
({ syntaxItems[105553118976256] = new SyntaxElement{
/*scopes*/ "anonymous.python", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[105553118976256]; })
,
}
}; syntaxItems[106102872665312]; })
,
({ syntaxItems[106102872665392] = 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[106102872665552] = 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[105553118976336] = new SyntaxElement{
/*scopes*/ "anonymous.python", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[105553118976336]; })
,
}
}; syntaxItems[106102872665552]; })
,
({ syntaxItems[106102872665712] = new SyntaxElement{
/*scopes*/ "anonymous.python", "arguments.function-call.meta.python",
/*patterns*/ false, REGEX: (\(), REGEX: (?=\))
/*refs*/TODO
/*children*/ {
({ syntaxItems[105553118976416] = new SyntaxElement{
/*scopes*/ "anonymous.python", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[105553118976416]; })
,
({ syntaxItems[105553118976496] = new SyntaxElement{
/*scopes*/ "anonymous.python", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[105553118976496]; })
,
}
}; syntaxItems[106102872665712]; })
,
}
}; syntaxItems[106102872665392]; })
,
({ syntaxItems[106102872665792] = 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[107202386338640] = 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[105553118976576] = new SyntaxElement{
/*scopes*/ "anonymous.python", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[105553118976576]; })
,
}
}; syntaxItems[107202386338640]; })
,
({ syntaxItems[107202386338800] = new SyntaxElement{
/*scopes*/ "anonymous.python", "arguments.item-access.meta.python",
/*patterns*/ false, REGEX: (\[), REGEX: (?=\])
/*refs*/TODO
/*children*/ {
({ syntaxItems[105553118976656] = new SyntaxElement{
/*scopes*/ "anonymous.python", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[105553118976656]; })
,
}
}; syntaxItems[107202386338800]; })
,
}
}; syntaxItems[106102872665792]; })
,
({ syntaxItems[107202386338880] = new SyntaxElement{
/*scopes*/ "item-access.meta.python", "(null)",
/*patterns*/ false, REGEX: (?<=\)|\])\s*(\[), REGEX: (\])
/*refs*/TODO
/*children*/ {
({ syntaxItems[105553118976736] = new SyntaxElement{
/*scopes*/ "anonymous.python", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[105553118976736]; })
,
}
}; syntaxItems[107202386338880]; })
,
({ syntaxItems[107202386338960] = new SyntaxElement{
/*scopes*/ "anonymous.python", "(null)",
/*patterns*/ true, REGEX: \b(def|lambda)\b, (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[107202386338960]; })
,
({ syntaxItems[107202386339040] = new SyntaxElement{
/*scopes*/ "anonymous.python", "(null)",
/*patterns*/ true, REGEX: \b(class)\b, (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[107202386339040]; })
,
({ syntaxItems[105553118976816] = new SyntaxElement{
/*scopes*/ "anonymous.python", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[105553118976816]; })
,
({ syntaxItems[105553118976896] = new SyntaxElement{
/*scopes*/ "anonymous.python", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[105553118976896]; })
,
({ syntaxItems[107202386339120] = new SyntaxElement{
/*scopes*/ "constant.language.python", "(null)",
/*patterns*/ true, <CHSyntaxPatternListDefinition: 0x61800105c860>, (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[107202386339120]; })
,
({ syntaxItems[105553118976976] = new SyntaxElement{
/*scopes*/ "anonymous.python", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[105553118976976]; })
,
({ syntaxItems[105553118977056] = new SyntaxElement{
/*scopes*/ "anonymous.python", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[105553118977056]; })
,
({ syntaxItems[105553118977136] = new SyntaxElement{
/*scopes*/ "anonymous.python", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[105553118977136]; })
,
({ syntaxItems[107202386339200] = new SyntaxElement{
/*scopes*/ "anonymous.python", "(null)",
/*patterns*/ false, REGEX: (\(), REGEX: (\))
/*refs*/TODO
/*children*/ {
({ syntaxItems[105553118977216] = new SyntaxElement{
/*scopes*/ "anonymous.python", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[105553118977216]; })
,
}
}; syntaxItems[107202386339200]; })
,
({ syntaxItems[107202386339280] = new SyntaxElement{
/*scopes*/ "anonymous.python", "(null)",
/*patterns*/ true, REGEX: (\[)(\s*(\]))\b, (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[107202386339280]; })
,
({ syntaxItems[107202386339360] = new SyntaxElement{
/*scopes*/ "list.meta.python.structure", "(null)",
/*patterns*/ false, REGEX: (\[), REGEX: (\])
/*refs*/TODO
/*children*/ {
({ syntaxItems[107202386339440] = new SyntaxElement{
/*scopes*/ "anonymous.python", "item.list.meta.python.structure",
/*patterns*/ false, REGEX: (?<=\[|\,)\s*(?![\],]), REGEX: \s*(?:(,)|(?=\]))
/*refs*/TODO
/*children*/ {
({ syntaxItems[105553118977296] = new SyntaxElement{
/*scopes*/ "anonymous.python", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[105553118977296]; })
,
}
}; syntaxItems[107202386339440]; })
,
}
}; syntaxItems[107202386339360]; })
,
({ syntaxItems[107202386339520] = new SyntaxElement{
/*scopes*/ "meta.python.structure.tuple", "(null)",
/*patterns*/ true, REGEX: (\()(\s*(\))), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[107202386339520]; })
,
({ syntaxItems[107202386339600] = new SyntaxElement{
/*scopes*/ "dictionary.meta.python.structure", "(null)",
/*patterns*/ true, REGEX: (\{)(\s*(\})), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[107202386339600]; })
,
({ syntaxItems[107202386339680] = new SyntaxElement{
/*scopes*/ "dictionary.meta.python.structure", "(null)",
/*patterns*/ false, REGEX: (\{), REGEX: (\})
/*refs*/TODO
/*children*/ {
({ syntaxItems[107202386339760] = new SyntaxElement{
/*scopes*/ "anonymous.python", "dictionary.key.meta.python.structure",
/*patterns*/ false, REGEX: (?<=\{|\,|^)\s*(?![\},]), REGEX: \s*(?:(?=\})|(\:))
/*refs*/TODO
/*children*/ {
({ syntaxItems[105553118977376] = new SyntaxElement{
/*scopes*/ "anonymous.python", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[105553118977376]; })
,
}
}; syntaxItems[107202386339760]; })
,
({ syntaxItems[107202386339920] = new SyntaxElement{
/*scopes*/ "anonymous.python", "dictionary.meta.python.structure.value",
/*patterns*/ false, REGEX: (?<=\:|^)\s*, REGEX: \s*(?:(?=\})|(,))
/*refs*/TODO
/*children*/ {
({ syntaxItems[105553118977456] = new SyntaxElement{
/*scopes*/ "anonymous.python", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[105553118977456]; })
,
}
}; syntaxItems[107202386339920]; })
,
}
}; syntaxItems[107202386339680]; })
,
}
}; syntaxItems[106102873575936]; })
}
// Writing lang Regular Expressions (Python)
void shamrock_test_Regular_Expressions_Python() {
std::map<intptr_t, Syntaxable*> syntaxItems;
({ syntaxItems[107202385172992] = new SyntaxBase{
"python.regexp.source", nullptr, {
({ syntaxItems[107202386348800] = new SyntaxElement{
/*scopes*/ "anchor.control.keyword.regexp.regular-expressions-python", "(null)",
/*patterns*/ true, REGEX: \\[bBAZzG]|\^|\$, (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[107202386348800]; })
,
({ syntaxItems[107202386349040] = new SyntaxElement{
/*scopes*/ "back-reference.keyword.other.regexp.regular-expressions-python", "(null)",
/*patterns*/ true, REGEX: \\[1-9][0-9]?, (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[107202386349040]; })
,
({ syntaxItems[107202386349200] = new SyntaxElement{
/*scopes*/ "keyword.operator.quantifier.regexp.regular-expressions-python", "(null)",
/*patterns*/ true, REGEX: [?+*][?+]?|\{(\d+,\d+|\d+,|,\d+|\d+)\}\??, (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[107202386349200]; })
,
({ syntaxItems[107202386349360] = new SyntaxElement{
/*scopes*/ "keyword.operator.or.regexp.regular-expressions-python", "(null)",
/*patterns*/ true, REGEX: \|, (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[107202386349360]; })
,
({ syntaxItems[107202386349520] = new SyntaxElement{
/*scopes*/ "block.comment.regexp.regular-expressions-python", "(null)",
/*patterns*/ false, REGEX: \(\?\#, REGEX: \)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[107202386349520]; })
,
({ syntaxItems[107202386349680] = 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[107202386349680]; })
,
({ syntaxItems[107202386349920] = new SyntaxElement{
/*scopes*/ "keyword.option-toggle.other.regexp.regular-expressions-python", "(null)",
/*patterns*/ true, REGEX: \(\?[iLmsux]+\), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[107202386349920]; })
,
({ syntaxItems[107202386350160] = 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[107202386350160]; })
,
({ syntaxItems[107202386350240] = new SyntaxElement{
/*scopes*/ "assertion.group.meta.regexp.regular-expressions-python", "(null)",
/*patterns*/ false, REGEX: (\()((\?=)|(\?!)|(\?<=)|(\?<!)), REGEX: (\))
/*refs*/TODO
/*children*/ {
({ syntaxItems[105553118977616] = new SyntaxElement{
/*scopes*/ "anonymous.regular-expressions-python", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[105553118977616]; })
,
}
}; syntaxItems[107202386350240]; })
,
({ syntaxItems[107202386350400] = 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[105553118977696] = new SyntaxElement{
/*scopes*/ "anonymous.regular-expressions-python", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[105553118977696]; })
,
}
}; syntaxItems[107202386350400]; })
,
({ syntaxItems[107202386350640] = new SyntaxElement{
/*scopes*/ "group.meta.regexp.regular-expressions-python", "(null)",
/*patterns*/ false, REGEX: (\()((\?P<)([a-z]\w*)(>)|(\?:))?, REGEX: (\))
/*refs*/TODO
/*children*/ {
({ syntaxItems[105553118977536] = new SyntaxElement{
/*scopes*/ "anonymous.regular-expressions-python", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[105553118977536]; })
,
}
}; syntaxItems[107202386350640]; })
,
({ syntaxItems[105553118977776] = new SyntaxElement{
/*scopes*/ "anonymous.regular-expressions-python", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[105553118977776]; })
,
}
}; syntaxItems[107202385172992]; })
}
// --- Writing truffle Ruby ---
// Writing lang Ruby
void shamrock_test_Ruby() {
std::map<intptr_t, Syntaxable*> syntaxItems;
({ syntaxItems[106102873577856] = new SyntaxBase{
"ruby.source", nullptr, {
({ syntaxItems[106102872676512] = 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[106102872676512]; })
,
({ syntaxItems[106102872676592] = 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[106102872676592]; })
,
({ syntaxItems[106102872676992] = new SyntaxElement{
/*scopes*/ "deprecated.invalid.ruby", "(null)",
/*patterns*/ true, REGEX: (?<!\.)\belse(\s)+if\b, (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[106102872676992]; })
,
({ syntaxItems[106102872677072] = 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[106102872677072]; })
,
({ syntaxItems[106102872677152] = new SyntaxElement{
/*scopes*/ "control.keyword.ruby.start-block", "(null)",
/*patterns*/ true, REGEX: (?<!\.)\bdo\b\s*, (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[106102872677152]; })
,
({ syntaxItems[106102872677232] = new SyntaxElement{
/*scopes*/ "meta.ruby.start-block.syntax", "(null)",
/*patterns*/ true, REGEX: (?<=\{)(\s+), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[106102872677232]; })
,
({ syntaxItems[106102872677312] = new SyntaxElement{
/*scopes*/ "keyword.logical.operator.ruby", "(null)",
/*patterns*/ true, REGEX: (?<!\.)\b(and|not|or)\b, (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[106102872677312]; })
,
({ syntaxItems[106102872677472] = 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[106102872677472]; })
,
({ syntaxItems[106102872677552] = new SyntaxElement{
/*scopes*/ "constant.language.ruby", "(null)",
/*patterns*/ true, REGEX: \b(nil|true|false)\b(?![?!]), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[106102872677552]; })
,
({ syntaxItems[106102872677632] = new SyntaxElement{
/*scopes*/ "language.ruby.variable", "(null)",
/*patterns*/ true, REGEX: \b(__(FILE|LINE)__|self)\b(?![?!]), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[106102872677632]; })
,
({ syntaxItems[106102872677712] = 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[106102872677712]; })
,
({ syntaxItems[106102872677392] = new SyntaxElement{
/*scopes*/ "meta.require.ruby", "(null)",
/*patterns*/ false, REGEX: \b(require|gem)\b, REGEX: $|(?=#)
/*refs*/TODO
/*children*/ {
({ syntaxItems[105553118980096] = new SyntaxElement{
/*scopes*/ "anonymous.ruby", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[105553118980096]; })
,
}
}; syntaxItems[106102872677392]; })
,
({ syntaxItems[106102872677792] = new SyntaxElement{
/*scopes*/ "instance.other.readwrite.ruby.variable", "(null)",
/*patterns*/ true, REGEX: (@)[a-zA-Z_]\w*, (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[106102872677792]; })
,
({ syntaxItems[106102872677872] = new SyntaxElement{
/*scopes*/ "class.other.readwrite.ruby.variable", "(null)",
/*patterns*/ true, REGEX: (@@)[a-zA-Z_]\w*, (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[106102872677872]; })
,
({ syntaxItems[106102872677952] = new SyntaxElement{
/*scopes*/ "global.other.readwrite.ruby.variable", "(null)",
/*patterns*/ true, REGEX: (\$)[a-zA-Z_]\w*, (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[106102872677952]; })
,
({ syntaxItems[106102872678032] = new SyntaxElement{
/*scopes*/ "global.other.pre-defined.readwrite.ruby.variable", "(null)",
/*patterns*/ true, REGEX: (\$)(!|@|&|`|'|\+|\d+|~|=|/|\\|,|;|\.|<|>|_|\*|\$|\?|:|"|-[0adFiIlpv]), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[106102872678032]; })
,
({ syntaxItems[106102872678192] = new SyntaxElement{
/*scopes*/ "environment-variable.meta.ruby", "(null)",
/*patterns*/ false, REGEX: \b(ENV)\[, REGEX: \]
/*refs*/TODO
/*children*/ {
({ syntaxItems[105553118980176] = new SyntaxElement{
/*scopes*/ "anonymous.ruby", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[105553118980176]; })
,
}
}; syntaxItems[106102872678192]; })
,
({ syntaxItems[106102872678432] = new SyntaxElement{
/*scopes*/ "class.ruby.support", "(null)",
/*patterns*/ true, REGEX: \b[A-Z]\w*(?=((\.|::)[A-Za-z]|\[)), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[106102872678432]; })
,
({ syntaxItems[106102872678512] = new SyntaxElement{
/*scopes*/ "constant.other.ruby.variable", "(null)",
/*patterns*/ true, REGEX: \b[A-Z]\w*\b, (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[106102872678512]; })
,
({ syntaxItems[106102872678592] = 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[105553118980256] = new SyntaxElement{
/*scopes*/ "anonymous.ruby", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[105553118980256]; })
,
}
}; syntaxItems[106102872678592]; })
,
({ syntaxItems[106102872678672] = 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[105553118980336] = new SyntaxElement{
/*scopes*/ "anonymous.ruby", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[105553118980336]; })
,
}
}; syntaxItems[106102872678672]; })
,
({ syntaxItems[106102872678752] = 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[106102872678752]; })
,
({ syntaxItems[106102872678832] = 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[106102872678832]; })
,
({ syntaxItems[106102872678992] = new SyntaxElement{
/*scopes*/ "constant.other.ruby.single-quoted.symbol", "(null)",
/*patterns*/ false, REGEX: :', REGEX: '
/*refs*/TODO
/*children*/ {
({ syntaxItems[106102872679072] = new SyntaxElement{
/*scopes*/ "character.constant.escape.ruby", "(null)",
/*patterns*/ true, REGEX: \\['\\], (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[106102872679072]; })
,
}
}; syntaxItems[106102872678992]; })
,
({ syntaxItems[106102872679152] = new SyntaxElement{
/*scopes*/ "constant.double-quoted.other.ruby.symbol", "(null)",
/*patterns*/ false, REGEX: :", REGEX: "
/*refs*/TODO
/*children*/ {
({ syntaxItems[105553118980416] = new SyntaxElement{
/*scopes*/ "anonymous.ruby", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[105553118980416]; })
,
({ syntaxItems[105553118980496] = new SyntaxElement{
/*scopes*/ "anonymous.ruby", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[105553118980496]; })
,
}
}; syntaxItems[106102872679152]; })
,
({ syntaxItems[106102872679232] = new SyntaxElement{
/*scopes*/ "assignment.augmented.keyword.operator.ruby", "(null)",
/*patterns*/ true, REGEX: (?<!\()/=, (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[106102872679232]; })
,
({ syntaxItems[106102872679312] = new SyntaxElement{
/*scopes*/ "quoted.ruby.single.string", "(null)",
/*patterns*/ false, REGEX: ', REGEX: '
/*refs*/TODO
/*children*/ {
({ syntaxItems[106102872679472] = new SyntaxElement{
/*scopes*/ "character.constant.escape.ruby", "(null)",
/*patterns*/ true, REGEX: \\'|\\\\, (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[106102872679472]; })
,
}
}; syntaxItems[106102872679312]; })
,
({ syntaxItems[106102872679552] = new SyntaxElement{
/*scopes*/ "double.quoted.ruby.string", "(null)",
/*patterns*/ false, REGEX: ", REGEX: "
/*refs*/TODO
/*children*/ {
({ syntaxItems[105553118980576] = new SyntaxElement{
/*scopes*/ "anonymous.ruby", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[105553118980576]; })
,
({ syntaxItems[105553118980656] = new SyntaxElement{
/*scopes*/ "anonymous.ruby", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[105553118980656]; })
,
}
}; syntaxItems[106102872679552]; })
,
({ syntaxItems[106102872679632] = new SyntaxElement{
/*scopes*/ "interpolated.ruby.string", "(null)",
/*patterns*/ false, REGEX: `, REGEX: `
/*refs*/TODO
/*children*/ {
({ syntaxItems[105553118980736] = new SyntaxElement{
/*scopes*/ "anonymous.ruby", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[105553118980736]; })
,
({ syntaxItems[105553118980816] = new SyntaxElement{
/*scopes*/ "anonymous.ruby", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[105553118980816]; })
,
}
}; syntaxItems[106102872679632]; })
,
({ syntaxItems[106102872679712] = new SyntaxElement{
/*scopes*/ "interpolated.ruby.string", "(null)",
/*patterns*/ false, REGEX: %x\{, REGEX: \}
/*refs*/TODO
/*children*/ {
({ syntaxItems[105553118980896] = new SyntaxElement{
/*scopes*/ "anonymous.ruby", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[105553118980896]; })
,
({ syntaxItems[105553118980976] = new SyntaxElement{
/*scopes*/ "anonymous.ruby", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[105553118980976]; })
,
({ syntaxItems[105553118981056] = new SyntaxElement{
/*scopes*/ "anonymous.ruby", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[105553118981056]; })
,
}
}; syntaxItems[106102872679712]; })
,
({ syntaxItems[106102872679792] = new SyntaxElement{
/*scopes*/ "interpolated.ruby.string", "(null)",
/*patterns*/ false, REGEX: %x\[, REGEX: \]
/*refs*/TODO
/*children*/ {
({ syntaxItems[105553118981136] = new SyntaxElement{
/*scopes*/ "anonymous.ruby", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[105553118981136]; })
,
({ syntaxItems[105553118981216] = new SyntaxElement{
/*scopes*/ "anonymous.ruby", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[105553118981216]; })
,
({ syntaxItems[105553118981296] = new SyntaxElement{
/*scopes*/ "anonymous.ruby", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[105553118981296]; })
,
}
}; syntaxItems[106102872679792]; })
,
({ syntaxItems[106102872679872] = new SyntaxElement{
/*scopes*/ "interpolated.ruby.string", "(null)",
/*patterns*/ false, REGEX: %x\<, REGEX: \>
/*refs*/TODO
/*children*/ {
({ syntaxItems[105553118981376] = new SyntaxElement{
/*scopes*/ "anonymous.ruby", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[105553118981376]; })
,
({ syntaxItems[105553118981456] = new SyntaxElement{
/*scopes*/ "anonymous.ruby", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[105553118981456]; })
,
({ syntaxItems[105553118981536] = new SyntaxElement{
/*scopes*/ "anonymous.ruby", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[105553118981536]; })
,
}
}; syntaxItems[106102872679872]; })
,
({ syntaxItems[106102872679952] = new SyntaxElement{
/*scopes*/ "interpolated.ruby.string", "(null)",
/*patterns*/ false, REGEX: %x\(, REGEX: \)
/*refs*/TODO
/*children*/ {
({ syntaxItems[105553118981616] = new SyntaxElement{
/*scopes*/ "anonymous.ruby", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[105553118981616]; })
,
({ syntaxItems[105553118981696] = new SyntaxElement{
/*scopes*/ "anonymous.ruby", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[105553118981696]; })
,
({ syntaxItems[105553118981776] = new SyntaxElement{
/*scopes*/ "anonymous.ruby", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[105553118981776]; })
,
}
}; syntaxItems[106102872679952]; })
,
({ syntaxItems[106102872680032] = new SyntaxElement{
/*scopes*/ "interpolated.ruby.string", "(null)",
/*patterns*/ false, REGEX: %x([^\w]), REGEX: \1
/*refs*/TODO
/*children*/ {
({ syntaxItems[105553118981856] = new SyntaxElement{
/*scopes*/ "anonymous.ruby", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[105553118981856]; })
,
({ syntaxItems[105553118981936] = new SyntaxElement{
/*scopes*/ "anonymous.ruby", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[105553118981936]; })
,
}
}; syntaxItems[106102872680032]; })
,
({ syntaxItems[106102872680112] = 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[105553118982016] = new SyntaxElement{
/*scopes*/ "anonymous.ruby", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[105553118982016]; })
,
}
}; syntaxItems[106102872680112]; })
,
({ syntaxItems[106102872680192] = new SyntaxElement{
/*scopes*/ "mod-r.regexp.ruby.string", "(null)",
/*patterns*/ false, REGEX: %r\{, REGEX: \}[eimnosux]*
/*refs*/TODO
/*children*/ {
({ syntaxItems[105553118982096] = new SyntaxElement{
/*scopes*/ "anonymous.ruby", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[105553118982096]; })
,
({ syntaxItems[105553118982176] = new SyntaxElement{
/*scopes*/ "anonymous.ruby", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[105553118982176]; })
,
}
}; syntaxItems[106102872680192]; })
,
({ syntaxItems[106102872680272] = new SyntaxElement{
/*scopes*/ "mod-r.regexp.ruby.string", "(null)",
/*patterns*/ false, REGEX: %r\[, REGEX: \][eimnosux]*
/*refs*/TODO
/*children*/ {
({ syntaxItems[105553118982256] = new SyntaxElement{
/*scopes*/ "anonymous.ruby", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[105553118982256]; })
,
({ syntaxItems[105553118982336] = new SyntaxElement{
/*scopes*/ "anonymous.ruby", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[105553118982336]; })
,
}
}; syntaxItems[106102872680272]; })
,
({ syntaxItems[106102872680352] = new SyntaxElement{
/*scopes*/ "mod-r.regexp.ruby.string", "(null)",
/*patterns*/ false, REGEX: %r\(, REGEX: \)[eimnosux]*
/*refs*/TODO
/*children*/ {
({ syntaxItems[105553118982416] = new SyntaxElement{
/*scopes*/ "anonymous.ruby", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[105553118982416]; })
,
({ syntaxItems[105553118982496] = new SyntaxElement{
/*scopes*/ "anonymous.ruby", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[105553118982496]; })
,
}
}; syntaxItems[106102872680352]; })
,
({ syntaxItems[106102872680432] = new SyntaxElement{
/*scopes*/ "mod-r.regexp.ruby.string", "(null)",
/*patterns*/ false, REGEX: %r\<, REGEX: \>[eimnosux]*
/*refs*/TODO
/*children*/ {
({ syntaxItems[105553118982576] = new SyntaxElement{
/*scopes*/ "anonymous.ruby", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[105553118982576]; })
,
({ syntaxItems[105553118982656] = new SyntaxElement{
/*scopes*/ "anonymous.ruby", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[105553118982656]; })
,
}
}; syntaxItems[106102872680432]; })
,
({ syntaxItems[106102872680512] = new SyntaxElement{
/*scopes*/ "mod-r.regexp.ruby.string", "(null)",
/*patterns*/ false, REGEX: %r([^\w]), REGEX: \1[eimnosux]*
/*refs*/TODO
/*children*/ {
({ syntaxItems[105553118982736] = new SyntaxElement{
/*scopes*/ "anonymous.ruby", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[105553118982736]; })
,
}
}; syntaxItems[106102872680512]; })
,
({ syntaxItems[106102872680592] = new SyntaxElement{
/*scopes*/ "literal.other.quoted.ruby.string.upper", "(null)",
/*patterns*/ false, REGEX: %[QWSR]?\(, REGEX: \)
/*refs*/TODO
/*children*/ {
({ syntaxItems[105553118982816] = new SyntaxElement{
/*scopes*/ "anonymous.ruby", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[105553118982816]; })
,
({ syntaxItems[105553118982896] = new SyntaxElement{
/*scopes*/ "anonymous.ruby", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[105553118982896]; })
,
({ syntaxItems[105553118982976] = new SyntaxElement{
/*scopes*/ "anonymous.ruby", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[105553118982976]; })
,
}
}; syntaxItems[106102872680592]; })
,
({ syntaxItems[106102872680672] = new SyntaxElement{
/*scopes*/ "literal.other.quoted.ruby.string.upper", "(null)",
/*patterns*/ false, REGEX: %[QWSR]?\[, REGEX: \]
/*refs*/TODO
/*children*/ {
({ syntaxItems[105553118983056] = new SyntaxElement{
/*scopes*/ "anonymous.ruby", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[105553118983056]; })
,
({ syntaxItems[105553118983136] = new SyntaxElement{
/*scopes*/ "anonymous.ruby", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[105553118983136]; })
,
({ syntaxItems[105553118983216] = new SyntaxElement{
/*scopes*/ "anonymous.ruby", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[105553118983216]; })
,
}
}; syntaxItems[106102872680672]; })
,
({ syntaxItems[106102872680832] = new SyntaxElement{
/*scopes*/ "literal.other.quoted.ruby.string.upper", "(null)",
/*patterns*/ false, REGEX: %[QWSR]?\<, REGEX: \>
/*refs*/TODO
/*children*/ {
({ syntaxItems[105553118983296] = new SyntaxElement{
/*scopes*/ "anonymous.ruby", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[105553118983296]; })
,
({ syntaxItems[105553118983376] = new SyntaxElement{
/*scopes*/ "anonymous.ruby", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[105553118983376]; })
,
({ syntaxItems[105553118983456] = new SyntaxElement{
/*scopes*/ "anonymous.ruby", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[105553118983456]; })
,
}
}; syntaxItems[106102872680832]; })
,
({ syntaxItems[106102872680992] = new SyntaxElement{
/*scopes*/ "double.mod.quoted.ruby.string", "(null)",
/*patterns*/ false, REGEX: %[QWSR]?\{, REGEX: \}
/*refs*/TODO
/*children*/ {
({ syntaxItems[105553118983536] = new SyntaxElement{
/*scopes*/ "anonymous.ruby", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[105553118983536]; })
,
({ syntaxItems[105553118983616] = new SyntaxElement{
/*scopes*/ "anonymous.ruby", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[105553118983616]; })
,
({ syntaxItems[105553118983696] = new SyntaxElement{
/*scopes*/ "anonymous.ruby", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[105553118983696]; })
,
}
}; syntaxItems[106102872680992]; })
,
({ syntaxItems[106102872681152] = new SyntaxElement{
/*scopes*/ "literal.other.quoted.ruby.string.upper", "(null)",
/*patterns*/ false, REGEX: %[QWSR]([^\w]), REGEX: \1
/*refs*/TODO
/*children*/ {
({ syntaxItems[105553118983776] = new SyntaxElement{
/*scopes*/ "anonymous.ruby", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[105553118983776]; })
,
({ syntaxItems[105553118983856] = new SyntaxElement{
/*scopes*/ "anonymous.ruby", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[105553118983856]; })
,
}
}; syntaxItems[106102872681152]; })
,
({ syntaxItems[106102872681232] = new SyntaxElement{
/*scopes*/ "literal.other.quoted.ruby.string", "(null)",
/*patterns*/ false, REGEX: %([^\w\s=]), REGEX: \1
/*refs*/TODO
/*children*/ {
({ syntaxItems[105553118983936] = new SyntaxElement{
/*scopes*/ "anonymous.ruby", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[105553118983936]; })
,
({ syntaxItems[105553118984016] = new SyntaxElement{
/*scopes*/ "anonymous.ruby", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[105553118984016]; })
,
}
}; syntaxItems[106102872681232]; })
,
({ syntaxItems[106102872681392] = new SyntaxElement{
/*scopes*/ "literal.lower.other.quoted.ruby.string", "(null)",
/*patterns*/ false, REGEX: %[qws]\(, REGEX: \)
/*refs*/TODO
/*children*/ {
({ syntaxItems[106102872681552] = new SyntaxElement{
/*scopes*/ "character.constant.escape.ruby", "(null)",
/*patterns*/ true, REGEX: \\\)|\\\\, (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[106102872681552]; })
,
({ syntaxItems[105553118984096] = new SyntaxElement{
/*scopes*/ "anonymous.ruby", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[105553118984096]; })
,
}
}; syntaxItems[106102872681392]; })
,
({ syntaxItems[106102872681712] = new SyntaxElement{
/*scopes*/ "literal.lower.other.quoted.ruby.string", "(null)",
/*patterns*/ false, REGEX: %[qws]\<, REGEX: \>
/*refs*/TODO
/*children*/ {
({ syntaxItems[106102872681792] = new SyntaxElement{
/*scopes*/ "character.constant.escape.ruby", "(null)",
/*patterns*/ true, REGEX: \\\>|\\\\, (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[106102872681792]; })
,
({ syntaxItems[105553118984176] = new SyntaxElement{
/*scopes*/ "anonymous.ruby", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[105553118984176]; })
,
}
}; syntaxItems[106102872681712]; })
,
({ syntaxItems[106102872681952] = new SyntaxElement{
/*scopes*/ "literal.lower.other.quoted.ruby.string", "(null)",
/*patterns*/ false, REGEX: %[qws]\[, REGEX: \]
/*refs*/TODO
/*children*/ {
({ syntaxItems[106102872682032] = new SyntaxElement{
/*scopes*/ "character.constant.escape.ruby", "(null)",
/*patterns*/ true, REGEX: \\\]|\\\\, (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[106102872682032]; })
,
({ syntaxItems[105553118984256] = new SyntaxElement{
/*scopes*/ "anonymous.ruby", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[105553118984256]; })
,
}
}; syntaxItems[106102872681952]; })
,
({ syntaxItems[106102872682192] = new SyntaxElement{
/*scopes*/ "literal.lower.other.quoted.ruby.string", "(null)",
/*patterns*/ false, REGEX: %[qws]\{, REGEX: \}
/*refs*/TODO
/*children*/ {
({ syntaxItems[106102872682272] = new SyntaxElement{
/*scopes*/ "character.constant.escape.ruby", "(null)",
/*patterns*/ true, REGEX: \\\}|\\\\, (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[106102872682272]; })
,
({ syntaxItems[105553118984336] = new SyntaxElement{
/*scopes*/ "anonymous.ruby", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[105553118984336]; })
,
}
}; syntaxItems[106102872682192]; })
,
({ syntaxItems[106102872682432] = new SyntaxElement{
/*scopes*/ "literal.lower.other.quoted.ruby.string", "(null)",
/*patterns*/ false, REGEX: %[qws]([^\w]), REGEX: \1
/*refs*/TODO
/*children*/ {
({ syntaxItems[106102872682512] = new SyntaxElement{
/*scopes*/ "anonymous.ruby", "(null)",
/*patterns*/ true, REGEX: \\., (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[106102872682512]; })
,
}
}; syntaxItems[106102872682432]; })
,
({ syntaxItems[106102872682672] = new SyntaxElement{
/*scopes*/ "constant.other.ruby.symbol", "(null)",
/*patterns*/ true, REGEX: (?<!:)(:)(?>[a-zA-Z_]\w*(?>[?!]|=(?![>=]))?|===?|>[>=]?|<[<=]?|<=>|[%&`/\|]|\*\*?|=?~|[-+]@?|\[\]=?|@@?[a-zA-Z_]\w*), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[106102872682672]; })
,
({ syntaxItems[106102872682752] = new SyntaxElement{
/*scopes*/ "19syntax.constant.other.ruby.symbol", "(null)",
/*patterns*/ true, REGEX: (?>[a-zA-Z_]\w*(?>[?!])?)(:)(?!:), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[106102872682752]; })
,
({ syntaxItems[106102872682832] = new SyntaxElement{
/*scopes*/ "block.comment.documentation.ruby", "(null)",
/*patterns*/ false, REGEX: ^=begin, REGEX: ^=end
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[106102872682832]; })
,
({ syntaxItems[106102872682912] = new SyntaxElement{
/*scopes*/ "comment.line.number-sign.ruby", "(null)",
/*patterns*/ true, REGEX: (?:^[ \t]+)?(#).*$\n?, (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[106102872682912]; })
,
({ syntaxItems[106102872682992] = 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[106102872682992]; })
,
({ syntaxItems[106102872683072] = new SyntaxElement{
/*scopes*/ "anonymous.ruby", "plain.text",
/*patterns*/ false, REGEX: ^__END__\n, REGEX: (?=not)impossible
/*refs*/TODO
/*children*/ {
({ syntaxItems[106102872683152] = 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[105553118984416] = new SyntaxElement{
/*scopes*/ "anonymous.ruby", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[105553118984416]; })
,
}
}; syntaxItems[106102872683152]; })
,
}
}; syntaxItems[106102872683072]; })
,
({ syntaxItems[106102872683232] = new SyntaxElement{
/*scopes*/ "embedded.html.ruby.string.unquoted", "(null)",
/*patterns*/ false, REGEX: (?><<-("?)((?:[_\w]+_|)HTML)\b\1), REGEX: \s*\2$
/*refs*/TODO
/*children*/ {
({ syntaxItems[105553118984496] = new SyntaxElement{
/*scopes*/ "anonymous.ruby", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[105553118984496]; })
,
({ syntaxItems[105553118984576] = new SyntaxElement{
/*scopes*/ "anonymous.ruby", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[105553118984576]; })
,
({ syntaxItems[105553118984656] = new SyntaxElement{
/*scopes*/ "anonymous.ruby", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[105553118984656]; })
,
({ syntaxItems[105553118984736] = new SyntaxElement{
/*scopes*/ "anonymous.ruby", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[105553118984736]; })
,
}
}; syntaxItems[106102872683232]; })
,
({ syntaxItems[106102872683312] = new SyntaxElement{
/*scopes*/ "embedded.ruby.sql.string.unquoted", "(null)",
/*patterns*/ false, REGEX: (?><<-("?)((?:[_\w]+_|)SQL)\b\1), REGEX: \s*\2$
/*refs*/TODO
/*children*/ {
({ syntaxItems[105553118984816] = new SyntaxElement{
/*scopes*/ "anonymous.ruby", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[105553118984816]; })
,
({ syntaxItems[105553118984896] = new SyntaxElement{
/*scopes*/ "anonymous.ruby", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[105553118984896]; })
,
({ syntaxItems[105553118984976] = new SyntaxElement{
/*scopes*/ "anonymous.ruby", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[105553118984976]; })
,
({ syntaxItems[105553118985056] = new SyntaxElement{
/*scopes*/ "anonymous.ruby", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[105553118985056]; })
,
}
}; syntaxItems[106102872683312]; })
,
({ syntaxItems[106102872683392] = new SyntaxElement{
/*scopes*/ "css.embedded.ruby.string.unquoted", "(null)",
/*patterns*/ false, REGEX: (?><<-("?)((?:[_\w]+_|)CSS)\b\1), REGEX: \s*\2$
/*refs*/TODO
/*children*/ {
({ syntaxItems[105553118985136] = new SyntaxElement{
/*scopes*/ "anonymous.ruby", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[105553118985136]; })
,
({ syntaxItems[105553118985216] = new SyntaxElement{
/*scopes*/ "anonymous.ruby", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[105553118985216]; })
,
({ syntaxItems[105553118985296] = new SyntaxElement{
/*scopes*/ "anonymous.ruby", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[105553118985296]; })
,
({ syntaxItems[105553118985376] = new SyntaxElement{
/*scopes*/ "anonymous.ruby", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[105553118985376]; })
,
}
}; syntaxItems[106102872683392]; })
,
({ syntaxItems[106102872683472] = new SyntaxElement{
/*scopes*/ "cplusplus.embedded.ruby.string.unquoted", "(null)",
/*patterns*/ false, REGEX: (?><<-("?)((?:[_\w]+_|)CPP)\b\1), REGEX: \s*\2$
/*refs*/TODO
/*children*/ {
({ syntaxItems[105553118985456] = new SyntaxElement{
/*scopes*/ "anonymous.ruby", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[105553118985456]; })
,
({ syntaxItems[105553118985536] = new SyntaxElement{
/*scopes*/ "anonymous.ruby", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[105553118985536]; })
,
({ syntaxItems[105553118985616] = new SyntaxElement{
/*scopes*/ "anonymous.ruby", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[105553118985616]; })
,
({ syntaxItems[105553118985696] = new SyntaxElement{
/*scopes*/ "anonymous.ruby", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[105553118985696]; })
,
}
}; syntaxItems[106102872683472]; })
,
({ syntaxItems[106102872683552] = new SyntaxElement{
/*scopes*/ "c.embedded.ruby.string.unquoted", "(null)",
/*patterns*/ false, REGEX: (?><<-("?)((?:[_\w]+_|)C)\b\1), REGEX: \s*\2$
/*refs*/TODO
/*children*/ {
({ syntaxItems[105553118985776] = new SyntaxElement{
/*scopes*/ "anonymous.ruby", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[105553118985776]; })
,
({ syntaxItems[105553118985856] = new SyntaxElement{
/*scopes*/ "anonymous.ruby", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[105553118985856]; })
,
({ syntaxItems[105553118985936] = new SyntaxElement{
/*scopes*/ "anonymous.ruby", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[105553118985936]; })
,
({ syntaxItems[105553118986016] = new SyntaxElement{
/*scopes*/ "anonymous.ruby", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[105553118986016]; })
,
}
}; syntaxItems[106102872683552]; })
,
({ syntaxItems[105553116850224] = new SyntaxElement{
/*scopes*/ "embedded.js.ruby.string.unquoted", "(null)",
/*patterns*/ false, REGEX: (?><<-("?)((?:[_\w]+_|)(?:JS|JAVASCRIPT))\b\1), REGEX: \s*\2$
/*refs*/TODO
/*children*/ {
({ syntaxItems[105553118986096] = new SyntaxElement{
/*scopes*/ "anonymous.ruby", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[105553118986096]; })
,
({ syntaxItems[105553118986176] = new SyntaxElement{
/*scopes*/ "anonymous.ruby", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[105553118986176]; })
,
({ syntaxItems[105553118986256] = new SyntaxElement{
/*scopes*/ "anonymous.ruby", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[105553118986256]; })
,
({ syntaxItems[105553118986336] = new SyntaxElement{
/*scopes*/ "anonymous.ruby", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[105553118986336]; })
,
}
}; syntaxItems[105553116850224]; })
,
({ syntaxItems[105553116850304] = new SyntaxElement{
/*scopes*/ "embedded.jquery.js.ruby.string.unquoted", "(null)",
/*patterns*/ false, REGEX: (?><<-("?)((?:[_\w]+_|)JQUERY)\b\1), REGEX: \s*\2$
/*refs*/TODO
/*children*/ {
({ syntaxItems[105553118986416] = new SyntaxElement{
/*scopes*/ "anonymous.ruby", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[105553118986416]; })
,
({ syntaxItems[105553118986496] = new SyntaxElement{
/*scopes*/ "anonymous.ruby", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[105553118986496]; })
,
({ syntaxItems[105553118986576] = new SyntaxElement{
/*scopes*/ "anonymous.ruby", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[105553118986576]; })
,
}
}; syntaxItems[105553116850304]; })
,
({ syntaxItems[105553116850384] = new SyntaxElement{
/*scopes*/ "embedded.ruby.shell.string.unquoted", "(null)",
/*patterns*/ false, REGEX: (?><<-("?)((?:[_\w]+_|)(?:SH|SHELL))\b\1), REGEX: \s*\2$
/*refs*/TODO
/*children*/ {
({ syntaxItems[105553118986656] = new SyntaxElement{
/*scopes*/ "anonymous.ruby", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[105553118986656]; })
,
({ syntaxItems[105553118986736] = new SyntaxElement{
/*scopes*/ "anonymous.ruby", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[105553118986736]; })
,
({ syntaxItems[105553118986816] = new SyntaxElement{
/*scopes*/ "anonymous.ruby", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[105553118986816]; })
,
({ syntaxItems[105553118986896] = new SyntaxElement{
/*scopes*/ "anonymous.ruby", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[105553118986896]; })
,
}
}; syntaxItems[105553116850384]; })
,
({ syntaxItems[105553116850544] = new SyntaxElement{
/*scopes*/ "embedded.ruby.string.unquoted", "(null)",
/*patterns*/ false, REGEX: (?><<-("?)((?:[_\w]+_|)RUBY)\b\1), REGEX: \s*\2$
/*refs*/TODO
/*children*/ {
({ syntaxItems[105553118986976] = new SyntaxElement{
/*scopes*/ "anonymous.ruby", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[105553118986976]; })
,
({ syntaxItems[105553118987056] = new SyntaxElement{
/*scopes*/ "anonymous.ruby", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[105553118987056]; })
,
({ syntaxItems[105553118987136] = new SyntaxElement{
/*scopes*/ "anonymous.ruby", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[105553118987136]; })
,
({ syntaxItems[105553118987216] = new SyntaxElement{
/*scopes*/ "anonymous.ruby", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[105553118987216]; })
,
}
}; syntaxItems[105553116850544]; })
,
({ syntaxItems[105553116850624] = new SyntaxElement{
/*scopes*/ "heredoc.ruby.string.unquoted", "(null)",
/*patterns*/ false, REGEX: (?>\=\s*<<(\w+)), REGEX: ^\1$
/*refs*/TODO
/*children*/ {
({ syntaxItems[105553118987296] = new SyntaxElement{
/*scopes*/ "anonymous.ruby", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[105553118987296]; })
,
({ syntaxItems[105553118987376] = new SyntaxElement{
/*scopes*/ "anonymous.ruby", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[105553118987376]; })
,
({ syntaxItems[105553118987456] = new SyntaxElement{
/*scopes*/ "anonymous.ruby", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[105553118987456]; })
,
}
}; syntaxItems[105553116850624]; })
,
({ syntaxItems[105553116850704] = new SyntaxElement{
/*scopes*/ "heredoc.ruby.string.unquoted", "(null)",
/*patterns*/ false, REGEX: (?><<-(\w+)), REGEX: \s*\1$
/*refs*/TODO
/*children*/ {
({ syntaxItems[105553118987536] = new SyntaxElement{
/*scopes*/ "anonymous.ruby", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[105553118987536]; })
,
({ syntaxItems[105553118987616] = new SyntaxElement{
/*scopes*/ "anonymous.ruby", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[105553118987616]; })
,
({ syntaxItems[105553118987696] = new SyntaxElement{
/*scopes*/ "anonymous.ruby", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[105553118987696]; })
,
}
}; syntaxItems[105553116850704]; })
,
({ syntaxItems[105553116850784] = new SyntaxElement{
/*scopes*/ "anonymous.ruby", "(null)",
/*patterns*/ false, REGEX: (?<=\{|do|\{\s|do\s)(\|), REGEX: (\|)
/*refs*/TODO
/*children*/ {
({ syntaxItems[105553116850864] = new SyntaxElement{
/*scopes*/ "block.other.ruby.variable", "(null)",
/*patterns*/ true, REGEX: [_a-zA-Z][_a-zA-Z0-9]*, (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[105553116850864]; })
,
({ syntaxItems[105553116850944] = new SyntaxElement{
/*scopes*/ "punctuation.ruby.separator.variable", "(null)",
/*patterns*/ true, STRING: ,, (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[105553116850944]; })
,
}
}; syntaxItems[105553116850784]; })
,
({ syntaxItems[105553116851024] = new SyntaxElement{
/*scopes*/ "key-value.punctuation.ruby.separator", "(null)",
/*patterns*/ true, STRING: =>, (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[105553116851024]; })
,
({ syntaxItems[105553116851104] = new SyntaxElement{
/*scopes*/ "assignment.augmented.keyword.operator.ruby", "(null)",
/*patterns*/ true, REGEX: <<=|%=|&=|\*=|\*\*=|\+=|\-=|\^=|\|{1,2}=|<<, (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[105553116851104]; })
,
({ syntaxItems[105553116851184] = new SyntaxElement{
/*scopes*/ "comparison.keyword.operator.ruby", "(null)",
/*patterns*/ true, REGEX: <=>|<(?!<|=)|>(?!<|=|>)|<=|>=|===|==|=~|!=|!~|(?<=[ \t])\?, (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[105553116851184]; })
,
({ syntaxItems[105553116851424] = new SyntaxElement{
/*scopes*/ "keyword.logical.operator.ruby", "(null)",
/*patterns*/ true, REGEX: (?<=[ \t])!+|\bnot\b|&&|\band\b|\|\||\bor\b|\^, (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[105553116851424]; })
,
({ syntaxItems[105553116851504] = new SyntaxElement{
/*scopes*/ "arithmetic.keyword.operator.ruby", "(null)",
/*patterns*/ true, REGEX: (%|&|\*\*|\*|\+|\-|/), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[105553116851504]; })
,
({ syntaxItems[105553116851584] = new SyntaxElement{
/*scopes*/ "assignment.keyword.operator.ruby", "(null)",
/*patterns*/ true, STRING: =, (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[105553116851584]; })
,
({ syntaxItems[105553116851664] = new SyntaxElement{
/*scopes*/ "keyword.operator.other.ruby", "(null)",
/*patterns*/ true, REGEX: \||~|>>, (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[105553116851664]; })
,
({ syntaxItems[105553116851744] = new SyntaxElement{
/*scopes*/ "other.punctuation.ruby.separator", "(null)",
/*patterns*/ true, STRING: :, (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[105553116851744]; })
,
({ syntaxItems[105553116851824] = new SyntaxElement{
/*scopes*/ "punctuation.ruby.separator.statement", "(null)",
/*patterns*/ true, REGEX: \;, (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[105553116851824]; })
,
({ syntaxItems[105553116851904] = new SyntaxElement{
/*scopes*/ "object.punctuation.ruby.separator", "(null)",
/*patterns*/ true, STRING: ,, (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[105553116851904]; })
,
({ syntaxItems[105553116851984] = new SyntaxElement{
/*scopes*/ "method.punctuation.ruby.separator", "(null)",
/*patterns*/ true, REGEX: \.|::, (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[105553116851984]; })
,
({ syntaxItems[105553116852064] = new SyntaxElement{
/*scopes*/ "punctuation.ruby.scope.section", "(null)",
/*patterns*/ true, REGEX: \{|\}, (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[105553116852064]; })
,
({ syntaxItems[105553116852144] = new SyntaxElement{
/*scopes*/ "array.punctuation.ruby.section", "(null)",
/*patterns*/ true, REGEX: \[|\], (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[105553116852144]; })
,
({ syntaxItems[105553116852224] = new SyntaxElement{
/*scopes*/ "function.punctuation.ruby.section", "(null)",
/*patterns*/ true, REGEX: \(|\), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[105553116852224]; })
,
}
}; syntaxItems[106102873577856]; })
}
// --- Writing truffle Ruby on Rails ---
// Writing lang HTML (Rails)
void shamrock_test_HTML_Rails() {
std::map<intptr_t, Syntaxable*> syntaxItems;
({ syntaxItems[107202385173376] = new SyntaxBase{
"html.ruby.text", nullptr, {
({ syntaxItems[107202386353360] = new SyntaxElement{
/*scopes*/ "block.comment.erb.html-rails", "(null)",
/*patterns*/ false, REGEX: <%+#, REGEX: %>
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[107202386353360]; })
,
({ syntaxItems[107202386353440] = new SyntaxElement{
/*scopes*/ "embedded.html.html-rails.rails.ruby.source", "(null)",
/*patterns*/ false, REGEX: <%+(?!>)[-=]?, REGEX: -?%>
/*refs*/TODO
/*children*/ {
({ syntaxItems[107202386353520] = new SyntaxElement{
/*scopes*/ "comment.html-rails.line.number-sign.ruby", "(null)",
/*patterns*/ true, REGEX: (#).*?(?=-?%>), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[107202386353520]; })
,
({ syntaxItems[105553118977856] = new SyntaxElement{
/*scopes*/ "anonymous.html-rails", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[105553118977856]; })
,
}
}; syntaxItems[107202386353440]; })
,
({ syntaxItems[105553118977936] = new SyntaxElement{
/*scopes*/ "anonymous.html-rails", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[105553118977936]; })
,
}
}; syntaxItems[107202385173376]; })
}
// Writing lang JavaScript (Rails)
void shamrock_test_JavaScript_Rails() {
std::map<intptr_t, Syntaxable*> syntaxItems;
({ syntaxItems[107202385173568] = new SyntaxBase{
"js.rails.source", nullptr, {
({ syntaxItems[107202386353600] = new SyntaxElement{
/*scopes*/ "block.comment.erb.javascript-rails", "(null)",
/*patterns*/ false, REGEX: <%+#, REGEX: %>
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[107202386353600]; })
,
({ syntaxItems[107202386353680] = new SyntaxElement{
/*scopes*/ "erb.javascript-rails.rails.ruby.source", "(null)",
/*patterns*/ false, REGEX: <%+(?!>)[-=]?, REGEX: -?%>
/*refs*/TODO
/*children*/ {
({ syntaxItems[107202386353760] = new SyntaxElement{
/*scopes*/ "comment.javascript-rails.line.number-sign.ruby", "(null)",
/*patterns*/ true, REGEX: (#).*?(?=-?%>), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[107202386353760]; })
,
({ syntaxItems[105553118978016] = new SyntaxElement{
/*scopes*/ "anonymous.javascript-rails", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[105553118978016]; })
,
}
}; syntaxItems[107202386353680]; })
,
({ syntaxItems[105553118978096] = new SyntaxElement{
/*scopes*/ "anonymous.javascript-rails", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[105553118978096]; })
,
}
}; syntaxItems[107202385173568]; })
}
// Writing lang RJS
void shamrock_test_RJS() {
std::map<intptr_t, Syntaxable*> syntaxItems;
({ syntaxItems[107202385173760] = new SyntaxBase{
"rails.rjs.ruby.source", nullptr, {
({ syntaxItems[105553118978176] = new SyntaxElement{
/*scopes*/ "anonymous.rjs", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[105553118978176]; })
,
}
}; syntaxItems[107202385173760]; })
}
// Writing lang Ruby on Rails
void shamrock_test_Ruby_on_Rails() {
std::map<intptr_t, Syntaxable*> syntaxItems;
({ syntaxItems[107202385173952] = new SyntaxBase{
"rails.ruby.source", nullptr, {
({ syntaxItems[107202386354000] = 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[105553118978256] = new SyntaxElement{
/*scopes*/ "anonymous.ruby-on-rails", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[105553118978256]; })
,
({ syntaxItems[105553118978336] = new SyntaxElement{
/*scopes*/ "anonymous.ruby-on-rails", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[105553118978336]; })
,
}
}; syntaxItems[107202386354000]; })
,
({ syntaxItems[107202386354080] = 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[105553118978416] = new SyntaxElement{
/*scopes*/ "anonymous.ruby-on-rails", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[105553118978416]; })
,
({ syntaxItems[105553118978496] = new SyntaxElement{
/*scopes*/ "anonymous.ruby-on-rails", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[105553118978496]; })
,
}
}; syntaxItems[107202386354080]; })
,
({ syntaxItems[107202386354160] = 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[105553118978576] = new SyntaxElement{
/*scopes*/ "anonymous.ruby-on-rails", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[105553118978576]; })
,
({ syntaxItems[105553118978656] = new SyntaxElement{
/*scopes*/ "anonymous.ruby-on-rails", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[105553118978656]; })
,
}
}; syntaxItems[107202386354160]; })
,
({ syntaxItems[107202386354320] = 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[105553118978736] = new SyntaxElement{
/*scopes*/ "anonymous.ruby-on-rails", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[105553118978736]; })
,
({ syntaxItems[105553118978816] = new SyntaxElement{
/*scopes*/ "anonymous.ruby-on-rails", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[105553118978816]; })
,
}
}; syntaxItems[107202386354320]; })
,
({ syntaxItems[107202386354400] = 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[105553118978896] = new SyntaxElement{
/*scopes*/ "anonymous.ruby-on-rails", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[105553118978896]; })
,
({ syntaxItems[105553118978976] = new SyntaxElement{
/*scopes*/ "anonymous.ruby-on-rails", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[105553118978976]; })
,
}
}; syntaxItems[107202386354400]; })
,
({ syntaxItems[107202386354480] = 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[107202386354560] = 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[105553118979056] = new SyntaxElement{
/*scopes*/ "anonymous.ruby-on-rails", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[105553118979056]; })
,
({ syntaxItems[105553118979136] = new SyntaxElement{
/*scopes*/ "anonymous.ruby-on-rails", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[105553118979136]; })
,
}
}; syntaxItems[107202386354560]; })
,
({ syntaxItems[107202386354640] = 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[105553118979216] = new SyntaxElement{
/*scopes*/ "anonymous.ruby-on-rails", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[105553118979216]; })
,
({ syntaxItems[105553118979296] = new SyntaxElement{
/*scopes*/ "anonymous.ruby-on-rails", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[105553118979296]; })
,
}
}; syntaxItems[107202386354640]; })
,
({ syntaxItems[105553118979376] = new SyntaxElement{
/*scopes*/ "anonymous.ruby-on-rails", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[105553118979376]; })
,
({ syntaxItems[105553118979456] = new SyntaxElement{
/*scopes*/ "anonymous.ruby-on-rails", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[105553118979456]; })
,
}
}; syntaxItems[107202386354480]; })
,
({ syntaxItems[107202386354720] = 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[105553118979616] = new SyntaxElement{
/*scopes*/ "anonymous.ruby-on-rails", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[105553118979616]; })
,
({ syntaxItems[105553118979696] = new SyntaxElement{
/*scopes*/ "anonymous.ruby-on-rails", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[105553118979696]; })
,
}
}; syntaxItems[107202386354720]; })
,
({ syntaxItems[107202386354880] = 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[105553118979776] = new SyntaxElement{
/*scopes*/ "anonymous.ruby-on-rails", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[105553118979776]; })
,
({ syntaxItems[105553118979856] = new SyntaxElement{
/*scopes*/ "anonymous.ruby-on-rails", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[105553118979856]; })
,
}
}; syntaxItems[107202386354880]; })
,
({ syntaxItems[107202386354960] = new SyntaxElement{
/*scopes*/ "actionpack.function.rails.ruby-on-rails.support", "(null)",
/*patterns*/ true, <CHSyntaxPatternListDefinition: 0x618001448d30>, (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[107202386354960]; })
,
({ syntaxItems[107202386355120] = new SyntaxElement{
/*scopes*/ "activerecord.function.rails.ruby-on-rails.support", "(null)",
/*patterns*/ true, <CHSyntaxPatternListDefinition: 0x6180014494e0>, (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[107202386355120]; })
,
({ syntaxItems[107202386355280] = new SyntaxElement{
/*scopes*/ "activesupport.function.rails.ruby-on-rails.support", "(null)",
/*patterns*/ true, <CHSyntaxPatternListDefinition: 0x61800144a0e0>, (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[107202386355280]; })
,
({ syntaxItems[105553118979536] = new SyntaxElement{
/*scopes*/ "anonymous.ruby-on-rails", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[105553118979536]; })
,
}
}; syntaxItems[107202385173952]; })
}
// Writing lang SQL (Rails)
void shamrock_test_SQL_Rails() {
std::map<intptr_t, Syntaxable*> syntaxItems;
({ syntaxItems[107202385174144] = new SyntaxBase{
"ruby.source.sql", nullptr, {
({ syntaxItems[107202386354800] = new SyntaxElement{
/*scopes*/ "embedded.rails.ruby.source.sql.sql-rails", "(null)",
/*patterns*/ false, REGEX: <%+(?!>)=?, STRING: %>
/*refs*/TODO
/*children*/ {
({ syntaxItems[107202386355440] = new SyntaxElement{
/*scopes*/ "comment.line.number-sign.ruby.sql-rails", "(null)",
/*patterns*/ true, REGEX: #.*?(?=%>), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[107202386355440]; })
,
({ syntaxItems[105553118979936] = new SyntaxElement{
/*scopes*/ "anonymous.sql-rails", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[105553118979936]; })
,
}
}; syntaxItems[107202386354800]; })
,
({ syntaxItems[105553118980016] = new SyntaxElement{
/*scopes*/ "anonymous.sql-rails", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[105553118980016]; })
,
}
}; syntaxItems[107202385174144]; })
}
// --- Writing truffle Rust ---
// Writing lang Rust
void shamrock_test_Rust() {
std::map<intptr_t, Syntaxable*> syntaxItems;
({ syntaxItems[105553117749184] = new SyntaxBase{
"rust.source", nullptr, {
({ syntaxItems[105553118987776] = new SyntaxElement{
/*scopes*/ "anonymous.rust", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[105553118987776]; })
,
({ syntaxItems[105553118987856] = new SyntaxElement{
/*scopes*/ "anonymous.rust", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[105553118987856]; })
,
({ syntaxItems[105553118987936] = new SyntaxElement{
/*scopes*/ "anonymous.rust", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[105553118987936]; })
,
({ syntaxItems[105553118988016] = new SyntaxElement{
/*scopes*/ "anonymous.rust", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[105553118988016]; })
,
({ syntaxItems[105553116866304] = new SyntaxElement{
/*scopes*/ "attribute.meta.rust", "(null)",
/*patterns*/ false, REGEX: #\!?\[, REGEX: \]
/*refs*/TODO
/*children*/ {
({ syntaxItems[105553118988096] = new SyntaxElement{
/*scopes*/ "anonymous.rust", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[105553118988096]; })
,
}
}; syntaxItems[105553116866304]; })
,
({ syntaxItems[105553116866384] = 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[105553116866384]; })
,
({ syntaxItems[105553118988176] = new SyntaxElement{
/*scopes*/ "anonymous.rust", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[105553118988176]; })
,
({ syntaxItems[105553118988336] = new SyntaxElement{
/*scopes*/ "anonymous.rust", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[105553118988336]; })
,
({ syntaxItems[105553116866544] = 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[105553116866544]; })
,
({ syntaxItems[105553116866704] = 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[105553116866704]; })
,
({ syntaxItems[105553116866864] = 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[105553116866864]; })
,
({ syntaxItems[105553116866464] = 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[105553116866464]; })
,
({ syntaxItems[105553116867024] = 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[105553116867024]; })
,
({ syntaxItems[105553116867104] = 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[105553116867104]; })
,
({ syntaxItems[105553116867184] = 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[105553116867184]; })
,
({ syntaxItems[105553116867264] = new SyntaxElement{
/*scopes*/ "modifier.rust.static.storage", "(null)",
/*patterns*/ true, STRING: static, (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[105553116867264]; })
,
({ syntaxItems[105553116867344] = new SyntaxElement{
/*scopes*/ "modifier.rust.storage.visibility", "(null)",
/*patterns*/ true, <CHSyntaxPatternListDefinition: 0x600000847da0>, (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[105553116867344]; })
,
({ syntaxItems[105553116867424] = new SyntaxElement{
/*scopes*/ "boolean.constant.language.rust", "(null)",
/*patterns*/ true, <CHSyntaxPatternListDefinition: 0x600000848040>, (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[105553116867424]; })
,
({ syntaxItems[105553116867504] = new SyntaxElement{
/*scopes*/ "control.keyword.rust", "(null)",
/*patterns*/ true, <CHSyntaxPatternListDefinition: 0x600000848220>, (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[105553116867504]; })
,
({ syntaxItems[105553116867584] = new SyntaxElement{
/*scopes*/ "keyword.other.rust", "(null)",
/*patterns*/ true, <CHSyntaxPatternListDefinition: 0x600000848550>, (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[105553116867584]; })
,
({ syntaxItems[105553116867664] = new SyntaxElement{
/*scopes*/ "keyword.other.rust.unsafe", "(null)",
/*patterns*/ true, STRING: unsafe, (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[105553116867664]; })
,
({ syntaxItems[105553118988256] = new SyntaxElement{
/*scopes*/ "anonymous.rust", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[105553118988256]; })
,
({ syntaxItems[105553118988416] = new SyntaxElement{
/*scopes*/ "anonymous.rust", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[105553118988416]; })
,
({ syntaxItems[105553118988496] = new SyntaxElement{
/*scopes*/ "anonymous.rust", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[105553118988496]; })
,
({ syntaxItems[105553118988576] = new SyntaxElement{
/*scopes*/ "anonymous.rust", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[105553118988576]; })
,
({ syntaxItems[105553118988656] = new SyntaxElement{
/*scopes*/ "anonymous.rust", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[105553118988656]; })
,
({ syntaxItems[105553118988736] = new SyntaxElement{
/*scopes*/ "anonymous.rust", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[105553118988736]; })
,
({ syntaxItems[105553118988816] = new SyntaxElement{
/*scopes*/ "anonymous.rust", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[105553118988816]; })
,
({ syntaxItems[105553118988896] = new SyntaxElement{
/*scopes*/ "anonymous.rust", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[105553118988896]; })
,
({ syntaxItems[105553118988976] = new SyntaxElement{
/*scopes*/ "anonymous.rust", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[105553118988976]; })
,
({ syntaxItems[105553116867904] = new SyntaxElement{
/*scopes*/ "keyword.operator.rust", "(null)",
/*patterns*/ true, REGEX: (\+|-|/|\*|=|\^|&|\||!|>|<|%|::|\bas\b), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[105553116867904]; })
,
({ syntaxItems[105553116867984] = 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[105553116867984]; })
,
({ syntaxItems[105553116868064] = new SyntaxElement{
/*scopes*/ "constant.rust.std.support", "(null)",
/*patterns*/ true, <CHSyntaxPatternListDefinition: 0x600000849300>, (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[105553116868064]; })
,
({ syntaxItems[105553116868144] = new SyntaxElement{
/*scopes*/ "anonymous.rust", "(null)",
/*patterns*/ true, REGEX: \b([a-zA-Z_][a-zA-Z0-9_]*\!)\s*[({\[], (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[105553116868144]; })
,
({ syntaxItems[105553116868224] = new SyntaxElement{
/*scopes*/ "anonymous.rust", "(null)",
/*patterns*/ true, REGEX: \b([a-zA-Z_][a-zA-Z0-9_]*)\s*\(, (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[105553116868224]; })
,
({ syntaxItems[105553116868304] = new SyntaxElement{
/*scopes*/ "anonymous.rust", "(null)",
/*patterns*/ false, REGEX: \b(fn)\s+([a-zA-Z_][a-zA-Z0-9_]*), REGEX: [\{;]
/*refs*/TODO
/*children*/ {
({ syntaxItems[105553118989056] = new SyntaxElement{
/*scopes*/ "anonymous.rust", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[105553118989056]; })
,
({ syntaxItems[105553118989136] = new SyntaxElement{
/*scopes*/ "anonymous.rust", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[105553118989136]; })
,
}
}; syntaxItems[105553116868304]; })
,
({ syntaxItems[105553116868384] = 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[105553118989216] = new SyntaxElement{
/*scopes*/ "anonymous.rust", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[105553118989216]; })
,
({ syntaxItems[105553118989296] = new SyntaxElement{
/*scopes*/ "anonymous.rust", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[105553118989296]; })
,
}
}; syntaxItems[105553116868384]; })
,
({ syntaxItems[105553116868544] = new SyntaxElement{
/*scopes*/ "anonymous.rust", "(null)",
/*patterns*/ false, REGEX: \b(impl)\b, REGEX: \{
/*refs*/TODO
/*children*/ {
({ syntaxItems[105553118989376] = new SyntaxElement{
/*scopes*/ "anonymous.rust", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[105553118989376]; })
,
({ syntaxItems[105553118989456] = new SyntaxElement{
/*scopes*/ "anonymous.rust", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[105553118989456]; })
,
}
}; syntaxItems[105553116868544]; })
,
({ syntaxItems[105553116868624] = new SyntaxElement{
/*scopes*/ "anonymous.rust", "(null)",
/*patterns*/ false, STRING: :, REGEX: [=;,\)\|]
/*refs*/TODO
/*children*/ {
({ syntaxItems[105553118989536] = new SyntaxElement{
/*scopes*/ "anonymous.rust", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[105553118989536]; })
,
({ syntaxItems[105553118989616] = new SyntaxElement{
/*scopes*/ "anonymous.rust", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[105553118989616]; })
,
}
}; syntaxItems[105553116868624]; })
,
}
}; syntaxItems[105553117749184]; })
}
// --- Writing truffle Rust ---
// Writing lang Rust
void shamrock_test_Rust() {
std::map<intptr_t, Syntaxable*> syntaxItems;
({ syntaxItems[106652629364096] = new SyntaxBase{
"rust.source", nullptr, {
({ syntaxItems[105553118997696] = new SyntaxElement{
/*scopes*/ "anonymous.rust", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[105553118997696]; })
,
({ syntaxItems[105553118997776] = new SyntaxElement{
/*scopes*/ "anonymous.rust", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[105553118997776]; })
,
({ syntaxItems[105553118997856] = new SyntaxElement{
/*scopes*/ "anonymous.rust", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[105553118997856]; })
,
({ syntaxItems[105553118997936] = new SyntaxElement{
/*scopes*/ "anonymous.rust", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[105553118997936]; })
,
({ syntaxItems[106652628538000] = new SyntaxElement{
/*scopes*/ "attribute.meta.rust", "(null)",
/*patterns*/ false, REGEX: #\!?\[, REGEX: \]
/*refs*/TODO
/*children*/ {
({ syntaxItems[105553118998016] = new SyntaxElement{
/*scopes*/ "anonymous.rust", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[105553118998016]; })
,
}
}; syntaxItems[106652628538000]; })
,
({ syntaxItems[106652628538080] = 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[106652628538080]; })
,
({ syntaxItems[105553118998096] = new SyntaxElement{
/*scopes*/ "anonymous.rust", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[105553118998096]; })
,
({ syntaxItems[105553118998256] = new SyntaxElement{
/*scopes*/ "anonymous.rust", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[105553118998256]; })
,
({ syntaxItems[106652628538240] = 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[106652628538240]; })
,
({ syntaxItems[106652628538400] = 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[106652628538400]; })
,
({ syntaxItems[106652628538560] = 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[106652628538560]; })
,
({ syntaxItems[106652628538160] = 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[106652628538160]; })
,
({ syntaxItems[106652628538720] = 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[106652628538720]; })
,
({ syntaxItems[106652628538800] = 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[106652628538800]; })
,
({ syntaxItems[106652628538880] = 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[106652628538880]; })
,
({ syntaxItems[106652628538960] = new SyntaxElement{
/*scopes*/ "modifier.rust.static.storage", "(null)",
/*patterns*/ true, STRING: static, (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[106652628538960]; })
,
({ syntaxItems[106652628539040] = new SyntaxElement{
/*scopes*/ "modifier.rust.storage.visibility", "(null)",
/*patterns*/ true, <CHSyntaxPatternListDefinition: 0x610001243390>, (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[106652628539040]; })
,
({ syntaxItems[106652628539120] = new SyntaxElement{
/*scopes*/ "boolean.constant.language.rust", "(null)",
/*patterns*/ true, <CHSyntaxPatternListDefinition: 0x610001243630>, (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[106652628539120]; })
,
({ syntaxItems[106652628539200] = new SyntaxElement{
/*scopes*/ "control.keyword.rust", "(null)",
/*patterns*/ true, <CHSyntaxPatternListDefinition: 0x610001243810>, (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[106652628539200]; })
,
({ syntaxItems[106652628539280] = new SyntaxElement{
/*scopes*/ "keyword.other.rust", "(null)",
/*patterns*/ true, <CHSyntaxPatternListDefinition: 0x610001243b40>, (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[106652628539280]; })
,
({ syntaxItems[106652628539360] = new SyntaxElement{
/*scopes*/ "keyword.other.rust.unsafe", "(null)",
/*patterns*/ true, STRING: unsafe, (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[106652628539360]; })
,
({ syntaxItems[105553118998176] = new SyntaxElement{
/*scopes*/ "anonymous.rust", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[105553118998176]; })
,
({ syntaxItems[105553118998336] = new SyntaxElement{
/*scopes*/ "anonymous.rust", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[105553118998336]; })
,
({ syntaxItems[105553118998416] = new SyntaxElement{
/*scopes*/ "anonymous.rust", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[105553118998416]; })
,
({ syntaxItems[105553118998496] = new SyntaxElement{
/*scopes*/ "anonymous.rust", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[105553118998496]; })
,
({ syntaxItems[105553118998576] = new SyntaxElement{
/*scopes*/ "anonymous.rust", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[105553118998576]; })
,
({ syntaxItems[105553118998656] = new SyntaxElement{
/*scopes*/ "anonymous.rust", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[105553118998656]; })
,
({ syntaxItems[105553118998736] = new SyntaxElement{
/*scopes*/ "anonymous.rust", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[105553118998736]; })
,
({ syntaxItems[105553118998816] = new SyntaxElement{
/*scopes*/ "anonymous.rust", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[105553118998816]; })
,
({ syntaxItems[105553118998896] = new SyntaxElement{
/*scopes*/ "anonymous.rust", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[105553118998896]; })
,
({ syntaxItems[106652628539600] = new SyntaxElement{
/*scopes*/ "keyword.operator.rust", "(null)",
/*patterns*/ true, REGEX: (\+|-|/|\*|=|\^|&|\||!|>|<|%|::|\bas\b), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[106652628539600]; })
,
({ syntaxItems[106652628539680] = 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[106652628539680]; })
,
({ syntaxItems[106652628539760] = new SyntaxElement{
/*scopes*/ "constant.rust.std.support", "(null)",
/*patterns*/ true, <CHSyntaxPatternListDefinition: 0x6100012448f0>, (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[106652628539760]; })
,
({ syntaxItems[106652628539840] = new SyntaxElement{
/*scopes*/ "anonymous.rust", "(null)",
/*patterns*/ true, REGEX: \b([a-zA-Z_][a-zA-Z0-9_]*\!)\s*[({\[], (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[106652628539840]; })
,
({ syntaxItems[106652628539920] = new SyntaxElement{
/*scopes*/ "anonymous.rust", "(null)",
/*patterns*/ true, REGEX: \b([a-zA-Z_][a-zA-Z0-9_]*)\s*\(, (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[106652628539920]; })
,
({ syntaxItems[106652628540000] = new SyntaxElement{
/*scopes*/ "anonymous.rust", "(null)",
/*patterns*/ false, REGEX: \b(fn)\s+([a-zA-Z_][a-zA-Z0-9_]*), REGEX: [\{;]
/*refs*/TODO
/*children*/ {
({ syntaxItems[105553118998976] = new SyntaxElement{
/*scopes*/ "anonymous.rust", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[105553118998976]; })
,
({ syntaxItems[105553118999056] = new SyntaxElement{
/*scopes*/ "anonymous.rust", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[105553118999056]; })
,
}
}; syntaxItems[106652628540000]; })
,
({ syntaxItems[105553116900944] = 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[105553118999136] = new SyntaxElement{
/*scopes*/ "anonymous.rust", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[105553118999136]; })
,
({ syntaxItems[105553118999216] = new SyntaxElement{
/*scopes*/ "anonymous.rust", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[105553118999216]; })
,
}
}; syntaxItems[105553116900944]; })
,
({ syntaxItems[105553116901104] = new SyntaxElement{
/*scopes*/ "anonymous.rust", "(null)",
/*patterns*/ false, REGEX: \b(impl)\b, REGEX: \{
/*refs*/TODO
/*children*/ {
({ syntaxItems[105553118999296] = new SyntaxElement{
/*scopes*/ "anonymous.rust", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[105553118999296]; })
,
({ syntaxItems[105553118999376] = new SyntaxElement{
/*scopes*/ "anonymous.rust", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[105553118999376]; })
,
}
}; syntaxItems[105553116901104]; })
,
({ syntaxItems[105553116901184] = new SyntaxElement{
/*scopes*/ "anonymous.rust", "(null)",
/*patterns*/ false, STRING: :, REGEX: [=;,\)\|]
/*refs*/TODO
/*children*/ {
({ syntaxItems[105553118999456] = new SyntaxElement{
/*scopes*/ "anonymous.rust", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[105553118999456]; })
,
({ syntaxItems[105553118999536] = new SyntaxElement{
/*scopes*/ "anonymous.rust", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[105553118999536]; })
,
}
}; syntaxItems[105553116901184]; })
,
}
}; syntaxItems[106652629364096]; })
}
// --- Writing truffle SCSS ---
// Writing lang SCSS
void shamrock_test_SCSS() {
std::map<intptr_t, Syntaxable*> syntaxItems;
({ syntaxItems[105553117754752] = new SyntaxBase{
"scss.source", nullptr, {
({ syntaxItems[105553118999616] = new SyntaxElement{
/*scopes*/ "anonymous.scss", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[105553118999616]; })
,
({ syntaxItems[105553118999696] = new SyntaxElement{
/*scopes*/ "anonymous.scss", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[105553118999696]; })
,
({ syntaxItems[105553118999776] = new SyntaxElement{
/*scopes*/ "anonymous.scss", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[105553118999776]; })
,
({ syntaxItems[105553118999856] = new SyntaxElement{
/*scopes*/ "anonymous.scss", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[105553118999856]; })
,
({ syntaxItems[105553118999936] = new SyntaxElement{
/*scopes*/ "anonymous.scss", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[105553118999936]; })
,
({ syntaxItems[105553119000016] = new SyntaxElement{
/*scopes*/ "anonymous.scss", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[105553119000016]; })
,
({ syntaxItems[105553119000096] = new SyntaxElement{
/*scopes*/ "anonymous.scss", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[105553119000096]; })
,
({ syntaxItems[105553119000256] = new SyntaxElement{
/*scopes*/ "anonymous.scss", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[105553119000256]; })
,
({ syntaxItems[105553119000336] = new SyntaxElement{
/*scopes*/ "anonymous.scss", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[105553119000336]; })
,
({ syntaxItems[105553119000416] = new SyntaxElement{
/*scopes*/ "anonymous.scss", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[105553119000416]; })
,
({ syntaxItems[105553119000496] = new SyntaxElement{
/*scopes*/ "anonymous.scss", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[105553119000496]; })
,
({ syntaxItems[105553119000176] = new SyntaxElement{
/*scopes*/ "anonymous.scss", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[105553119000176]; })
,
({ syntaxItems[105553119000576] = new SyntaxElement{
/*scopes*/ "anonymous.scss", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[105553119000576]; })
,
({ syntaxItems[105553119000656] = new SyntaxElement{
/*scopes*/ "anonymous.scss", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[105553119000656]; })
,
({ syntaxItems[105553119000736] = new SyntaxElement{
/*scopes*/ "anonymous.scss", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[105553119000736]; })
,
({ syntaxItems[105553119000816] = new SyntaxElement{
/*scopes*/ "anonymous.scss", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[105553119000816]; })
,
}
}; syntaxItems[105553117754752]; })
}
// --- Writing truffle Shell Script ---
// Writing lang Shell Script (Bash)
void shamrock_test_Shell_Script_Bash() {
std::map<intptr_t, Syntaxable*> syntaxItems;
({ syntaxItems[105553117749760] = new SyntaxBase{
"shell.source", nullptr, {
({ syntaxItems[105553118989696] = new SyntaxElement{
/*scopes*/ "anonymous.shell-script-bash", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[105553118989696]; })
,
({ syntaxItems[105553118989776] = new SyntaxElement{
/*scopes*/ "anonymous.shell-script-bash", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[105553118989776]; })
,
({ syntaxItems[105553118989856] = new SyntaxElement{
/*scopes*/ "anonymous.shell-script-bash", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[105553118989856]; })
,
({ syntaxItems[105553118989936] = new SyntaxElement{
/*scopes*/ "anonymous.shell-script-bash", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[105553118989936]; })
,
({ syntaxItems[105553118990016] = new SyntaxElement{
/*scopes*/ "anonymous.shell-script-bash", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[105553118990016]; })
,
({ syntaxItems[105553118990096] = new SyntaxElement{
/*scopes*/ "anonymous.shell-script-bash", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[105553118990096]; })
,
({ syntaxItems[105553118990176] = new SyntaxElement{
/*scopes*/ "anonymous.shell-script-bash", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[105553118990176]; })
,
({ syntaxItems[105553118990336] = new SyntaxElement{
/*scopes*/ "anonymous.shell-script-bash", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[105553118990336]; })
,
({ syntaxItems[105553118990416] = new SyntaxElement{
/*scopes*/ "anonymous.shell-script-bash", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[105553118990416]; })
,
({ syntaxItems[105553118990496] = new SyntaxElement{
/*scopes*/ "anonymous.shell-script-bash", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[105553118990496]; })
,
({ syntaxItems[105553118990576] = new SyntaxElement{
/*scopes*/ "anonymous.shell-script-bash", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[105553118990576]; })
,
({ syntaxItems[105553118990256] = new SyntaxElement{
/*scopes*/ "anonymous.shell-script-bash", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[105553118990256]; })
,
({ syntaxItems[105553118990656] = new SyntaxElement{
/*scopes*/ "anonymous.shell-script-bash", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[105553118990656]; })
,
({ syntaxItems[105553118990736] = new SyntaxElement{
/*scopes*/ "anonymous.shell-script-bash", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[105553118990736]; })
,
({ syntaxItems[105553118990816] = new SyntaxElement{
/*scopes*/ "anonymous.shell-script-bash", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[105553118990816]; })
,
}
}; syntaxItems[105553117749760]; })
}
// --- Writing truffle SQL ---
// Writing lang SQL
void shamrock_test_SQL() {
std::map<intptr_t, Syntaxable*> syntaxItems;
({ syntaxItems[105553117750336] = new SyntaxBase{
"source.sql", nullptr, {
({ syntaxItems[105553118990896] = new SyntaxElement{
/*scopes*/ "anonymous.sql", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[105553118990896]; })
,
({ syntaxItems[105553116882144] = 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[105553116882144]; })
,
({ syntaxItems[105553116882224] = 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[105553116882224]; })
,
({ syntaxItems[105553116882304] = 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[105553116882304]; })
,
({ syntaxItems[105553116882464] = 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[105553116882464]; })
,
({ syntaxItems[105553116882544] = 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[105553116882544]; })
,
({ syntaxItems[105553116882624] = 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[105553116882624]; })
,
({ syntaxItems[105553116882784] = new SyntaxElement{
/*scopes*/ "constant.numeric.sql", "(null)",
/*patterns*/ true, REGEX: \b\d+\b, (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[105553116882784]; })
,
({ syntaxItems[105553116882864] = 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[105553116882864]; })
,
({ syntaxItems[105553116882944] = 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[105553116882944]; })
,
({ syntaxItems[105553116883104] = new SyntaxElement{
/*scopes*/ "dml.ii.keyword.other.sql", "(null)",
/*patterns*/ true, REGEX: (?i:\bvalues\b), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[105553116883104]; })
,
({ syntaxItems[105553116882704] = 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[105553116882704]; })
,
({ syntaxItems[105553116883184] = new SyntaxElement{
/*scopes*/ "authorization.keyword.other.sql", "(null)",
/*patterns*/ true, REGEX: (?i:\b(grant(\swith\sgrant\soption)?|revoke)\b), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[105553116883184]; })
,
({ syntaxItems[105553116883344] = new SyntaxElement{
/*scopes*/ "data-integrity.keyword.other.sql", "(null)",
/*patterns*/ true, REGEX: (?i:\bin\b), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[105553116883344]; })
,
({ syntaxItems[105553116883424] = 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[105553116883424]; })
,
({ syntaxItems[105553116883504] = new SyntaxElement{
/*scopes*/ "alias.keyword.other.sql", "(null)",
/*patterns*/ true, STRING: AS, (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[105553116883504]; })
,
({ syntaxItems[105553116883584] = new SyntaxElement{
/*scopes*/ "keyword.order.other.sql", "(null)",
/*patterns*/ true, <CHSyntaxPatternListDefinition: 0x600000a5fe00>, (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[105553116883584]; })
,
({ syntaxItems[105553116883664] = new SyntaxElement{
/*scopes*/ "keyword.operator.sql.star", "(null)",
/*patterns*/ true, REGEX: \*, (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[105553116883664]; })
,
({ syntaxItems[105553116883744] = new SyntaxElement{
/*scopes*/ "comparison.keyword.operator.sql", "(null)",
/*patterns*/ true, REGEX: [!<>]?=|<>|<|>, (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[105553116883744]; })
,
({ syntaxItems[105553116883824] = new SyntaxElement{
/*scopes*/ "keyword.math.operator.sql", "(null)",
/*patterns*/ true, REGEX: -|\+|/, (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[105553116883824]; })
,
({ syntaxItems[105553116883904] = new SyntaxElement{
/*scopes*/ "concatenator.keyword.operator.sql", "(null)",
/*patterns*/ true, REGEX: \|\|, (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[105553116883904]; })
,
({ syntaxItems[105553116883984] = 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[105553116883984]; })
,
({ syntaxItems[105553116884064] = new SyntaxElement{
/*scopes*/ "aggregate.function.sql.support", "(null)",
/*patterns*/ true, REGEX: (?i)\b(AVG|COUNT|MIN|MAX|SUM)(?=\s*\(), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[105553116884064]; })
,
({ syntaxItems[105553116884144] = new SyntaxElement{
/*scopes*/ "function.sql.string.support", "(null)",
/*patterns*/ true, <CHSyntaxPatternListDefinition: 0x600000c40c90>, (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[105553116884144]; })
,
({ syntaxItems[105553116884224] = new SyntaxElement{
/*scopes*/ "anonymous.sql", "(null)",
/*patterns*/ true, REGEX: (\w+?)\.(\w+), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[105553116884224]; })
,
({ syntaxItems[105553118990976] = new SyntaxElement{
/*scopes*/ "anonymous.sql", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[105553118990976]; })
,
({ syntaxItems[105553118991056] = new SyntaxElement{
/*scopes*/ "anonymous.sql", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[105553118991056]; })
,
}
}; syntaxItems[105553117750336]; })
}
// --- Writing truffle Swift ---
// Writing lang Swift
void shamrock_test_Swift() {
std::map<intptr_t, Syntaxable*> syntaxItems;
({ syntaxItems[105553117750912] = new SyntaxBase{
"source.swift", nullptr, {
({ syntaxItems[105553118991136] = new SyntaxElement{
/*scopes*/ "anonymous.swift", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[105553118991136]; })
,
({ syntaxItems[105553118991216] = new SyntaxElement{
/*scopes*/ "anonymous.swift", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[105553118991216]; })
,
({ syntaxItems[105553118991296] = new SyntaxElement{
/*scopes*/ "anonymous.swift", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[105553118991296]; })
,
({ syntaxItems[105553118991376] = new SyntaxElement{
/*scopes*/ "anonymous.swift", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[105553118991376]; })
,
({ syntaxItems[105553118991456] = new SyntaxElement{
/*scopes*/ "anonymous.swift", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[105553118991456]; })
,
({ syntaxItems[105553118991536] = new SyntaxElement{
/*scopes*/ "anonymous.swift", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[105553118991536]; })
,
({ syntaxItems[105553118991616] = new SyntaxElement{
/*scopes*/ "anonymous.swift", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[105553118991616]; })
,
({ syntaxItems[105553118991776] = new SyntaxElement{
/*scopes*/ "anonymous.swift", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[105553118991776]; })
,
({ syntaxItems[105553118991856] = new SyntaxElement{
/*scopes*/ "anonymous.swift", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[105553118991856]; })
,
({ syntaxItems[105553118991936] = new SyntaxElement{
/*scopes*/ "anonymous.swift", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[105553118991936]; })
,
({ syntaxItems[105553118992016] = new SyntaxElement{
/*scopes*/ "anonymous.swift", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[105553118992016]; })
,
({ syntaxItems[105553118991696] = new SyntaxElement{
/*scopes*/ "anonymous.swift", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[105553118991696]; })
,
({ syntaxItems[105553118992096] = new SyntaxElement{
/*scopes*/ "anonymous.swift", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[105553118992096]; })
,
({ syntaxItems[105553118992176] = new SyntaxElement{
/*scopes*/ "anonymous.swift", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[105553118992176]; })
,
({ syntaxItems[105553118992256] = new SyntaxElement{
/*scopes*/ "anonymous.swift", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[105553118992256]; })
,
}
}; syntaxItems[105553117750912]; })
}
// --- Writing truffle Text ---
// Writing lang Plain Text
void shamrock_test_Plain_Text() {
std::map<intptr_t, Syntaxable*> syntaxItems;
({ syntaxItems[105553117751488] = new SyntaxBase{
"plain.text", nullptr, {
}
}; syntaxItems[105553117751488]; })
}
// --- Writing truffle XML ---
// Writing lang XML
void shamrock_test_XML() {
std::map<intptr_t, Syntaxable*> syntaxItems;
({ syntaxItems[105553117752064] = new SyntaxBase{
"text.xml", nullptr, {
({ syntaxItems[105553116897504] = new SyntaxElement{
/*scopes*/ "meta.preprocessor.tag.xml", "(null)",
/*patterns*/ false, REGEX: (<\?)\s*([-_a-zA-Z0-9]+), REGEX: (\?>)
/*refs*/TODO
/*children*/ {
({ syntaxItems[105553116897584] = new SyntaxElement{
/*scopes*/ "attribute-name.entity.other.xml", "(null)",
/*patterns*/ true, REGEX: ([a-zA-Z-]+), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[105553116897584]; })
,
({ syntaxItems[105553116898304] = new SyntaxElement{
/*scopes*/ "anonymous.xml", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[105553116898304]; })
,
({ syntaxItems[105553118992336] = new SyntaxElement{
/*scopes*/ "anonymous.xml", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[105553118992336]; })
,
}
}; syntaxItems[105553116897504]; })
,
({ syntaxItems[105553116897664] = 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[105553118992416] = new SyntaxElement{
/*scopes*/ "anonymous.xml", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[105553118992416]; })
,
}
}; syntaxItems[105553116897664]; })
,
({ syntaxItems[105553116897744] = new SyntaxElement{
/*scopes*/ "block.comment.xml", "(null)",
/*patterns*/ false, REGEX: <[!%]--, REGEX: --%?>
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[105553116897744]; })
,
({ syntaxItems[105553116897824] = 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[105553118992496] = new SyntaxElement{
/*scopes*/ "anonymous.xml", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[105553118992496]; })
,
}
}; syntaxItems[105553116897824]; })
,
({ syntaxItems[105553116898144] = new SyntaxElement{
/*scopes*/ "meta.tag.xml", "(null)",
/*patterns*/ false, REGEX: (</?)(?:([-_a-zA-Z0-9]+)((:)))?([-_a-zA-Z0-9:]+), REGEX: (/?>)
/*refs*/TODO
/*children*/ {
({ syntaxItems[105553118992576] = new SyntaxElement{
/*scopes*/ "anonymous.xml", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[105553118992576]; })
,
}
}; syntaxItems[105553116898144]; })
,
({ syntaxItems[105553118992656] = new SyntaxElement{
/*scopes*/ "anonymous.xml", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[105553118992656]; })
,
({ syntaxItems[105553118992736] = new SyntaxElement{
/*scopes*/ "anonymous.xml", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[105553118992736]; })
,
({ syntaxItems[105553116898384] = new SyntaxElement{
/*scopes*/ "embedded.java-props.source.xml", "(null)",
/*patterns*/ false, REGEX: <%@, REGEX: %>
/*refs*/TODO
/*children*/ {
({ syntaxItems[105553116898464] = new SyntaxElement{
/*scopes*/ "keyword.other.page-props.xml", "(null)",
/*patterns*/ true, REGEX: page|include|taglib, (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[105553116898464]; })
,
}
}; syntaxItems[105553116898384]; })
,
({ syntaxItems[105553116898544] = new SyntaxElement{
/*scopes*/ "embedded.java.source.xml", "(null)",
/*patterns*/ false, REGEX: <%[!=]?(?!--), REGEX: (?!--)%>
/*refs*/TODO
/*children*/ {
({ syntaxItems[105553118992896] = new SyntaxElement{
/*scopes*/ "anonymous.xml", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[105553118992896]; })
,
}
}; syntaxItems[105553116898544]; })
,
({ syntaxItems[105553116898624] = new SyntaxElement{
/*scopes*/ "cdata.string.unquoted.xml", "(null)",
/*patterns*/ false, REGEX: <!\[CDATA\[, REGEX: ]]>
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[105553116898624]; })
,
}
}; syntaxItems[105553117752064]; })
}
// Writing lang XSL
void shamrock_test_XSL() {
std::map<intptr_t, Syntaxable*> syntaxItems;
({ syntaxItems[105553117752448] = new SyntaxBase{
"text.xml.xsl", nullptr, {
({ syntaxItems[105553116899744] = new SyntaxElement{
/*scopes*/ "meta.tag.template.xml.xsl", "(null)",
/*patterns*/ false, REGEX: (<)(xsl)((:))(template), REGEX: (>)
/*refs*/TODO
/*children*/ {
({ syntaxItems[105553116899824] = new SyntaxElement{
/*scopes*/ "anonymous.xsl", "(null)",
/*patterns*/ true, REGEX: (?:([-_a-zA-Z0-9]+)((:)))?([a-zA-Z-]+), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[105553116899824]; })
,
({ syntaxItems[105553118992976] = new SyntaxElement{
/*scopes*/ "anonymous.xsl", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[105553118992976]; })
,
({ syntaxItems[105553118993056] = new SyntaxElement{
/*scopes*/ "anonymous.xsl", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[105553118993056]; })
,
}
}; syntaxItems[105553116899744]; })
,
({ syntaxItems[105553118993136] = new SyntaxElement{
/*scopes*/ "anonymous.xsl", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[105553118993136]; })
,
}
}; syntaxItems[105553117752448]; })
}
// --- Writing truffle YAML ---
// Writing lang YAML
void shamrock_test_YAML() {
std::map<intptr_t, Syntaxable*> syntaxItems;
({ syntaxItems[105553117753024] = new SyntaxBase{
"source.yaml", nullptr, {
({ syntaxItems[105553118993216] = new SyntaxElement{
/*scopes*/ "anonymous.yaml", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[105553118993216]; })
,
({ syntaxItems[105553116900544] = 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[105553118993296] = new SyntaxElement{
/*scopes*/ "anonymous.yaml", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[105553118993296]; })
,
}
}; syntaxItems[105553116900544]; })
,
({ syntaxItems[105553116900624] = 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[105553116900624]; })
,
({ syntaxItems[105553116900704] = new SyntaxElement{
/*scopes*/ "string.unquoted.yaml", "(null)",
/*patterns*/ true, REGEX: (?:(?:(-\s*)?(\w+\s*(:)))|(-))\s*(?:((")[^"]*("))|((')[^']*('))|([^,{}&#\[\]]+))\s*, (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[105553116900704]; })
,
({ syntaxItems[105553116900784] = 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[105553116900784]; })
,
({ syntaxItems[105553116900864] = new SyntaxElement{
/*scopes*/ "meta.tag.yaml", "(null)",
/*patterns*/ true, REGEX: (\w.*?)(:)\s*((\!\!)omap)?, (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[105553116900864]; })
,
({ syntaxItems[106652628508640] = new SyntaxElement{
/*scopes*/ "other.variable.yaml", "(null)",
/*patterns*/ true, REGEX: (\&|\*)\w.*?$, (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[106652628508640]; })
,
({ syntaxItems[106652628508800] = new SyntaxElement{
/*scopes*/ "double.quoted.string.yaml", "(null)",
/*patterns*/ false, REGEX: ", REGEX: "
/*refs*/TODO
/*children*/ {
({ syntaxItems[105553118993456] = new SyntaxElement{
/*scopes*/ "anonymous.yaml", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[105553118993456]; })
,
({ syntaxItems[105553118993536] = new SyntaxElement{
/*scopes*/ "anonymous.yaml", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[105553118993536]; })
,
}
}; syntaxItems[106652628508800]; })
,
({ syntaxItems[106652628508880] = new SyntaxElement{
/*scopes*/ "quoted.single.string.yaml", "(null)",
/*patterns*/ false, REGEX: ', REGEX: '
/*refs*/TODO
/*children*/ {
({ syntaxItems[105553118993616] = new SyntaxElement{
/*scopes*/ "anonymous.yaml", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[105553118993616]; })
,
({ syntaxItems[105553118993696] = new SyntaxElement{
/*scopes*/ "anonymous.yaml", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[105553118993696]; })
,
}
}; syntaxItems[106652628508880]; })
,
({ syntaxItems[106652628508960] = new SyntaxElement{
/*scopes*/ "interpolated.string.yaml", "(null)",
/*patterns*/ false, REGEX: `, REGEX: `
/*refs*/TODO
/*children*/ {
({ syntaxItems[105553118993776] = new SyntaxElement{
/*scopes*/ "anonymous.yaml", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[105553118993776]; })
,
({ syntaxItems[105553118993856] = new SyntaxElement{
/*scopes*/ "anonymous.yaml", "(null)",
/*patterns*/ false, (null), (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[105553118993856]; })
,
}
}; syntaxItems[106652628508960]; })
,
({ syntaxItems[106652628509040] = new SyntaxElement{
/*scopes*/ "keyword.merge-key.operator.yaml", "(null)",
/*patterns*/ true, REGEX: (\<\<): ((\*).*)$, (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[106652628509040]; })
,
({ syntaxItems[106652628508720] = new SyntaxElement{
/*scopes*/ "deprecated.invalid.trailing-whitespace.yaml", "(null)",
/*patterns*/ true, REGEX: ( | )+$, (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[106652628508720]; })
,
({ syntaxItems[106652628509120] = new SyntaxElement{
/*scopes*/ "comment.line.number-sign.yaml", "(null)",
/*patterns*/ true, REGEX: (?<!\$)(#)(?!\{).*$\n?, (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[106652628509120]; })
,
({ syntaxItems[106652628509280] = new SyntaxElement{
/*scopes*/ "keyword.operator.symbol.yaml", "(null)",
/*patterns*/ true, STRING: -, (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[106652628509280]; })
,
({ syntaxItems[106652628509360] = new SyntaxElement{
/*scopes*/ "leading-tabs.meta.yaml", "(null)",
/*patterns*/ false, REGEX: ^(?=\t), REGEX: (?=[^\t])
/*refs*/TODO
/*children*/ {
({ syntaxItems[106652628509440] = new SyntaxElement{
/*scopes*/ "anonymous.yaml", "(null)",
/*patterns*/ true, REGEX: (\t)(\t)?, (null)
/*refs*/TODO
/*children*/ {
}
}; syntaxItems[106652628509440]; })
,
}
}; syntaxItems[106652628509360]; })
,
}
}; syntaxItems[105553117753024]; })
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment