azcli-LB3FG2OW.js 1.9 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283
  1. import "./chunk-2LSFTFF7.js";
  2. // node_modules/.pnpm/monaco-editor@0.38.0/node_modules/monaco-editor/esm/vs/basic-languages/azcli/azcli.js
  3. var conf = {
  4. comments: {
  5. lineComment: "#"
  6. }
  7. };
  8. var language = {
  9. defaultToken: "keyword",
  10. ignoreCase: true,
  11. tokenPostfix: ".azcli",
  12. str: /[^#\s]/,
  13. tokenizer: {
  14. root: [
  15. { include: "@comment" },
  16. [
  17. /\s-+@str*\s*/,
  18. {
  19. cases: {
  20. "@eos": { token: "key.identifier", next: "@popall" },
  21. "@default": { token: "key.identifier", next: "@type" }
  22. }
  23. }
  24. ],
  25. [
  26. /^-+@str*\s*/,
  27. {
  28. cases: {
  29. "@eos": { token: "key.identifier", next: "@popall" },
  30. "@default": { token: "key.identifier", next: "@type" }
  31. }
  32. }
  33. ]
  34. ],
  35. type: [
  36. { include: "@comment" },
  37. [
  38. /-+@str*\s*/,
  39. {
  40. cases: {
  41. "@eos": { token: "key.identifier", next: "@popall" },
  42. "@default": "key.identifier"
  43. }
  44. }
  45. ],
  46. [
  47. /@str+\s*/,
  48. {
  49. cases: {
  50. "@eos": { token: "string", next: "@popall" },
  51. "@default": "string"
  52. }
  53. }
  54. ]
  55. ],
  56. comment: [
  57. [
  58. /#.*$/,
  59. {
  60. cases: {
  61. "@eos": { token: "comment", next: "@popall" }
  62. }
  63. }
  64. ]
  65. ]
  66. }
  67. };
  68. export {
  69. conf,
  70. language
  71. };
  72. /*! Bundled license information:
  73. monaco-editor/esm/vs/basic-languages/azcli/azcli.js:
  74. (*!-----------------------------------------------------------------------------
  75. * Copyright (c) Microsoft Corporation. All rights reserved.
  76. * Version: 0.38.0(0e330ae453813de4e6cf272460fb79c7117073d0)
  77. * Released under the MIT license
  78. * https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt
  79. *-----------------------------------------------------------------------------*)
  80. */
  81. //# sourceMappingURL=azcli-LB3FG2OW.js.map