github-linguist 7.25.0 → 7.26.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/ext/linguist/lex.linguist_yy.c +14 -17
- data/ext/linguist/lex.linguist_yy.h +2 -2
- data/ext/linguist/tokenizer.l +0 -1
- data/grammars/inline.graphql.scala.json +1 -0
- data/grammars/markdown.curry.codeblock.json +1 -1
- data/grammars/markdown.talon.codeblock.json +1 -0
- data/grammars/source.abap.json +1 -1
- data/grammars/source.abl.json +1 -1
- data/grammars/source.acucobol.json +1 -1
- data/grammars/source.apex.json +1 -0
- data/grammars/source.astro.json +1 -1
- data/grammars/source.bicep.json +1 -1
- data/grammars/source.brs.json +1 -1
- data/grammars/source.bsl.json +1 -1
- data/grammars/source.cds.json +1 -1
- data/grammars/source.clar.json +1 -1
- data/grammars/source.cobol.json +1 -1
- data/grammars/source.cs.json +1 -1
- data/grammars/source.d2.json +1 -0
- data/grammars/source.dart.json +1 -1
- data/grammars/source.denizenscript.json +1 -1
- data/grammars/source.did.json +1 -0
- data/grammars/source.dm.json +1 -1
- data/grammars/source.fsharp.json +1 -1
- data/grammars/source.gfm.blade.json +1 -1
- data/grammars/source.gleam.json +1 -1
- data/grammars/source.kotlin.json +1 -1
- data/grammars/source.lolcode.json +1 -0
- data/grammars/source.matlab.json +1 -1
- data/grammars/source.mdx.json +1 -0
- data/grammars/source.mo.json +1 -1
- data/grammars/source.move.json +1 -1
- data/grammars/source.nasal.json +1 -0
- data/grammars/source.nim.json +1 -1
- data/grammars/source.nushell.json +1 -0
- data/grammars/source.pact.json +1 -0
- data/grammars/source.pddl.json +1 -1
- data/grammars/source.pnlgrp.json +1 -1
- data/grammars/source.rascal.json +1 -1
- data/grammars/source.rbs.json +1 -0
- data/grammars/source.rescript.json +1 -1
- data/grammars/source.rmcobol.json +1 -0
- data/grammars/source.rpgle.json +1 -1
- data/grammars/source.scenic.json +1 -1
- data/grammars/source.smithy.json +1 -1
- data/grammars/source.soql.json +1 -0
- data/grammars/source.talon.json +1 -1
- data/grammars/source.tlverilog.json +1 -0
- data/grammars/source.toc.json +1 -1
- data/grammars/source.ts.json +1 -1
- data/grammars/source.tsx.json +1 -1
- data/grammars/source.turtle.json +1 -1
- data/grammars/source.vba.json +1 -0
- data/grammars/source.wgsl.json +1 -0
- data/grammars/source.wit.json +1 -0
- data/grammars/source.wwb.json +1 -0
- data/grammars/text.adblock.json +1 -1
- data/grammars/text.haml.json +1 -1
- data/grammars/text.html.markdown.d2.json +1 -0
- data/grammars/text.marko.json +1 -1
- data/grammars/text.md.json +1 -0
- data/grammars/text.pseudoxml.json +1 -0
- data/grammars/version +1 -1
- data/lib/linguist/VERSION +1 -1
- data/lib/linguist/heuristics.yml +68 -36
- data/lib/linguist/languages.json +1 -1
- data/lib/linguist/languages.yml +140 -19
- data/lib/linguist/samples.json +1 -1
- data/lib/linguist/vendor.yml +4 -1
- metadata +27 -8
- data/grammars/source.gfm.json +0 -1
- data/grammars/source.nim_filter.json +0 -1
data/grammars/source.pnlgrp.json
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"name":"PNLGRP","scopeName":"source.pnlgrp","patterns":[{"include":"#comments"},{"include":"#symbols"},{"include":"#directives"},{"include":"#tags"}],"repository":{"comments":{"patterns":[{"name":"comment.line.pnlgrp","begin":"^(\\.\\*).*","end":"\n"}]},"directives":{"patterns":[{"name":"keyword.other.pnlgrp.directives.imbed","begin":"(?i)(?\u003c=\\.)(IM)[ ]","end":"\n","patterns":[{"name":"string.other.pnlgrp.directives.imbed.member","match":"(?i)([A-Z][A-Z0-9#@$]{1,9}[ ]*$)"}]}]},"symbols":{"patterns":[{"name":"support.function.pnlgrp","match":"(?i)(\u0026(AMP|COLON|CONT|MSG\\(.*\\)|PERIOD|SLR)\\.?)"}]},"tags":{"patterns":[{"name":"keyword.other.pnlgrp.appfmt","begin":"(?i)(?\u003c=(:(APPFMT)[ ]))","end":"\\.","patterns":[{"name":"support.function.pnlgrp.appfmt","match":"(?i)\\b(:(APPFMT)[ ])"},{"name":"support.function.pnlgrp.appfmt.attribute.name","match":"(?i)\\b(VAR|WIDTH|DEPTH|USREXIT)[=]"},{"name":"support.variable.pnlgrp.appfmt.attribute.value","match":"(?i)([A-Z0-9]{1,32}|[']([A-Z0-9_\\/]{1,32})[']|[0-9]{1,2])"}]},{"name":"keyword.other.pnlgrp.botinst","begin":"(?i)(?\u003c=(:(BOTINST)[ ]))","end":"\\.","patterns":[{"name":"support.function.pnlgrp.botinst","match":"(?i)\\b(:(BOTINST)[ ])"},{"name":"support.function.pnlgrp.botinst.attribute.name","match":"(?i)\\b(INST)[=]"},{"name":"support.variable.pnlgrp.botinst.attribute.value","match":"(?i)([A-Z0-9]{1,32}|[']([A-Z0-9_\\/]{1,32})['])"}]},{"name":"keyword.other.pnlgrp.check","begin":"(?i)(?\u003c=(:(CHECK)[ ]))","end":"\\.","patterns":[{"name":"support.function.pnlgrp.check","match":"(?i)\\b(:(CHECK)[ ])"},{"name":"support.function.pnlgrp.check.attribute.name","match":"(?i)\\b(MSGID|MSGF|RANGE|REL|VALUES)[=]"},{"name":"support.variable.pnlgrp.check.attribute.value","match":"(?i)([A-F]{3}[0-9A-F]{4}|['][A-Z][A-Z0-9#@$]{0,9}/[A-Z][A-Z0-9#@$]{0,9}['])"}]},{"name":"keyword.other.pnlgrp.class","begin":"(?i)(?\u003c=(:(CLASS)[ ]))","end":"\\.","patterns":[{"name":"support.function.pnlgrp.class","match":"(?i)\\b(:(CLASS)[ ])"},{"name":"support.function.pnlgrp.class.attribute.name","match":"(?i)\\b(NAME|BASETYPE|WIDTH|CHRID|SHIFT|CASE|BLANKS|SUBST|BIDI|CONTXTREV|NBRSHAPE|SYMSWAP)[=]"},{"name":"support.variable.pnlgrp.class.attribute.value","match":"(?i)([A-Z0-9]{1,32}|[']([A-Z0-9_\\/]{1,32}|\\*)['])"}]},{"name":"keyword.other.pnlgrp.cmdline","begin":"(?i)(?\u003c=(:(CMDLINE)[ ]))","end":"\\.","patterns":[{"name":"support.function.pnlgrp.cmdline","match":"(?i)\\b(:(CMDLINE)[ ])"},{"name":"support.function.pnlgrp.cmdline.attribute.name","match":"(?i)\\b(SIZE|NAME)[=]"},{"name":"support.variable.pnlgrp.cmdline.attribute.value","match":"(?i)(SHORT|LONG|[A-Z0-9]{1,32})"}]},{"name":"keyword.other.pnlgrp.cond","begin":"(?i)(?\u003c=(:(COND)[ ]))","end":"\\.","patterns":[{"name":"support.function.pnlgrp.cond","match":"(?i)\\b(:(COND)[ ])"},{"name":"support.function.pnlgrp.cond.attribute.name","match":"(?i)\\b(NAME|EXPR|EVAL)[=]"},{"name":"support.variable.pnlgrp.cond.attribute.value","match":"(?i)([A-Z0-9]{1,32}|['](.*)[']|ALWAYS|ONCE)"}]},{"name":"keyword.other.pnlgrp.data","begin":"(?i)(?\u003c=(:(DATA)[ ]))","end":"\\.","patterns":[{"name":"support.function.pnlgrp.data","match":"(?i)\\b(:(DATA)[ ])"},{"name":"support.function.pnlgrp.data.attribute.name","match":"(?i)\\b((DEPTH|HELP|BOTSEP|SCROLL|LAYOUT|MAXHEAD|BODYSEP|TYPE)[=]|COMPACT)"},{"name":"support.variable.pnlgrp.data.attribute.value","match":"(?i)(([A-Z][A-Z0-9#@$]{1,9}/[A-Z][A-Z0-9#@$]{1,9})|SPACE|NONE|NO|YES|HORIZ|SPACE|INDENT|BOTH|NONE|PROLOG|([0-4]{1})|'\\*')"}]},{"name":"keyword.other.pnlgrp.datac","begin":"(?i)(?\u003c=(:(DATAC)[ ]))","end":"\\.","patterns":[{"name":"support.function.pnlgrp.datac","match":"(?i)\\b(:(DATAC)[ ])"},{"name":"support.function.pnlgrp.datac.attribute.name","match":"(?i)\\b(CHOICE)[=]"},{"name":"support.variable.pnlgrp.datac.attribute.value","match":"(?i)([A-Z0-9]{1,32})"}]},{"name":"keyword.other.pnlgrp.datacol","begin":"(?i)(?\u003c=(:(DATACOL)[ ]))","end":"\\.","patterns":[{"name":"support.function.pnlgrp.datacol","match":"(?i)\\b(:(DATACOL)[ ])"},{"name":"support.function.pnlgrp.datacol.attribute.name","match":"(?i)\\b(WIDTH)[=]"},{"name":"support.variable.pnlgrp.datacol.attribute.value","match":"(?i)([0-9]{1,3}|'\\*')"}]},{"name":"keyword.other.pnlgrp.datagrp","begin":"(?i)(?\u003c=(:(DATAGRP)[ ]))","end":"\\.","patterns":[{"name":"support.function.pnlgrp.datagrp","match":"(?i)\\b(:(DATAGRP)[ ])"},{"name":"support.function.pnlgrp.datagrp.attribute.name","match":"(?i)\\b((HELP|NAME|GRPSEP|COND)[=]|COMPACT)"},{"name":"support.variable.pnlgrp.datagrp.attribute.value","match":"(?i)(([A-Z][A-Z0-9#@$]{1,9}/[A-Z][A-Z0-9#@$]{1,9})|([A-Z0-9]{1,32})|INDENT|QINDENT|NONE)"}]},{"name":"keyword.other.pnlgrp.datai","begin":"(?i)(?\u003c=(:(DATAI)[ ]))","end":"\\.","patterns":[{"name":"support.function.pnlgrp.datai","match":"(?i)\\b(:(DATAI)[ ])"},{"name":"support.function.pnlgrp.datai.attribute.name","match":"(?i)\\b(VAR|USAGE|HELP|NAME|PMTLOC|CHCLOC|ALIGN|JUSTIFY|REQUIRED|CSRLOC|DISPLAY|AUTOENTR|COND|PROMPT|DSPVALUE)[=]"},{"name":"support.variable.pnlgrp.datai.attribute.value","match":"(?i)(([A-Z0-9]{1,32})|(['][A-Z][A-Z0-9#@$]{1,9}/[A-Z][A-Z0-9#@$]{1,9}['])|OUT|INOUT|BEFORE|ABOVE|AFTER|LEFT|RIGHT|START|END|NO|YES|'\\*')"}]},{"name":"keyword.other.pnlgrp.dataix","begin":"(?i)(?\u003c=(:(DATAIX)[ ]))","end":"\\.","patterns":[{"name":"support.function.pnlgrp.dataix","match":"(?i)\\b(:(DATAIX)[ ])"},{"name":"support.function.pnlgrp.dataix.attribute.name","match":"(?i)\\b(VAR|USAGE|NEWLINE|ITEMSEP|ALIGN|JUSTIFY|REQUIRED|DISPLAY|PROMPT|DSPVALUE|AUTOENTR)[=]"},{"name":"support.variable.pnlgrp.dataix.attribute.value","match":"(?i)(([A-Z0-9]{1,32})|OUT|INOUT|CALC|NO|YES|[0-9]+|LEFT|RIGHT|START|END|['].*['])"}]},{"name":"keyword.other.pnlgrp.dataslt","begin":"(?i)(?\u003c=(:(DATASLT)[ ]))","end":"\\.","patterns":[{"name":"support.function.pnlgrp.dataslt","match":"(?i)\\b(:(DATASLT)[ ])"},{"name":"support.function.pnlgrp.dataslt.attribute.name","match":"(?i)\\b(TYPE|VAR|HELP|NAME|PMTLOC|REQUIRED|AUTOENTR|COND)[=]"},{"name":"support.variable.pnlgrp.dataslt.attribute.value","match":"(?i)(([A-Z0-9]{1,32})|SINGLE|MULTI|BEFORE|ABOVE|NO|YES)"}]},{"name":"keyword.other.pnlgrp.datasltc","begin":"(?i)(?\u003c=(:(DATASLTC)[ ]))","end":"\\.","patterns":[{"name":"support.function.pnlgrp.datasltc","match":"(?i)\\b(:(DATASLTC)[ ])"},{"name":"support.function.pnlgrp.datasltc.attribute.name","match":"(?i)\\b(CHOICE|OPTION|VAR|HELP|COND|AVAIL|AVLMSGID|AVLMSGF)[=]"},{"name":"support.variable.pnlgrp.datasltc.attribute.value","match":"(?i)(([A-Z0-9]{1,32})|([0-9]{1,2})|([A-F]{3}[0-9A-F]{4})|(['][A-Z][A-Z0-9#@$]{0,9}/[A-Z][A-Z0-9#@$]{0,9}[']))"}]},{"name":"keyword.other.pnlgrp.fig","begin":"(?i)(?\u003c=(:(FIG)[ ]))","end":"\\.","patterns":[{"name":"support.function.pnlgrp.fig","match":"(?i)\\b(:(FIG)[ ])"},{"name":"support.function.pnlgrp.fig.attribute.name","match":"(?i)\\b(FRAME)[=]"},{"name":"support.variable.pnlgrp.fig.attribute.value","match":"(?i)(RULE|NONE)"}]},{"name":"keyword.other.pnlgrp.help","begin":"(?i)(?\u003c=(:(HELP)[ ]))","end":"\\.","patterns":[{"name":"support.function.pnlgrp.help","match":"(?i)\\b(:(HELP)[ ])"},{"name":"support.function.pnlgrp.help.attribute.name","match":"(?i)\\b(NAME|WIDTH|DEPTH)[=]"},{"name":"support.variable.pnlgrp.help.attribute.value","match":"(?i)([A-Z0-9]{1,32}|[']([A-Z0-9_\\/]{1,32}|\\*)['])"}]},{"name":"keyword.other.pnlgrp.imhelp","begin":"(?i)(?\u003c=(:(IMHELP)[ ]))","end":"\\.","patterns":[{"name":"support.function.pnlgrp.imhelp","match":"(?i)\\b(:(IMHELP)[ ])"},{"name":"support.function.pnlgrp.imhelp.attribute.name","match":"(?i)\\b(NAME)[=]"},{"name":"support.variable.pnlgrp.imhelp.attribute.value","match":"(?i)([A-Z0-9]{1,32})"}]},{"name":"keyword.other.pnlgrp.import","begin":"(?i)(?\u003c=(:(IMPORT)[ ]))","end":"\\.","patterns":[{"name":"support.function.pnlgrp.import","match":"(?i)\\b(:(IMPORT)[ ])"},{"name":"support.function.pnlgrp.import.attribute.name","match":"(?i)\\b(NEWNAME|NAME|PNLGRP|PRDLIB)[=]"},{"name":"support.variable.pnlgrp.import.attribute.value","match":"(?i)([A-Z0-9]{1,32}|[']([A-Z0-9_\\/]{1,32}|\\*)['])"}]},{"name":"keyword.other.pnlgrp.info","begin":"(?i)(?\u003c=(:(INFO)[ ]))","end":"\\.","patterns":[{"name":"support.function.pnlgrp.info","match":"(?i)\\b(:(INFO)[ ])"},{"name":"support.function.pnlgrp.info.attribute.name","match":"(?i)\\b(DEPTH|BOTSEP|SCROLL|TYPE)[=]"},{"name":"support.variable.pnlgrp.info.attribute.value","match":"(?i)([0-9]{2,2}|[']\\*[']|SPACE|NONE|RULE|YES|NO|NORMAL|PROLOG)"}]},{"name":"keyword.other.pnlgrp.isch","begin":"(?i)(?\u003c=(:(ISCH)[ ]))","end":"\\.","patterns":[{"name":"support.function.pnlgrp.isch","match":"(?i)\\b(:(ISCH)[ ])"},{"name":"support.function.pnlgrp.isch.attribute.name","match":"(?i)\\b(ROOTS)[=]"},{"name":"support.variable.pnlgrp.isch.attribute.value","match":"(?i)(['](([A-Z0-9]{1,20}[ ]*){1,50})['])"}]},{"name":"keyword.other.pnlgrp.ischsubt","begin":"(?i)(?\u003c=(:(ISCHSUBT)[ ]))","end":"\\.","patterns":[{"name":"support.function.pnlgrp.ischsubt","match":"(?i)\\b(:(ISCHSUBT)[ ])"},{"name":"support.function.pnlgrp.ischsubt.attribute.name","match":"(?i)\\b(TOPICS)[=]"},{"name":"support.variable.pnlgrp.ischsubt.attribute.value","match":"(?i)(['](([A-Z0-9_\\/]{1,32}[ ]*){1,16})['])"}]},{"name":"keyword.other.pnlgrp.ischsyn","begin":"(?i)(?\u003c=(:(ISCHSYN)[ ]))","end":"\\.","patterns":[{"name":"support.function.pnlgrp.ischsyn","match":"(?i)\\b(:(ISCHSYN)[ ])"},{"name":"support.function.pnlgrp.ischsyn.attribute.name","match":"(?i)\\b(ROOT)[=]"},{"name":"support.variable.pnlgrp.ischsyn.attribute.value","match":"(?i)(['](([A-Z0-9]{1,20}){1})['])"}]},{"name":"keyword.other.pnlgrp.keyi","begin":"(?i)(?\u003c=(:(KEYI)[ ]))","end":"\\.","patterns":[{"name":"support.function.pnlgrp.keyi","match":"(?i)\\b(:(KEYI)[ ])"},{"name":"support.function.pnlgrp.keyi.attribute.name","match":"(?i)\\b(KEY|HELP|ACTION|COND|VARUPD|PRIORITY)[=]"},{"name":"support.variable.pnlgrp.keyi.attribute.value","match":"(?i)([A-Z0-9]{1,32}|[']([A-Z0-9_\\/]{1,32})['])"}]},{"name":"keyword.other.pnlgrp.keyl","begin":"(?i)(?\u003c=(:(KEYL)[ ]))","end":"\\.","patterns":[{"name":"support.function.pnlgrp.keyl","match":"(?i)\\b(:(KEYL)[ ])"},{"name":"support.function.pnlgrp.keyl.attribute.name","match":"(?i)\\b(NAME|HELP)[=]"},{"name":"support.variable.pnlgrp.keyl.attribute.value","match":"(?i)([A-Z0-9]{1,32}|[']([A-Z0-9_\\/]{1,32}|\\*)['])"}]},{"name":"keyword.other.pnlgrp.link","begin":"(?i)(?\u003c=(:(LINK)[ ]))","end":"\\.","patterns":[{"name":"support.function.pnlgrp.link","match":"(?i)\\b(:(LINK)[ ])"},{"name":"support.function.pnlgrp.link.attribute.name","match":"(?i)\\b(PERFORM|UNLESS[1-4]|THENDO[1-4]|LINKWHEN)[=]"},{"name":"support.variable.pnlgrp.link.attribute.value","match":"(?i)'((DSPHELP ([A-Z0-9_/]{1,32})([ ]+[A-Z][A-Z0-9@#$]{0,9}/[A-Z][A-Z0-9@#$]{0,9}([ ]+[A-Z][A-Z0-9@#$]{0,9})?)?)|(CHKOBJ\\(\"[A-Z][A-Z0-9@#$]{0,9}\",\"\\*[A-Z]{0,9}\"(,\"(\\*(CHANGE|ALL|USE|EXCLUDE|AUTLMGT)|(\\*(OBJEXIST|OBJMGT|OBJOPR|OBJALTER|OBJREF|ADD|DLT|READ|UPD|EXECUTE)[ ]*){1,7})?\")\\))|(CHKPGM\\(\"(\\*LIBL/|[A-Z][A-Z0-9@#$]{0,9}/)?[A-Z][A-Z0-9@#$]{0,9}\"\\))|(CHKUSRCLS\\(\\*(SECOFR|SECADM|PGMR|SYSOPR|USER)\\)))'"}]},{"name":"keyword.other.pnlgrp.list_tags","begin":"(?i)(?\u003c=(:(DL|OL|SL|UL)[ ]))","end":"\\.","patterns":[{"name":"support.function.pnlgrp.list_tags","match":"(?i)\\b(:(DL|OL|SL|UL)[ ])"},{"name":"support.function.pnlgrp.list_tags.attribute.name","match":"(?i)\\b(COMPACT)"}]},{"name":"keyword.other.pnlgrp.list","begin":"(?i)(?\u003c=(:(LIST)[ ]))","end":"\\.","patterns":[{"name":"support.function.pnlgrp.list","match":"(?i)\\b(:(LIST)[ ])"},{"name":"support.function.pnlgrp.list.attribute.name","match":"(?i)\\b(DEPTH|LISTDEF|BOTSEP|SCROLL|MAXHEAD|BODYSEP|VIEW|ACTOR|EXTACT|SELECT|MAXACTL|PARMS|HEADSIZE)[=]"},{"name":"support.variable.pnlgrp.list.attribute.value","match":"(?i)([A-Z0-9]{1,32}|[']\\*[']|SPACE|NONE|RULE|YES|NO|[0-4]{1}|INDENT|BOTH|UIM|CALLER|SINGLE|MULTI)"}]},{"name":"keyword.other.pnlgrp.listact","begin":"(?i)(?\u003c=(:(LISTACT)[ ]))","end":"\\.","patterns":[{"name":"support.function.pnlgrp.listact","match":"(?i)\\b(:(LISTACT)[ ])"},{"name":"support.function.pnlgrp.listact.attribute.name","match":"(?i)\\b(HELP|OPTION|ACTFOR|CONFIRM|ENTER|EXTENTER|PROMPT|EXTPROMPT|NOCMD|NOEXT|USREXIT|EXTMSGID|EXTMSGF|COND|AVAIL|AVLMSGID|AVLMSGF)[=]"},{"name":"support.variable.pnlgrp.listact.attribute.value","match":"(?i)([A-Z0-9]{1,32}|[']([A-Z0-9_\\/]{1,32}|\\*)[']|[0-9]{1,3}|BOTH|LISTE|EXACTE|['](.*)[']|ENTER|PROMPT|MSG)"}]},{"name":"keyword.other.pnlgrp.listcol","begin":"(?i)(?\u003c=(:(LISTCOL)[ ]))","end":"\\.","patterns":[{"name":"support.function.pnlgrp.listcol","match":"(?i)\\b(:(LISTCOL)[ ])"},{"name":"support.function.pnlgrp.listcol.attribute.name","match":"(?i)\\b(VAR|MAXWIDTH|USAGE|HELP|COL|NAME|JUSTIFY|EXTACT|PROMPT|DSPVALUE|COLHEAD|DISPLAY|AUTOSKIP)[=]"},{"name":"support.variable.pnlgrp.listcol.attribute.value","match":"(?i)([A-Z0-9]{1,32}|[']([A-Z0-9_\\/]{1,32}|\\*)[']|OUT|INOUT|LEFT|RIGHT|START|END|NO|YES|['](.*)['])"}]},{"name":"keyword.other.pnlgrp.listdef","begin":"(?i)(?\u003c=(:(LISTDEF)[ ]))","end":"\\.","patterns":[{"name":"support.function.pnlgrp.listdef","match":"(?i)\\b(:(LISTDEF)[ ])"},{"name":"support.function.pnlgrp.listdef.attribute.name","match":"(?i)\\b(NAME|VARS|CHGVAR|MSGID|MSGIDVAR|MSGF|PRTFLAG|EMPHASIS|PROTECT)[=]"},{"name":"support.variable.pnlgrp.listdef.attribute.value","match":"(?i)([A-Z0-9]{1,32}|[']([A-Z0-9_\\/]{1,32}|\\*)['])"}]},{"name":"keyword.other.pnlgrp.listgrp","begin":"(?i)(?\u003c=(:(LISTGRP)[ ]))","end":"\\.","patterns":[{"name":"support.function.pnlgrp.listgrp","match":"(?i)\\b(:(LISTGRP)[ ])"},{"name":"support.function.pnlgrp.listgrp.attribute.name","match":"(?i)\\b(COL|HELP|NAME|COLSEP)[=]"},{"name":"support.variable.pnlgrp.listgrp.attribute.value","match":"(?i)([A-Z0-9]{1,32}|[']([A-Z0-9_\\/]{1,32}|\\*)[']|\\*)"}]},{"name":"keyword.other.pnlgrp.listview","begin":"(?i)(?\u003c=(:(LISTVIEW)[ ]))","end":"\\.","patterns":[{"name":"support.function.pnlgrp.listview","match":"(?i)\\b(:(LISTVIEW)[ ])"},{"name":"support.function.pnlgrp.listview.attribute.name","match":"(?i)\\b(COLS|LAYOUT)[=]"},{"name":"support.variable.pnlgrp.listview.attribute.value","match":"(?i)([']([A-Z0-9]{1,32}|\\s)+[']|[0-9]{1,2})"}]},{"name":"keyword.other.pnlgrp.mbar","begin":"(?i)(?\u003c=(:(MBAR)[ ]))","end":"\\.","patterns":[{"name":"support.function.pnlgrp.mbar","match":"(?i)\\b(:(MBAR)[ ])"},{"name":"support.function.pnlgrp.mbar.attribute.name","match":"(?i)\\b(NAME|HELP|MAXBARL)[=]"},{"name":"support.variable.pnlgrp.mbar.attribute.value","match":"(?i)([A-Z]{1}[A-Z0-9]{0,9}|[A-Z/_]{1}[A-Z0-9/_]{1,31}|[123])"}]},{"name":"keyword.other.pnlgrp.mbarc","begin":"(?i)(?\u003c=(:(MBARC)[ ]))","end":"\\.","patterns":[{"name":"support.function.pnlgrp.mbarc","match":"(?i)\\b(:(MBARC)[ ])"},{"name":"support.function.pnlgrp.mbarc.attribute.name","match":"(?i)\\b(HELP)[=]"},{"name":"support.variable.pnlgrp.mbarc.attribute.value","match":"(?i)([A-Z/_]{1}[A-Z0-9/_]{1,31})"}]},{"name":"keyword.other.pnlgrp.menu","begin":"(?i)(?\u003c=(:(MENU)[ ]))","end":"\\.","patterns":[{"name":"support.function.pnlgrp.menu","match":"(?i)\\b(:(MENU)[ ])"},{"name":"support.function.pnlgrp.menu.attribute.name","match":"(?i)\\b(DEPTH|BOTSEP|SCROLL)[=]"},{"name":"support.variable.pnlgrp.menu.attribute.value","match":"(?i)(([0-9]{1,2}|'\\*')|(SPACE|NONE|RULE)|(NO|YES))"}]},{"name":"keyword.other.pnlgrp.menugrp","begin":"(?i)(?\u003c=(:(MENUGRP)[ ]))","end":"\\.","patterns":[{"name":"support.function.pnlgrp.menugrp","match":"(?i)\\b(:(MENUGRP)[ ])"},{"name":"support.function.pnlgrp.menugrp.attribute.name","match":"(?i)\\b(COND)[=]"},{"name":"support.variable.pnlgrp.menugrp.attribute.value","match":"(?i)([A-Z0-9]{1,32})"}]},{"name":"keyword.other.pnlgrp.menui","end":"\\.","patterns":[{"name":"support.function.pnlgrp.menui","match":"(?i)\\b(:(MENUI|MI)[ ])"},{"name":"support.function.pnlgrp.menui.attribute.name","match":"(?i)\\b(HELP|OPTION|ACTION|NAME|COND|AVAIL|AVLMSGID|AVLMSGF|MARKER|ITEM)[=]"},{"name":"support.variable.pnlgrp.menui.attribute.value","match":"(?i)([A-Z0-9]{1,32}|[0-9]{1,3}|[']((CALL .*)|CANCEL|(CMD .*)|EXIT|(MENU .* (NO)?RTNPNT)|RETURN)['])"}]},{"name":"keyword.other.pnlgrp.optline","begin":"(?i)(?\u003c=(:(OPTLINE)[ ]))","end":"\\.","patterns":[{"name":"support.function.pnlgrp.optline","match":"(?i)\\b(:(OPTLINE)[ ])"},{"name":"support.function.pnlgrp.optline.attribute.name","match":"(?i)\\b(NAME)[=]"},{"name":"support.variable.pnlgrp.optline.attribute.value","match":"(?i)([A-Z0-9]{1,32})"}]},{"name":"keyword.other.pnlgrp.panel","begin":"(?i)(?\u003c=(:(PANEL)[ ]))","end":"\\.","patterns":[{"name":"support.function.pnlgrp.panel","match":"(?i)\\b(:(PANEL)[ ])"},{"name":"support.function.pnlgrp.panel.attribute.name","match":"(?i)\\b(NAME|HELP|KEYL|PANELID|TITLE|WIDTH|DEPTH|MBAR|MSGL|TOPSEP|DATE|TIME|ENBGUI|ENTER|SELECT|USREXIT|TT|CSRVAR|CSRPOS|CSRLST|CSREID|CSRNAME)[=]"},{"name":"support.variable.pnlgrp.panel.attribute.value","match":"(?i)([A-Z0-9]{1,32})"}]},{"name":"keyword.other.pnlgrp.pdfld","begin":"(?i)(?\u003c=(:(PDFLD)[ ]))","end":"\\.","patterns":[{"name":"support.function.pnlgrp.pdfld","match":"(?i)\\b(:(PDFLD)[ ])"},{"name":"support.function.pnlgrp.pdfld.attribute.name","match":"(?i)\\b(NAME)[=]"},{"name":"support.variable.pnlgrp.pdfld.attribute.value","match":"(?i)([A-Z]{1}[A-Z0-9]{0,9})"}]},{"name":"keyword.other.pnlgrp.pdfldc","begin":"(?i)(?\u003c=(:(PDFLDC)[ ]))","end":"\\.","patterns":[{"name":"support.function.pnlgrp.pdfldc","match":"(?i)\\b(:(PDFLDC)[ ])"},{"name":"support.function.pnlgrp.pdfldc.attribute.name","match":"(?i)\\b(OPTION|HELP|ACTION|ACTFOR|CONFIRM|USREXIT|VARUPD|COND|AVAIL|AVLMSGID|AVLMSGF|CHOICE)[=]"},{"name":"support.variable.pnlgrp.pdfldc.attribute.value","match":"(?i)([0-9]{1,2}|[A-Z]{1}[A-Z0-9]{0,9}|PANEL|LIST|['](CALL .*)[']|[A-Z/_]{1}[A-Z0-9/_]{1,31}|[A-F]{3}[0-9A-F]{4}|['][A-Z][A-Z0-9#@$]{0,9}/[A-Z][A-Z0-9#@$]{0,9}['])"}]},{"name":"keyword.other.pnlgrp.pk","begin":"(?i)(?\u003c=(:(PK)[ ]))","end":"\\.","patterns":[{"name":"support.function.pnlgrp.pk.attribute.name","match":"(?i)\\b(DEF)"}]},{"name":"keyword.other.pnlgrp.pnlgrp","begin":"(?i)(?\u003c=(:(PNLGRP)[ ]))","end":"\\.","patterns":[{"name":"support.function.pnlgrp.pnlgrp","match":"(?i)\\b(:(PNLGRP)[ ])"},{"name":"support.function.pnlgrp.pnlgrp.attribute.name","match":"(?i)\\b(SCHIDX|ENBGUI|TXTMODE|TXTCHRID|BIDI|NBRSHAPE|DFTMSGF|SUBMSGF)[=]"},{"name":"support.variable.pnlgrp.pnlgrp.attribute.value","match":"(?i)(([A-Z][A-Z0-9#@$]{1,9}/[A-Z][A-Z0-9#@$]{1,9})|NONE|NO|YES|SBCS|DBCS|LTR|RTL|ARABIC|HINDI|('[0-9]{2,5}'))"}]},{"name":"keyword.other.pnlgrp.prthead","begin":"(?i)(?\u003c=(:(PRTHEAD)[ ]))","end":"\\.","patterns":[{"name":"support.function.pnlgrp.prthead","match":"(?i)\\b(:(PRTHEAD)[ ])"},{"name":"support.function.pnlgrp.prthead.attribute.name","match":"(?i)\\b(NAME|PRODINFO|PRTDATE|PRTTIME|TITLE|TT|WIDTH|OBJ|OBJLIB)[=]"},{"name":"support.variable.pnlgrp.prthead.attribute.value","match":"(?i)([A-Z0-9]{1,32}|80|132)"}]},{"name":"keyword.other.pnlgrp.prtpnl","begin":"(?i)(?\u003c=(:(PRTPNL)[ ]))","end":"\\.","patterns":[{"name":"support.function.pnlgrp.prtpnl","match":"(?i)\\b(:(PRTPNL)[ ])"},{"name":"support.function.pnlgrp.prtpnl.attribute.name","match":"(?i)\\b(NAME|TITLE|TT|WIDTH)[=]"},{"name":"support.variable.pnlgrp.prtpnl.attribute.value","match":"(?i)([A-Z0-9]{1,32}|80|132)"}]},{"name":"keyword.other.pnlgrp.text","begin":"(?i)(?\u003c=(:(TEXT)[ ]))","end":"\\.","patterns":[{"name":"support.function.pnlgrp.text","match":"(?i)\\b(:(TEXT)[ ])"},{"name":"support.function.pnlgrp.text.attribute.name","match":"(?i)\\b(VAR|USREXIT|ROW|COL)[=]"},{"name":"support.variable.pnlgrp.text.attribute.value","match":"(?i)([A-Z]{1}[A-Z0-9]{0,9}|['](CALL .*)['])"}]},{"name":"keyword.other.pnlgrp.ti","begin":"(?i)(?\u003c=(:(TI)[ ]))","end":"\\.","patterns":[{"name":"support.function.pnlgrp.ti","match":"(?i)\\b(:(TI)[ ])"},{"name":"support.function.pnlgrp.ti.attribute.name","match":"(?i)\\b(VALUE)[=]"},{"name":"support.variable.pnlgrp.ti.attribute.value","match":"(?i)(['](.+)['])"}]},{"name":"keyword.other.pnlgrp.tl","begin":"(?i)(?\u003c=(:(TL)[ ]))","end":"\\.","patterns":[{"name":"support.function.pnlgrp.tl","match":"(?i)\\b(:(TL)[ ])"},{"name":"support.function.pnlgrp.tl.attribute.name","match":"(?i)\\b(CASE|MSGID|MSGF)[=]"},{"name":"support.variable.pnlgrp.tl.attribute.value","match":"(?i)(UPPER|MIXED|[A-F]{3}[0-9A-F]{4}|['][A-Z][A-Z0-9#@$]{0,9}/[A-Z][A-Z0-9#@$]{0,9}['])"}]},{"name":"keyword.other.pnlgrp.topinst","begin":"(?i)(?\u003c=(:(TOPINST)[ ]))","end":"\\.","patterns":[{"name":"support.function.pnlgrp.topinst","match":"(?i)\\b(:(TOPINST)[ ])"},{"name":"support.function.pnlgrp.topinst.attribute.name","match":"(?i)\\b(INST)[=]"},{"name":"support.variable.pnlgrp.topinst.attribute.value","match":"(?i)([A-Z0-9]{1,32})"}]},{"name":"keyword.other.pnlgrp.tt","begin":"(?i)(?\u003c=(:(TT)[ ]))","end":"\\.","patterns":[{"name":"support.function.pnlgrp.tt","match":"(?i)\\b(:(TT)[ ])"},{"name":"support.function.pnlgrp.tt.attribute.name","match":"(?i)\\b(NAME|CONDS)[=]"},{"name":"support.variable.pnlgrp.tt.attribute.value","match":"(?i)([A-Z0-9]{1,32}|[']([A-Z0-9_\\/]{1,32}|\\*)['])"}]},{"name":"keyword.other.pnlgrp.ttrow","begin":"(?i)(?\u003c=(:(TTROW)[ ]))","end":"\\.","patterns":[{"name":"support.function.pnlgrp.ttrow","match":"(?i)\\b(:(TTROW)[ ])"},{"name":"support.function.pnlgrp.ttrow.attribute.name","match":"(?i)\\b(VALUES)[=]"},{"name":"support.variable.pnlgrp.ttrow.attribute.value","match":"(?i)(['](.*)['])"}]},{"name":"keyword.other.pnlgrp.var","begin":"(?i)(?\u003c=(:(VAR)[ ]))","end":"\\.","patterns":[{"name":"support.function.pnlgrp.var","match":"(?i)\\b(:(VAR)[ ])"},{"name":"support.function.pnlgrp.var.attribute.name","match":"(?i)\\b(NAME|CLASS|ERRVAR)[=]"},{"name":"support.variable.pnlgrp.var.attribute.value","match":"(?i)([A-Z0-9]{1,32})"}]},{"name":"keyword.other.pnlgrp.varrcd","begin":"(?i)(?\u003c=(:(VARRCD)[ ]))","end":"\\.","patterns":[{"name":"support.function.pnlgrp.varrcd","match":"(?i)\\b(:(VARRCD)[ ])"},{"name":"support.function.pnlgrp.varrcd.attribute.name","match":"(?i)\\b(NAME|VARS|NOPUT|NOGET)[=]"},{"name":"support.variable.pnlgrp.varrcd.attribute.value","match":"(?i)([']?)([A-Z0-9]{1,32}(['])?)"}]},{"name":"keyword.other.pnlgrp","match":"(?i)(:(XMP|XH[1-4]|VARRCD|VAR|UL|TTROW|TT|TOPINST|TL|TI|TEXT|SL|RT|PV|PT|PT|PRTTRAIL|PRTPNL|PRTHEAD|PNLGRP).?)"},{"name":"keyword.other.pnlgrp","match":"(?i)(:(PK|PDFLDC|PDFLD|PDACCEL|PD|PC|PARML|PANEL|P|OPTLINE|OL|NT|NOTE|MI|MENUI|MENUGRP|MENU|MBARC|MBAR|LP).?)"},{"name":"keyword.other.pnlgrp","match":"(?i)(:(LISTVIEW|LISTGRP|LISTDEF|LISTCOL|LISTACT|LIST|LINK|LINES|LI|KEYL|KEYI|ISCHSYN|ISCHSUBT|ISCH|INFO).?)"},{"name":"keyword.other.pnlgrp","match":"(?i)(:(IMPORT|IMHELP|HP[0-9]|HELP|H[1-4]|FIG|EXMP|EUL|ETT|ETL|ESL|ERT|EPV|EPT|EPRTPNL|EPRTHEAD|EPNLGRP|EPK).?)"},{"name":"keyword.other.pnlgrp","match":"(?i)(:(EPDFLD|EPARML|EPANEL|EOL|ENT|ENOTE|EMENUGRP|EMENU|EMBARC|EMBAR|ELISTGRP|ELIST|ELINK|ELINES|EKEYL|EINFO).?)"},{"name":"keyword.other.pnlgrp","match":"(?i)(:(EHP[0-9]|EHELP|EFIG|EDL|EDATAGRP|EDATA|ECLASS|ECIT|DTHD|DT|DL|DDHD|DD|DATASLTC|DATASLT|DATAIX|DATAI).?)"},{"name":"keyword.other.pnlgrp","match":"(?i)(:(DATAGRP|DATACOL|DATAC|DATA|COPYR|COND|CMDLINE|CLASS|CIT|CHECK|BOTINST|APPFMT).?)"}]}}}
|
1
|
+
{"name":"PNLGRP","scopeName":"source.pnlgrp","patterns":[{"include":"#comments"},{"include":"#symbols"},{"include":"#directives"},{"include":"#tags"}],"repository":{"comments":{"patterns":[{"name":"comment.line.pnlgrp","begin":"^(\\.\\*).*","end":"\n"}]},"directives":{"patterns":[{"name":"keyword.other.pnlgrp.directives.imbed","begin":"(?i)(?\u003c=\\.)(IM)[ ]","end":"\n","patterns":[{"name":"string.other.pnlgrp.directives.imbed.member","match":"(?i)([A-Z][A-Z0-9#@$]{1,9}[ ]*$)"}]}]},"symbols":{"patterns":[{"name":"support.function.pnlgrp","match":"(?i)(\u0026(AMP|COLON|CONT|MSG\\(.*\\)|PERIOD|SLR)\\.?)"}]},"tags":{"patterns":[{"name":"keyword.other.pnlgrp.appfmt","begin":"(?i)(?\u003c=(:(APPFMT)[ ]))","end":"\\.","patterns":[{"name":"support.function.pnlgrp.appfmt","match":"(?i)\\b(:(APPFMT)[ ])"},{"name":"support.function.pnlgrp.appfmt.attribute.name","match":"(?i)\\b(VAR|WIDTH|DEPTH|USREXIT)[=]"},{"name":"support.variable.pnlgrp.appfmt.attribute.value","match":"(?i)([A-Z0-9]{1,32}|[']([A-Z0-9_\\/]{1,32})[']|[0-9]{1,2])"}]},{"name":"keyword.other.pnlgrp.botinst","begin":"(?i)(?\u003c=(:(BOTINST)[ ]))","end":"\\.","patterns":[{"name":"support.function.pnlgrp.botinst","match":"(?i)\\b(:(BOTINST)[ ])"},{"name":"support.function.pnlgrp.botinst.attribute.name","match":"(?i)\\b(INST)[=]"},{"name":"support.variable.pnlgrp.botinst.attribute.value","match":"(?i)([A-Z0-9]{1,32}|[']([A-Z0-9_\\/]{1,32})['])"}]},{"name":"keyword.other.pnlgrp.check","begin":"(?i)(?\u003c=(:(CHECK)[ ]))","end":"\\.","patterns":[{"name":"support.function.pnlgrp.check","match":"(?i)\\b(:(CHECK)[ ])"},{"name":"support.function.pnlgrp.check.attribute.name","match":"(?i)\\b(MSGID|MSGF|RANGE|REL|VALUES)[=]"},{"name":"support.variable.pnlgrp.check.attribute.value","match":"(?i)([A-F]{3}[0-9A-F]{4}|['][A-Z][A-Z0-9#@$]{0,9}/[A-Z][A-Z0-9#@$]{0,9}['])"}]},{"name":"keyword.other.pnlgrp.class","begin":"(?i)(?\u003c=(:(CLASS)[ ]))","end":"\\.","patterns":[{"name":"support.function.pnlgrp.class","match":"(?i)\\b(:(CLASS)[ ])"},{"name":"support.function.pnlgrp.class.attribute.name","match":"(?i)\\b(NAME|BASETYPE|WIDTH|CHRID|SHIFT|CASE|BLANKS|SUBST|BIDI|CONTXTREV|NBRSHAPE|SYMSWAP)[=]"},{"name":"support.variable.pnlgrp.class.attribute.value","match":"(?i)([A-Z0-9]{1,32}|[']([A-Z0-9_\\/]{1,32}|\\*)['])"}]},{"name":"keyword.other.pnlgrp.cmdline","begin":"(?i)(?\u003c=(:(CMDLINE)[ ]))","end":"\\.","patterns":[{"name":"support.function.pnlgrp.cmdline","match":"(?i)\\b(:(CMDLINE)[ ])"},{"name":"support.function.pnlgrp.cmdline.attribute.name","match":"(?i)\\b(SIZE|NAME)[=]"},{"name":"support.variable.pnlgrp.cmdline.attribute.value","match":"(?i)(SHORT|LONG|[A-Z0-9]{1,32})"}]},{"name":"keyword.other.pnlgrp.cond","begin":"(?i)(?\u003c=(:(COND)[ ]))","end":"\\.","patterns":[{"name":"support.function.pnlgrp.cond","match":"(?i)\\b(:(COND)[ ])"},{"name":"support.function.pnlgrp.cond.attribute.name","match":"(?i)\\b(NAME|EXPR|EVAL)[=]"},{"name":"support.variable.pnlgrp.cond.attribute.value","match":"(?i)([A-Z0-9]{1,32}|['](.*)[']|ALWAYS|ONCE)"}]},{"name":"keyword.other.pnlgrp.data","begin":"(?i)(?\u003c=(:(DATA)[ ]))","end":"\\.","patterns":[{"name":"support.function.pnlgrp.data","match":"(?i)\\b(:(DATA)[ ])"},{"name":"support.function.pnlgrp.data.attribute.name","match":"(?i)\\b((DEPTH|HELP|BOTSEP|SCROLL|LAYOUT|MAXHEAD|BODYSEP|TYPE)[=]|COMPACT)"},{"name":"support.variable.pnlgrp.data.attribute.value","match":"(?i)(([A-Z][A-Z0-9#@$]{1,9}/[A-Z][A-Z0-9#@$]{1,9})|SPACE|NONE|NO|YES|HORIZ|SPACE|INDENT|BOTH|NONE|PROLOG|([0-4]{1})|'\\*')"}]},{"name":"keyword.other.pnlgrp.datac","begin":"(?i)(?\u003c=(:(DATAC)[ ]))","end":"\\.","patterns":[{"name":"support.function.pnlgrp.datac","match":"(?i)\\b(:(DATAC)[ ])"},{"name":"support.function.pnlgrp.datac.attribute.name","match":"(?i)\\b(CHOICE)[=]"},{"name":"support.variable.pnlgrp.datac.attribute.value","match":"(?i)([A-Z0-9]{1,32})"}]},{"name":"keyword.other.pnlgrp.datacol","begin":"(?i)(?\u003c=(:(DATACOL)[ ]))","end":"\\.","patterns":[{"name":"support.function.pnlgrp.datacol","match":"(?i)\\b(:(DATACOL)[ ])"},{"name":"support.function.pnlgrp.datacol.attribute.name","match":"(?i)\\b(WIDTH)[=]"},{"name":"support.variable.pnlgrp.datacol.attribute.value","match":"(?i)([0-9]{1,3}|'\\*')"}]},{"name":"keyword.other.pnlgrp.datagrp","begin":"(?i)(?\u003c=(:(DATAGRP)[ ]))","end":"\\.","patterns":[{"name":"support.function.pnlgrp.datagrp","match":"(?i)\\b(:(DATAGRP)[ ])"},{"name":"support.function.pnlgrp.datagrp.attribute.name","match":"(?i)\\b((HELP|NAME|GRPSEP|COND)[=]|COMPACT)"},{"name":"support.variable.pnlgrp.datagrp.attribute.value","match":"(?i)(([A-Z][A-Z0-9#@$]{1,9}/[A-Z][A-Z0-9#@$]{1,9})|([A-Z0-9]{1,32})|INDENT|QINDENT|NONE)"}]},{"name":"keyword.other.pnlgrp.datai","begin":"(?i)(?\u003c=(:(DATAI)[ ]))","end":"\\.","patterns":[{"name":"support.function.pnlgrp.datai","match":"(?i)\\b(:(DATAI)[ ])"},{"name":"support.function.pnlgrp.datai.attribute.name","match":"(?i)\\b(VAR|USAGE|HELP|NAME|PMTLOC|CHCLOC|ALIGN|JUSTIFY|REQUIRED|CSRLOC|DISPLAY|AUTOENTR|COND|PROMPT|DSPVALUE)[=]"},{"name":"support.variable.pnlgrp.datai.attribute.value","match":"(?i)(([A-Z0-9]{1,32})|(['][A-Z][A-Z0-9#@$]{1,9}/[A-Z][A-Z0-9#@$]{1,9}['])|OUT|INOUT|BEFORE|ABOVE|AFTER|LEFT|RIGHT|START|END|NO|YES|'\\*')"}]},{"name":"keyword.other.pnlgrp.dataix","begin":"(?i)(?\u003c=(:(DATAIX)[ ]))","end":"\\.","patterns":[{"name":"support.function.pnlgrp.dataix","match":"(?i)\\b(:(DATAIX)[ ])"},{"name":"support.function.pnlgrp.dataix.attribute.name","match":"(?i)\\b(VAR|USAGE|NEWLINE|ITEMSEP|ALIGN|JUSTIFY|REQUIRED|DISPLAY|PROMPT|DSPVALUE|AUTOENTR)[=]"},{"name":"support.variable.pnlgrp.dataix.attribute.value","match":"(?i)(([A-Z0-9]{1,32})|OUT|INOUT|CALC|NO|YES|[0-9]+|LEFT|RIGHT|START|END|['].*['])"}]},{"name":"keyword.other.pnlgrp.dataslt","begin":"(?i)(?\u003c=(:(DATASLT)[ ]))","end":"\\.","patterns":[{"name":"support.function.pnlgrp.dataslt","match":"(?i)\\b(:(DATASLT)[ ])"},{"name":"support.function.pnlgrp.dataslt.attribute.name","match":"(?i)\\b(TYPE|VAR|HELP|NAME|PMTLOC|REQUIRED|AUTOENTR|COND)[=]"},{"name":"support.variable.pnlgrp.dataslt.attribute.value","match":"(?i)(([A-Z0-9]{1,32})|SINGLE|MULTI|BEFORE|ABOVE|NO|YES)"}]},{"name":"keyword.other.pnlgrp.datasltc","begin":"(?i)(?\u003c=(:(DATASLTC)[ ]))","end":"\\.","patterns":[{"name":"support.function.pnlgrp.datasltc","match":"(?i)\\b(:(DATASLTC)[ ])"},{"name":"support.function.pnlgrp.datasltc.attribute.name","match":"(?i)\\b(CHOICE|OPTION|VAR|HELP|COND|AVAIL|AVLMSGID|AVLMSGF)[=]"},{"name":"support.variable.pnlgrp.datasltc.attribute.value","match":"(?i)(([A-Z0-9]{1,32})|([0-9]{1,2})|([A-F]{3}[0-9A-F]{4})|(['][A-Z][A-Z0-9#@$]{0,9}/[A-Z][A-Z0-9#@$]{0,9}[']))"}]},{"name":"keyword.other.pnlgrp.fig","begin":"(?i)(?\u003c=(:(FIG)[ ]))","end":"\\.","patterns":[{"name":"support.function.pnlgrp.fig","match":"(?i)\\b(:(FIG)[ ])"},{"name":"support.function.pnlgrp.fig.attribute.name","match":"(?i)\\b(FRAME)[=]"},{"name":"support.variable.pnlgrp.fig.attribute.value","match":"(?i)(RULE|NONE)"}]},{"name":"keyword.other.pnlgrp.help","begin":"(?i)(?\u003c=(:(HELP)[ ]))","end":"\\.","patterns":[{"name":"support.function.pnlgrp.help","match":"(?i)\\b(:(HELP)[ ])"},{"name":"support.function.pnlgrp.help.attribute.name","match":"(?i)\\b(NAME|WIDTH|DEPTH)[=]"},{"name":"support.variable.pnlgrp.help.attribute.value","match":"(?i)([A-Z0-9]{1,32}|[']([A-Z0-9_\\/]{1,32}|\\*)['])"}]},{"name":"keyword.other.pnlgrp.imhelp","begin":"(?i)(?\u003c=(:(IMHELP)[ ]))","end":"\\.","patterns":[{"name":"support.function.pnlgrp.imhelp","match":"(?i)\\b(:(IMHELP)[ ])"},{"name":"support.function.pnlgrp.imhelp.attribute.name","match":"(?i)\\b(NAME)[=]"},{"name":"support.variable.pnlgrp.imhelp.attribute.value","match":"(?i)([A-Z0-9]{1,32})"}]},{"name":"keyword.other.pnlgrp.import","begin":"(?i)(?\u003c=(:(IMPORT)[ ]))","end":"\\.","patterns":[{"name":"support.function.pnlgrp.import","match":"(?i)\\b(:(IMPORT)[ ])"},{"name":"support.function.pnlgrp.import.attribute.name","match":"(?i)\\b(NEWNAME|NAME|PNLGRP|PRDLIB)[=]"},{"name":"support.variable.pnlgrp.import.attribute.value","match":"(?i)([A-Z0-9]{1,32}|[']([A-Z0-9_\\/]{1,32}|\\*)['])"}]},{"name":"keyword.other.pnlgrp.info","begin":"(?i)(?\u003c=(:(INFO)[ ]))","end":"\\.","patterns":[{"name":"support.function.pnlgrp.info","match":"(?i)\\b(:(INFO)[ ])"},{"name":"support.function.pnlgrp.info.attribute.name","match":"(?i)\\b(DEPTH|BOTSEP|SCROLL|TYPE)[=]"},{"name":"support.variable.pnlgrp.info.attribute.value","match":"(?i)([0-9]{2,2}|[']\\*[']|SPACE|NONE|RULE|YES|NO|NORMAL|PROLOG)"}]},{"name":"keyword.other.pnlgrp.isch","begin":"(?i)(?\u003c=(:(ISCH)[ ]))","end":"\\.","patterns":[{"name":"support.function.pnlgrp.isch","match":"(?i)\\b(:(ISCH)[ ])"},{"name":"support.function.pnlgrp.isch.attribute.name","match":"(?i)\\b(ROOTS)[=]"},{"name":"support.variable.pnlgrp.isch.attribute.value","match":"(?i)(['](([A-Z0-9]{1,20}[ ]*){1,50})['])"}]},{"name":"keyword.other.pnlgrp.ischsubt","begin":"(?i)(?\u003c=(:(ISCHSUBT)[ ]))","end":"\\.","patterns":[{"name":"support.function.pnlgrp.ischsubt","match":"(?i)\\b(:(ISCHSUBT)[ ])"},{"name":"support.function.pnlgrp.ischsubt.attribute.name","match":"(?i)\\b(TOPICS)[=]"},{"name":"support.variable.pnlgrp.ischsubt.attribute.value","match":"(?i)(['](([A-Z0-9_\\/]{1,32}[ ]*){1,16})['])"}]},{"name":"keyword.other.pnlgrp.ischsyn","begin":"(?i)(?\u003c=(:(ISCHSYN)[ ]))","end":"\\.","patterns":[{"name":"support.function.pnlgrp.ischsyn","match":"(?i)\\b(:(ISCHSYN)[ ])"},{"name":"support.function.pnlgrp.ischsyn.attribute.name","match":"(?i)\\b(ROOT)[=]"},{"name":"support.variable.pnlgrp.ischsyn.attribute.value","match":"(?i)(['](([A-Z0-9]{1,20}){1})['])"}]},{"name":"keyword.other.pnlgrp.keyi","begin":"(?i)(?\u003c=(:(KEYI)[ ]))","end":"\\.","patterns":[{"name":"support.function.pnlgrp.keyi","match":"(?i)\\b(:(KEYI)[ ])"},{"name":"support.function.pnlgrp.keyi.attribute.name","match":"(?i)\\b(KEY|HELP|ACTION|COND|VARUPD|PRIORITY)[=]"},{"name":"support.variable.pnlgrp.keyi.attribute.value","match":"(?i)([A-Z0-9]{1,32}|[']([A-Z0-9_\\/]{1,32})['])"}]},{"name":"keyword.other.pnlgrp.keyl","begin":"(?i)(?\u003c=(:(KEYL)[ ]))","end":"\\.","patterns":[{"name":"support.function.pnlgrp.keyl","match":"(?i)\\b(:(KEYL)[ ])"},{"name":"support.function.pnlgrp.keyl.attribute.name","match":"(?i)\\b(NAME|HELP)[=]"},{"name":"support.variable.pnlgrp.keyl.attribute.value","match":"(?i)([A-Z0-9]{1,32}|[']([A-Z0-9_\\/]{1,32}|\\*)['])"}]},{"name":"keyword.other.pnlgrp.link","begin":"(?i)(?\u003c=(:(LINK)[ ]))","end":"\\.","patterns":[{"name":"support.function.pnlgrp.link","match":"(?i)\\b(:(LINK)[ ])"},{"name":"support.function.pnlgrp.link.attribute.name","match":"(?i)\\b(PERFORM|UNLESS[1-4]|THENDO[1-4]|LINKWHEN)[=]"},{"name":"support.variable.pnlgrp.link.attribute.value","match":"(?i)'((DSPHELP ([A-Z0-9_/]{1,32})([ ]+[A-Z][A-Z0-9@#$]{0,9}/[A-Z][A-Z0-9@#$]{0,9}([ ]+[A-Z][A-Z0-9@#$]{0,9})?)?)|(CHKOBJ\\(\"[A-Z][A-Z0-9@#$]{0,9}\",\"\\*[A-Z]{0,9}\"(,\"(\\*(CHANGE|ALL|USE|EXCLUDE|AUTLMGT)|(\\*(OBJEXIST|OBJMGT|OBJOPR|OBJALTER|OBJREF|ADD|DLT|READ|UPD|EXECUTE)[ ]*){1,7})?\")\\))|(CHKPGM\\(\"(\\*LIBL/|[A-Z][A-Z0-9@#$]{0,9}/)?[A-Z][A-Z0-9@#$]{0,9}\"\\))|(CHKUSRCLS\\(\\*(SECOFR|SECADM|PGMR|SYSOPR|USER)\\)))'"}]},{"name":"keyword.other.pnlgrp.list_tags","begin":"(?i)(?\u003c=(:(DL|OL|SL|UL)[ ]))","end":"\\.","patterns":[{"name":"support.function.pnlgrp.list_tags","match":"(?i)\\b(:(DL|OL|SL|UL)[ ])"},{"name":"support.function.pnlgrp.list_tags.attribute.name","match":"(?i)\\b(COMPACT)"}]},{"name":"keyword.other.pnlgrp.list","begin":"(?i)(?\u003c=(:(LIST)[ ]))","end":"\\.","patterns":[{"name":"support.function.pnlgrp.list","match":"(?i)\\b(:(LIST)[ ])"},{"name":"support.function.pnlgrp.list.attribute.name","match":"(?i)\\b(DEPTH|LISTDEF|BOTSEP|SCROLL|MAXHEAD|BODYSEP|VIEW|ACTOR|EXTACT|SELECT|MAXACTL|PARMS|HEADSIZE)[=]"},{"name":"support.variable.pnlgrp.list.attribute.value","match":"(?i)([A-Z0-9]{1,32}|[']\\*[']|SPACE|NONE|RULE|YES|NO|[0-4]{1}|INDENT|BOTH|UIM|CALLER|SINGLE|MULTI)"}]},{"name":"keyword.other.pnlgrp.listact","begin":"(?i)(?\u003c=(:(LISTACT)[ ]))","end":"\\.","patterns":[{"name":"support.function.pnlgrp.listact","match":"(?i)\\b(:(LISTACT)[ ])"},{"name":"support.function.pnlgrp.listact.attribute.name","match":"(?i)\\b(HELP|OPTION|ACTFOR|CONFIRM|ENTER|EXTENTER|PROMPT|EXTPROMPT|NOCMD|NOEXT|USREXIT|EXTMSGID|EXTMSGF|COND|AVAIL|AVLMSGID|AVLMSGF)[=]"},{"name":"support.variable.pnlgrp.listact.attribute.value","match":"(?i)([A-Z0-9]{1,32}|[']([A-Z0-9_\\/]{1,32}|\\*)[']|[0-9]{1,3}|BOTH|LISTE|EXACTE|['](.*)[']|ENTER|PROMPT|MSG)"}]},{"name":"keyword.other.pnlgrp.listcol","begin":"(?i)(?\u003c=(:(LISTCOL)[ ]))","end":"\\.","patterns":[{"name":"support.function.pnlgrp.listcol","match":"(?i)\\b(:(LISTCOL)[ ])"},{"name":"support.function.pnlgrp.listcol.attribute.name","match":"(?i)\\b(VAR|MAXWIDTH|USAGE|HELP|COL|NAME|JUSTIFY|EXTACT|PROMPT|DSPVALUE|COLHEAD|DISPLAY|AUTOSKIP)[=]"},{"name":"support.variable.pnlgrp.listcol.attribute.value","match":"(?i)([A-Z0-9]{1,32}|[']([A-Z0-9_\\/]{1,32}|\\*)[']|OUT|INOUT|LEFT|RIGHT|START|END|NO|YES|['](.*)['])"}]},{"name":"keyword.other.pnlgrp.listdef","begin":"(?i)(?\u003c=(:(LISTDEF)[ ]))","end":"\\.","patterns":[{"name":"support.function.pnlgrp.listdef","match":"(?i)\\b(:(LISTDEF)[ ])"},{"name":"support.function.pnlgrp.listdef.attribute.name","match":"(?i)\\b(NAME|VARS|CHGVAR|MSGID|MSGIDVAR|MSGF|PRTFLAG|EMPHASIS|PROTECT)[=]"},{"name":"support.variable.pnlgrp.listdef.attribute.value","match":"(?i)([A-Z0-9]{1,32}|[']([A-Z0-9_\\/]{1,32}|\\*)['])"}]},{"name":"keyword.other.pnlgrp.listgrp","begin":"(?i)(?\u003c=(:(LISTGRP)[ ]))","end":"\\.","patterns":[{"name":"support.function.pnlgrp.listgrp","match":"(?i)\\b(:(LISTGRP)[ ])"},{"name":"support.function.pnlgrp.listgrp.attribute.name","match":"(?i)\\b(COL|HELP|NAME|COLSEP)[=]"},{"name":"support.variable.pnlgrp.listgrp.attribute.value","match":"(?i)([A-Z0-9]{1,32}|[']([A-Z0-9_\\/]{1,32}|\\*)[']|\\*)"}]},{"name":"keyword.other.pnlgrp.listview","begin":"(?i)(?\u003c=(:(LISTVIEW)[ ]))","end":"\\.","patterns":[{"name":"support.function.pnlgrp.listview","match":"(?i)\\b(:(LISTVIEW)[ ])"},{"name":"support.function.pnlgrp.listview.attribute.name","match":"(?i)\\b(COLS|LAYOUT)[=]"},{"name":"support.variable.pnlgrp.listview.attribute.value","match":"(?i)([']([A-Z0-9]{1,32}|\\s)+[']|[0-9]{1,2})"}]},{"name":"keyword.other.pnlgrp.mbar","begin":"(?i)(?\u003c=(:(MBAR)[ ]))","end":"\\.","patterns":[{"name":"support.function.pnlgrp.mbar","match":"(?i)\\b(:(MBAR)[ ])"},{"name":"support.function.pnlgrp.mbar.attribute.name","match":"(?i)\\b(NAME|HELP|MAXBARL)[=]"},{"name":"support.variable.pnlgrp.mbar.attribute.value","match":"(?i)([A-Z]{1}[A-Z0-9]{0,9}|[A-Z/_]{1}[A-Z0-9/_]{1,31}|[123])"}]},{"name":"keyword.other.pnlgrp.mbarc","begin":"(?i)(?\u003c=(:(MBARC)[ ]))","end":"\\.","patterns":[{"name":"support.function.pnlgrp.mbarc","match":"(?i)\\b(:(MBARC)[ ])"},{"name":"support.function.pnlgrp.mbarc.attribute.name","match":"(?i)\\b(HELP)[=]"},{"name":"support.variable.pnlgrp.mbarc.attribute.value","match":"(?i)([A-Z/_]{1}[A-Z0-9/_]{1,31})"}]},{"name":"keyword.other.pnlgrp.menu","begin":"(?i)(?\u003c=(:(MENU)[ ]))","end":"\\.","patterns":[{"name":"support.function.pnlgrp.menu","match":"(?i)\\b(:(MENU)[ ])"},{"name":"support.function.pnlgrp.menu.attribute.name","match":"(?i)\\b(DEPTH|BOTSEP|SCROLL)[=]"},{"name":"support.variable.pnlgrp.menu.attribute.value","match":"(?i)(([0-9]{1,2}|'\\*')|(SPACE|NONE|RULE)|(NO|YES))"}]},{"name":"keyword.other.pnlgrp.menugrp","begin":"(?i)(?\u003c=(:(MENUGRP)[ ]))","end":"\\.","patterns":[{"name":"support.function.pnlgrp.menugrp","match":"(?i)\\b(:(MENUGRP)[ ])"},{"name":"support.function.pnlgrp.menugrp.attribute.name","match":"(?i)\\b(COND)[=]"},{"name":"support.variable.pnlgrp.menugrp.attribute.value","match":"(?i)([A-Z0-9]{1,32})"}]},{"name":"keyword.other.pnlgrp.menui","begin":"(?i)(?\u003c=(:(MENUI)[ ]))","end":"\\.","patterns":[{"name":"support.function.pnlgrp.menui","match":"(?i)\\b(:(MENUI)[ ])"},{"name":"support.function.pnlgrp.menui.attribute.name","match":"(?i)\\b(HELP|OPTION|ACTION|NAME|COND|AVAIL|AVLMSGID|AVLMSGF|MARKER|ITEM)[=]"},{"name":"support.variable.pnlgrp.menui.attribute.value","match":"(?i)([A-Z0-9]{1,32}|[0-9]{1,3}|[']((CALL .*)|CANCEL|(CMD .*)|EXIT|(MENU .* (NO)?RTNPNT)|RETURN)['])"}]},{"name":"keyword.other.pnlgrp.mi","begin":"(?i)(?\u003c=(:(MI)[ ]))","end":"\\.","patterns":[{"name":"support.function.pnlgrp.mi","match":"(?i)\\b(:(MI)[ ])"},{"name":"support.function.pnlgrp.mi.attribute.name","match":"(?i)\\b(HELP|OPTION|ACTION|NAME|COND|AVAIL|AVLMSGID|AVLMSGF|MARKER|ITEM)[=]"},{"name":"support.variable.pnlgrp.mi.attribute.value","match":"(?i)([A-Z0-9]{1,32}|[0-9]{1,3}|[']((CALL .*)|CANCEL|(CMD .*)|EXIT|(MENU .* (NO)?RTNPNT)|RETURN)['])"}]},{"name":"keyword.other.pnlgrp.optline","begin":"(?i)(?\u003c=(:(OPTLINE)[ ]))","end":"\\.","patterns":[{"name":"support.function.pnlgrp.optline","match":"(?i)\\b(:(OPTLINE)[ ])"},{"name":"support.function.pnlgrp.optline.attribute.name","match":"(?i)\\b(NAME)[=]"},{"name":"support.variable.pnlgrp.optline.attribute.value","match":"(?i)([A-Z0-9]{1,32})"}]},{"name":"keyword.other.pnlgrp.panel","begin":"(?i)(?\u003c=(:(PANEL)[ ]))","end":"\\.","patterns":[{"name":"support.function.pnlgrp.panel","match":"(?i)\\b(:(PANEL)[ ])"},{"name":"support.function.pnlgrp.panel.attribute.name","match":"(?i)\\b(NAME|HELP|KEYL|PANELID|TITLE|WIDTH|DEPTH|MBAR|MSGL|TOPSEP|DATE|TIME|ENBGUI|ENTER|SELECT|USREXIT|TT|CSRVAR|CSRPOS|CSRLST|CSREID|CSRNAME)[=]"},{"name":"support.variable.pnlgrp.panel.attribute.value","match":"(?i)([A-Z0-9]{1,32})"}]},{"name":"keyword.other.pnlgrp.pdfld","begin":"(?i)(?\u003c=(:(PDFLD)[ ]))","end":"\\.","patterns":[{"name":"support.function.pnlgrp.pdfld","match":"(?i)\\b(:(PDFLD)[ ])"},{"name":"support.function.pnlgrp.pdfld.attribute.name","match":"(?i)\\b(NAME)[=]"},{"name":"support.variable.pnlgrp.pdfld.attribute.value","match":"(?i)([A-Z]{1}[A-Z0-9]{0,9})"}]},{"name":"keyword.other.pnlgrp.pdfldc","begin":"(?i)(?\u003c=(:(PDFLDC)[ ]))","end":"\\.","patterns":[{"name":"support.function.pnlgrp.pdfldc","match":"(?i)\\b(:(PDFLDC)[ ])"},{"name":"support.function.pnlgrp.pdfldc.attribute.name","match":"(?i)\\b(OPTION|HELP|ACTION|ACTFOR|CONFIRM|USREXIT|VARUPD|COND|AVAIL|AVLMSGID|AVLMSGF|CHOICE)[=]"},{"name":"support.variable.pnlgrp.pdfldc.attribute.value","match":"(?i)([0-9]{1,2}|[A-Z]{1}[A-Z0-9]{0,9}|PANEL|LIST|['](CALL .*)[']|[A-Z/_]{1}[A-Z0-9/_]{1,31}|[A-F]{3}[0-9A-F]{4}|['][A-Z][A-Z0-9#@$]{0,9}/[A-Z][A-Z0-9#@$]{0,9}['])"}]},{"name":"keyword.other.pnlgrp.pk","begin":"(?i)(?\u003c=(:(PK)[ ]))","end":"\\.","patterns":[{"name":"support.function.pnlgrp.pk.attribute.name","match":"(?i)\\b(DEF)"}]},{"name":"keyword.other.pnlgrp.pnlgrp","begin":"(?i)(?\u003c=(:(PNLGRP)[ ]))","end":"\\.","patterns":[{"name":"support.function.pnlgrp.pnlgrp","match":"(?i)\\b(:(PNLGRP)[ ])"},{"name":"support.function.pnlgrp.pnlgrp.attribute.name","match":"(?i)\\b(SCHIDX|ENBGUI|TXTMODE|TXTCHRID|BIDI|NBRSHAPE|DFTMSGF|SUBMSGF)[=]"},{"name":"support.variable.pnlgrp.pnlgrp.attribute.value","match":"(?i)(([A-Z][A-Z0-9#@$]{1,9}/[A-Z][A-Z0-9#@$]{1,9})|NONE|NO|YES|SBCS|DBCS|LTR|RTL|ARABIC|HINDI|('[0-9]{2,5}'))"}]},{"name":"keyword.other.pnlgrp.prthead","begin":"(?i)(?\u003c=(:(PRTHEAD)[ ]))","end":"\\.","patterns":[{"name":"support.function.pnlgrp.prthead","match":"(?i)\\b(:(PRTHEAD)[ ])"},{"name":"support.function.pnlgrp.prthead.attribute.name","match":"(?i)\\b(NAME|PRODINFO|PRTDATE|PRTTIME|TITLE|TT|WIDTH|OBJ|OBJLIB)[=]"},{"name":"support.variable.pnlgrp.prthead.attribute.value","match":"(?i)([A-Z0-9]{1,32}|80|132)"}]},{"name":"keyword.other.pnlgrp.prtpnl","begin":"(?i)(?\u003c=(:(PRTPNL)[ ]))","end":"\\.","patterns":[{"name":"support.function.pnlgrp.prtpnl","match":"(?i)\\b(:(PRTPNL)[ ])"},{"name":"support.function.pnlgrp.prtpnl.attribute.name","match":"(?i)\\b(NAME|TITLE|TT|WIDTH)[=]"},{"name":"support.variable.pnlgrp.prtpnl.attribute.value","match":"(?i)([A-Z0-9]{1,32}|80|132)"}]},{"name":"keyword.other.pnlgrp.text","begin":"(?i)(?\u003c=(:(TEXT)[ ]))","end":"\\.","patterns":[{"name":"support.function.pnlgrp.text","match":"(?i)\\b(:(TEXT)[ ])"},{"name":"support.function.pnlgrp.text.attribute.name","match":"(?i)\\b(VAR|USREXIT|ROW|COL)[=]"},{"name":"support.variable.pnlgrp.text.attribute.value","match":"(?i)([A-Z]{1}[A-Z0-9]{0,9}|['](CALL .*)['])"}]},{"name":"keyword.other.pnlgrp.ti","begin":"(?i)(?\u003c=(:(TI)[ ]))","end":"\\.","patterns":[{"name":"support.function.pnlgrp.ti","match":"(?i)\\b(:(TI)[ ])"},{"name":"support.function.pnlgrp.ti.attribute.name","match":"(?i)\\b(VALUE)[=]"},{"name":"support.variable.pnlgrp.ti.attribute.value","match":"(?i)(['](.+)['])"}]},{"name":"keyword.other.pnlgrp.tl","begin":"(?i)(?\u003c=(:(TL)[ ]))","end":"\\.","patterns":[{"name":"support.function.pnlgrp.tl","match":"(?i)\\b(:(TL)[ ])"},{"name":"support.function.pnlgrp.tl.attribute.name","match":"(?i)\\b(CASE|MSGID|MSGF)[=]"},{"name":"support.variable.pnlgrp.tl.attribute.value","match":"(?i)(UPPER|MIXED|[A-F]{3}[0-9A-F]{4}|['][A-Z][A-Z0-9#@$]{0,9}/[A-Z][A-Z0-9#@$]{0,9}['])"}]},{"name":"keyword.other.pnlgrp.topinst","begin":"(?i)(?\u003c=(:(TOPINST)[ ]))","end":"\\.","patterns":[{"name":"support.function.pnlgrp.topinst","match":"(?i)\\b(:(TOPINST)[ ])"},{"name":"support.function.pnlgrp.topinst.attribute.name","match":"(?i)\\b(INST)[=]"},{"name":"support.variable.pnlgrp.topinst.attribute.value","match":"(?i)([A-Z0-9]{1,32})"}]},{"name":"keyword.other.pnlgrp.tt","begin":"(?i)(?\u003c=(:(TT)[ ]))","end":"\\.","patterns":[{"name":"support.function.pnlgrp.tt","match":"(?i)\\b(:(TT)[ ])"},{"name":"support.function.pnlgrp.tt.attribute.name","match":"(?i)\\b(NAME|CONDS)[=]"},{"name":"support.variable.pnlgrp.tt.attribute.value","match":"(?i)([A-Z0-9]{1,32}|[']([A-Z0-9_\\/]{1,32}|\\*)['])"}]},{"name":"keyword.other.pnlgrp.ttrow","begin":"(?i)(?\u003c=(:(TTROW)[ ]))","end":"\\.","patterns":[{"name":"support.function.pnlgrp.ttrow","match":"(?i)\\b(:(TTROW)[ ])"},{"name":"support.function.pnlgrp.ttrow.attribute.name","match":"(?i)\\b(VALUES)[=]"},{"name":"support.variable.pnlgrp.ttrow.attribute.value","match":"(?i)(['](.*)['])"}]},{"name":"keyword.other.pnlgrp.var","begin":"(?i)(?\u003c=(:(VAR)[ ]))","end":"\\.","patterns":[{"name":"support.function.pnlgrp.var","match":"(?i)\\b(:(VAR)[ ])"},{"name":"support.function.pnlgrp.var.attribute.name","match":"(?i)\\b(NAME|CLASS|ERRVAR)[=]"},{"name":"support.variable.pnlgrp.var.attribute.value","match":"(?i)([A-Z0-9]{1,32})"}]},{"name":"keyword.other.pnlgrp.varrcd","begin":"(?i)(?\u003c=(:(VARRCD)[ ]))","end":"\\.","patterns":[{"name":"support.function.pnlgrp.varrcd","match":"(?i)\\b(:(VARRCD)[ ])"},{"name":"support.function.pnlgrp.varrcd.attribute.name","match":"(?i)\\b(NAME|VARS|NOPUT|NOGET)[=]"},{"name":"support.variable.pnlgrp.varrcd.attribute.value","match":"(?i)([']?)([A-Z0-9]{1,32}(['])?)"}]},{"name":"keyword.other.pnlgrp","match":"(?i)(:(XMP|XH[1-4]|VARRCD|VAR|UL|TTROW|TT|TOPINST|TL|TI|TEXT|SL|RT|PV|PT|PT|PRTTRAIL|PRTPNL|PRTHEAD|PNLGRP).?)"},{"name":"keyword.other.pnlgrp","match":"(?i)(:(PK|PDFLDC|PDFLD|PDACCEL|PD|PC|PARML|PANEL|P|OPTLINE|OL|NT|NOTE|MI|MENUI|MENUGRP|MENU|MBARC|MBAR|LP).?)"},{"name":"keyword.other.pnlgrp","match":"(?i)(:(LISTVIEW|LISTGRP|LISTDEF|LISTCOL|LISTACT|LIST|LINK|LINES|LI|KEYL|KEYI|ISCHSYN|ISCHSUBT|ISCH|INFO).?)"},{"name":"keyword.other.pnlgrp","match":"(?i)(:(IMPORT|IMHELP|HP[0-9]|HELP|H[1-4]|FIG|EXMP|EUL|ETT|ETL|ESL|ERT|EPV|EPT|EPRTPNL|EPRTHEAD|EPNLGRP|EPK).?)"},{"name":"keyword.other.pnlgrp","match":"(?i)(:(EPDFLD|EPARML|EPANEL|EOL|ENT|ENOTE|EMENUGRP|EMENU|EMBARC|EMBAR|ELISTGRP|ELIST|ELINK|ELINES|EKEYL|EINFO).?)"},{"name":"keyword.other.pnlgrp","match":"(?i)(:(EHP[0-9]|EHELP|EFIG|EDL|EDATAGRP|EDATA|ECLASS|ECIT|DTHD|DT|DL|DDHD|DD|DATASLTC|DATASLT|DATAIX|DATAI).?)"},{"name":"keyword.other.pnlgrp","match":"(?i)(:(DATAGRP|DATACOL|DATAC|DATA|COPYR|COND|CMDLINE|CLASS|CIT|CHECK|BOTINST|APPFMT).?)"}]}}}
|
data/grammars/source.rascal.json
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"name":"Rascal","scopeName":"source.rascal","patterns":[{"include":"#top_level"}],"repository":{"annotation":{"patterns":[{"name":"comment.block.annotation.rascal","begin":"(@[^ {]+)({)","end":"(})","beginCaptures":{"1":{"name":"storage.type.annotation.block.rascal"},"2":{"name":"punctuation.annotation-argument.begin.rascal"}},"endCaptures":{"1":{"name":"punctuation.annotation-argument.end.rascal"}}},{"name":"meta.annotation.inline.rascal","match":"(@[A-Za-z_0-9]+)","captures":{"1":{"name":"storage.type.annotation.inline.rascal"}}}]},"char_set":{"patterns":[{"name":"punctuation.other.lexicalcharset.rascal","begin":"\\[","end":"\\]","patterns":[{"include":"#string_escape"}]}]},"comment":{"patterns":[{"name":"comment.line.double-slash.rascal","match":"//.*$\\n?"},{"name":"comment.block.rascal","begin":"/\\*","end":"\\*/"}]},"regex":{"patterns":[{"name":"string.regexp.rascal","
|
1
|
+
{"name":"Rascal","scopeName":"source.rascal","patterns":[{"include":"#top_level"}],"repository":{"annotation":{"patterns":[{"name":"comment.block.annotation.rascal","begin":"(@[^ {]+)({)","end":"(})","beginCaptures":{"1":{"name":"storage.type.annotation.block.rascal"},"2":{"name":"punctuation.annotation-argument.begin.rascal"}},"endCaptures":{"1":{"name":"punctuation.annotation-argument.end.rascal"}}},{"name":"meta.annotation.inline.rascal","match":"(@[A-Za-z_0-9]+)","captures":{"1":{"name":"storage.type.annotation.inline.rascal"}}}]},"char_set":{"patterns":[{"name":"punctuation.other.lexicalcharset.rascal","begin":"\\[","end":"\\]","patterns":[{"include":"#string_escape"}]}]},"comment":{"patterns":[{"name":"comment.line.double-slash.rascal","match":"//.*$\\n?"},{"name":"comment.block.rascal","begin":"/\\*","end":"\\*/"}]},"regex":{"patterns":[{"name":"string.regexp.rascal","end":"/([dims]*)","patterns":[{"include":"#regex_escape"},{"include":"#string_interpolation"}],"endCaptures":{"1":{"name":"storage.modifier.regex.rascal"}}}]},"regex_escape":{"patterns":[{"name":"constant.character.escape.regex.rascal","match":"\\\\(/|\u003c|\u003e|\\\\)"}]},"string":{"patterns":[{"name":"string.quoted.single.rascal","begin":"'","end":"'","patterns":[{"include":"#string_escape"}]},{"name":"string.quoted.double.rascal","begin":"\"","end":"\"","patterns":[{"include":"#string_escape"},{"include":"#string_interpolation"}]},{"name":"string.interpolated.rascal","begin":"`","end":"`","patterns":[{"include":"#string_interpolation"},{"include":"#syntax_escape"}]}]},"string_escape":{"patterns":[{"name":"constant.character.escape.ordinary.rascal","match":"\\\\(\\\"|\\'|\u003c|\u003e|\\\\|[bnfrt])"},{"name":"constant.character.escape.unicode.rascal","match":"\\\\(u[0-9A-Fa-f][0-9A-Fa-f][0-9A-Fa-f][0-9A-Fa-f] |U(0[0-9 A-F a-f]|10)[0-9A-Fa-f][0-9A-Fa-f][0-9A-Fa-f][0-9A-Fa-f] |a[0-7][0-9A-Fa-f] )"}]},"string_interpolation":{"patterns":[{"name":"support.interpolated-string.rascal","begin":"(\u003c)","end":"(\u003e)","patterns":[{"include":"#top_level"}],"beginCaptures":{"1":{"name":"punctuation.interpolation.begin.rascal"}},"endCaptures":{"2":{"name":"punctuation.interpolation.end.rascal"}}}]},"syntax_escape":{"patterns":[{"name":"constant.character.escape.syntax.rascal","match":"\\\\(\\\\|\u003c|\u003e|`)"}]},"top_level":{"patterns":[{"name":"punctuation.other.syntactic.rascal","begin":"(lexical|syntax)\\s+([a-zA-Z][A-Za-z_0-9]*)","end":";","patterns":[{"include":"#char_set"},{"include":"#string"},{"include":"#comment"},{"include":"#regex"},{"include":"#annotation"}],"captures":{"1":{"name":"keyword.control.rascal"},"2":{"name":"entity.name.type.rascal"}}},{"name":"constant.numeric.decimal.rascal","match":"(?\u003c![A-Za-z_])(0(?![0-9a-z_A-Z])|[1-9][0-9]*(?![0-9a-z_A-Z]))"},{"name":"constant.numeric.hex.rascal","match":"(?\u003c![A-Za-z_])0[Xx][0-9A-Fa-f]+(?![0-9a-z_A-Z])"},{"name":"constant.numeric.octal.rascal","match":"(?\u003c![A-Za-z_])0[0-7]+(?![0-9a-z_A-Z])"},{"name":"string.other.datetime.rascal","begin":"\\\\$","end":"\\\\$"},{"name":"constant.numeric.real.rascal","match":"(?\u003c![A-Za-z_]) ([0-9]+[dDfF] |[0-9]+[eE][+\\-]?[0-9]+[dDfF]? |[0-9]+\\.(?!\\.)[0-9]*[dDfF]? |[0-9]+\\.[0-9]*[eE][+\\-]?[0-9]+[dDfF]? |\\.(?!\\.)[0-9]+[dDfF]? |\\.(?!\\.)[0-9]+[eE][+\\-]?[0-9]+[dDfF]? )"},{"name":"constant.language.bool.rascal","match":"\\b(true|false)\\b"},{"name":"constant.numeric.rational.rascal","match":"(?\u003c![A-Za-z_])([0-9][0-9]*r|[1-9][0-9]*r[0-9][0-9]*(?![0-9a-z_A-Z]))"},{"name":"keyword.control.rascal","match":"\\b(syntax|keyword|lexical|break|continue|finally|private|fail|filter|if|tag|extend|append|non-assoc|assoc|test|anno|layout|data|join|it|bracket|in|import|all|solve|try|catch|notin|else|insert|switch|return|case|while|throws|visit|for|assert|default|map|alias|any|module|mod|public|one|throw|start)\\b"},{"name":"support.type.basic.rascal","match":"\\b(value|loc|node|num|type|bag|int|rat|rel|lrel|real|tuple|str|bool|void|datetime|set|map|list)\\b"},{"include":"#string"},{"include":"#regex"},{"include":"#annotation"},{"include":"#comment"},{"name":"variable.other.ordinary.rascal","match":"\\b[a-zA-Z][A-Za-z_0-9]*\\b"},{"name":"variable.other.escaped-keyword.rascal","match":"\\\\(syntax|keyword|lexical|break|continue|finally|private|fail|filter|if|tag|extend|append|non-assoc|assoc|test|anno|layout|data|join|it|bracket|in|import|all|solve|try|catch|notin|else|insert|switch|return|case|while|throws|visit|for|assert|default|map|alias|any|module|mod|public|one|throw|start|value|loc|node|num|type|bag|int|rat|rel|lrel|real|tuple|str|bool|void|datetime|set|map|list)"},{"name":"string.other.url.rascal","match":"\\|([0-9a-z_A-Z.\\-_~:/?#\\[\\]@!$\u0026'()*+,;=`])+\\|","captures":{"1":{"name":"markup.underline.link.rascal"}}}]}}}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"name":"rbs","scopeName":"source.rbs","patterns":[{"include":"#comments"},{"include":"#keywords"},{"include":"#strings"}],"repository":{"comments":{"name":"comment.line.number-sign","begin":"#","end":"\n"},"keywords":{"patterns":[{"name":"keyword.control.class.rbs","match":"\\b(class)\\s+([A-Z]\\w*)","captures":{"1":{"name":"keyword.control.class.rbs"},"2":{"name":"entity.name.class"}}},{"name":"keyword.control.type.rbs","match":"\\b(type)\\b"},{"name":"keyword.control.def.rbs","match":"\\b(def)\\b([^:]+)","captures":{"1":{"name":"keyword.control.def.rbs"},"2":{"name":"entity.name.function.rbs"}}},{"name":"keyword.control.self.rbs","match":"\\b(self)\\b"},{"name":"keyword.control.void.rbs","match":"\\b(void)\\b"},{"name":"keyword.control.untyped.rbs","match":"\\b(untyped)\\b"},{"name":"keyword.control.top.rbs","match":"\\b(top)\\b"},{"name":"keyword.control.bot.rbs","match":"\\b(bot)\\b"},{"name":"keyword.control.instance.rbs","match":"\\b(instance)\\b"},{"name":"keyword.control.bool.rbs","match":"\\b(bool)\\b"},{"name":"keyword.control.nil.rbs","match":"\\b(nil)\\b"},{"name":"keyword.control.singleton.rbs","match":"\\b(singleton)\\b"},{"name":"keyword.control.interface.rbs","match":"\\b(interface)\\s+(_[A-Z]\\w*)","captures":{"1":{"name":"keyword.control.interface.rbs"},"2":{"name":"entity.name.class"}}},{"name":"keyword.control.end.rbs","match":"\\b(end)\\b"},{"name":"keyword.control.include.rbs","match":"\\b(include)\\s+(_?[A-Z]\\w*)","captures":{"1":{"name":"keyword.control.include.rbs"},"2":{"name":"variable.other.constant.rbs"}}},{"name":"keyword.control.extend.rbs","match":"\\b(extend)\\s+(_?[A-Z]\\w*)","captures":{"1":{"name":"keyword.control.extend.rbs"},"2":{"name":"variable.other.constant.rbs"}}},{"name":"keyword.control.prepend.rbs","match":"\\b(prepend)\\s+([A-Z]\\w*)","captures":{"1":{"name":"keyword.control.prepend.rbs"},"2":{"name":"variable.other.constant.rbs"}}},{"name":"keyword.control.module.rbs","match":"\\b(module)\\s+([A-Z]\\w*)","captures":{"1":{"name":"keyword.control.module.rbs"},"2":{"name":"entity.name.class"}}},{"name":"keyword.control.attr_reader.rbs","match":"\\b(attr_reader)\\b"},{"name":"keyword.control.attr_writer.rbs","match":"\\b(attr_writer)\\b"},{"name":"keyword.control.attr_accessor.rbs","match":"\\b(attr_accessor)\\b"},{"name":"keyword.control.public.rbs","match":"\\b(public)\\b"},{"name":"keyword.control.private.rbs","match":"\\b(private)\\b"},{"name":"keyword.control.alias.rbs","match":"\\b(alias)\\b"},{"name":"keyword.control.unchecked.rbs","match":"\\b(unchecked)\\b"},{"name":"keyword.control.out.rbs","match":"\\b(out)\\b"},{"name":"keyword.control.in.rbs","match":"\\b(in)\\b"},{"name":"keyword.other.use.rbs","match":"\\b(use)\\b"},{"name":"keyword.other.as.rbs","match":"\\b(as)\\b"}]},"strings":{"name":"string.quoted.double.rbs","begin":"\"","end":"\"","patterns":[{"name":"constant.character.escape.rbs","match":"\\\\."}]}}}
|
@@ -1 +1 @@
|
|
1
|
-
{"name":"ReScript","scopeName":"source.rescript","patterns":[{"include":"#storage"},{"include":"#constant"},{"include":"#commentLine"},{"include":"#commentBlock"},{"include":"#character"},{"include":"#typeParameter"},{"include":"#string"},{"include":"#attribute"},{"include":"#function"},{"include":"#list"},{"include":"#bracketAccess"},{"include":"#jsx"},{"include":"#operator"},{"include":"#number"},{"include":"#openOrIncludeModule"},{"include":"#moduleDeclaration"},{"include":"#moduleAccess"},{"include":"#constructor"},{"include":"#keyword"},{"include":"#punctuations"},{"include":"#defaultIdIsVariable"}],"repository":{"RE_CONSTANTS_BOOL":{"name":"constant.language.boolean","match":"\\b(false|true)\\b"},"RE_KEYWORD":{"name":"storage.type","match":"\\b(include|let|module|of|open|type)\\b"},"RE_KEYWORD_CONTROL":{"name":"keyword.control","match":"\\b(and|as|assert|async|await|catch|constraint|downto|else|exception|external|for|if|in|lazy|mutable|rec|switch|to|try|when|while|with)\\b"},"RE_TO_DOWNTO_AS_LABELS":{"patterns":[{"match":"(to|downto)\\s*(=)","captures":{"1":{"name":"variable"},"2":{"name":"keyword.operator keyword"}}},{"match":"(to|downto)\\s*(as)","captures":{"1":{"name":"variable"},"2":{"name":"keyword.control"}}}]},"attribute":{"patterns":[{"match":"(%%?|@@?)([A-Za-z_][A-Za-z0-9_\\.]*)","captures":{"1":{"name":"punctuation.decorator"},"2":{"patterns":[{"name":"invalid.deprecated","match":"bs\\.send\\.pipe"},{"name":"invalid.illegal","match":"splice"},{"match":"(bs\\.)?([A-Za-z_][A-Za-z0-9_\\.]*)","captures":{"1":{"name":"invalid.deprecated"},"2":{"name":"entity.name.function"}}},{"name":"entity.name.function","match":"[A-Za-z_][A-Za-z0-9_\\.]*"}]}}}]},"bracketAccess":{"patterns":[{"name":"punctuation.section.brackets.begin","match":"\\["},{"name":"punctuation.section.brackets.end","match":"\\]"}]},"character":{"patterns":[{"name":"string.quoted.single","match":"'[\\x00-\\x7F]'"}]},"commentBlock":{"name":"comment.block","begin":"/\\*","end":"\\*/","patterns":[{"include":"#commentBlock"}]},"commentLine":{"name":"comment.line","match":"//.*"},"constant":{"patterns":[{"include":"#RE_CONSTANTS_BOOL"}]},"constructor":{"patterns":[{"name":"variable.other.enummember","match":"\\b[A-Z][0-9a-zA-Z_]*\\b"},{"match":"(#)\\s*([a-zA-Z][0-9a-zA-Z_]*)\\b","captures":{"1":{"name":"variable.other.enummember"},"2":{"name":"variable.other.enummember"}}},{"match":"(#)\\s*(\\.\\.\\.)\\b","captures":{"1":{"name":"variable.other.enummember"},"2":{"name":"variable.other.enummember"}}},{"match":"(#)","captures":{"1":{"name":"variable.other.enummember"}}}]},"defaultIdIsVariable":{"patterns":[{"name":"variable","match":"[A-Za-z_][A-Za-z0-9_]*"}]},"function":{"patterns":[{"name":"storage.type.function keyword.declaration.function","match":"=\u003e"}]},"jsx":{"patterns":[{"name":"punctuation.definition.tag","match":"\u003c\u003e|\u003c/\u003e|\u003c/|/\u003e"},{"match":"\u003c/([A-Z_][0-9a-zA-Z_]*)","captures":{"0":{"name":"punctuation.definition.tag"},"1":{"name":"entity.name.class"}}},{"match":"\u003c/([a-z_][0-9a-zA-Z_]*)","captures":{"0":{"name":"punctuation.definition.tag"},"1":{"name":"variable"}}},{"match":"\u003c([A-Z_][0-9a-zA-Z_]*)","captures":{"0":{"name":"punctuation.definition.tag"},"1":{"name":"entity.name.class"}}}]},"keyword":{"patterns":[{"include":"#RE_TO_DOWNTO_AS_LABELS"},{"include":"#RE_KEYWORD_CONTROL"},{"include":"#RE_KEYWORD"}]},"list":{"patterns":[{"match":"\\b(list)(\\{)","captures":{"1":{"name":"keyword"},"2":{"name":"punctuation.section.braces.begin"}}},{"name":"punctuation.section.braces.end","match":"\\}"}]},"moduleAccess":{"patterns":[{"match":"\\b([A-Z_][0-9a-zA-Z_]*)(\\.)","captures":{"1":{"name":"entity.name.class"},"2":{"name":"punctuation.accessor"}}}]},"moduleAccessEndsWithModule":{"patterns":[{"name":"entity.name.class","match":"[A-Z_][0-9a-zA-Z_]*"},{"match":"(\\.)([A-Z_][0-9a-zA-Z_]*)","captures":{"1":{"name":"punctuation.accessor"},"2":{"name":"entity.name.class"}}}]},"moduleDeclaration":{"patterns":[{"match":"\\b(module)\\s+(type\\s+)?(of\\s+)?([A-Z_][0-9a-zA-Z_]*)","patterns":[{"match":"\\s*:\\s*([A-Z_][0-9a-zA-Z_]*)","captures":{"1":{"name":"entity.name.class"}}}],"captures":{"1":{"name":"keyword"},"2":{"name":"keyword"},"3":{"name":"keyword"},"4":{"name":"entity.name.class"}}}]},"number":{"patterns":[{"name":"constant.numeric","match":"\\b(0[xX][a-fA-F0-9_]+[Lln]?|0[oO][0-7_]+[Lln]?|0[bB][01_]+[Lln]?|[0-9][0-9_]*([Lln]|(\\.[0-9_]+)?([eE][-+]?[0-9_]+)?)?)\\b"}]},"openOrIncludeModule":{"patterns":[{"match":"\\b(open|include)\\s+([A-Z_][0-9a-zA-Z_]*((\\.)([A-Z_][0-9a-zA-Z_]*))*)","captures":{"1":{"name":"keyword"},"2":{"patterns":[{"include":"#moduleAccessEndsWithModule"}]}}},{"name":"keyword","match":"\\b(open|include)\\s+"}]},"operator":{"patterns":[{"name":"keyword.operator","match":"-\u003e|\\|\\||\u0026\u0026|\\+\\+|\\*\\*|\\+\\.|\\+|-\\.|-|\\*\\.|\\*|/\\.|/|\\.\\.\\.|\\.\\.|===|==|\\^|:=|!|\u003e=(?! *\\?)|\u003c=|="},{"name":"invalid.deprecated","match":"\\|\u003e"}]},"punctuations":{"patterns":[{"name":"punctuation.definition.keyword","match":"~"},{"name":"punctuation.terminator","match":";"},{"name":"punctuation.accessor","match":"\\."},{"name":"punctuation.separator","match":"\\,"},{"name":"punctuation.separator","match":"\\?|:"},{"name":"punctuation.separator","match":"\\|(?!\\|)"},{"name":"punctuation.section.braces.begin","match":"\\{"},{"name":"punctuation.section.braces.end","match":"\\}"},{"name":"punctuation.section.parens.begin","match":"\\("},{"name":"punctuation.section.parens.end","match":"\\)"}]},"string":{"patterns":[{"name":"string.quoted.double","begin":"\"","end":"\"","patterns":[{"name":"constant.character.escape","match":"\\\\."}],"beginCaptures":{"1":{"name":"punctuation.definition.string.begin"}},"endCaptures":{"1":{"name":"punctuation.definition.string.end"}}},{"name":"string.template","begin":"([a-z_][0-9a-zA-Z_]*)?(`)","end":"(?\u003c!\\\\)`","patterns":[{"name":"meta.template.expression","begin":"\\$\\{","end":"\\}","patterns":[{"match":"[a-z_][0-9a-zA-Z_]*"},{"include":"#operator"},{"include":"#punctuations"},{"include":"#string"}],"beginCaptures":{"0":{"name":"punctuation.definition.template-expression.begin"}},"endCaptures":{"0":{"name":"punctuation.definition.template-expression.end"}}}],"beginCaptures":{"1":{"name":"variables.annotation"},"2":{"name":"punctuation.definition.string.template.begin"}},"endCaptures":{"1":{"name":"punctuation.definition.string.template.end"}}}]},"typeParameter":{"patterns":[{"name":"support.type","match":"'[A-Za-z][A-Za-z0-9_]*"}]}}}
|
1
|
+
{"name":"ReScript","scopeName":"source.rescript","patterns":[{"include":"#storage"},{"include":"#ffi"},{"include":"#constant"},{"include":"#commentLine"},{"include":"#commentBlock"},{"include":"#character"},{"include":"#typeParameter"},{"include":"#string"},{"include":"#attribute"},{"include":"#function"},{"include":"#list"},{"include":"#bracketAccess"},{"include":"#jsx"},{"include":"#operator"},{"include":"#number"},{"include":"#openOrIncludeModule"},{"include":"#moduleDeclaration"},{"include":"#moduleAccess"},{"include":"#constructor"},{"include":"#keyword"},{"include":"#punctuations"},{"include":"#defaultIdIsVariable"}],"repository":{"RE_CONSTANTS_BOOL":{"name":"constant.language.boolean","match":"\\b(false|true)\\b"},"RE_KEYWORD":{"name":"storage.type","match":"\\b(include|let|module|of|open|type)\\b"},"RE_KEYWORD_CONTROL":{"name":"keyword.control","match":"\\b(and|as|assert|async|await|catch|constraint|downto|else|exception|external|for|if|in|lazy|mutable|rec|switch|to|try|when|while|with)\\b"},"RE_TO_DOWNTO_AS_LABELS":{"patterns":[{"match":"(to|downto)\\s*(=)","captures":{"1":{"name":"variable"},"2":{"name":"keyword.operator keyword"}}},{"match":"(to|downto)\\s*(as)","captures":{"1":{"name":"variable"},"2":{"name":"keyword.control"}}}]},"attribute":{"patterns":[{"match":"(%%?|@@?)([A-Za-z_][A-Za-z0-9_\\.]*)","captures":{"1":{"name":"punctuation.decorator"},"2":{"patterns":[{"name":"invalid.deprecated","match":"bs\\.send\\.pipe"},{"name":"invalid.illegal","match":"splice"},{"match":"(bs\\.)?([A-Za-z_][A-Za-z0-9_\\.]*)","captures":{"1":{"name":"invalid.deprecated"},"2":{"name":"entity.name.function"}}},{"name":"entity.name.function","match":"[A-Za-z_][A-Za-z0-9_\\.]*"}]}}}]},"bracketAccess":{"patterns":[{"name":"punctuation.section.brackets.begin","match":"\\["},{"name":"punctuation.section.brackets.end","match":"\\]"}]},"character":{"patterns":[{"name":"string.quoted.single","match":"'[\\x00-\\x7F]'"}]},"commentBlock":{"name":"comment.block","begin":"/\\*","end":"\\*/","patterns":[{"include":"#commentBlock"}]},"commentLine":{"name":"comment.line","match":"//.*"},"constant":{"patterns":[{"include":"#RE_CONSTANTS_BOOL"}]},"constructor":{"patterns":[{"name":"variable.other.enummember","match":"\\b[A-Z][0-9a-zA-Z_]*\\b"},{"match":"(#)\\s*([a-zA-Z][0-9a-zA-Z_]*)\\b","captures":{"1":{"name":"variable.other.enummember"},"2":{"name":"variable.other.enummember"}}},{"match":"(#)\\s*(\\.\\.\\.)\\b","captures":{"1":{"name":"variable.other.enummember"},"2":{"name":"variable.other.enummember"}}},{"match":"(#)","captures":{"1":{"name":"variable.other.enummember"}}}]},"defaultIdIsVariable":{"patterns":[{"name":"variable","match":"[A-Za-z_][A-Za-z0-9_]*"}]},"ffi":{"name":"source.embedded.javascript","contentName":"meta.embedded.block.javascript","begin":"(%|%%)(raw|ffi)(\\()(`)","end":"(`)(\\))","patterns":[{"include":"source.js"}],"beginCaptures":{"1":{"name":"punctuation.decorator"},"2":{"name":"entity.name.function"},"4":{"name":"punctuation.definition.string.template.begin.embedded-js"}},"endCaptures":{"1":{"name":"punctuation.definition.string.template.end.embedded-js"}}},"function":{"patterns":[{"name":"storage.type.function keyword.declaration.function","match":"=\u003e"}]},"jsx":{"patterns":[{"name":"punctuation.definition.tag","match":"\u003c\u003e|\u003c/\u003e|\u003c/|/\u003e"},{"match":"\u003c/([A-Z_][0-9a-zA-Z_]*)","captures":{"0":{"name":"punctuation.definition.tag"},"1":{"name":"entity.name.class"}}},{"match":"\u003c/([a-z_][0-9a-zA-Z_]*)","captures":{"0":{"name":"punctuation.definition.tag"},"1":{"name":"variable"}}},{"match":"\u003c([A-Z_][0-9a-zA-Z_]*)","captures":{"0":{"name":"punctuation.definition.tag"},"1":{"name":"entity.name.class"}}}]},"keyword":{"patterns":[{"include":"#RE_TO_DOWNTO_AS_LABELS"},{"include":"#RE_KEYWORD_CONTROL"},{"include":"#RE_KEYWORD"}]},"list":{"patterns":[{"match":"\\b(list)(\\{)","captures":{"1":{"name":"keyword"},"2":{"name":"punctuation.section.braces.begin"}}},{"name":"punctuation.section.braces.end","match":"\\}"}]},"moduleAccess":{"patterns":[{"match":"\\b([A-Z_][0-9a-zA-Z_]*)(\\.)","captures":{"1":{"name":"entity.name.class"},"2":{"name":"punctuation.accessor"}}}]},"moduleAccessEndsWithModule":{"patterns":[{"name":"entity.name.class","match":"[A-Z_][0-9a-zA-Z_]*"},{"match":"(\\.)([A-Z_][0-9a-zA-Z_]*)","captures":{"1":{"name":"punctuation.accessor"},"2":{"name":"entity.name.class"}}}]},"moduleDeclaration":{"patterns":[{"match":"\\b(module)\\s+(type\\s+)?(of\\s+)?([A-Z_][0-9a-zA-Z_]*)","patterns":[{"match":"\\s*:\\s*([A-Z_][0-9a-zA-Z_]*)","captures":{"1":{"name":"entity.name.class"}}}],"captures":{"1":{"name":"keyword"},"2":{"name":"keyword"},"3":{"name":"keyword"},"4":{"name":"entity.name.class"}}}]},"number":{"patterns":[{"name":"constant.numeric","match":"\\b(0[xX][a-fA-F0-9_]+[Lln]?|0[oO][0-7_]+[Lln]?|0[bB][01_]+[Lln]?|[0-9][0-9_]*([Lln]|(\\.[0-9_]+)?([eE][-+]?[0-9_]+)?)?)\\b"}]},"openOrIncludeModule":{"patterns":[{"match":"\\b(open|include)\\s+([A-Z_][0-9a-zA-Z_]*((\\.)([A-Z_][0-9a-zA-Z_]*))*)","captures":{"1":{"name":"keyword"},"2":{"patterns":[{"include":"#moduleAccessEndsWithModule"}]}}},{"name":"keyword","match":"\\b(open|include)\\s+"}]},"operator":{"patterns":[{"name":"keyword.operator","match":"-\u003e|\\|\\||\u0026\u0026|\\+\\+|\\*\\*|\\+\\.|\\+|-\\.|-|\\*\\.|\\*|/\\.|/|\\.\\.\\.|\\.\\.|===|==|\\^|:=|!|\u003e=(?! *\\?)|\u003c=|="},{"name":"invalid.deprecated","match":"\\|\u003e"}]},"punctuations":{"patterns":[{"name":"punctuation.definition.keyword","match":"~"},{"name":"punctuation.terminator","match":";"},{"name":"punctuation.accessor","match":"\\."},{"name":"punctuation.separator","match":"\\,"},{"name":"punctuation.separator","match":"\\?|:"},{"name":"punctuation.separator","match":"\\|(?!\\|)"},{"name":"punctuation.section.braces.begin","match":"\\{"},{"name":"punctuation.section.braces.end","match":"\\}"},{"name":"punctuation.section.parens.begin","match":"\\("},{"name":"punctuation.section.parens.end","match":"\\)"}]},"string":{"patterns":[{"name":"string.quoted.double","begin":"\"","end":"\"","patterns":[{"name":"constant.character.escape","match":"\\\\."}],"beginCaptures":{"1":{"name":"punctuation.definition.string.begin"}},"endCaptures":{"1":{"name":"punctuation.definition.string.end"}}},{"name":"string.template","begin":"([a-z_][0-9a-zA-Z_]*)?(`)","end":"(?\u003c!\\\\)`","patterns":[{"name":"meta.template.expression","begin":"\\$\\{","end":"\\}","patterns":[{"match":"[a-z_][0-9a-zA-Z_]*"},{"include":"#operator"},{"include":"#punctuations"},{"include":"#string"}],"beginCaptures":{"0":{"name":"punctuation.definition.template-expression.begin"}},"endCaptures":{"0":{"name":"punctuation.definition.template-expression.end"}}}],"beginCaptures":{"1":{"name":"variables.annotation"},"2":{"name":"punctuation.definition.string.template.begin"}},"endCaptures":{"1":{"name":"punctuation.definition.string.template.end"}}}]},"typeParameter":{"patterns":[{"name":"support.type","match":"'[A-Za-z][A-Za-z0-9_]*"}]}}}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"name":"RMCOBOL","scopeName":"source.rmcobol","patterns":[{"name":"comment.1.block.rmcobol.remark","begin":"(?\u003c![-_a-zA-Z0-9()-])(?i:remarks\\.)","end":"(?i:end\\-remark|\\*{Bench}end|environment\\s+division|data\\s+division|working-storage\\s+section|file-control)","beginCaptures":{"0":{"name":"keyword.rmcobol"}},"endCaptures":{"0":{"name":"keyword.rmcobol"}}},{"include":"source.cobol"},{"name":"token.debug-token","match":"(^\\\\D.*)$"}]}
|
data/grammars/source.rpgle.json
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"name":"RPGLE","scopeName":"source.rpgle","patterns":[{"name":"rpgle.free.allfree","begin":"(?i)(?=(\\s*\\*\\*(FREE)))","end":"(E-\\*-O-\\*-F)","patterns":[{"name":"keyword.other.rpgle.free.precompiler.allfree","match":"(?i)^\\s*\\*\\*FREE"},{"include":"#freeSQL"},{"include":"#rpglecommon"},{"include":"#freeformat"}]},{"name":"comment.line.rpgle.fixed","begin":"(?i)^.{5}.[*]","end":"\n"},{"include":"#tempfreeformat"},{"include":"#fixedSQL"},{"include":"#freeSQL"},{"include":"#precompiler"},{"include":"#ctarrays"},{"include":"#fixedcomment"},{"include":"#rpglecommon"},{"include":"#fixedformat"},{"include":"#freeformat"}],"repository":{"comments":{"patterns":[{"name":"comment.line.rpgle.free","match":"(//).*"}]},"constants":{"patterns":[{"name":"constant.language.rpgle.indicator","match":"(?i)[*]\\b(IN)([0-9]{0,2})\\b"},{"name":"constant.language.rpgle","match":"[*][a-zA-Z][a-zA-Z0-9]*"},{"name":"constant.numeric.rpgle","match":"\\b\\d+\\.?\\d*?\\b"}]},"ctarrays":{"patterns":[{"begin":"(?=^(\\*{2})(?!free))","end":"(E-\\*-O-\\*-F)","patterns":[{"name":"string.other.rpgle.ctarray","begin":"(\\*{2})"}]}]},"fixedSQL":{"patterns":[{"begin":"(?i)(?=(^.{5}(C)(\\/EXEC)\\s+(SQL)\\b))","end":"(?i)(?=(^.{5}(C)(\\/END\\-EXEC)\\b))","patterns":[{"name":"keyword.other.rpgle.sql","match":"(?i)(C)(\\/EXEC)\\s+(sql)\\b"},{"include":"#fixedcomment"},{"name":"keyword.other.rpgle.fixed.specs","match":"(?i)(C[\\+|\\/])"},{"include":"#sqlcommon"}]},{"name":"keyword.other.rpgle.sql","match":"(?i)(\\/END\\-EXEC)"}]},"fixedcomment":{"patterns":[{"name":"comment.line.rpgle.fixed","begin":"(?i)^.{5}.[*]","end":"\n"},{"name":"comment.gutter","match":"^.{5}"},{"name":"comment.block.line.rpgle.fixed","begin":"(?i)(?\u003c=((?\u003c=^.{5}((H|F|D|I|C|O|P))).{74}))","end":"\n"}]},"fixedformat":{"patterns":[{"include":"#fixedcomment"},{"name":"keyword.other.rpgle.fixed.specs","match":"(?i)(?\u003c=^.{5})[H|F|D|I|C|O|P]"},{"name":"rpgle.fixed.h","begin":"(?i)(?\u003c=^.{5}H)","end":"(?\u003c=\\n)","patterns":[{"include":"#fixedcomment"},{"name":"entity.name.function.rpgle.fixed.h.keywords","match":"\\b(?i)(VALIDATE|USRPRF|TIMFMT|THREAD|TEXT|SRTSEQ|PRFDTA|OPTION|OPTIMIZE|OPENOPT|NOMAIN|MAIN|LANGID|INTPREC|INDENT|GENLVL|FTRANS|FORMSALIGN|FLTDIV|FIXNBR|EXTBININT|EXPROPTS|ENBPFRCOL|DFTNAME|DFTACTGRP|DECEDIT|DEBUG|DATFMT|DATEDIT|CVTOPT|DCLOPT|CURSYM|COPYRIGHT|CCSIDCVT|CCSID|COPYNEST|BNDDIR|AUT|ALWNULL|ALTSEQ|ALLOC|ACTGRP)\\b"},{"include":"#rpglecommon"}]},{"name":"rpgle.fixed.f","begin":"(?i)(?\u003c=^.{5}F)","end":"(?\u003c=\\n)","patterns":[{"include":"#fixedcomment"},{"name":"constant.language.rpgle.fixed.f.type","match":"(?i)(?=(?\u003c=((?\u003c=^.{5}F).{10})))(I|O|U|C)"},{"name":"constant.language.rpgle.fixed.f.designation","match":"(?i)(?=(?\u003c=((?\u003c=^.{5}F).{11})).{3})(P|S|R|T|F)"},{"name":"constant.language.rpgle.fixed.f.eof","match":"(?i)(?=(?\u003c=((?\u003c=^.{5}F).{12})).{2})E"},{"name":"constant.language.rpgle.fixed.f.addition","match":"(?i)(?=(?\u003c=((?\u003c=^.{5}F).{13})).{2})A"},{"name":"constant.language.rpgle.fixed.f.sequence","match":"(?i)(?=(?\u003c=((?\u003c=^.{5}F).{14})).{2})(A|D)"},{"name":"constant.language.rpgle.fixed.f.format","match":"(?i)(?=(?\u003c=((?\u003c=^.{5}F).{15})).{2})(E|F)"},{"name":"constant.language.rpgle.fixed.fi.recordlen","match":"(?i)(?\u003c=(?\u003c=(?\u003c=^.{5}F).{10}).{5}F)([0-9]|\\s){5}"},{"name":"constant.language.rpgle.fixed.f.limitproc","match":"(?i)(?\u003c=(?\u003c=(?\u003c=^.{5}F).{10}).{5}(F|E).{5})L"},{"name":"constant.language.rpgle.fixed.fi.keyfieldlen","match":"(?i)(?\u003c=(?\u003c=(?\u003c=^.{5}F).{10}).{5}(F).{6})([0-9]|\\s){5}"},{"name":"constant.language.rpgle.fixed.f.addrtype","match":"(?i)(?\u003c=(?\u003c=(?\u003c=^.{5}F).{10}).{5}(F|E).{11})(A|D|F|G|K|P|T|Z)"},{"name":"constant.language.rpgle.fixed.fi.fileorg","match":"(?i)(?\u003c=(?\u003c=(?\u003c=^.{5}F).{10}).{5}F.{12})(?i)(I|T)"},{"name":"constant.language.rpgle.fixed.f.device","match":"(?i)(?\u003c=(?\u003c=(?\u003c=^.{5}F).{10}).{5}(F|E).{13})(PRINTER|DISK|WORKSTN|SPECIAL|SEQ)"},{"name":"entity.name.function.rpgle.fixed.f","match":"\\b(?i)(WORKSTN|USROPN|USAGE|TIMFMT|TEMPLATE|STATIC|SPECIAL|SLN|SFILE|SEQ|SAVEIND|SAVEDS|RENAME|RECNO|RAFDATA|QUALIFIED|PRTCTL|PRINTER|PREFIX|PLIST|PGMNAME|PASS|OFLIND|MAXDEV|LIKEFILE|KEYLOC|KEYED|INFSR|INFDS|INDDS|INCLUDE|IGNORE|HANDLER|FORMOFL|FORMLEN|EXTMBR|EXTIND|EXTFILE|EXTDESC|DISK|DEVID|DATFMT|DATA|COMMIT|CHARCOUNT|BLOCK|ALIAS)\\b"},{"include":"#rpglecommon"}]},{"name":"rpgle.fixed.d","begin":"(?i)(?\u003c=^.{5}D)","end":"(?\u003c=\\n)","patterns":[{"include":"#fixedcomment"},{"name":"string.quoted.single.rpgle.fixed","begin":"'","end":"'","patterns":[{"name":"keyword.other.rpgle.fixed.specs","match":"(?i)(?\u003c=^.{5})[H|F|D|I|C|O|P]"}]},{"name":"variable.other.rpgle.fixed.d.extended.name","match":"(?i)(?\u003c=^.{5}D).[a-zA-Z_][a-zA-Z0-9_]{1,71}[.]{3}"},{"name":"constant.language.rpgle.fixed.d.external","match":"(?i)(?\u003c=((?\u003c=^.{5}D).{15}))E"},{"name":"constant.language.rpgle.fixed.d.dstype","match":"(?i)(?\u003c=((?\u003c=^.{5}D).{16}))(S|U)"},{"name":"constant.language.rpgle.fixed.d.dectype","match":"(?i)(?\u003c=((?\u003c=^.{5}D).{17}))(DS|PI|PR|(S\\s)|(C\\s))"},{"name":"constant.language.rpgle.fixed.d.from","match":"(?i)(?\u003c=((?\u003c=^.{5}D).{21}))([0-9]|\\s){5}"},{"name":"constant.language.rpgle.fixed.d.to","match":"(?i)(?\u003c=((?\u003c=^.{5}D).{26}))((\\+|\\-|\\s)(([0-9]|\\s){6}))"},{"name":"constant.language.rpgle.fixed.d.datatype","match":"(?i)(?\u003c=((?\u003c=^.{5}D).{33}))(A|B|D|F|G|I|N|P|S|T|U|Z|\\*)"},{"name":"constant.language.rpgle.fixed.d.decpos","match":"(?i)(?\u003c=((?\u003c=^.{5}D).{34}))([0-9]|\\s){2}"},{"name":"entity.name.function.rpgle.fixed.d.keywords","match":"\\b(?i)(ZONED|VARYING|VARUCS2|VARGRAPH|VARCHAR|VALUE|UNS|UCS2|TOFILE|TIMFMT|TIMESTAMP|TIME|TEMPLATE|STATIC|RTNPARM|QUALIFIED|PSDS|PROCPTR|PREFIX|POS|POINTER|PERRCD|PACKEVEN|PACKED|OVERLAY|OPTIONS|OPDESC|OCCURS|OBJECT|NOOPT|LIKEREC|LIKEFILE|LIKEDS|LIKE|LEN|INZ|IND|INT|IMPORT|GRAPH|FROMFILE|FLOAT|EXTPROC|EXTPGM|EXTNAME|EXTFMT|EXTFLD|EXT|EXPORT|DTAARA|DIM|DESCEND|DATFMT|DATE|CTDATA|CONST|CLASS|CHAR|CCSID|BINDEC|BASED|ASCEND|ALTSEQ|ALT|ALIGN|ALIAS)\\b"},{"include":"#rpglecommon"}]},{"name":"rpgle.fixed.i","begin":"(?i)(?\u003c=^.{5}I)","end":"(?\u003c=\\n)","patterns":[{"include":"#fixedcomment"},{"name":"constant.language.rpgle.fixed.i.seq","match":"(?i)(?\u003c=((?\u003c=^.{5}I).{10}))[A-Za-z0-9]{2}"},{"name":"constant.language.rpgle.fixed.i.number","match":"(?i)(?\u003c=((?\u003c=^.{5}I).{12}))N"},{"name":"constant.language.rpgle.fixed.i.option","match":"(?i)(?\u003c=((?\u003c=^.{5}I).{13}))O"},{"name":"constant.language.rpgle.fixed.i.recordid","match":"(?i)(?\u003c=((?\u003c=^.{5}I).{14}))(([0-9]{2})|((H|L)([1-9]))|(RT)|((U)([1-8]))|(\\*\\*))"},{"name":"constant.language.rpgle.fixed.i.pos1","match":"(?i)(?\u003c=((?\u003c=^.{5}I).{16}))([0-9]|\\s){5}"},{"name":"constant.language.rpgle.fixed.i.not1","match":"(?i)(?\u003c=((?\u003c=^.{5}I).{21}))N"},{"name":"constant.language.rpgle.fixed.i.czd1","match":"(?i)(?\u003c=((?\u003c=^.{5}I).{22}))(C|Z|D)"},{"name":"constant.language.rpgle.fixed.i.char1","match":"(?i)(?\u003c=((?\u003c=^.{5}I).{23}))([A-Z0-9])"},{"name":"constant.language.rpgle.fixed.i.pos2","match":"(?i)(?\u003c=((?\u003c=^.{5}I).{24}))([0-9]|\\s){5}"},{"name":"constant.language.rpgle.fixed.i.not2","match":"(?i)(?\u003c=((?\u003c=^.{5}I).{29}))N"},{"name":"constant.language.rpgle.fixed.i.czd2","match":"(?i)(?\u003c=((?\u003c=^.{5}I).{30}))(C|Z|D)"},{"name":"constant.language.rpgle.fixed.i.char2","match":"(?i)(?\u003c=((?\u003c=^.{5}I).{31}))([A-Z0-9])"},{"name":"constant.language.rpgle.fixed.i.pos3","match":"(?i)(?\u003c=((?\u003c=^.{5}I).{32}))([0-9]|\\s){5}"},{"name":"constant.language.rpgle.fixed.i.not3","match":"(?i)(?\u003c=((?\u003c=^.{5}I).{37}))N"},{"name":"constant.language.rpgle.fixed.i.czd3","match":"(?i)(?\u003c=((?\u003c=^.{5}I).{38}))(C|Z|D)"},{"name":"constant.language.rpgle.fixed.i.char3","match":"(?i)(?\u003c=((?\u003c=^.{5}I).{39}))([A-Z0-9])"},{"include":"#rpglecommon"}]},{"name":"rpgle.fixed.c","begin":"(?i)(?\u003c=^.{5}C)","end":"(?\u003c=\\n)","patterns":[{"include":"#fixedcomment"},{"name":"constant.language.rpgle.fixed.c.ctrl","match":"(?i)(?\u003c=((?\u003c=^.{5}C).{0}))((L[0-9])|LR|SR|AN)"},{"name":"constant.language.rpgle.fixed.c.n01","match":"(?i)(?\u003c=((?\u003c=^.{5}C).{2}))((N|\\s)(([0-9]{2})|(K[A-N])|(K[P-Y])|((H|L)[1-9])|LR|MR|RT|(U[1-8])|(O[A-G])|OV))"},{"name":"keyword.other.rpgle.fixed.c.extfactor2","begin":"(?i)(?\u003c=((?\u003c=^.{5}C).{19}))((\\s{10})|CALLP|WHEN\\s{2}|RETURN|ON-ERROR|IF\\s{2}|FOR|EVALR|EVAL|ELSEIF|DOW\\s{2}|DOU\\s{2})","end":"(?\u003c=\\n)","patterns":[{"include":"#fixedcomment"},{"include":"#rpglecommon"},{"name":"keyword.other.rpgle","match":"((?i)(AND|COMP|CAB|CAS|DOU|DOW|FOR|IF|OR|WHEN)(GT|LT|EQ|NE|GE|LE|(\\s{2})))"},{"name":"variable.other","match":"((?i)[@#a-zA-Z_][@#a-zA-Z0-9_]*)|\\(|\\)|\\%"}]},{"include":"#rpglecommon"},{"name":"keyword.other.rpgle","match":"((?i)\\b(AND|COMP|CAB|CAS|DOU|DOW|IF|OR|WHEN)(GT|LT|EQ|NE|GE|LE|(\\s{2})))"},{"name":"keyword.other.rpgle.fixed.c.operation","match":"(?i)(?\u003c=((?\u003c=^.{5}C).{19}))(Z\\-SUB|Z\\-ADD|XML\\-SAX|XML\\-INTO|XLATE|XFOOT|WRITE|WHEN|UPDATE|UNLOCK|TIME|TESTZ|TESTN|TESTB|TEST|TAG|SUBST|SUBDUR|SUB|SQRT|SORTA|SHTDN|SETON|SETOFF|SETLL|SETGT|SELECT|SCAN|ROLBK|RETURN|RESET|REL|REALLOC|READPE|READP|READE|READC|READ|POST|PLIST|PARM|OUT|OTHER|OR|OPEN|ON\\-EXIT|ON\\-ERROR|OCCUR|NEXT|MVR|MULT|MOVEL|MOVEA|MOVE|MONITOR|MLLZO|MLHZO|MHLZO|MHHZO|LOOKUP|LEAVESR|LEAVE|KLIST|KFLD|ITER|IN|IF|GOTO|FORCE|FOR|FEOD|EXTRCT|EXSR|EXFMT|EXCEPT|EVAL-CORR|EVALR|EVAL|ENDFOR|ENDSR|ENDIF|ENDDO|ENDCS|ENDWH|ENDSL|END|ELSEIF|ELSE|DUMP|DSPLY|DOW|DOU|DO|DIV|DELETE|DEFINE|DEALLOC|DATA-INTO|COMP|COMMIT|CLOSE|CLEAR|CHECKR|CHECK|CHAIN|CAT|CAS|CALLP|CALLB|CALL|CAB|BITON|BITOFF|BEGSR|AND|ALLOC|ADDUR|ADD|ACQ)"},{"name":"constant.language.rpgle.fixed.c.len","match":"(?i)(?\u003c=((?\u003c=^.{5}C).{57}))([0-9]|\\s){5}"},{"name":"constant.language.rpgle.fixed.c.decpos","match":"(?i)(?\u003c=((?\u003c=^.{5}C).{62}))([0-9]|\\s){2}"},{"name":"constant.language.rpgle.fixed.c.hi","match":"(?i)(?\u003c=((?\u003c=^.{5}C).{64}))(([0-9]{2})|(K[A-N])|(K[P-Y])|((H|L)[1-9])|LR|MR|(U[1-8])|(O[A-G])|OV)"},{"name":"constant.language.rpgle.fixed.c.lo","match":"(?i)(?\u003c=((?\u003c=^.{5}C).{66}))(([0-9]{2})|(K[A-N])|(K[P-Y])|((H|L)[1-9])|LR|MR|(U[1-8])|(O[A-G])|OV)"},{"name":"constant.language.rpgle.fixed.c.eq","match":"(?i)(?\u003c=((?\u003c=^.{5}C).{68}))(([0-9]{2})|(K[A-N])|(K[P-Y])|((H|L)[1-9])|LR|MR|(U[1-8])|(O[A-G])|OV)"}]},{"name":"rpgle.fixed.o","begin":"(?i)(?\u003c=^.{5}O)","end":"(?\u003c=\\n)","patterns":[{"include":"#fixedcomment"},{"name":"constant.language.rpgle.fixed.o.type","match":"(?i)(?\u003c=((?\u003c=^.{5}O).{10}))(H|D|T|E)"},{"name":"constant.language.rpgle.fixed.o.fetch","match":"(?i)(?\u003c=((?\u003c=^.{5}O).{11}))(F|R)"},{"name":"constant.language.rpgle.fixed.o.n01","match":"(?i)(?\u003c=((?\u003c=^.{5}O).{14}))((N|\\s)(([0-9]{2})|(K[A-N])|(K[P-Y])|((H|L)[1-9])|LR|MR|RT|1P|(U[1-8])|(O[A-G])|OV))"},{"name":"constant.language.rpgle.fixed.o.n02","match":"(?i)(?\u003c=((?\u003c=^.{5}O).{17}))((N|\\s)(([0-9]{2})|(K[A-N])|(K[P-Y])|((H|L)[1-9])|LR|MR|RT|1P|(U[1-8])|(O[A-G])|OV))"},{"name":"constant.language.rpgle.fixed.o.n03","match":"(?i)(?\u003c=((?\u003c=^.{5}O).{20}))((N|\\s)(([0-9]{2})|(K[A-N])|(K[P-Y])|((H|L)[1-9])|LR|MR|RT|1P|(U[1-8])|(O[A-G])|OV))"},{"name":"constant.language.rpgle.fixed.o.spacebefore","match":"(?i)(?\u003c=((?\u003c=^.{5}O).{33}))([0-9]|\\s){3}"},{"name":"constant.language.rpgle.fixed.o.spaceafter","match":"(?i)(?\u003c=((?\u003c=^.{5}O).{36}))([0-9]|\\s){3}"},{"name":"constant.language.rpgle.fixed.o.skipbefore","match":"(?i)(?\u003c=((?\u003c=^.{5}O).{39}))([0-9]|\\s){3}"},{"name":"constant.language.rpgle.fixed.o.skipafter","match":"(?i)(?\u003c=((?\u003c=^.{5}O).{42}))([0-9]|\\s){3}"},{"include":"#rpglecommon"}]},{"name":"rpgle.fixed.p","begin":"(?i)(?\u003c=^.{5}P)","end":"(?\u003c=\\n)","patterns":[{"include":"#fixedcomment"},{"name":"constant.language.rpgle.fixed.p.beginend","match":"(?i)(?\u003c=((?\u003c=^.{5}P).{17}))(B|E)"},{"name":"entity.name.function.rpgle.fixed.p.keywords","match":"(?i)(?\u003c=((?\u003c=^.{5}P).{37}))(SERIALIZE|REQPROTO|PGMINFO|EXPORT)"},{"include":"#rpglecommon"}]}]},"freeSQL":{"patterns":[{"begin":"(?i)(?=(^\\s*(EXEC)\\s+(SQL)\\b))","end":"(?=(;))","patterns":[{"name":"keyword.other.rpgle.sql","match":"(?i)(EXEC)\\s+(SQL)\\b"},{"include":"#sqlcommon"}]},{"name":"comment.line.rpgle.sql","match":"(?\u003c=(;))\\s*.*"},{"name":"rpgle.free.sql.end","match":";"}]},"freedefkeywords":{"patterns":[{"name":"entity.name.function.rpgle.free.definition.keywords","match":"(?i)\\b(ZONED|VARYING|VARUCS2|VARGRAPH|VARCHAR|VALUE|UNS|UCS2|TOFILE|TIMFMT|TIMESTAMP|TIME|TEMPLATE|STATIC|SQLTYPE|SAMEPOS|RTNPARM|REQPROTO|QUALIFIED|PSDS|PROCPTR|PREFIX|POS|POINTER|PGMINFO|PERRCD|PACKEVEN|PACKED|OVERLOAD|OVERLAY|OPTIONS|OPDESC|OCCURS|OBJECT|NULLIND|NOOPT|LIKEREC|LIKEFILE|LIKEDS|LIKE|LEN|INZ|IND|INT|IMPORT|GRAPH|FROMFILE|FLOAT|EXTPROC|EXTPGM|EXTNAME|EXTFMT|EXTFLD|EXT|EXPORT|DTAARA|DIM|DESCEND|DATFMT|DATE|CTDATA|CONST|CLASS|CHAR|CCSID|BINDEC|BASED|ASCEND|ALTSEQ|ALT|ALIGN|ALIAS)\\b"}]},"freeformat":{"patterns":[{"name":"rpgle.free.control","begin":"(?i)\\b(?=CTL\\-OPT)\\b","end":";","patterns":[{"include":"#rpglecommon"},{"name":"storage.type.rpgle.free.control","match":"(?i)\\b(CTL\\-OPT)\\b"},{"name":"entity.name.function.rpgle.free.control.keywords","match":"(?i)\\b(VALIDATE|USRPRF|TRUNCNBR|TIMFMT|THREAD|TEXT|STGMDL|SRTSEQ|REQPREXP|PRFDTA|PGMINFO|OPTION|OPTIMIZE|OPENOPT|NOMAIN|MAIN|LANGID|INTPREC|INDENT|GENLVL|FTRANS|FORMSALIGN|FLTDIV|FIXNBR|EXTBININT|EXPROPTS|ENBPFRCOL|DFTNAME|DFTACTGRP|DECPREC|DECEDIT|DEBUG|DATFMT|DATEDIT|DCLOPT|CVTOPT|CURSYM|COPYRIGHT|COPYNEST|CHARCOUNTTYPES|CHARCOUNT|CCSIDCVT|CCSID|BNDDIR|AUT|ALWNULL|ALTSEQ|ACTGRP|ALLOC)\\b"}]},{"name":"rpgle.free.file","begin":"(?i)\\b(?=DCL\\-F)\\b","end":";","patterns":[{"include":"#rpglecommon"},{"name":"storage.type.rpgle.free.file","match":"(?i)\\b(DCL\\-F)\\b"},{"name":"entity.name.function.rpgle.free.file.keywords","match":"(?i)\\b(WORKSTN|USROPN|USAGE|TIMFMT|TEMPLATE|STATIC|SPECIAL|SLN|SFILE|SEQ|SAVEIND|SAVEDS|RENAME|RECNO|RAFDATA|QUALIFIED|PRTCTL|PRINTER|PREFIX|PLIST|PGMNAME|PASS|OFLIND|MAXDEV|LIKEFILE|KEYLOC|KEYED|INFSR|INFDS|INDDS|INCLUDE|IGNORE|HANDLER|FORMOFL|FORMLEN|EXTMBR|EXTIND|EXTFILE|EXTDESC|DISK|DEVID|DATFMT|DATA|COMMIT|CHARCOUNT|BLOCK|ALIAS)\\b"}]},{"name":"storage.type.rpgle.free.definition.subr","match":"(?i)\\b(BEG|END)SR\\b"},{"name":"rpgle.free.definition.simple","begin":"(?i)(?=(\\b(DCL\\-)(S|C|PARM|SUBF)\\b))","end":"\n","patterns":[{"name":"storage.type.rpgle.free.definition.simple","match":"(?i)\\b(DCL\\-)(S|C|PARM|SUBF)\\b"},{"include":"#freeidentifiers"},{"name":"comment.line.rpgle.free","match":"(//).*"}]},{"name":"rpgle.free.definition.complex","begin":"(?i)(?=(\\b(DCL\\-)(DS|PROC|PR|PI)\\b))","end":"\n","patterns":[{"name":"storage.type.rpgle.free.definition.complex.dcl","match":"(?i)\\b(DCL\\-)(DS|PROC|PR|PI)\\b"},{"name":"storage.type.rpgle.free.definition.complex.end","match":"(?i)\\b(END\\-)(DS|PROC|PR|PI)\\b"},{"include":"#freedefkeywords"},{"include":"#rpglecommon"}]},{"name":"storage.type.rpgle.free.definition.complex.end","match":"(?i)\\b(END\\-)(DS|PROC|PR|PI)\\b"},{"name":"keyword.other.rpgle.free","match":"(?i)\\b(Z\\-SUB|Z\\-ADD|XML\\-SAX|XML\\-INTO|XLATE|XFOOT|WRITE|WHEN|UPDATE|UNLOCK|TIME|TESTZ|TESTN|TESTB|TEST|TAG|SUBST|SUBDUR|SUB|SQRT|SQLSTATE|SQLCODE|SORTA|SND\\-MSG|SHTDN|SETON|SETOFF|SETLL|SETGT|SELECT|SCAN|ROLBK|RETURN|RESET|REL|REALLOC|READPE|READP|READE|READC|READ|POST|PLIST|PARM|OUT|OTHER|OR|OPEN|ON\\-EXIT|ON\\-EXCP|ON\\-ERROR|OCCUR|NEXT|MVR|MULT|MOVEL|MOVEA|MOVE|MONITOR|MLLZO|MLHZO|MHLZO|MHHZO|LOOKUP|LEAVESR|LEAVE|KLIST|KFLD|ITER|IN|IF|GOTO|FORCE|FOR\\-EACH|FOR|FEOD|EXTRCT|EXSR|EXFMT|EXCEPT|EVAL-CORR|EVALR|EVAL|ENDSR|ENDMON|ENDFOR|ENDIF|ENDDO|ENDCS|ENDWH|ENDSL|END|ELSEIF|ELSE|DUMP|DSPLY|DOW|DOU|DO|DIV|DELETE|DEFINE|DEALLOC|DATA-INTO|COMP|COMMIT|CLOSE|CLEAR|CHECKR|CHECK|CHAIN|CAT|CAS|CALLP|CALLB|CALL|CAB|BITON|BITOFF|BEGSR|AND|ALLOC|ADDUR|ADD|ACQ)\\b"},{"include":"#freeidentifiers"},{"include":"#rpglecommon"}]},"freeidentifiers":{"patterns":[{"name":"rpgle.free.definition.identifier","begin":"[a-zA-Z_][a-zA-Z0-9_]*","end":"(?=\n)","patterns":[{"include":"#freedefkeywords"},{"include":"#rpglecommon"}]}]},"keywords":{"patterns":[{"name":"keyword.other.rpgle","match":":|\\.|\\,|\\*{1,2}(=)?|=|\u003c\u003e|((\u003c|\u003e|\\+|\\-|\\/)(=)?)|((\\b(?i)(TO|BY|DOWNTO|AND|IN|OR|NOT)\\b))"},{"name":"keyword.other.rpgle.bif","match":"[%](?i)(YEARS|XML|XLATE|XFOOT|UPPER|UNSH|UNS|UCS2|TRIMR|TRIML|TRIM|TLOOKUPLT|TLOOKUPLE|TLOOKUPGT|TLOOKUPGE|TLOOKUP|TIMESTAMP|TIME|THIS|TARGET|SUBST|SUBDT|SUBARR|STR|STATUS|SQRT|SPLIT|SIZE|SHTDN|SECONDS|SCANRPL|SCANR|SCAN|REPLACE|REM|REALLOC|RANGE|PROC|PARSER|PARMNUM|PARMS|PADDR|OPEN|OCCUR|NULLIND|MSG|MSECONDS|MONTHS|MINUTES|MINARR|MIN|MAXARR|MAX|LOWER|LOOKUPLT|LOOKUPLE|LOOKUPGT|LOOKUPGE|LOOKUP|LIST|LEN|KDS|INTH|INT|HOURS|HANDLER|GRAPH|FOUND|FLOAT|FIELDS|ERROR|EQUAL|EOF|ELEM|EDITW|EDITFLT|EDITC|DIV|DIFF|DECPOS|DECH|DEC|DAYS|DATE|DATA|CONCATARR|CONCAT|CHECKR|CHECK|CHARCOUNT|CHAR|BITXOR|BITOR|BITNOT|BITAND|ALLOC|ADDR|ABS)"}]},"precompiler":{"patterns":[{"name":"keyword.other.rpgle.fixed.precompiler.title","begin":"(?i)(?\u003c=^.{5})(H|\\s)[\\/](TITLE)","end":"\n","patterns":[{"name":"comment.line.rpgle.fixed.precompiler.title","match":".*"}]},{"name":"keyword.other.rpgle.fixed.precompiler.title","begin":"(?i)^(\\s)*(C)?(\\s)*[\\/](TITLE)","end":"\n","patterns":[{"name":"comment.line.rpgle.free.precompiler.title","match":".*"}]},{"name":"keyword.other.rpgle.fixed.precompiler.include","begin":"(?i)^(\\s)*([C|D])?(\\s)*[\\/](INCLUDE|COPY|EJECT)\\s","end":"\n","patterns":[{"name":"string.other.rpgle.precompiler.include","begin":"\\S","end":"\\s"},{"name":"comment.other.rpgle.precompiler.include","match":".*"}]},{"name":"rpgle.precompiler.conditional","begin":"(?i)(?=(^[\\s]*\\/IF))","end":"(?i)(?=(^[\\s]*\\/ENDIF))","patterns":[{"name":"keyword.other.rpgle.precompiler.if","match":"(?i)^[\\s]*\\/(ELSEIF|IF)"},{"name":"keyword.other.rpgle.precompiler.defcheck","match":"(?i)\\s*\\b(NOT|UNDEFINED|DEFINED)\\b"},{"include":"#freedefkeywords"},{"include":"#freeformat"}]},{"name":"rpgle.precompiler.charcount","begin":"(?i)(?=(^[\\s]*\\/CHARCOUNT))","end":"\n","patterns":[{"name":"keyword.other.rpgle.precompiler.charcount","match":"(?i)^[\\s]*\\/CHARCOUNT"},{"name":"keyword.other.rpgle.precompiler.charcount.mode","match":"(?i)\\s*\\b(NATURAL|STDCHARSIZE)\\b"}]},{"name":"keyword.other.rpgle.fixed.precompiler.misc","match":"(?i)^[\\s]*[\\/](UNDEFINE|TITLE|SPACE|INCLUDE|FREE|EOF|ENDIF|END-FREE|ELSE|EJECT|DEFINE|COPY|CHARCOUNT)\\b","patterns":[{"name":"keyword.other.rpgle.precompiler","match":".*"}]}]},"rpglecommon":{"patterns":[{"include":"#comments"},{"include":"#freedefkeywords"},{"include":"#constants"},{"include":"#precompiler"},{"include":"#keywords"},{"include":"#strings"}]},"sqlcommon":{"patterns":[{"name":"comment.line.rpgle.rpgle.sql","match":"//.*"},{"name":"constant.language.rpgle.sql.globals","match":"(?i)\\b(CLIENT_HOST|CLIENT_IPADDR|CLIENT_PORT|JOB_NAME|PACKAGE_NAME|PACKAGE_SCHEMA|PACKAGE_VERSION|PROCESS_ID|ROUTINE_SCHEMA|ROUTINE_SPECIFIC_NAME|ROUTINE_TYPE|SERVER_MODE_JOB_NAME|THREAD_ID)\\b"},{"name":"support.function.rpgle.sql","match":"[a-zA-Z_][a-zA-Z0-9_]*(?=\\()"},{"name":"constant.language.rpgle.sql.schema","match":"[a-zA-Z_][a-zA-Z0-9_]*(\\.|\\/)[a-zA-Z_][a-zA-Z0-9_]*"},{"name":"variable.parameter.rpgle.sql","match":"[:][a-zA-Z_@#][a-zA-Z0-9_@#\\.]*"},{"name":"keyword.operator.rpgle.sql.reserved","match":"(?i)\\b(ZONE|YES|YEARS|YEAR|XSROBJECT|XSLTRANSFORM|XMLVALIDATE|XMLTEXT|XMLTABLE|XMLSERIALIZE|XMLROW|XMLPI|XMLPARSE|XMLNAMESPACES|XMLGROUP|XMLFOREST|XMLELEMENT|XMLDOCUMENT|XMLCONCAT|XMLCOMMENT|XMLCAST|XMLATTRIBUTES|XMLAGG|WRKSTNNAME|WRITE|WRAPPER|WRAPPED|WITHOUT|WITHIN|WITH|WHILE|WHERE|WHENEVER|WHEN|WAIT|VOLATILE|VIEW|VERSION|VCAT|VARIANT|VARIABLE|VALUES|VALUE|USING|USERID|USER|USE|USAGE|URI|UPDATING|UPDATE|UNTIL|UNNEST|UNIT|UNIQUE|UNION|UNDO|TYPE|TRUNCATE|TRIM_ARRAY|TRIM|TRIGGER|TRANSFER|TRANSACTION|TO|TIMESTAMP|TIME|THREADSAFE|THEN|TABLESPACES|TABLESPACE|TABLE|SYSTEM_USER|SYNONYM|SUMMARY|SUBSTRING|STOGROUP|STATIC|STATEMENT|STARTING|START|STACKED|SQLID|SQL|SPECIFIC|SOURCE|SOME|SNAN|SKIP|SIMPLE|SIGNAL|SET|SESSION_USER|SESSION|SEQUENCE|SENSITIVE|SELECT|SECURED|SECQTY|SECONDS|SECOND|SEARCH|SCROLL|SCRATCHPAD|SCHEMA|SBCS|SAVEPOINT|RUN|RRN|ROW_NUMBER|ROWS|ROWNUMBER|ROW|ROUTINE|ROLLUP|ROLLBACK|RIGHT|RID|REVOKE|RETURNS|RETURNING|RETURN|RESULT_SET_LOCATOR|RESULT|RESTART|RESIGNAL|RESET|REPEAT|RENAME|RELEASE|REGEXP_LIKE|REFRESH|REFERENCING|REFERENCES|RECOVERY|READS|READ|RCDFMT|RANK|RANGE|QUERY|PROGRAMID|PROGRAM|PROCEDURE|PRIVILEGES|PRIQTY|PRIOR|PRIMARY|PREVVAL|PREPARE|POSITION|PLAN|PIPE|PIECESIZE|PERMISSION|PCTFREE|PATH|PASSWORD|PASSING|PARTITIONS|PARTITIONING|PARTITIONED|PARTITION|PART|PARAMETER|PAGESIZE|PAGE|PADDED|PACKAGE|OVERRIDING|OVERLAY|OVER|OUTER|OUT|ORGANIZE|ORDINALITY|ORDER|OR|OPTION|OPTIMIZE|OPEN|ONLY|ON|OMIT|OLD_TABLE|OLD|OFFSET|OF|OBID|NVARCHAR|NULLS|NULL|NOT|NORMALIZED|NOORDER|NONE|NOMINVALUE|NOMAXVALUE|NODENUMBER|NODENAME|NOCYCLE|NOCACHE|NO|NEXTVAL|NEW_TABLE|NEW|NESTED|NCLOB|NCHAR|NATIONAL|NAN|NAMESPACE|MONTHS|MONTH|MODIFIES|MODE|MIXED|MINVALUE|MINUTES|MINUTE|MINPCTUSED|MICROSECONDS|MICROSECOND|MERGE|MAXVALUE|MATERIALIZED|MATCHED|MASK|MAINTAINED|LOOP|LONG|LOGGED|LOG|LOCKSIZE|LOCK|LOCATOR|LOCATION|LOCALTIMESTAMP|LOCALTIME|LOCALDATE|LOCAL|LISTAGG|LINKTYPE|LIMIT|LIKE|LEVEL2|LEFT|LEAVE|LATERAL|LANGUAGE|LABEL|KEY|KEEP|JSON_VALUE|JSON_TABLE|JSON_QUERY|JSON_OBJECTAGG|JSON_OBJECT|JSON_EXISTS|JSON_ARRAYAGG|JSON_ARRAY|JOIN|JAVA|ITERATE|ISOLATION|IS|INTO|INTERSECT|INTEGRITY|INSERTING|INSERT|INSENSITIVE|INOUT|INNER|INLINE|INHERIT|INFINITY|INF|INDICATOR|INDEXBP|INDEX|INCREMENT|INCLUSIVE|INCLUDING|INCLUDE|IMPLICITLY|IMMEDIATE|IGNORE|IF|IDENTITY|ID|HOURS|HOUR|HOLD|HINT|HAVING|HASHED_VALUE|HASH|HANDLER|GROUP|GRAPHIC|GRANT|GOTO|GO|GLOBAL|GET|GENERATED|GENERAL|GBPCACHE|FUNCTION|FULL|FROM|FREEPAGE|FREE|FORMAT|FOREIGN|FOR|FINAL|FILE|FIELDPROC|FETCH|FENCED|EXTRACT|EXTERNAL|EXTEND|EXIT|EXISTS|EXECUTE|EXCLUSIVE|EXCLUDING|EXCEPTION|EXCEPT|EVERY|ESCAPE|ERROR|ENFORCED|ENDING|END|ENCRYPTION|ENCODING|ENABLE|EMPTY|ELSEIF|ELSE|EACH|DYNAMIC|DROP|DOUBLE|DOCUMENT|DO|DISTINCT|DISCONNECT|DISALLOW|DISABLE|DIAGNOSTICS|DETERMINISTIC|DESCRIPTOR|DESCRIBE|DESC|DENSE_RANK|DENSERANK|DELETING|DELETE|DEFINITION|DEFINE|DEFER|DEFAULTS|DEFAULT|DECLARE|DEALLOCATE|DEACTIVATE|DBPARTITIONNUM|DBPARTITIONNAME|DBINFO|DB2SQL|DB2GENRL|DB2GENERAL|DAYS|DAY|DATE|DATAPARTITIONNUM|DATAPARTITIONNAME|DATABASE|DATA|CYCLE|CURSOR|CURRENT_USER|CURRENT_TIMEZONE|CURRENT_TIMESTAMP|CURRENT_TIME|CURRENT_SERVER|CURRENT_SCHEMA|CURRENT_PATH|CURRENT_DATE|CURRENT|CUBE|CROSS|CREATEIN|CREATE|COUNT_BIG|COUNT|COPY|CONTINUE|CONTENT|CONTAINS|CONSTRAINT|CONSTANT|CONNECT_BY_ROOT|CONNECTION|CONNECT|CONDITION|CONCURRENT|CONCAT|COMPRESS|COMPACT|COMMIT|COMMENT|COLUMN|COLLECTION|COLLECT|CLUSTER|CLOSE|CL|CHECK|CHARACTER|CHAR|CCSID|CAST|CASE|CARDINALITY|CALLED|CALL|CACHE|BY|BUFFERPOOL|BIT|BIND|BINARY|BETWEEN|BEGIN|BEFORE|AUTONOMOUS|AUTHORIZATION|ATTRIBUTES|ATOMIC|AT|ASSOCIATE|ASENSITIVE|ASC|AS|ARRAY_AGG|ARRAY|APPLNAME|APPEND|ANY|AND|ALTER|ALLOW|ALLOCATE|ALL|ALIAS|ADD|ACTIVATE|ACTION|ACCTNG|ACCORDING|ABSENT)\\b"},{"include":"source.sql"}]},"strings":{"patterns":[{"name":"string.other.rpgle.hex","begin":"(?i)x'","end":"'"},{"name":"string.quoted.single.rpgle","begin":"'","end":"'"}]},"tempfreeformat":{"patterns":[{"begin":"(?i)(?=((\\/FREE\\b)))","end":"(?i)(?=((\\/END-FREE\\b)))","patterns":[{"name":"keyword.other.rpgle.precompiler","match":"(?i)^.*(\\/FREE\\b)"},{"include":"#rpglecommon"},{"include":"#freeformat"},{"include":"#freeSQL"}]},{"name":"keyword.other.rpgle.precompiler","match":"^.*(\\/END-FREE\\b)"}]}}}
|
1
|
+
{"name":"RPGLE","scopeName":"source.rpgle","patterns":[{"name":"rpgle.free.allfree","begin":"(?i)(?=(\\s*\\*\\*(FREE)))","end":"(E-\\*-O-\\*-F)","patterns":[{"name":"keyword.other.rpgle.free.precompiler.allfree","match":"(?i)^\\s*\\*\\*FREE"},{"include":"#freeSQL"},{"include":"#rpglecommon"},{"include":"#freeformat"}]},{"name":"comment.line.rpgle.fixed","begin":"(?i)^.{5}.[*]","end":"\n"},{"include":"#tempfreeformat"},{"include":"#fixedSQL"},{"include":"#freeSQL"},{"include":"#precompiler"},{"include":"#ctarrays"},{"include":"#fixedcomment"},{"include":"#rpglecommon"},{"include":"#fixedformat"},{"include":"#freeformat"}],"repository":{"comments":{"patterns":[{"name":"comment.line.rpgle.free","match":"(//).*"}]},"constants":{"patterns":[{"name":"constant.language.rpgle.indicator","match":"(?i)[*]\\b(IN)([0-9]{0,2})\\b"},{"name":"constant.language.rpgle","match":"[*][a-zA-Z][a-zA-Z0-9]*"},{"name":"constant.numeric.rpgle","match":"\\b\\d+\\.?\\d*?\\b"}]},"ctarrays":{"patterns":[{"begin":"(?=^(\\*{2})(?!free))","end":"(E-\\*-O-\\*-F)","patterns":[{"name":"string.other.rpgle.ctarray","begin":"(\\*{2})"}]}]},"fixedSQL":{"patterns":[{"begin":"(?i)(?=(^.{5}(C)(\\/EXEC)\\s+(SQL)\\b))","end":"(?i)(?=(^.{5}(C)(\\/END\\-EXEC)\\b))","patterns":[{"name":"keyword.other.rpgle.sql","match":"(?i)(C)(\\/EXEC)\\s+(sql)\\b"},{"include":"#fixedcomment"},{"name":"keyword.other.rpgle.fixed.specs","match":"(?i)(C[\\+|\\/])"},{"include":"#sqlcommon"}]},{"name":"keyword.other.rpgle.sql","match":"(?i)(\\/END\\-EXEC)"}]},"fixedcomment":{"patterns":[{"name":"comment.line.rpgle.fixed","begin":"(?i)^.{5}.[*]","end":"\n"},{"name":"comment.gutter","match":"^.{5}"},{"name":"comment.block.line.rpgle.fixed","begin":"(?i)(?\u003c=((?\u003c=^.{5}((H|F|D|I|C|O|P))).{74}))","end":"\n"}]},"fixedformat":{"patterns":[{"include":"#fixedcomment"},{"name":"keyword.other.rpgle.fixed.specs","match":"(?i)(?\u003c=^.{5})[H|F|D|I|C|O|P]"},{"name":"rpgle.fixed.h","begin":"(?i)(?\u003c=^.{5}H)","end":"(?\u003c=\\n)","patterns":[{"include":"#fixedcomment"},{"name":"entity.name.function.rpgle.fixed.h.keywords","match":"\\b(?i)(VALIDATE|USRPRF|TIMFMT|THREAD|TEXT|SRTSEQ|PRFDTA|OPTION|OPTIMIZE|OPENOPT|NOMAIN|MAIN|LANGID|INTPREC|INDENT|GENLVL|FTRANS|FORMSALIGN|FLTDIV|FIXNBR|EXTBININT|EXPROPTS|ENBPFRCOL|DFTNAME|DFTACTGRP|DECEDIT|DEBUG|DATFMT|DATEDIT|CVTOPT|DCLOPT|CURSYM|COPYRIGHT|CCSIDCVT|CCSID|COPYNEST|BNDDIR|AUT|ALWNULL|ALTSEQ|ALLOC|ACTGRP)\\b"},{"include":"#rpglecommon"}]},{"name":"rpgle.fixed.f","begin":"(?i)(?\u003c=^.{5}F)","end":"(?\u003c=\\n)","patterns":[{"include":"#fixedcomment"},{"name":"constant.language.rpgle.fixed.f.type","match":"(?i)(?=(?\u003c=((?\u003c=^.{5}F).{10})))(I|O|U|C)"},{"name":"constant.language.rpgle.fixed.f.designation","match":"(?i)(?=(?\u003c=((?\u003c=^.{5}F).{11})).{3})(P|S|R|T|F)"},{"name":"constant.language.rpgle.fixed.f.eof","match":"(?i)(?=(?\u003c=((?\u003c=^.{5}F).{12})).{2})E"},{"name":"constant.language.rpgle.fixed.f.addition","match":"(?i)(?=(?\u003c=((?\u003c=^.{5}F).{13})).{2})A"},{"name":"constant.language.rpgle.fixed.f.sequence","match":"(?i)(?=(?\u003c=((?\u003c=^.{5}F).{14})).{2})(A|D)"},{"name":"constant.language.rpgle.fixed.f.format","match":"(?i)(?=(?\u003c=((?\u003c=^.{5}F).{15})).{2})(E|F)"},{"name":"constant.language.rpgle.fixed.fi.recordlen","match":"(?i)(?\u003c=(?\u003c=(?\u003c=^.{5}F).{10}).{5}F)([0-9]|\\s){5}"},{"name":"constant.language.rpgle.fixed.f.limitproc","match":"(?i)(?\u003c=(?\u003c=(?\u003c=^.{5}F).{10}).{5}(F|E).{5})L"},{"name":"constant.language.rpgle.fixed.fi.keyfieldlen","match":"(?i)(?\u003c=(?\u003c=(?\u003c=^.{5}F).{10}).{5}(F).{6})([0-9]|\\s){5}"},{"name":"constant.language.rpgle.fixed.f.addrtype","match":"(?i)(?\u003c=(?\u003c=(?\u003c=^.{5}F).{10}).{5}(F|E).{11})(A|D|F|G|K|P|T|Z)"},{"name":"constant.language.rpgle.fixed.fi.fileorg","match":"(?i)(?\u003c=(?\u003c=(?\u003c=^.{5}F).{10}).{5}F.{12})(?i)(I|T)"},{"name":"constant.language.rpgle.fixed.f.device","match":"(?i)(?\u003c=(?\u003c=(?\u003c=^.{5}F).{10}).{5}(F|E).{13})(PRINTER|DISK|WORKSTN|SPECIAL|SEQ)"},{"name":"entity.name.function.rpgle.fixed.f","match":"\\b(?i)(WORKSTN|USROPN|USAGE|TIMFMT|TEMPLATE|STATIC|SPECIAL|SLN|SFILE|SEQ|SAVEIND|SAVEDS|RENAME|RECNO|RAFDATA|QUALIFIED|PRTCTL|PRINTER|PREFIX|PLIST|PGMNAME|PASS|OFLIND|MAXDEV|LIKEFILE|KEYLOC|KEYED|INFSR|INFDS|INDDS|INCLUDE|IGNORE|HANDLER|FORMOFL|FORMLEN|EXTMBR|EXTIND|EXTFILE|EXTDESC|DISK|DEVID|DATFMT|DATA|COMMIT|CHARCOUNT|BLOCK|ALIAS)\\b"},{"include":"#rpglecommon"}]},{"name":"rpgle.fixed.d","begin":"(?i)(?\u003c=^.{5}D)","end":"(?\u003c=\\n)","patterns":[{"include":"#fixedcomment"},{"name":"string.quoted.single.rpgle.fixed","begin":"'","end":"'","patterns":[{"name":"keyword.other.rpgle.fixed.specs","match":"(?i)(?\u003c=^.{5})[H|F|D|I|C|O|P]"}]},{"name":"variable.other.rpgle.fixed.d.extended.name","match":"(?i)(?\u003c=^.{5}D).[a-zA-Z_][a-zA-Z0-9_]{1,71}[.]{3}"},{"name":"constant.language.rpgle.fixed.d.external","match":"(?i)(?\u003c=((?\u003c=^.{5}D).{15}))E"},{"name":"constant.language.rpgle.fixed.d.dstype","match":"(?i)(?\u003c=((?\u003c=^.{5}D).{16}))(S|U)"},{"name":"constant.language.rpgle.fixed.d.dectype","match":"(?i)(?\u003c=((?\u003c=^.{5}D).{17}))(DS|PI|PR|(S\\s)|(C\\s))"},{"name":"constant.language.rpgle.fixed.d.from","match":"(?i)(?\u003c=((?\u003c=^.{5}D).{21}))([0-9]|\\s){5}"},{"name":"constant.language.rpgle.fixed.d.to","match":"(?i)(?\u003c=((?\u003c=^.{5}D).{26}))((\\+|\\-|\\s)(([0-9]|\\s){6}))"},{"name":"constant.language.rpgle.fixed.d.datatype","match":"(?i)(?\u003c=((?\u003c=^.{5}D).{33}))(A|B|D|F|G|I|N|P|S|T|U|Z|\\*)"},{"name":"constant.language.rpgle.fixed.d.decpos","match":"(?i)(?\u003c=((?\u003c=^.{5}D).{34}))([0-9]|\\s){2}"},{"name":"entity.name.function.rpgle.fixed.d.keywords","match":"\\b(?i)(ZONED|VARYING|VARUCS2|VARGRAPH|VARCHAR|VALUE|UNS|UCS2|TOFILE|TIMFMT|TIMESTAMP|TIME|TEMPLATE|STATIC|RTNPARM|QUALIFIED|PSDS|PROCPTR|PREFIX|POS|POINTER|PERRCD|PACKEVEN|PACKED|OVERLAY|OPTIONS|OPDESC|OCCURS|OBJECT|NOOPT|LIKEREC|LIKEFILE|LIKEDS|LIKE|LEN|INZ|IND|INT|IMPORT|GRAPH|FROMFILE|FLOAT|EXTPROC|EXTPGM|EXTNAME|EXTFMT|EXTFLD|EXT|EXPORT|DTAARA|DIM|DESCEND|DATFMT|DATE|CTDATA|CONST|CLASS|CHAR|CCSID|BINDEC|BASED|ASCEND|ALTSEQ|ALT|ALIGN|ALIAS)\\b"},{"include":"#rpglecommon"}]},{"name":"rpgle.fixed.i","begin":"(?i)(?\u003c=^.{5}I)","end":"(?\u003c=\\n)","patterns":[{"include":"#fixedcomment"},{"name":"constant.language.rpgle.fixed.i.seq","match":"(?i)(?\u003c=((?\u003c=^.{5}I).{10}))[A-Za-z0-9]{2}"},{"name":"constant.language.rpgle.fixed.i.number","match":"(?i)(?\u003c=((?\u003c=^.{5}I).{12}))N"},{"name":"constant.language.rpgle.fixed.i.option","match":"(?i)(?\u003c=((?\u003c=^.{5}I).{13}))O"},{"name":"constant.language.rpgle.fixed.i.recordid","match":"(?i)(?\u003c=((?\u003c=^.{5}I).{14}))(([0-9]{2})|((H|L)([1-9]))|(RT)|((U)([1-8]))|(\\*\\*))"},{"name":"constant.language.rpgle.fixed.i.pos1","match":"(?i)(?\u003c=((?\u003c=^.{5}I).{16}))([0-9]|\\s){5}"},{"name":"constant.language.rpgle.fixed.i.not1","match":"(?i)(?\u003c=((?\u003c=^.{5}I).{21}))N"},{"name":"constant.language.rpgle.fixed.i.czd1","match":"(?i)(?\u003c=((?\u003c=^.{5}I).{22}))(C|Z|D)"},{"name":"constant.language.rpgle.fixed.i.char1","match":"(?i)(?\u003c=((?\u003c=^.{5}I).{23}))([A-Z0-9])"},{"name":"constant.language.rpgle.fixed.i.pos2","match":"(?i)(?\u003c=((?\u003c=^.{5}I).{24}))([0-9]|\\s){5}"},{"name":"constant.language.rpgle.fixed.i.not2","match":"(?i)(?\u003c=((?\u003c=^.{5}I).{29}))N"},{"name":"constant.language.rpgle.fixed.i.czd2","match":"(?i)(?\u003c=((?\u003c=^.{5}I).{30}))(C|Z|D)"},{"name":"constant.language.rpgle.fixed.i.char2","match":"(?i)(?\u003c=((?\u003c=^.{5}I).{31}))([A-Z0-9])"},{"name":"constant.language.rpgle.fixed.i.pos3","match":"(?i)(?\u003c=((?\u003c=^.{5}I).{32}))([0-9]|\\s){5}"},{"name":"constant.language.rpgle.fixed.i.not3","match":"(?i)(?\u003c=((?\u003c=^.{5}I).{37}))N"},{"name":"constant.language.rpgle.fixed.i.czd3","match":"(?i)(?\u003c=((?\u003c=^.{5}I).{38}))(C|Z|D)"},{"name":"constant.language.rpgle.fixed.i.char3","match":"(?i)(?\u003c=((?\u003c=^.{5}I).{39}))([A-Z0-9])"},{"include":"#rpglecommon"}]},{"name":"rpgle.fixed.c","begin":"(?i)(?\u003c=^.{5}C)","end":"(?\u003c=\\n)","patterns":[{"include":"#fixedcomment"},{"name":"constant.language.rpgle.fixed.c.ctrl","match":"(?i)(?\u003c=((?\u003c=^.{5}C).{0}))((L[0-9])|LR|SR|AN)"},{"name":"constant.language.rpgle.fixed.c.n01","match":"(?i)(?\u003c=((?\u003c=^.{5}C).{2}))((N|\\s)(([0-9]{2})|(K[A-N])|(K[P-Y])|((H|L)[1-9])|LR|MR|RT|(U[1-8])|(O[A-G])|OV))"},{"name":"keyword.other.rpgle.fixed.c.extfactor2","begin":"(?i)(?\u003c=((?\u003c=^.{5}C).{19}))((\\s{10})|CALLP|WHEN\\s{2}|RETURN|ON-ERROR|IF\\s{2}|FOR|EVALR|EVAL|ELSEIF|DOW\\s{2}|DOU\\s{2})","end":"(?\u003c=\\n)","patterns":[{"include":"#fixedcomment"},{"include":"#rpglecommon"},{"name":"keyword.other.rpgle","match":"((?i)(AND|COMP|CAB|CAS|DOU|DOW|FOR|IF|OR|WHEN)(GT|LT|EQ|NE|GE|LE|(\\s{2})))"},{"name":"variable.other","match":"((?i)[@#a-zA-Z_][@#a-zA-Z0-9_]*)|\\(|\\)|\\%"}]},{"include":"#rpglecommon"},{"name":"keyword.other.rpgle","match":"((?i)\\b(AND|COMP|CAB|CAS|DOU|DOW|IF|OR|WHEN)(GT|LT|EQ|NE|GE|LE|(\\s{2})))"},{"name":"keyword.other.rpgle.fixed.c.operation","match":"(?i)(?\u003c=((?\u003c=^.{5}C).{19}))(Z\\-SUB|Z\\-ADD|XML\\-SAX|XML\\-INTO|XLATE|XFOOT|WRITE|WHEN|UPDATE|UNLOCK|TIME|TESTZ|TESTN|TESTB|TEST|TAG|SUBST|SUBDUR|SUB|SQRT|SORTA|SHTDN|SETON|SETOFF|SETLL|SETGT|SELECT|SCAN|ROLBK|RETURN|RESET|REL|REALLOC|READPE|READP|READE|READC|READ|POST|PLIST|PARM|OUT|OTHER|OR|OPEN|ON\\-EXIT|ON\\-ERROR|OCCUR|NEXT|MVR|MULT|MOVEL|MOVEA|MOVE|MONITOR|MLLZO|MLHZO|MHLZO|MHHZO|LOOKUP|LEAVESR|LEAVE|KLIST|KFLD|ITER|IN|IF|GOTO|FORCE|FOR|FEOD|EXTRCT|EXSR|EXFMT|EXCEPT|EVAL-CORR|EVALR|EVAL|ENDFOR|ENDSR|ENDIF|ENDDO|ENDCS|ENDWH|ENDSL|END|ELSEIF|ELSE|DUMP|DSPLY|DOW|DOU|DO|DIV|DELETE|DEFINE|DEALLOC|DATA-INTO|COMP|COMMIT|CLOSE|CLEAR|CHECKR|CHECK|CHAIN|CAT|CAS|CALLP|CALLB|CALL|CAB|BITON|BITOFF|BEGSR|AND|ALLOC|ADDUR|ADD|ACQ)"},{"name":"constant.language.rpgle.fixed.c.len","match":"(?i)(?\u003c=((?\u003c=^.{5}C).{57}))([0-9]|\\s){5}"},{"name":"constant.language.rpgle.fixed.c.decpos","match":"(?i)(?\u003c=((?\u003c=^.{5}C).{62}))([0-9]|\\s){2}"},{"name":"constant.language.rpgle.fixed.c.hi","match":"(?i)(?\u003c=((?\u003c=^.{5}C).{64}))(([0-9]{2})|(K[A-N])|(K[P-Y])|((H|L)[1-9])|LR|MR|(U[1-8])|(O[A-G])|OV)"},{"name":"constant.language.rpgle.fixed.c.lo","match":"(?i)(?\u003c=((?\u003c=^.{5}C).{66}))(([0-9]{2})|(K[A-N])|(K[P-Y])|((H|L)[1-9])|LR|MR|(U[1-8])|(O[A-G])|OV)"},{"name":"constant.language.rpgle.fixed.c.eq","match":"(?i)(?\u003c=((?\u003c=^.{5}C).{68}))(([0-9]{2})|(K[A-N])|(K[P-Y])|((H|L)[1-9])|LR|MR|(U[1-8])|(O[A-G])|OV)"}]},{"name":"rpgle.fixed.o","begin":"(?i)(?\u003c=^.{5}O)","end":"(?\u003c=\\n)","patterns":[{"include":"#fixedcomment"},{"name":"constant.language.rpgle.fixed.o.type","match":"(?i)(?\u003c=((?\u003c=^.{5}O).{10}))(H|D|T|E)"},{"name":"constant.language.rpgle.fixed.o.fetch","match":"(?i)(?\u003c=((?\u003c=^.{5}O).{11}))(F|R)"},{"name":"constant.language.rpgle.fixed.o.n01","match":"(?i)(?\u003c=((?\u003c=^.{5}O).{14}))((N|\\s)(([0-9]{2})|(K[A-N])|(K[P-Y])|((H|L)[1-9])|LR|MR|RT|1P|(U[1-8])|(O[A-G])|OV))"},{"name":"constant.language.rpgle.fixed.o.n02","match":"(?i)(?\u003c=((?\u003c=^.{5}O).{17}))((N|\\s)(([0-9]{2})|(K[A-N])|(K[P-Y])|((H|L)[1-9])|LR|MR|RT|1P|(U[1-8])|(O[A-G])|OV))"},{"name":"constant.language.rpgle.fixed.o.n03","match":"(?i)(?\u003c=((?\u003c=^.{5}O).{20}))((N|\\s)(([0-9]{2})|(K[A-N])|(K[P-Y])|((H|L)[1-9])|LR|MR|RT|1P|(U[1-8])|(O[A-G])|OV))"},{"name":"constant.language.rpgle.fixed.o.spacebefore","match":"(?i)(?\u003c=((?\u003c=^.{5}O).{33}))([0-9]|\\s){3}"},{"name":"constant.language.rpgle.fixed.o.spaceafter","match":"(?i)(?\u003c=((?\u003c=^.{5}O).{36}))([0-9]|\\s){3}"},{"name":"constant.language.rpgle.fixed.o.skipbefore","match":"(?i)(?\u003c=((?\u003c=^.{5}O).{39}))([0-9]|\\s){3}"},{"name":"constant.language.rpgle.fixed.o.skipafter","match":"(?i)(?\u003c=((?\u003c=^.{5}O).{42}))([0-9]|\\s){3}"},{"include":"#rpglecommon"}]},{"name":"rpgle.fixed.p","begin":"(?i)(?\u003c=^.{5}P)","end":"(?\u003c=\\n)","patterns":[{"include":"#fixedcomment"},{"name":"constant.language.rpgle.fixed.p.beginend","match":"(?i)(?\u003c=((?\u003c=^.{5}P).{17}))(B|E)"},{"name":"entity.name.function.rpgle.fixed.p.keywords","match":"(?i)(?\u003c=((?\u003c=^.{5}P).{37}))(SERIALIZE|REQPROTO|PGMINFO|EXPORT)"},{"include":"#rpglecommon"}]}]},"freeSQL":{"patterns":[{"begin":"(?i)(?=(^\\s*(EXEC)\\s+(SQL)\\b))","end":"(?=(;))","patterns":[{"name":"keyword.other.rpgle.sql","match":"(?i)(EXEC)\\s+(SQL)\\b"},{"include":"#sqlcommon"}]},{"name":"comment.line.rpgle.sql","match":"(?\u003c=(;))\\s*.*"},{"name":"rpgle.free.sql.end","match":";"}]},"freedefkeywords":{"patterns":[{"name":"entity.name.function.rpgle.free.definition.keywords","match":"(?i)\\b(ZONED|VARYING|VARUCS2|VARGRAPH|VARCHAR|VALUE|UNS|UCS2|TOFILE|TIMFMT|TIMESTAMP|TIME|TEMPLATE|STATIC|SQLTYPE|SAMEPOS|RTNPARM|REQPROTO|QUALIFIED|PSDS|PROCPTR|PREFIX|POS|POINTER|PGMINFO|PERRCD|PACKEVEN|PACKED|OVERLOAD|OVERLAY|OPTIONS|OPDESC|OCCURS|OBJECT|NULLIND|NOOPT|LIKEREC|LIKEFILE|LIKEDS|LIKE|LEN|INZ|IND|INT|IMPORT|GRAPH|FROMFILE|FLOAT|EXTPROC|EXTPGM|EXTNAME|EXTFMT|EXTFLD|EXT|EXPORT|DTAARA|DIM|DESCEND|DATFMT|DATE|CTDATA|CONST|CLASS|CHAR|CCSID|BINDEC|BASED|ASCEND|ALTSEQ|ALT|ALIGN|ALIAS)\\b"}]},"freeformat":{"patterns":[{"name":"rpgle.free.control","begin":"(?i)\\b(?=CTL\\-OPT)\\b","end":";","patterns":[{"include":"#rpglecommon"},{"name":"storage.type.rpgle.free.control","match":"(?i)\\b(CTL\\-OPT)\\b"},{"name":"entity.name.function.rpgle.free.control.keywords","match":"(?i)\\b(VALIDATE|USRPRF|TRUNCNBR|TIMFMT|THREAD|TEXT|STGMDL|SRTSEQ|REQPREXP|PRFDTA|PGMINFO|OPTION|OPTIMIZE|OPENOPT|NOMAIN|MAIN|LANGID|INTPREC|INDENT|GENLVL|FTRANS|FORMSALIGN|FLTDIV|FIXNBR|EXTBININT|EXPROPTS|ENBPFRCOL|DFTNAME|DFTACTGRP|DECPREC|DECEDIT|DEBUG|DATFMT|DATEDIT|DCLOPT|CVTOPT|CURSYM|COPYRIGHT|COPYNEST|CHARCOUNTTYPES|CHARCOUNT|CCSIDCVT|CCSID|BNDDIR|AUT|ALWNULL|ALTSEQ|ACTGRP|ALLOC)\\b"}]},{"name":"rpgle.free.file","begin":"(?i)\\b(?=DCL\\-F)\\b","end":";","patterns":[{"include":"#rpglecommon"},{"name":"storage.type.rpgle.free.file","match":"(?i)\\b(DCL\\-F)\\b"},{"name":"entity.name.function.rpgle.free.file.keywords","match":"(?i)\\b(WORKSTN|USROPN|USAGE|TIMFMT|TEMPLATE|STATIC|SPECIAL|SLN|SFILE|SEQ|SAVEIND|SAVEDS|RENAME|RECNO|RAFDATA|QUALIFIED|PRTCTL|PRINTER|PREFIX|PLIST|PGMNAME|PASS|OFLIND|MAXDEV|LIKEFILE|KEYLOC|KEYED|INFSR|INFDS|INDDS|INCLUDE|IGNORE|HANDLER|FORMOFL|FORMLEN|EXTMBR|EXTIND|EXTFILE|EXTDESC|DISK|DEVID|DATFMT|DATA|COMMIT|CHARCOUNT|BLOCK|ALIAS)\\b"}]},{"name":"storage.type.rpgle.free.definition.subr","match":"(?i)\\b(BEG|END)SR\\b"},{"name":"rpgle.free.definition.simple","begin":"(?i)(?=(\\b(DCL\\-)(S|C|PARM|SUBF)\\b))","end":"\n","patterns":[{"name":"storage.type.rpgle.free.definition.simple","match":"(?i)\\b(DCL\\-)(S|C|PARM|SUBF)\\b"},{"include":"#freeidentifiers"},{"name":"comment.line.rpgle.free","match":"(//).*"}]},{"name":"rpgle.free.definition.complex","begin":"(?i)(?=(\\b(DCL\\-)(DS|PROC|PR|PI)\\b))","end":"\n","patterns":[{"name":"storage.type.rpgle.free.definition.complex.dcl","match":"(?i)\\b(DCL\\-)(DS|PROC|PR|PI)\\b"},{"name":"storage.type.rpgle.free.definition.complex.end","match":"(?i)\\b(END\\-)(DS|PROC|PR|PI)\\b"},{"include":"#freedefkeywords"},{"include":"#freeidentifiers"},{"include":"#rpglecommon"}]},{"name":"storage.type.rpgle.free.definition.complex.end","match":"(?i)\\b(END\\-)(DS|PROC|PR|PI)\\b"},{"name":"keyword.other.rpgle.free","match":"(?i)\\b(Z\\-SUB|Z\\-ADD|XML\\-SAX|XML\\-INTO|XLATE|XFOOT|WRITE|WHEN-IN|WHEN-IS|WHEN|UPDATE|UNLOCK|TIME|TESTZ|TESTN|TESTB|TEST|TAG|SUBST|SUBDUR|SUB|SQRT|SQLSTATE|SQLCODE|SORTA|SND\\-MSG|SHTDN|SETON|SETOFF|SETLL|SETGT|SELECT|SCAN|ROLBK|RETURN|RESET|REL|REALLOC|READPE|READP|READE|READC|READ|POST|PLIST|PARM|OUT|OTHER|OR|OPEN|ON\\-EXIT|ON\\-EXCP|ON\\-ERROR|OCCUR|NEXT|MVR|MULT|MOVEL|MOVEA|MOVE|MONITOR|MLLZO|MLHZO|MHLZO|MHHZO|LOOKUP|LEAVESR|LEAVE|KLIST|KFLD|ITER|IN|IF|GOTO|FORCE|FOR\\-EACH|FOR|FEOD|EXTRCT|EXSR|EXFMT|EXCEPT|EVAL-CORR|EVALR|EVAL|ENDSR|ENDMON|ENDFOR|ENDIF|ENDDO|ENDCS|ENDWH|ENDSL|END|ELSEIF|ELSE|DUMP|DSPLY|DOW|DOU|DO|DIV|DELETE|DEFINE|DEALLOC|DATA-INTO|COMP|COMMIT|CLOSE|CLEAR|CHECKR|CHECK|CHAIN|CAT|CAS|CALLP|CALLB|CALL|CAB|BITON|BITOFF|BEGSR|AND|ALLOC|ADDUR|ADD|ACQ)\\b"},{"include":"#freeidentifiers"},{"include":"#rpglecommon"}]},"freeidentifiers":{"patterns":[{"name":"variable.other.rpgle.free.definition.identifier","begin":"[a-zA-Z_][a-zA-Z0-9_]*","end":"(?=\n)","patterns":[{"include":"#freedefkeywords"},{"include":"#rpglecommon"}]}]},"keywords":{"patterns":[{"name":"keyword.operator.rpgle","match":"\\*{1,2}(=)?|=|\u003c\u003e|((\u003c|\u003e|\\+|\\-|\\/)(=)?)"},{"name":"keyword.other.rpgle","match":":|\\.|\\,|((\\b(?i)(TO|BY|DOWNTO|IN|AND|OR|NOT)\\b))"},{"name":"support.function.rpgle.bif","match":"[%](?i)(YEARS|XML|XLATE|XFOOT|UPPER|UNSH|UNS|UCS2|TRIMR|TRIML|TRIM|TLOOKUPLT|TLOOKUPLE|TLOOKUPGT|TLOOKUPGE|TLOOKUP|TIMESTAMP|TIME|THIS|TARGET|SUBST|SUBDT|SUBARR|STR|STATUS|SQRT|SPLIT|SIZE|SHTDN|SECONDS|SCANRPL|SCANR|SCAN|REPLACE|REM|REALLOC|RANGE|PROC|PASSED|PARSER|PARMNUM|PARMS|PADDR|OPEN|OMITTED|OCCUR|NULLIND|MSG|MSECONDS|MONTHS|MINUTES|MINARR|MIN|MAXARR|MAX|LOWER|LOOKUPLT|LOOKUPLE|LOOKUPGT|LOOKUPGE|LOOKUP|LIST|LEN|KDS|INTH|INT|HOURS|HANDLER|GRAPH|FOUND|FLOAT|FIELDS|ERROR|EQUAL|EOF|ELEM|EDITW|EDITFLT|EDITC|DIV|DIFF|DECPOS|DECH|DEC|DAYS|DATE|DATA|CONCATARR|CONCAT|CHECKR|CHECK|CHARCOUNT|CHAR|BITXOR|BITOR|BITNOT|BITAND|ALLOC|ADDR|ABS)"}]},"precompiler":{"patterns":[{"name":"rpgle.fixed.precompiler.title","begin":"(?i)(?\u003c=^.{5})(H|F|D|I|C|O|P|\\s)(\\/TITLE)","end":"\n","patterns":[{"name":"comment.line.rpgle.fixed.precompiler.title","match":".*"}],"beginCaptures":{"1":{"name":"keyword.other.rpgle.fixed.precompiler.title"},"2":{"name":"keyword.control.rpgle.fixed.precompiler.title"}}},{"name":"rpgle.free.precompiler.title","begin":"(?i)^\\s*(\\/TITLE)","end":"\n","patterns":[{"name":"comment.line.rpgle.free.precompiler.title","match":".*"}],"beginCaptures":{"1":{"name":"keyword.control.rpgle.free.precompiler.title"}}},{"name":"rpgle.fixed.precompiler.include","begin":"(?i)(?\u003c=^.{5})(H|F|D|I|C|O|P|\\s)(\\/(INCLUDE|COPY))\\s","end":"\n","patterns":[{"name":"string.other.rpgle.precompiler.include","begin":"\\S","end":"\\s"},{"name":"comment.other.rpgle.precompiler.include","match":".*"}],"beginCaptures":{"1":{"name":"keyword.other.rpgle.fixed.precompiler.include"},"2":{"name":"keyword.control.rpgle.fixed.precompiler.include"}}},{"name":"rpgle.free.precompiler.include","begin":"(?i)^\\s*(\\/(INCLUDE|COPY))\\s+(\\S+)(.*)","end":"\n","beginCaptures":{"1":{"name":"keyword.control.rpgle.free.precompiler.include"},"3":{"name":"string.other.rpgle.precompiler.include"},"4":{"name":"comment.other.rpgle.precompiler.include"}}},{"name":"rpgle.fixed.precompiler.conditional","begin":"(?i)(?\u003c=^.{5})(H|F|D|I|C|O|P|\\s)(\\/(ELSEIF|IF))\\b(NOT|UNDEFINED|DEFINED)\\b(.*)","end":"(?i)(?=^.{5})(H|F|D|I|C|O|P|\\s)(\\/ENDIF)","patterns":[{"include":"#fixedformat"}],"beginCaptures":{"1":{"name":"keyword.other.rpgle.fixed.precompiler.conditional"},"2":{"name":"keyword.control.rpgle.fixed.precompiler.conditional"},"3":{"name":"keyword.other.rpgle.fixed.precompiler.defcheck"}},"endCaptures":{"1":{"name":"keyword.other.rpgle.fixed.precompiler.conditional"},"2":{"name":"keyword.control.rpgle.fixed.precompiler.conditional"}}},{"name":"rpgle.free.precompiler.conditional","begin":"(?i)(?=(^[\\s]*\\/IF))","end":"(?i)(?=(^[\\s]*\\/ENDIF))","patterns":[{"name":"keyword.control.rpgle.precompiler.if","match":"(?i)^[\\s]*\\/(ELSEIF|IF)"},{"name":"keyword.other.rpgle.precompiler.defcheck","match":"(?i)\\s*\\b(NOT|UNDEFINED|DEFINED)\\b"},{"include":"#freedefkeywords"},{"include":"#freeformat"}]},{"name":"rpgle.precompiler.charcount","begin":"(?i)(?=(^[\\s]*\\/CHARCOUNT))","end":"\n","patterns":[{"name":"keyword.control.rpgle.precompiler.charcount","match":"(?i)^[\\s]*\\/CHARCOUNT"},{"name":"keyword.other.rpgle.precompiler.charcount.mode","match":"(?i)\\s*\\b(NATURAL|STDCHARSIZE)\\b"}]},{"name":"rpgle.fixed.precompiler.misc","begin":"(?i)(?\u003c=^.{5})(H|F|D|I|C|O|P|\\s)(\\/(UNDEFINE|SPACE|FREE|EOF|END-FREE|ELSE|EJECT|DEFINE|CHARCOUNT))\\b","end":"\n","patterns":[{"name":"keyword.control.rpgle.precompiler","match":".*"}],"beginCaptures":{"1":{"name":"keyword.other.rpgle.fixed.precompiler.misc"},"2":{"name":"keyword.control.rpgle.fixed.precompiler.misc"}}},{"name":"rpgle.free.precompiler.misc","begin":"(?i)^[\\s]*(\\/(UNDEFINE|TITLE|SPACE|INCLUDE|FREE|EOF|ENDIF|END-FREE|ELSE|EJECT|DEFINE|COPY|CHARCOUNT))\\b","end":"\n","patterns":[{"name":"keyword.control.rpgle.precompiler","match":".*"}],"beginCaptures":{"1":{"name":"keyword.control.rpgle.free.precompiler.misc"}}}]},"rpglecommon":{"patterns":[{"include":"#comments"},{"include":"#freedefkeywords"},{"include":"#constants"},{"include":"#precompiler"},{"include":"#keywords"},{"include":"#strings"}]},"sqlcommon":{"patterns":[{"name":"comment.line.rpgle.rpgle.sql","match":"//.*"},{"name":"constant.language.rpgle.sql.globals","match":"(?i)\\b(CLIENT_HOST|CLIENT_IPADDR|CLIENT_PORT|JOB_NAME|PACKAGE_NAME|PACKAGE_SCHEMA|PACKAGE_VERSION|PROCESS_ID|ROUTINE_SCHEMA|ROUTINE_SPECIFIC_NAME|ROUTINE_TYPE|SERVER_MODE_JOB_NAME|THREAD_ID)\\b"},{"name":"support.function.rpgle.sql","match":"[a-zA-Z_][a-zA-Z0-9_]*(?=\\()"},{"name":"constant.language.rpgle.sql.schema","match":"[a-zA-Z_][a-zA-Z0-9_]*(\\.|\\/)[a-zA-Z_][a-zA-Z0-9_]*"},{"name":"variable.parameter.rpgle.sql","match":"[:][a-zA-Z_@#][a-zA-Z0-9_@#\\.]*"},{"name":"keyword.operator.rpgle.sql.reserved","match":"(?i)\\b(ZONE|YES|YEARS|YEAR|XSROBJECT|XSLTRANSFORM|XMLVALIDATE|XMLTEXT|XMLTABLE|XMLSERIALIZE|XMLROW|XMLPI|XMLPARSE|XMLNAMESPACES|XMLGROUP|XMLFOREST|XMLELEMENT|XMLDOCUMENT|XMLCONCAT|XMLCOMMENT|XMLCAST|XMLATTRIBUTES|XMLAGG|WRKSTNNAME|WRITE|WRAPPER|WRAPPED|WITHOUT|WITHIN|WITH|WHILE|WHERE|WHENEVER|WHEN|WAIT|VOLATILE|VIEW|VERSION|VCAT|VARIANT|VARIABLE|VALUES|VALUE|USING|USERID|USER|USE|USAGE|URI|UPDATING|UPDATE|UNTIL|UNNEST|UNIT|UNIQUE|UNION|UNDO|TYPE|TRUNCATE|TRIM_ARRAY|TRIM|TRIGGER|TRANSFER|TRANSACTION|TO|TIMESTAMP|TIME|THREADSAFE|THEN|TABLESPACES|TABLESPACE|TABLE|SYSTEM_USER|SYNONYM|SUMMARY|SUBSTRING|STOGROUP|STATIC|STATEMENT|STARTING|START|STACKED|SQLID|SQL|SPECIFIC|SOURCE|SOME|SNAN|SKIP|SIMPLE|SIGNAL|SET|SESSION_USER|SESSION|SEQUENCE|SENSITIVE|SELECT|SECURED|SECQTY|SECONDS|SECOND|SEARCH|SCROLL|SCRATCHPAD|SCHEMA|SBCS|SAVEPOINT|RUN|RRN|ROW_NUMBER|ROWS|ROWNUMBER|ROW|ROUTINE|ROLLUP|ROLLBACK|RIGHT|RID|REVOKE|RETURNS|RETURNING|RETURN|RESULT_SET_LOCATOR|RESULT|RESTART|RESIGNAL|RESET|REPEAT|RENAME|RELEASE|REGEXP_LIKE|REFRESH|REFERENCING|REFERENCES|RECOVERY|READS|READ|RCDFMT|RANK|RANGE|QUERY|PROGRAMID|PROGRAM|PROCEDURE|PRIVILEGES|PRIQTY|PRIOR|PRIMARY|PREVVAL|PREPARE|POSITION|PLAN|PIPE|PIECESIZE|PERMISSION|PCTFREE|PATH|PASSWORD|PASSING|PARTITIONS|PARTITIONING|PARTITIONED|PARTITION|PART|PARAMETER|PAGESIZE|PAGE|PADDED|PACKAGE|OVERRIDING|OVERLAY|OVER|OUTER|OUT|ORGANIZE|ORDINALITY|ORDER|OR|OPTION|OPTIMIZE|OPEN|ONLY|ON|OMIT|OLD_TABLE|OLD|OFFSET|OF|OBID|NVARCHAR|NULLS|NULL|NOT|NORMALIZED|NOORDER|NONE|NOMINVALUE|NOMAXVALUE|NODENUMBER|NODENAME|NOCYCLE|NOCACHE|NO|NEXTVAL|NEW_TABLE|NEW|NESTED|NCLOB|NCHAR|NATIONAL|NAN|NAMESPACE|MONTHS|MONTH|MODIFIES|MODE|MIXED|MINVALUE|MINUTES|MINUTE|MINPCTUSED|MICROSECONDS|MICROSECOND|MERGE|MAXVALUE|MATERIALIZED|MATCHED|MASK|MAINTAINED|LOOP|LONG|LOGGED|LOG|LOCKSIZE|LOCK|LOCATOR|LOCATION|LOCALTIMESTAMP|LOCALTIME|LOCALDATE|LOCAL|LISTAGG|LINKTYPE|LIMIT|LIKE|LEVEL2|LEFT|LEAVE|LATERAL|LANGUAGE|LABEL|KEY|KEEP|JSON_VALUE|JSON_TABLE|JSON_QUERY|JSON_OBJECTAGG|JSON_OBJECT|JSON_EXISTS|JSON_ARRAYAGG|JSON_ARRAY|JOIN|JAVA|ITERATE|ISOLATION|IS|INTO|INTERSECT|INTEGRITY|INSERTING|INSERT|INSENSITIVE|INOUT|INNER|INLINE|INHERIT|INFINITY|INF|INDICATOR|INDEXBP|INDEX|INCREMENT|INCLUSIVE|INCLUDING|INCLUDE|IMPLICITLY|IMMEDIATE|IGNORE|IF|IDENTITY|ID|HOURS|HOUR|HOLD|HINT|HAVING|HASHED_VALUE|HASH|HANDLER|GROUP|GRAPHIC|GRANT|GOTO|GO|GLOBAL|GET|GENERATED|GENERAL|GBPCACHE|FUNCTION|FULL|FROM|FREEPAGE|FREE|FORMAT|FOREIGN|FOR|FINAL|FILE|FIELDPROC|FETCH|FENCED|EXTRACT|EXTERNAL|EXTEND|EXIT|EXISTS|EXECUTE|EXCLUSIVE|EXCLUDING|EXCEPTION|EXCEPT|EVERY|ESCAPE|ERROR|ENFORCED|ENDING|END|ENCRYPTION|ENCODING|ENABLE|EMPTY|ELSEIF|ELSE|EACH|DYNAMIC|DROP|DOUBLE|DOCUMENT|DO|DISTINCT|DISCONNECT|DISALLOW|DISABLE|DIAGNOSTICS|DETERMINISTIC|DESCRIPTOR|DESCRIBE|DESC|DENSE_RANK|DENSERANK|DELETING|DELETE|DEFINITION|DEFINE|DEFER|DEFAULTS|DEFAULT|DECLARE|DEALLOCATE|DEACTIVATE|DBPARTITIONNUM|DBPARTITIONNAME|DBINFO|DB2SQL|DB2GENRL|DB2GENERAL|DAYS|DAY|DATE|DATAPARTITIONNUM|DATAPARTITIONNAME|DATABASE|DATA|CYCLE|CURSOR|CURRENT_USER|CURRENT_TIMEZONE|CURRENT_TIMESTAMP|CURRENT_TIME|CURRENT_SERVER|CURRENT_SCHEMA|CURRENT_PATH|CURRENT_DATE|CURRENT|CUBE|CROSS|CREATEIN|CREATE|COUNT_BIG|COUNT|COPY|CONTINUE|CONTENT|CONTAINS|CONSTRAINT|CONSTANT|CONNECT_BY_ROOT|CONNECTION|CONNECT|CONDITION|CONCURRENT|CONCAT|COMPRESS|COMPACT|COMMIT|COMMENT|COLUMN|COLLECTION|COLLECT|CLUSTER|CLOSE|CL|CHECK|CHARACTER|CHAR|CCSID|CAST|CASE|CARDINALITY|CALLED|CALL|CACHE|BY|BUFFERPOOL|BIT|BIND|BINARY|BETWEEN|BEGIN|BEFORE|AUTONOMOUS|AUTHORIZATION|ATTRIBUTES|ATOMIC|AT|ASSOCIATE|ASENSITIVE|ASC|AS|ARRAY_AGG|ARRAY|APPLNAME|APPEND|ANY|AND|ALTER|ALLOW|ALLOCATE|ALL|ALIAS|ADD|ACTIVATE|ACTION|ACCTNG|ACCORDING|ABSENT)\\b"},{"include":"source.sql"}]},"strings":{"patterns":[{"name":"string.other.rpgle.hex","begin":"(?i)x'","end":"'"},{"name":"string.quoted.single.rpgle","begin":"'","end":"'"}]},"tempfreeformat":{"patterns":[{"begin":"(?i)(?=((\\/FREE\\b)))","end":"(?i)(?=((\\/END-FREE\\b)))","patterns":[{"name":"keyword.control.rpgle.precompiler","match":"(?i)^.*(\\/FREE\\b)"},{"include":"#rpglecommon"},{"include":"#freeformat"},{"include":"#freeSQL"}]},{"name":"keyword.control.rpgle.precompiler","match":"^.*(\\/END-FREE\\b)"}]}}}
|