You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
88 lines
2.8 KiB
88 lines
2.8 KiB
"use strict";
|
|
(self["webpackChunk"] = self["webpackChunk"] || []).push([[87964],{
|
|
|
|
/***/ 87964:
|
|
/*!************************************************************************************************!*\
|
|
!*** ./node_modules/_monaco-editor@0.30.0@monaco-editor/esm/vs/basic-languages/azcli/azcli.js ***!
|
|
\************************************************************************************************/
|
|
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
|
|
__webpack_require__.r(__webpack_exports__);
|
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
/* harmony export */ conf: function() { return /* binding */ conf; },
|
|
/* harmony export */ language: function() { return /* binding */ language; }
|
|
/* harmony export */ });
|
|
/*---------------------------------------------------------------------------------------------
|
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
* Licensed under the MIT License. See License.txt in the project root for license information.
|
|
*--------------------------------------------------------------------------------------------*/
|
|
var conf = {
|
|
comments: {
|
|
lineComment: '#'
|
|
}
|
|
};
|
|
var language = {
|
|
defaultToken: 'keyword',
|
|
ignoreCase: true,
|
|
tokenPostfix: '.azcli',
|
|
str: /[^#\s]/,
|
|
tokenizer: {
|
|
root: [
|
|
{ include: '@comment' },
|
|
[
|
|
/\s-+@str*\s*/,
|
|
{
|
|
cases: {
|
|
'@eos': { token: 'key.identifier', next: '@popall' },
|
|
'@default': { token: 'key.identifier', next: '@type' }
|
|
}
|
|
}
|
|
],
|
|
[
|
|
/^-+@str*\s*/,
|
|
{
|
|
cases: {
|
|
'@eos': { token: 'key.identifier', next: '@popall' },
|
|
'@default': { token: 'key.identifier', next: '@type' }
|
|
}
|
|
}
|
|
]
|
|
],
|
|
type: [
|
|
{ include: '@comment' },
|
|
[
|
|
/-+@str*\s*/,
|
|
{
|
|
cases: {
|
|
'@eos': { token: 'key.identifier', next: '@popall' },
|
|
'@default': 'key.identifier'
|
|
}
|
|
}
|
|
],
|
|
[
|
|
/@str+\s*/,
|
|
{
|
|
cases: {
|
|
'@eos': { token: 'string', next: '@popall' },
|
|
'@default': 'string'
|
|
}
|
|
}
|
|
]
|
|
],
|
|
comment: [
|
|
[
|
|
/#.*$/,
|
|
{
|
|
cases: {
|
|
'@eos': { token: 'comment', next: '@popall' }
|
|
}
|
|
}
|
|
]
|
|
]
|
|
}
|
|
};
|
|
|
|
|
|
/***/ })
|
|
|
|
}]); |