tiro-notes 0.27.64 → 0.30.4-2.14

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (99) hide show
  1. package/README.md +22 -232
  2. package/cli.js +102 -4
  3. package/client/asset-manifest.json +85 -85
  4. package/client/custom-tag-iframe.html +21 -0
  5. package/client/custom_icons/check.svg +7 -0
  6. package/client/custom_icons/line.svg +13 -0
  7. package/client/custom_icons/uncheck.svg +7 -0
  8. package/client/custom_icons/view-1.svg +18 -0
  9. package/client/custom_icons/view-2.svg +13 -0
  10. package/client/custom_icons/view-3.svg +13 -0
  11. package/client/custom_icons/view-4.svg +18 -0
  12. package/client/index.html +1 -1
  13. package/client/static/css/{4.f758ca10.chunk.css → 4.992ae4ff.chunk.css} +1 -1
  14. package/client/static/js/{0.8beaf7df.chunk.js → 0.c490099b.chunk.js} +1 -1
  15. package/client/static/js/{1.ee09c0fc.chunk.js → 1.d5c20c38.chunk.js} +1 -1
  16. package/client/static/js/{10.042d2e9f.chunk.js → 10.95b2edda.chunk.js} +1 -1
  17. package/client/static/js/{11.7fcc7db9.chunk.js → 11.04e83a60.chunk.js} +1 -1
  18. package/client/static/js/{12.1423ce3c.chunk.js → 12.23f17cae.chunk.js} +1 -1
  19. package/client/static/js/{13.96366809.chunk.js → 13.e2ce43ca.chunk.js} +1 -1
  20. package/client/static/js/{14.faf1cf6c.chunk.js → 14.d1f78332.chunk.js} +1 -1
  21. package/client/static/js/{15.faf2913d.chunk.js → 15.19558fb3.chunk.js} +1 -1
  22. package/client/static/js/{16.10315308.chunk.js → 16.9356c734.chunk.js} +1 -1
  23. package/client/static/js/{17.01af0911.chunk.js → 17.249c76f1.chunk.js} +1 -1
  24. package/client/static/js/{18.43adaf26.chunk.js → 18.6f0a373c.chunk.js} +1 -1
  25. package/client/static/js/{19.4babbe3f.chunk.js → 19.545642bc.chunk.js} +1 -1
  26. package/client/static/js/{20.68544549.chunk.js → 20.f8215841.chunk.js} +1 -1
  27. package/client/static/js/{21.3b9ab5b0.chunk.js → 21.e5f7c151.chunk.js} +1 -1
  28. package/client/static/js/{22.7b8816e2.chunk.js → 22.ed91e085.chunk.js} +1 -1
  29. package/client/static/js/{23.4e3c583e.chunk.js → 23.7dadd977.chunk.js} +1 -1
  30. package/client/static/js/{24.d5ea3a1c.chunk.js → 24.966c0e2e.chunk.js} +1 -1
  31. package/client/static/js/{25.72b8cc43.chunk.js → 25.f5bf249a.chunk.js} +1 -1
  32. package/client/static/js/{26.19a38b25.chunk.js → 26.f1dbe9b2.chunk.js} +1 -1
  33. package/client/static/js/{27.bdf2a465.chunk.js → 27.50ee22bc.chunk.js} +1 -1
  34. package/client/static/js/{28.62fe2e9d.chunk.js → 28.7a8292e6.chunk.js} +1 -1
  35. package/client/static/js/{29.7885254d.chunk.js → 29.54345dda.chunk.js} +1 -1
  36. package/client/static/js/{30.19571013.chunk.js → 30.2ba035b4.chunk.js} +1 -1
  37. package/client/static/js/{31.32b8bdc4.chunk.js → 31.32245201.chunk.js} +1 -1
  38. package/client/static/js/{32.4f02eddd.chunk.js → 32.5a19b5ee.chunk.js} +1 -1
  39. package/client/static/js/{33.e7a7e6c2.chunk.js → 33.f99079cd.chunk.js} +1 -1
  40. package/client/static/js/{34.f9227361.chunk.js → 34.a20b4464.chunk.js} +1 -1
  41. package/client/static/js/{35.caf45b98.chunk.js → 35.506e1750.chunk.js} +1 -1
  42. package/client/static/js/{36.f1638304.chunk.js → 36.45194f2c.chunk.js} +1 -1
  43. package/client/static/js/{37.b8bbaaa3.chunk.js → 37.6cacdf19.chunk.js} +1 -1
  44. package/client/static/js/{38.ca1251d6.chunk.js → 38.26ac693b.chunk.js} +1 -1
  45. package/client/static/js/{39.0e8c72a8.chunk.js → 39.c4112562.chunk.js} +1 -1
  46. package/client/static/js/4.83d4d41c.chunk.js +2 -0
  47. package/client/static/js/{4.d52e0a88.chunk.js.LICENSE.txt → 4.83d4d41c.chunk.js.LICENSE.txt} +0 -0
  48. package/client/static/js/{40.0fcb0689.chunk.js → 40.eeca90df.chunk.js} +1 -1
  49. package/client/static/js/{41.3286700f.chunk.js → 41.7b68c511.chunk.js} +1 -1
  50. package/client/static/js/{42.d5e39f7e.chunk.js → 42.9c2c5e97.chunk.js} +1 -1
  51. package/client/static/js/{43.ab1b673b.chunk.js → 43.5d7317a5.chunk.js} +1 -1
  52. package/client/static/js/{44.d54798f0.chunk.js → 44.fe9af4f2.chunk.js} +1 -1
  53. package/client/static/js/{45.98dc4c80.chunk.js → 45.44342f11.chunk.js} +1 -1
  54. package/client/static/js/{46.56971603.chunk.js → 46.e98dbf2f.chunk.js} +1 -1
  55. package/client/static/js/{47.37cc3f7a.chunk.js → 47.7557c994.chunk.js} +1 -1
  56. package/client/static/js/{48.d96471e0.chunk.js → 48.6196bde4.chunk.js} +1 -1
  57. package/client/static/js/{49.ebfe47a3.chunk.js → 49.96931133.chunk.js} +1 -1
  58. package/client/static/js/{5.7c58e297.chunk.js → 5.7154c544.chunk.js} +1 -1
  59. package/client/static/js/{50.7985080d.chunk.js → 50.4b6c4945.chunk.js} +1 -1
  60. package/client/static/js/{51.a615cacd.chunk.js → 51.a0453ca7.chunk.js} +1 -1
  61. package/client/static/js/{52.f6ec20c7.chunk.js → 52.02d806fa.chunk.js} +1 -1
  62. package/client/static/js/{53.82469338.chunk.js → 53.2eb3a4c2.chunk.js} +1 -1
  63. package/client/static/js/{54.c98bf525.chunk.js → 54.d45590e9.chunk.js} +1 -1
  64. package/client/static/js/{55.95e94bb8.chunk.js → 55.7b65aff4.chunk.js} +1 -1
  65. package/client/static/js/{56.c7eaa76a.chunk.js → 56.aba293cf.chunk.js} +1 -1
  66. package/client/static/js/{57.090adbbb.chunk.js → 57.fe307fff.chunk.js} +1 -1
  67. package/client/static/js/{58.61370e11.chunk.js → 58.9911af61.chunk.js} +1 -1
  68. package/client/static/js/{59.71ab47c4.chunk.js → 59.3ece5218.chunk.js} +1 -1
  69. package/client/static/js/{6.cf6aa661.chunk.js → 6.3b3ed6b3.chunk.js} +1 -1
  70. package/client/static/js/{60.4ba7c420.chunk.js → 60.8022a138.chunk.js} +1 -1
  71. package/client/static/js/{61.61e179af.chunk.js → 61.aa0a68a3.chunk.js} +1 -1
  72. package/client/static/js/{62.2f9deec3.chunk.js → 62.5b759580.chunk.js} +1 -1
  73. package/client/static/js/{63.16a285bf.chunk.js → 63.3704ad94.chunk.js} +1 -1
  74. package/client/static/js/{64.4138a15a.chunk.js → 64.a56b476c.chunk.js} +1 -1
  75. package/client/static/js/{65.a5edd461.chunk.js → 65.5cb7a5a5.chunk.js} +1 -1
  76. package/client/static/js/{66.0e736c17.chunk.js → 66.c79fff81.chunk.js} +1 -1
  77. package/client/static/js/{67.c3567c38.chunk.js → 67.fbae1306.chunk.js} +1 -1
  78. package/client/static/js/{68.315db0c2.chunk.js → 68.7889a44c.chunk.js} +1 -1
  79. package/client/static/js/{69.5b3fc769.chunk.js → 69.39edff23.chunk.js} +1 -1
  80. package/client/static/js/{7.881940b0.chunk.js → 7.05cc9dbd.chunk.js} +1 -1
  81. package/client/static/js/{70.bb3be95d.chunk.js → 70.16aeae57.chunk.js} +2 -2
  82. package/client/static/js/{70.bb3be95d.chunk.js.LICENSE.txt → 70.16aeae57.chunk.js.LICENSE.txt} +0 -0
  83. package/client/static/js/{71.e3962ddc.chunk.js → 71.a1d51cd4.chunk.js} +1 -1
  84. package/client/static/js/{72.c50fc4c0.chunk.js → 72.27125a85.chunk.js} +1 -1
  85. package/client/static/js/{73.fe03deea.chunk.js → 73.e79ee491.chunk.js} +1 -1
  86. package/client/static/js/{74.41c37f1b.chunk.js → 74.17cd2084.chunk.js} +1 -1
  87. package/client/static/js/{75.93eac9c7.chunk.js → 75.804c47a0.chunk.js} +1 -1
  88. package/client/static/js/{76.40d686bf.chunk.js → 76.6e339e9f.chunk.js} +1 -1
  89. package/client/static/js/{77.342d470d.chunk.js → 77.46a6b6a0.chunk.js} +1 -1
  90. package/client/static/js/{8.19faabe4.chunk.js → 8.02f6f6d2.chunk.js} +1 -1
  91. package/client/static/js/{9.fd296105.chunk.js → 9.0cb915ad.chunk.js} +1 -1
  92. package/client/static/js/main.06401a25.chunk.js +1 -0
  93. package/client/static/js/{runtime-main.027e256f.js → runtime-main.8aa8b9eb.js} +1 -1
  94. package/package.json +10 -9
  95. package/server/tiro-server.js +1 -1
  96. package/server/tiro-server.js.LICENSE.txt +6 -0
  97. package/shared.helpers.build.js +64 -3
  98. package/client/static/js/4.d52e0a88.chunk.js +0 -2
  99. package/client/static/js/main.4ed28e91.chunk.js +0 -1
@@ -1 +1 @@
1
- (this["webpackJsonptiro-notes-client"]=this["webpackJsonptiro-notes-client"]||[]).push([[69],{663:function(e,n,o){"use strict";o.r(n),o.d(n,"conf",(function(){return t})),o.d(n,"language",(function(){return r}));var t={comments:{lineComment:"//",blockComment:["(*","*)"]},brackets:[["{","}"],["[","]"],["(",")"],["var","end_var"],["var_input","end_var"],["var_output","end_var"],["var_in_out","end_var"],["var_temp","end_var"],["var_global","end_var"],["var_access","end_var"],["var_external","end_var"],["type","end_type"],["struct","end_struct"],["program","end_program"],["function","end_function"],["function_block","end_function_block"],["action","end_action"],["step","end_step"],["initial_step","end_step"],["transaction","end_transaction"],["configuration","end_configuration"],["tcp","end_tcp"],["recource","end_recource"],["channel","end_channel"],["library","end_library"],["folder","end_folder"],["binaries","end_binaries"],["includes","end_includes"],["sources","end_sources"]],autoClosingPairs:[{open:"[",close:"]"},{open:"{",close:"}"},{open:"(",close:")"},{open:"/*",close:"*/"},{open:"'",close:"'",notIn:["string_sq"]},{open:'"',close:'"',notIn:["string_dq"]},{open:"var_input",close:"end_var"},{open:"var_output",close:"end_var"},{open:"var_in_out",close:"end_var"},{open:"var_temp",close:"end_var"},{open:"var_global",close:"end_var"},{open:"var_access",close:"end_var"},{open:"var_external",close:"end_var"},{open:"type",close:"end_type"},{open:"struct",close:"end_struct"},{open:"program",close:"end_program"},{open:"function",close:"end_function"},{open:"function_block",close:"end_function_block"},{open:"action",close:"end_action"},{open:"step",close:"end_step"},{open:"initial_step",close:"end_step"},{open:"transaction",close:"end_transaction"},{open:"configuration",close:"end_configuration"},{open:"tcp",close:"end_tcp"},{open:"recource",close:"end_recource"},{open:"channel",close:"end_channel"},{open:"library",close:"end_library"},{open:"folder",close:"end_folder"},{open:"binaries",close:"end_binaries"},{open:"includes",close:"end_includes"},{open:"sources",close:"end_sources"}],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"},{open:"var",close:"end_var"},{open:"var_input",close:"end_var"},{open:"var_output",close:"end_var"},{open:"var_in_out",close:"end_var"},{open:"var_temp",close:"end_var"},{open:"var_global",close:"end_var"},{open:"var_access",close:"end_var"},{open:"var_external",close:"end_var"},{open:"type",close:"end_type"},{open:"struct",close:"end_struct"},{open:"program",close:"end_program"},{open:"function",close:"end_function"},{open:"function_block",close:"end_function_block"},{open:"action",close:"end_action"},{open:"step",close:"end_step"},{open:"initial_step",close:"end_step"},{open:"transaction",close:"end_transaction"},{open:"configuration",close:"end_configuration"},{open:"tcp",close:"end_tcp"},{open:"recource",close:"end_recource"},{open:"channel",close:"end_channel"},{open:"library",close:"end_library"},{open:"folder",close:"end_folder"},{open:"binaries",close:"end_binaries"},{open:"includes",close:"end_includes"},{open:"sources",close:"end_sources"}],folding:{markers:{start:new RegExp("^\\s*#pragma\\s+region\\b"),end:new RegExp("^\\s*#pragma\\s+endregion\\b")}}},r={defaultToken:"",tokenPostfix:".st",ignoreCase:!0,brackets:[{token:"delimiter.curly",open:"{",close:"}"},{token:"delimiter.parenthesis",open:"(",close:")"},{token:"delimiter.square",open:"[",close:"]"}],keywords:["if","end_if","elsif","else","case","of","to","__try","__catch","__finally","do","with","by","while","repeat","end_while","end_repeat","end_case","for","end_for","task","retain","non_retain","constant","with","at","exit","return","interval","priority","address","port","on_channel","then","iec","file","uses","version","packagetype","displayname","copyright","summary","vendor","common_source","from","extends"],constant:["false","true","null"],defineKeywords:["var","var_input","var_output","var_in_out","var_temp","var_global","var_access","var_external","end_var","type","end_type","struct","end_struct","program","end_program","function","end_function","function_block","end_function_block","interface","end_interface","method","end_method","property","end_property","namespace","end_namespace","configuration","end_configuration","tcp","end_tcp","resource","end_resource","channel","end_channel","library","end_library","folder","end_folder","binaries","end_binaries","includes","end_includes","sources","end_sources","action","end_action","step","initial_step","end_step","transaction","end_transaction"],typeKeywords:["int","sint","dint","lint","usint","uint","udint","ulint","real","lreal","time","date","time_of_day","date_and_time","string","bool","byte","word","dword","array","pointer","lword"],operators:["=",">","<",":",":=","<=",">=","<>","&","+","-","*","**","MOD","^","or","and","not","xor","abs","acos","asin","atan","cos","exp","expt","ln","log","sin","sqrt","tan","sel","max","min","limit","mux","shl","shr","rol","ror","indexof","sizeof","adr","adrinst","bitadr","is_valid","ref","ref_to"],builtinVariables:[],builtinFunctions:["sr","rs","tp","ton","tof","eq","ge","le","lt","ne","round","trunc","ctd","\u0441tu","ctud","r_trig","f_trig","move","concat","delete","find","insert","left","len","replace","right","rtc"],symbols:/[=><!~?:&|+\-*\/\^%]+/,escapes:/\\(?:[abfnrtv\\"']|x[0-9A-Fa-f]{1,4}|u[0-9A-Fa-f]{4}|U[0-9A-Fa-f]{8})/,tokenizer:{root:[[/(\.\.)/,"delimiter"],[/\b(16#[0-9A-Fa-f\_]*)+\b/,"number.hex"],[/\b(2#[01\_]+)+\b/,"number.binary"],[/\b(8#[0-9\_]*)+\b/,"number.octal"],[/\b\d*\.\d+([eE][\-+]?\d+)?\b/,"number.float"],[/\b(L?REAL)#[0-9\_\.e]+\b/,"number.float"],[/\b(BYTE|(?:D|L)?WORD|U?(?:S|D|L)?INT)#[0-9\_]+\b/,"number"],[/\d+/,"number"],[/\b(T|DT|TOD)#[0-9:-_shmyd]+\b/,"tag"],[/\%(I|Q|M)(X|B|W|D|L)[0-9\.]+/,"tag"],[/\%(I|Q|M)[0-9\.]*/,"tag"],[/\b[A-Za-z]{1,6}#[0-9]+\b/,"tag"],[/\b(TO_|CTU_|CTD_|CTUD_|MUX_|SEL_)[A_Za-z]+\b/,"predefined"],[/\b[A_Za-z]+(_TO_)[A_Za-z]+\b/,"predefined"],[/[;]/,"delimiter"],[/[.]/,{token:"delimiter",next:"@params"}],[/[a-zA-Z_]\w*/,{cases:{"@operators":"operators","@keywords":"keyword","@typeKeywords":"type","@defineKeywords":"variable","@constant":"constant","@builtinVariables":"predefined","@builtinFunctions":"predefined","@default":"identifier"}}],{include:"@whitespace"},[/[{}()\[\]]/,"@brackets"],[/"([^"\\]|\\.)*$/,"string.invalid"],[/"/,{token:"string.quote",bracket:"@open",next:"@string_dq"}],[/'/,{token:"string.quote",bracket:"@open",next:"@string_sq"}],[/'[^\\']'/,"string"],[/(')(@escapes)(')/,["string","string.escape","string"]],[/'/,"string.invalid"]],params:[[/\b[A-Za-z0-9_]+\b(?=\()/,{token:"identifier",next:"@pop"}],[/\b[A-Za-z0-9_]+\b/,"variable.name","@pop"]],comment:[[/[^\/*]+/,"comment"],[/\/\*/,"comment","@push"],["\\*/","comment","@pop"],[/[\/*]/,"comment"]],comment2:[[/[^\(*]+/,"comment"],[/\(\*/,"comment","@push"],["\\*\\)","comment","@pop"],[/[\(*]/,"comment"]],whitespace:[[/[ \t\r\n]+/,"white"],[/\/\/.*$/,"comment"],[/\/\*/,"comment","@comment"],[/\(\*/,"comment","@comment2"]],string_dq:[[/[^\\"]+/,"string"],[/@escapes/,"string.escape"],[/\\./,"string.escape.invalid"],[/"/,{token:"string.quote",bracket:"@close",next:"@pop"}]],string_sq:[[/[^\\']+/,"string"],[/@escapes/,"string.escape"],[/\\./,"string.escape.invalid"],[/'/,{token:"string.quote",bracket:"@close",next:"@pop"}]]}}}}]);
1
+ (this["webpackJsonptiro-notes-client"]=this["webpackJsonptiro-notes-client"]||[]).push([[69],{679:function(e,n,o){"use strict";o.r(n),o.d(n,"conf",(function(){return t})),o.d(n,"language",(function(){return r}));var t={comments:{lineComment:"//",blockComment:["(*","*)"]},brackets:[["{","}"],["[","]"],["(",")"],["var","end_var"],["var_input","end_var"],["var_output","end_var"],["var_in_out","end_var"],["var_temp","end_var"],["var_global","end_var"],["var_access","end_var"],["var_external","end_var"],["type","end_type"],["struct","end_struct"],["program","end_program"],["function","end_function"],["function_block","end_function_block"],["action","end_action"],["step","end_step"],["initial_step","end_step"],["transaction","end_transaction"],["configuration","end_configuration"],["tcp","end_tcp"],["recource","end_recource"],["channel","end_channel"],["library","end_library"],["folder","end_folder"],["binaries","end_binaries"],["includes","end_includes"],["sources","end_sources"]],autoClosingPairs:[{open:"[",close:"]"},{open:"{",close:"}"},{open:"(",close:")"},{open:"/*",close:"*/"},{open:"'",close:"'",notIn:["string_sq"]},{open:'"',close:'"',notIn:["string_dq"]},{open:"var_input",close:"end_var"},{open:"var_output",close:"end_var"},{open:"var_in_out",close:"end_var"},{open:"var_temp",close:"end_var"},{open:"var_global",close:"end_var"},{open:"var_access",close:"end_var"},{open:"var_external",close:"end_var"},{open:"type",close:"end_type"},{open:"struct",close:"end_struct"},{open:"program",close:"end_program"},{open:"function",close:"end_function"},{open:"function_block",close:"end_function_block"},{open:"action",close:"end_action"},{open:"step",close:"end_step"},{open:"initial_step",close:"end_step"},{open:"transaction",close:"end_transaction"},{open:"configuration",close:"end_configuration"},{open:"tcp",close:"end_tcp"},{open:"recource",close:"end_recource"},{open:"channel",close:"end_channel"},{open:"library",close:"end_library"},{open:"folder",close:"end_folder"},{open:"binaries",close:"end_binaries"},{open:"includes",close:"end_includes"},{open:"sources",close:"end_sources"}],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"},{open:"var",close:"end_var"},{open:"var_input",close:"end_var"},{open:"var_output",close:"end_var"},{open:"var_in_out",close:"end_var"},{open:"var_temp",close:"end_var"},{open:"var_global",close:"end_var"},{open:"var_access",close:"end_var"},{open:"var_external",close:"end_var"},{open:"type",close:"end_type"},{open:"struct",close:"end_struct"},{open:"program",close:"end_program"},{open:"function",close:"end_function"},{open:"function_block",close:"end_function_block"},{open:"action",close:"end_action"},{open:"step",close:"end_step"},{open:"initial_step",close:"end_step"},{open:"transaction",close:"end_transaction"},{open:"configuration",close:"end_configuration"},{open:"tcp",close:"end_tcp"},{open:"recource",close:"end_recource"},{open:"channel",close:"end_channel"},{open:"library",close:"end_library"},{open:"folder",close:"end_folder"},{open:"binaries",close:"end_binaries"},{open:"includes",close:"end_includes"},{open:"sources",close:"end_sources"}],folding:{markers:{start:new RegExp("^\\s*#pragma\\s+region\\b"),end:new RegExp("^\\s*#pragma\\s+endregion\\b")}}},r={defaultToken:"",tokenPostfix:".st",ignoreCase:!0,brackets:[{token:"delimiter.curly",open:"{",close:"}"},{token:"delimiter.parenthesis",open:"(",close:")"},{token:"delimiter.square",open:"[",close:"]"}],keywords:["if","end_if","elsif","else","case","of","to","__try","__catch","__finally","do","with","by","while","repeat","end_while","end_repeat","end_case","for","end_for","task","retain","non_retain","constant","with","at","exit","return","interval","priority","address","port","on_channel","then","iec","file","uses","version","packagetype","displayname","copyright","summary","vendor","common_source","from","extends"],constant:["false","true","null"],defineKeywords:["var","var_input","var_output","var_in_out","var_temp","var_global","var_access","var_external","end_var","type","end_type","struct","end_struct","program","end_program","function","end_function","function_block","end_function_block","interface","end_interface","method","end_method","property","end_property","namespace","end_namespace","configuration","end_configuration","tcp","end_tcp","resource","end_resource","channel","end_channel","library","end_library","folder","end_folder","binaries","end_binaries","includes","end_includes","sources","end_sources","action","end_action","step","initial_step","end_step","transaction","end_transaction"],typeKeywords:["int","sint","dint","lint","usint","uint","udint","ulint","real","lreal","time","date","time_of_day","date_and_time","string","bool","byte","word","dword","array","pointer","lword"],operators:["=",">","<",":",":=","<=",">=","<>","&","+","-","*","**","MOD","^","or","and","not","xor","abs","acos","asin","atan","cos","exp","expt","ln","log","sin","sqrt","tan","sel","max","min","limit","mux","shl","shr","rol","ror","indexof","sizeof","adr","adrinst","bitadr","is_valid","ref","ref_to"],builtinVariables:[],builtinFunctions:["sr","rs","tp","ton","tof","eq","ge","le","lt","ne","round","trunc","ctd","\u0441tu","ctud","r_trig","f_trig","move","concat","delete","find","insert","left","len","replace","right","rtc"],symbols:/[=><!~?:&|+\-*\/\^%]+/,escapes:/\\(?:[abfnrtv\\"']|x[0-9A-Fa-f]{1,4}|u[0-9A-Fa-f]{4}|U[0-9A-Fa-f]{8})/,tokenizer:{root:[[/(\.\.)/,"delimiter"],[/\b(16#[0-9A-Fa-f\_]*)+\b/,"number.hex"],[/\b(2#[01\_]+)+\b/,"number.binary"],[/\b(8#[0-9\_]*)+\b/,"number.octal"],[/\b\d*\.\d+([eE][\-+]?\d+)?\b/,"number.float"],[/\b(L?REAL)#[0-9\_\.e]+\b/,"number.float"],[/\b(BYTE|(?:D|L)?WORD|U?(?:S|D|L)?INT)#[0-9\_]+\b/,"number"],[/\d+/,"number"],[/\b(T|DT|TOD)#[0-9:-_shmyd]+\b/,"tag"],[/\%(I|Q|M)(X|B|W|D|L)[0-9\.]+/,"tag"],[/\%(I|Q|M)[0-9\.]*/,"tag"],[/\b[A-Za-z]{1,6}#[0-9]+\b/,"tag"],[/\b(TO_|CTU_|CTD_|CTUD_|MUX_|SEL_)[A_Za-z]+\b/,"predefined"],[/\b[A_Za-z]+(_TO_)[A_Za-z]+\b/,"predefined"],[/[;]/,"delimiter"],[/[.]/,{token:"delimiter",next:"@params"}],[/[a-zA-Z_]\w*/,{cases:{"@operators":"operators","@keywords":"keyword","@typeKeywords":"type","@defineKeywords":"variable","@constant":"constant","@builtinVariables":"predefined","@builtinFunctions":"predefined","@default":"identifier"}}],{include:"@whitespace"},[/[{}()\[\]]/,"@brackets"],[/"([^"\\]|\\.)*$/,"string.invalid"],[/"/,{token:"string.quote",bracket:"@open",next:"@string_dq"}],[/'/,{token:"string.quote",bracket:"@open",next:"@string_sq"}],[/'[^\\']'/,"string"],[/(')(@escapes)(')/,["string","string.escape","string"]],[/'/,"string.invalid"]],params:[[/\b[A-Za-z0-9_]+\b(?=\()/,{token:"identifier",next:"@pop"}],[/\b[A-Za-z0-9_]+\b/,"variable.name","@pop"]],comment:[[/[^\/*]+/,"comment"],[/\/\*/,"comment","@push"],["\\*/","comment","@pop"],[/[\/*]/,"comment"]],comment2:[[/[^\(*]+/,"comment"],[/\(\*/,"comment","@push"],["\\*\\)","comment","@pop"],[/[\(*]/,"comment"]],whitespace:[[/[ \t\r\n]+/,"white"],[/\/\/.*$/,"comment"],[/\/\*/,"comment","@comment"],[/\(\*/,"comment","@comment2"]],string_dq:[[/[^\\"]+/,"string"],[/@escapes/,"string.escape"],[/\\./,"string.escape.invalid"],[/"/,{token:"string.quote",bracket:"@close",next:"@pop"}]],string_sq:[[/[^\\']+/,"string"],[/@escapes/,"string.escape"],[/\\./,"string.escape.invalid"],[/'/,{token:"string.quote",bracket:"@close",next:"@pop"}]]}}}}]);