diff --git a/.eslintrc.cjs b/.eslintrc.cjs new file mode 100644 index 00000000..5de3a147 --- /dev/null +++ b/.eslintrc.cjs @@ -0,0 +1,38 @@ +module.exports = { + root: true, + parser: '@typescript-eslint/parser', + extends: [ + 'eslint:recommended', + 'plugin:@typescript-eslint/recommended', + // 'plugin:@typescript-eslint/recommended-requiring-type-checking', + 'prettier' + ], + plugins: ['svelte3', 'tailwindcss', '@typescript-eslint'], + ignorePatterns: ['docs/*', '*.cjs', '*.md', 'snapshots.js', 'svelte.config.js', 'package.json'], + overrides: [{ files: ['*.svelte'], processor: 'svelte3/svelte3' }], + settings: { + 'svelte3/typescript': () => require('typescript') + }, + parserOptions: { + sourceType: 'module', + ecmaVersion: 2019, + tsconfigRootDir: __dirname, + project: ['./tsconfig.json'], + extraFileExtensions: ['.svelte'] + }, + env: { + browser: true, + es2017: true, + node: true + }, + rules: { + '@typescript-eslint/ban-ts-comment': [ + 'error', + { + 'ts-ignore': 'allow-with-description' + } + ], + '@typescript-eslint/no-unsafe-member-access': 'warn', + '@typescript-eslint/no-unsafe-assignment': 'warn' + } +}; diff --git a/.github/ISSUE_TEMPLATE/bug_report.md b/.github/ISSUE_TEMPLATE/bug_report.md new file mode 100644 index 00000000..9246b53c --- /dev/null +++ b/.github/ISSUE_TEMPLATE/bug_report.md @@ -0,0 +1,41 @@ +--- +name: Bug report +about: Create a report to help us improve +title: '' +labels: bug +assignees: '' +--- + +**Describe the bug** +A clear and concise description of what the bug is. + +**To Reproduce** +Link to Live Editor: +Steps to reproduce the behavior: + +1. Go to '...' +2. Click on '....' +3. Scroll down to '....' +4. See error + +**Expected behavior** +A clear and concise description of what you expected to happen. + +**Screenshots** +If applicable, add screenshots to help explain your problem. + +**Desktop (please complete the following information):** + +- OS: [e.g. iOS] +- Browser [e.g. chrome, safari] +- Version [e.g. 22] + +**Smartphone (please complete the following information):** + +- Device: [e.g. iPhone6] +- OS: [e.g. iOS8.1] +- Browser [e.g. stock browser, safari] +- Version [e.g. 22] + +**Additional context** +Add any other context about the problem here. diff --git a/.github/ISSUE_TEMPLATE/feature_request.md b/.github/ISSUE_TEMPLATE/feature_request.md new file mode 100644 index 00000000..5f0a04ce --- /dev/null +++ b/.github/ISSUE_TEMPLATE/feature_request.md @@ -0,0 +1,19 @@ +--- +name: Feature request +about: Suggest an idea for this project +title: '' +labels: enhancement +assignees: '' +--- + +**Is your feature request related to a problem? Please describe.** +A clear and concise description of what the problem is. Ex. I'm always frustrated when [...] + +**Describe the solution you'd like** +A clear and concise description of what you want to happen. + +**Describe alternatives you've considered** +A clear and concise description of any alternative solutions or features you've considered. + +**Additional context** +Add any other context or screenshots about the feature request here. diff --git a/.github/codeql/config.yml b/.github/codeql/config.yml new file mode 100644 index 00000000..af2bab52 --- /dev/null +++ b/.github/codeql/config.yml @@ -0,0 +1,7 @@ +name: 'Mermaid CodeQL config' + +paths: + - src +paths-ignore: + - node_modules + - '**/*.spec.js' diff --git a/.github/dependabot.yml b/.github/dependabot.yml index dee5120d..9b517748 100644 --- a/.github/dependabot.yml +++ b/.github/dependabot.yml @@ -1,8 +1,8 @@ version: 2 updates: - - package-ecosystem: "npm" - directory: "/" - target-banch: "develop" + - package-ecosystem: 'npm' + directory: '/' + target-branch: 'develop' schedule: - interval: "weekly" - day: "friday" + interval: 'weekly' + day: 'friday' diff --git a/pull_request_template.md b/.github/pull_request_template.md similarity index 67% rename from pull_request_template.md rename to .github/pull_request_template.md index 13fc25d9..4aa47fd7 100644 --- a/pull_request_template.md +++ b/.github/pull_request_template.md @@ -1,13 +1,17 @@ ## :bookmark_tabs: Summary + Brief description about the content of your PR: Resolves # ## :straight_ruler: Design Decisions + Describe the way your implementation works or what design decisions you made if applicable: ### :clipboard: Tasks + Make sure you -- [ ] :book: have read the [contribution guidelines](https://github.com/mermaid-js/mermaid/blob/develop/CONTRIBUTING.md) -- [ ] :computer: have added unit/e2e tests (if appropriate) -- [ ] :bookmark: targeted `master` branch + +- [ ] :book: have read the [contribution guidelines](https://github.com/mermaid-js/mermaid/blob/master/CONTRIBUTING.md) +- [ ] :computer: have added unit/e2e tests (if appropriate) +- [ ] :bookmark: targeted `develop` branch diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml index fba1c03e..3e562342 100644 --- a/.github/workflows/codeql-analysis.yml +++ b/.github/workflows/codeql-analysis.yml @@ -9,14 +9,14 @@ # the `language` matrix defined below to confirm you have the correct set of # supported CodeQL languages. # -name: "CodeQL" +name: 'CodeQL' on: push: - branches: [ master ] + branches: [master] pull_request: # The branches below must be a subset of the branches above - branches: [ master ] + branches: [master] schedule: - cron: '36 1 * * 2' @@ -28,40 +28,41 @@ jobs: strategy: fail-fast: false matrix: - language: [ 'javascript' ] + language: ['javascript'] # CodeQL supports [ 'cpp', 'csharp', 'go', 'java', 'javascript', 'python' ] # Learn more: # https://docs.github.com/en/free-pro-team@latest/github/finding-security-vulnerabilities-and-errors-in-your-code/configuring-code-scanning#changing-the-languages-that-are-analyzed steps: - - name: Checkout repository - uses: actions/checkout@v2 + - name: Checkout repository + uses: actions/checkout@v2 - # Initializes the CodeQL tools for scanning. - - name: Initialize CodeQL - uses: github/codeql-action/init@v1 - with: - languages: ${{ matrix.language }} - # If you wish to specify custom queries, you can do so here or in a config file. - # By default, queries listed here will override any specified in a config file. - # Prefix the list here with "+" to use these queries and those in the config file. - # queries: ./path/to/local/query, your-org/your-repo/queries@main + # Initializes the CodeQL tools for scanning. + - name: Initialize CodeQL + uses: github/codeql-action/init@v1 + with: + config-file: ./.github/codeql/config.yml + languages: ${{ matrix.language }} + # If you wish to specify custom queries, you can do so here or in a config file. + # By default, queries listed here will override any specified in a config file. + # Prefix the list here with "+" to use these queries and those in the config file. + # queries: ./path/to/local/query, your-org/your-repo/queries@main - # Autobuild attempts to build any compiled languages (C/C++, C#, or Java). - # If this step fails, then you should remove it and run the build manually (see below) - - name: Autobuild - uses: github/codeql-action/autobuild@v1 + # Autobuild attempts to build any compiled languages (C/C++, C#, or Java). + # If this step fails, then you should remove it and run the build manually (see below) + # - name: Autobuild + # uses: github/codeql-action/autobuild@v1 - # â„šī¸ Command-line programs to run using the OS shell. - # 📚 https://git.io/JvXDl + # â„šī¸ Command-line programs to run using the OS shell. + # 📚 https://git.io/JvXDl - # âœī¸ If the Autobuild fails above, remove it and uncomment the following three lines - # and modify them (or add more) to build your code if your project - # uses a compiled language + # âœī¸ If the Autobuild fails above, remove it and uncomment the following three lines + # and modify them (or add more) to build your code if your project + # uses a compiled language - #- run: | - # make bootstrap - # make release + #- run: | + # make bootstrap + # make release - - name: Perform CodeQL Analysis - uses: github/codeql-action/analyze@v1 + - name: Perform CodeQL Analysis + uses: github/codeql-action/analyze@v1 diff --git a/.github/workflows/cypress.yml b/.github/workflows/cypress.yml new file mode 100644 index 00000000..6ff4da8b --- /dev/null +++ b/.github/workflows/cypress.yml @@ -0,0 +1,41 @@ +name: Cypress Tests + +on: + pull_request: + branches: + - master + - develop + +jobs: + cypress-run: + runs-on: ubuntu-latest + container: cypress/browsers:node14.16.0-chrome90-ff88 + + steps: + - name: Checkout + uses: actions/checkout@v2 + + - uses: actions/cache@v2 + id: yarn-and-build-cache + with: + path: | + ~/.cache/Cypress + build + node_modules + key: ${{ runner.os }}-node_modules-build-${{ hashFiles('**/yarn.lock') }} + restore-keys: | + ${{ runner.os }}-node_modules-build- + + # Install NPM dependencies, cache them correctly + # and run all Cypress tests + - name: Cypress run + uses: cypress-io/github-action@v2 + with: + build: yarn build + start: yarn preview + wait-on: 'http://localhost:3000' + wait-on-timeout: 120 + record: true + headless: true + env: + CYPRESS_RECORD_KEY: ${{ secrets.CYPRESS_RECORD_KEY }} diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 5c40bcf0..e1b1f4de 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -3,24 +3,46 @@ on: push: branches: - master + pull_request: + branches: + - master jobs: build: runs-on: ubuntu-latest steps: - uses: actions/setup-node@v2 with: - node-version: '12' + node-version: '14' - name: Checkout uses: actions/checkout@v2 + - uses: actions/cache@v2 + id: yarn-and-build-cache + with: + path: | + node_modules + key: ${{ runner.os }}-node_modules-build-deploy-${{ hashFiles('**/yarn.lock') }} + restore-keys: | + ${{ runner.os }}-node_modules-build-deploy- + - name: Build & Deploy run: | npm i -g yarn + export DEPLOY=true + [ "$GITHUB_EVENT_NAME" == "pull_request" ] && export BETA=true && rm -rf docs/beta/ + [ "$GITHUB_EVENT_NAME" != "pull_request" ] && rm -rf docs/_app/ yarn install - yarn release - git config user.name github-actions - git config user.email github-actions@github.com - git add ./docs/* - git commit -m "Release" - git push + # yarn run lint + version=$(yarn version --patch --no-git-tag-version | grep "New version" | cut -d':' -f 2) + yarn build + cd bin + ./fix-path + cd .. + + - name: Deploy + uses: peaceiris/actions-gh-pages@v3 + with: + github_token: ${{ secrets.GITHUB_TOKEN }} + publish_dir: ./docs + keep_files: true diff --git a/.github/workflows/stale.yml b/.github/workflows/stale.yml index bcf0b632..d9a8f32d 100644 --- a/.github/workflows/stale.yml +++ b/.github/workflows/stale.yml @@ -2,17 +2,16 @@ name: Mark stale issues and pull requests on: schedule: - - cron: "0 0 * * *" + - cron: '0 0 * * 4' jobs: stale: - runs-on: ubuntu-latest - steps: - - uses: actions/stale@v3 - with: - repo-token: ${{ secrets.GITHUB_TOKEN }} - stale-issue-message: 'This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 7 days' - stale-pr-message: 'This pr is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 7 days' - + - uses: actions/stale@v3 + with: + repo-token: ${{ secrets.GITHUB_TOKEN }} + exempt-issue-labels: 'retained' + exempt-pr-labels: 'retained' + stale-issue-message: 'This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 7 days' + stale-pr-message: 'This pr is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 7 days' diff --git a/.gitignore b/.gitignore index c78e97aa..edc0e07e 100644 --- a/.gitignore +++ b/.gitignore @@ -4,3 +4,10 @@ coverage/ build/ yarn-error.log .npmrc +.DS_Store +/.svelte-kit +/build +/functions +/snapshots.js +/cypress/videos +/cypress/screenshots diff --git a/.husky/.gitignore b/.husky/.gitignore new file mode 100644 index 00000000..31354ec1 --- /dev/null +++ b/.husky/.gitignore @@ -0,0 +1 @@ +_ diff --git a/.husky/pre-commit b/.husky/pre-commit new file mode 100755 index 00000000..d0612ad3 --- /dev/null +++ b/.husky/pre-commit @@ -0,0 +1,4 @@ +#!/bin/sh +. "$(dirname "$0")/_/husky.sh" + +npm run pre-commit diff --git a/.nojekyll b/.nojekyll new file mode 100644 index 00000000..e69de29b diff --git a/.npmrc b/.npmrc new file mode 100644 index 00000000..b6f27f13 --- /dev/null +++ b/.npmrc @@ -0,0 +1 @@ +engine-strict=true diff --git a/.prettierignore b/.prettierignore index 5c457d79..1a41f98d 100644 --- a/.prettierignore +++ b/.prettierignore @@ -1 +1,6 @@ -docs \ No newline at end of file +docs/** +.svelte-kit/** +static/** +build/** +node_modules/** +snapshots.js \ No newline at end of file diff --git a/.prettierrc b/.prettierrc index dc2fb828..b193cb40 100644 --- a/.prettierrc +++ b/.prettierrc @@ -1,3 +1,8 @@ { - "singleQuote": true -} \ No newline at end of file + "singleQuote": true, + "svelteSortOrder": "options-scripts-markup-styles", + "svelteBracketNewLine": false, + "useTabs": true, + "trailingComma": "none", + "printWidth": 100 +} diff --git a/Dockerfile b/Dockerfile index 5c09b020..f2795c8b 100644 --- a/Dockerfile +++ b/Dockerfile @@ -6,9 +6,7 @@ # Stop : press ctrl + c # or # docker stop mermaid-live-editor - - -FROM node:13.6.0-alpine as mermaid-live-editor-builder +FROM node:14.17.0 as mermaid-live-editor-builder COPY --chown=node:node . /home WORKDIR /home RUN yarn install diff --git a/README.md b/README.md index 0d2ac3be..a7cd5804 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ -[![Join our Slack!](https://img.shields.io/static/v1?message=join%20chat&color=9cf&logo=slack&label=slack)](https://join.slack.com/t/mermaid-talk/shared_invite/enQtNzc4NDIyNzk4OTAyLWVhYjQxOTI2OTg4YmE1ZmJkY2Y4MTU3ODliYmIwOTY3NDJlYjA0YjIyZTdkMDMyZTUwOGI0NjEzYmEwODcwOTE) +[![Mermaid Live Editor](https://img.shields.io/endpoint?url=https://dashboard.cypress.io/badge/detailed/2ckppp/master&style=flat&logo=cypress)](https://dashboard.cypress.io/projects/2ckppp/runs) [![Join our Slack!](https://img.shields.io/static/v1?message=join%20chat&color=9cf&logo=slack&label=slack)](https://join.slack.com/t/mermaid-talk/shared_invite/enQtNzc4NDIyNzk4OTAyLWVhYjQxOTI2OTg4YmE1ZmJkY2Y4MTU3ODliYmIwOTY3NDJlYjA0YjIyZTdkMDMyZTUwOGI0NjEzYmEwODcwOTE) -# Contributors are welcome +# Contributors are welcome! If you want to speed up the progress for mermaid-live-editor, join the slack channel and contact knsv. @@ -8,7 +8,6 @@ If you want to speed up the progress for mermaid-live-editor, join the slack cha Edit, preview and share mermaid charts/diagrams. - ## Features - Edit and preview flowcharts, sequence diagrams, gantt diagrams in real time. @@ -16,46 +15,30 @@ Edit, preview and share mermaid charts/diagrams. - Get a link to a viewer of the diagram so that you can share it with others. - Get a link to edit the diagram so that someone else can tweak it and send a new link back - ## Live demo You can try out a live version [here](https://mermaid-js.github.io/mermaid-live-editor/). ## Setup -This project is set up using [Yarn](https://classic.yarnpkg.com/en/docs/getting-started): +[Volta](https://volta.sh) is used for managing node and yarn versions. + +This project is set up using [Yarn](https://classic.yarnpkg.com/en/docs/getting-started). : ``` yarn install ``` -or in develop branch to use the beta version of mermaid use - -``` -yarn install --update-checksums -``` - -This together with a .npmrc file: - -``` -registry=https://registry.npmjs.com/ -@mermaid-js:registry=https://npm.pkg.github.com -//npm.pkg.github.com/:_authToken="XXXXXXXXX" -``` - - ## Development ``` -yarn dev -open http://localhost:8080 +yarn dev -- --open ``` -This app is created with Svelte + svelte-spa-router. - +This app is created with Svelte Kit. ## Release -``` -yarn release -``` +When a PR is created targeting master, it will be built and deployed as a beta in http://mermaid-js.github.io/mermaid-live-editor/beta + +Once the PR is merged, it will automatically be released. diff --git a/bin/beta-release b/bin/beta-release index c04f79a0..0cfc6af3 100755 --- a/bin/beta-release +++ b/bin/beta-release @@ -4,9 +4,15 @@ # git clone git@github.com:mermaid-js/docs.git # git clone https://github.com/mermaid-js/docs.git - +set -e +rm -rf docs yarn release pushd . +if [ ! -d ../docs ]; then + echo "Clone https://github.com/mermaid-js/docs to parent folder before continuing." + exit +fi +rm -rf ../docs/mermaid-live-editor-beta/* cp -r docs/* ../docs/mermaid-live-editor-beta cd ../docs git add . diff --git a/bin/fix-path b/bin/fix-path new file mode 100755 index 00000000..6c0fdcc3 --- /dev/null +++ b/bin/fix-path @@ -0,0 +1,6 @@ +#!/bin/bash +pushd ../docs +# find ./ -type f -exec sed -i 's/service-worker.js/mermaid-live-editor\/service-worker.js/g' {} \; +find ./ -type f -exec sed -i 's/manifest.json/\/mermaid-live-editor\/manifest.json/g' {} \; +find ./ -type f -exec sed -i 's/favicon.png/\/mermaid-live-editor\/favicon.png/g' {} \; +popd \ No newline at end of file diff --git a/cypress.json b/cypress.json new file mode 100644 index 00000000..70b8e6bd --- /dev/null +++ b/cypress.json @@ -0,0 +1,11 @@ +{ + "projectId": "2ckppp", + "$schema": "https://on.cypress.io/cypress.schema.json", + "baseUrl": "http://localhost:3000", + "pluginsFile": "./cypress/plugins/index.cjs", + "viewportWidth": 1440, + "viewportHeight": 768, + "snapshotFileName": "./cypress/snapshots.js", + "defaultCommandTimeout": 16000, + "requestTimeout": 16000 +} diff --git a/cypress/.eslintrc b/cypress/.eslintrc new file mode 100644 index 00000000..2fc83573 --- /dev/null +++ b/cypress/.eslintrc @@ -0,0 +1,12 @@ +{ + "plugins": ["cypress", "mocha"], + "extends": ["plugin:cypress/recommended", "plugin:mocha/recommended"], + "rules": { + "jest/expect-expect": "off", + "mocha/no-mocha-arrows": "off" + }, + "env": { + "cypress/globals": true, + "mocha": true + } +} diff --git a/cypress/fixtures/example.json b/cypress/fixtures/example.json new file mode 100644 index 00000000..0ff2d645 --- /dev/null +++ b/cypress/fixtures/example.json @@ -0,0 +1,5 @@ +{ + "name": "Using fixtures to represent data", + "email": "hello@cypress.io", + "body": "Fixtures are a great way to mock data for responses to routes" +} diff --git a/cypress/integration/actions.spec.ts b/cypress/integration/actions.spec.ts new file mode 100644 index 00000000..6a2a8268 --- /dev/null +++ b/cypress/integration/actions.spec.ts @@ -0,0 +1,20 @@ +describe('Check actions', () => { + // eslint-disable-next-line mocha/no-hooks-for-single-case + beforeEach(() => { + cy.clearLocalStorage(); + cy.visit('/edit'); + cy.contains('Actions').click(); + }); + it('should update markdown code', () => { + cy.get('#markdown') + .invoke('val') + .then((oldText) => { + cy.get('#editor').click('bottom').type('{enter}C --> HistoryTest'); + cy.get('#markdown') + .invoke('val') + .then((newText) => { + expect(oldText).to.not.eq(newText); + }); + }); + }); +}); diff --git a/cypress/integration/diagramUpdate.spec.ts b/cypress/integration/diagramUpdate.spec.ts new file mode 100644 index 00000000..0edcf569 --- /dev/null +++ b/cypress/integration/diagramUpdate.spec.ts @@ -0,0 +1,33 @@ +describe('Auto sync tests', () => { + beforeEach(() => { + cy.clearLocalStorage(); + cy.visit('/'); + }); + it('should dim diagram when code is edited', () => { + cy.contains('Auto sync').click(); + cy.get('#view').should('not.have.class', 'outOfSync'); + cy.get('#editor').type(' C --> Test'); + cy.get('#view').should('have.class', 'outOfSync'); + cy.getLocalStorage('codeStore').snapshot(); + }); + + it('should show/hide sync button with auto sync', () => { + cy.get('[data-cy=sync]').should('not.exist'); + cy.contains('Auto sync').click(); + cy.get('[data-cy=sync]').should('exist'); + cy.get('#autoSync').check(); + cy.get('[data-cy=sync]').should('not.exist'); + }); + it('should not dim diagram when code is in sync', () => { + cy.contains('Auto sync').click(); + cy.get('#view').should('not.have.class', 'outOfSync'); + cy.get('#editor').type(' C --> Test'); + cy.get('#view').should('have.class', 'outOfSync'); + cy.get('[data-cy=sync]').click(); + cy.get('#view').should('not.have.class', 'outOfSync'); + cy.get('#autoSync').check(); + cy.get('#editor').type('ing'); + cy.get('#view').should('not.have.class', 'outOfSync'); + cy.getLocalStorage('codeStore').snapshot(); + }); +}); diff --git a/cypress/integration/history.spec.ts b/cypress/integration/history.spec.ts new file mode 100644 index 00000000..5bdedef0 --- /dev/null +++ b/cypress/integration/history.spec.ts @@ -0,0 +1,60 @@ +describe('Save History', () => { + beforeEach(() => { + cy.clearLocalStorage(); + cy.visit('/edit'); + }); + it('should save when clicked', () => { + cy.get('#historyList').find('li').should('have.length', 0); + cy.get('#historyList').contains('No items in History'); + cy.get('#saveHistory').click(); + cy.get('#historyList').find('No items in History').should('not.exist'); + cy.get('#historyList').find('li').should('have.length', 1); + cy.get('#saveHistory').click(); + cy.on('window:alert', (str) => { + expect(str).to.equal('State already saved.'); + }); + cy.on('window:confirm', () => true); + cy.get('#editor').type(' C --> HistoryTest'); + cy.get('#saveHistory').click(); + cy.get('#historyList').find('li').should('have.length', 2); + }); + + it('should be able to restore and delete', () => { + cy.get('#saveHistory').click(); + cy.get('#editor').type(' C --> HistoryTest'); + cy.get('#historyList').find('No items in History').should('not.exist'); + cy.get('#historyList').find('li').should('have.length', 1); + cy.contains('HistoryTest'); + cy.contains('Restore').click(); + cy.contains('HistoryTest').should('not.exist'); + cy.contains('Delete').click(); + cy.get('#historyList').find('li').should('have.length', 0); + cy.get('#historyList').contains('No items in History'); + cy.get('#saveHistory').click(); + cy.get('#editor').type(' C --> HistoryTest'); + cy.get('#saveHistory').click(); + cy.get('#editor').type('ing'); + cy.get('#clearHistory').click(); + cy.on('window:alert', (str) => { + expect(str).to.equal('Clear all saved items?'); + }); + cy.on('window:confirm', () => true); + cy.get('#historyList').contains('No items in History'); + }); + + it('should auto save history', () => { + cy.clock(); + cy.get('#editor').type(' C --> HistoryTest'); + cy.tick(70000); + cy.contains('Timeline').click(); + cy.get('#historyList').find('li').should('have.length', 1); + cy.get('#editor').type('ing'); + cy.tick(70000); + cy.get('#historyList').find('li').should('have.length', 2); + for (let i = 0; i < 31; i++) { + cy.get('#editor').type('.'); + cy.tick(70000); + } + cy.get('#historyList').find('li').should('have.length', 30); + }); +}); diff --git a/cypress/integration/loadSite.spec.ts b/cypress/integration/loadSite.spec.ts new file mode 100644 index 00000000..0c58d373 --- /dev/null +++ b/cypress/integration/loadSite.spec.ts @@ -0,0 +1,32 @@ +describe('Site Loads', () => { + beforeEach(() => { + cy.clearLocalStorage(); + }); + it('Check Home page load', () => { + cy.visit('/'); + cy.url().should('include', '/edit'); + cy.contains('History').click(); + cy.getLocalStorage('codeStore').snapshot(); + }); + + it('Check Redirect from old URL', () => { + cy.visit( + '/#/edit/eyJjb2RlIjoiZ3JhcGggVERcbiAgICBBW0NocmlzdG1hc10gLS0-fEdldCBtb25leXwgQihHbyBzaG9wcGluZylcbiAgICBCIC0tPiBDe0xldCBtZSB0aGlua31cbiAgICBDIC0tPnxPbmV8IERbTGFwdG9wXVxuICAgIEMgLS0-fFR3b3wgRVtpUGhvbmVdXG4gICAgQyAtLT58VGhyZWV8IEZbZmE6ZmEtY2FyIENhcl0iLCJtZXJtYWlkIjp7InRoZW1lIjoiZGVmYXVsdCJ9LCJ1cGRhdGVFZGl0b3IiOmZhbHNlfQ' + ); + cy.url().should( + 'include', + '/edit/eyJjb2RlIjoiZ3JhcGggVERcbiAgICBBW0NocmlzdG1hc10gLS0-fEdldCBtb25leXwgQihHbyBzaG9wcGluZylcbiAgICBCIC0tPiBDe0xldCBtZSB0aGlua31cbiAgICBDIC0tPnxPbmV8IERbTGFwdG9wXVxuICAgIEMgLS0-fFR3b3wgRVtpUGhvbmVdXG4gICAgQyAtLT58VGhyZWV8IEZbZmE6ZmEtY2FyIENhcl0iLCJtZXJtYWlkIjp7InRoZW1lIjoiZGVmYXVsdCJ9LCJ1cGRhdGVFZGl0b3IiOmZhbHNlfQ' + ); + + cy.contains('History').click(); + cy.getLocalStorage('codeStore').snapshot(); + }); + + it('should load sample diagrams when clicked', () => { + cy.contains('Sample Diagrams').click(); + cy.contains('Pie Chart').click(); + cy.contains('pie title Pets adopted by volunteers'); + cy.contains('Class Diagram').click(); + cy.contains('classDiagram'); + }); +}); diff --git a/cypress/plugins/index.cjs b/cypress/plugins/index.cjs new file mode 100644 index 00000000..f7ffbe14 --- /dev/null +++ b/cypress/plugins/index.cjs @@ -0,0 +1,31 @@ +/// +// *********************************************************** +// This example plugins/index.js can be used to load plugins +// +// You can change the location of this file or turn off loading +// the plugins file with the 'pluginsFile' configuration option. +// +// You can read more here: +// https://on.cypress.io/plugins-guide +// *********************************************************** + +// This function is called when a project is opened or re-opened (e.g. due to +// the project's config changing) + +/** + * @type {Cypress.PluginConfig} + */ +// eslint-disable-next-line no-unused-vars +import * as fs from 'fs'; + +module.exports = (on, config) => { + on('task', { + readFileMaybe(filename) { + if (fs.existsSync(filename)) { + return fs.readFileSync(filename, 'utf8'); + } + + return null; + } + }); +}; diff --git a/cypress/snapshots.js b/cypress/snapshots.js new file mode 100644 index 00000000..f94d5e4a --- /dev/null +++ b/cypress/snapshots.js @@ -0,0 +1,19 @@ +module.exports = { + "Site Loads": { + "Check Home page load": { + "1": "{\"code\":\"graph TD\\n A[Christmas] -->|Get money| B(Go shopping)\\n B --> C{Let me think}\\n C -->|One| D[Laptop]\\n C -->|Two| E[iPhone]\\n C -->|Three| F[fa:fa-car Car]\\n \",\"mermaid\":\"{\\n \\\"theme\\\": \\\"default\\\"\\n}\",\"updateEditor\":true,\"autoSync\":true,\"updateDiagram\":true}" + }, + "Check Redirect from old URL": { + "1": "{\"code\":\"graph TD\\n A[Christmas] -->|Get money| B(Go shopping)\\n B --> C{Let me think}\\n C -->|One| D[Laptop]\\n C -->|Two| E[iPhone]\\n C -->|Three| F[fa:fa-car Car]\",\"mermaid\":\"{\\n \\\"theme\\\": \\\"default\\\"\\n}\",\"updateEditor\":false,\"autoSync\":true,\"updateDiagram\":false}" + } + }, + "__version": "7.3.0", + "Auto sync tests": { + "should dim diagram when code is edited": { + "1": "{\"code\":\"graph TD\\n A[Christmas] -->|Get money| B(Go shopping)\\n B --> C{Let me think}\\n C -->|One| D[Laptop]\\n C -->|Two| E[iPhone]\\n C -->|Three| F[fa:fa-car Car]\\n C --> Test\",\"mermaid\":\"{\\n \\\"theme\\\": \\\"default\\\"\\n}\",\"updateEditor\":false,\"autoSync\":false,\"updateDiagram\":false}" + }, + "should not dim diagram when code is in sync": { + "1": "{\"code\":\"graph TD\\n A[Christmas] -->|Get money| B(Go shopping)\\n B --> C{Let me think}\\n C -->|One| D[Laptop]\\n C -->|Two| E[iPhone]\\n C -->|Three| F[fa:fa-car Car]\\n C --> Testing\",\"mermaid\":\"{\\n \\\"theme\\\": \\\"default\\\"\\n}\",\"updateEditor\":false,\"autoSync\":true,\"updateDiagram\":false}" + } + } +} diff --git a/cypress/support/commands.ts b/cypress/support/commands.ts new file mode 100644 index 00000000..fe4e2603 --- /dev/null +++ b/cypress/support/commands.ts @@ -0,0 +1,38 @@ +// *********************************************** +// This example commands.js shows you how to +// create various custom commands and overwrite +// existing commands. +// +// For more comprehensive examples of custom +// commands please read more here: +// https://on.cypress.io/custom-commands +// *********************************************** +// +// +// -- This is a parent command -- +// Cypress.Commands.add('login', (email, password) => { ... }) +// +// +// -- This is a child command -- +// Cypress.Commands.add('drag', { prevSubject: 'element'}, (subject, options) => { ... }) +// +// +// -- This is a dual command -- +// Cypress.Commands.add('dismiss', { prevSubject: 'optional'}, (subject, options) => { ... }) +// +// +// -- This will overwrite an existing command -- +// Cypress.Commands.overwrite('visit', (originalFn, url, options) => { ... }) +import { register } from '@cypress/snapshot'; +// eslint-disable-next-line @typescript-eslint/no-unsafe-call +register(); +declare global { + // eslint-disable-next-line @typescript-eslint/no-namespace + namespace Cypress { + interface Chainable { + snapshot(): void; + } + } +} + +import 'cypress-localstorage-commands'; diff --git a/cypress/support/index.js b/cypress/support/index.js new file mode 100644 index 00000000..01ff920f --- /dev/null +++ b/cypress/support/index.js @@ -0,0 +1,27 @@ +// *********************************************************** +// This example support/index.js is processed and +// loaded automatically before your test files. +// +// This is a great place to put global configuration and +// behavior that modifies Cypress. +// +// You can change the location of this file or turn off +// automatically serving support files with the +// 'supportFile' configuration option. +// +// You can read more here: +// https://on.cypress.io/configuration +// *********************************************************** + +// Import commands.js using ES2015 syntax: +import './commands'; + +// Alternatively you can use CommonJS syntax: +// require('./commands') +const resizeObserverLoopErrRe = /^[^(ResizeObserver loop limit exceeded)]/; +Cypress.on('uncaught:exception', (err) => { + /* returning false here prevents Cypress from failing the test */ + if (resizeObserverLoopErrRe.test(err.message)) { + return false; + } +}); diff --git a/cypress/tsconfig.json b/cypress/tsconfig.json new file mode 100644 index 00000000..77501744 --- /dev/null +++ b/cypress/tsconfig.json @@ -0,0 +1,7 @@ +{ + "compilerOptions": { + "allowJs": true, + "types": ["cypress", "cypress-localstorage-commands"] + }, + "include": ["**/*.ts"] +} diff --git a/docs/0.0.js b/docs/0.0.js deleted file mode 100644 index e733259a..00000000 --- a/docs/0.0.js +++ /dev/null @@ -1 +0,0 @@ -(window.webpackJsonp=window.webpackJsonp||[]).push([[0],{918:function(e,n,t){"use strict";t.r(n),t.d(n,"conf",(function(){return i})),t.d(n,"language",(function(){return r}));var i={comments:{lineComment:"//",blockComment:["/*","*/"]},brackets:[["{","}"],["[","]"],["(",")"]],autoClosingPairs:[{open:"[",close:"]"},{open:"{",close:"}"},{open:"(",close:")"},{open:"'",close:"'",notIn:["string","comment"]},{open:'"',close:'"',notIn:["string"]}],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}],folding:{markers:{start:new RegExp("^\\s*#pragma\\s+region\\b"),end:new RegExp("^\\s*#pragma\\s+endregion\\b")}}},r={defaultToken:"",tokenPostfix:".cpp",brackets:[{token:"delimiter.curly",open:"{",close:"}"},{token:"delimiter.parenthesis",open:"(",close:")"},{token:"delimiter.square",open:"[",close:"]"},{token:"delimiter.angle",open:"<",close:">"}],keywords:["abstract","amp","array","auto","bool","break","case","catch","char","class","const","constexpr","const_cast","continue","cpu","decltype","default","delegate","delete","do","double","dynamic_cast","each","else","enum","event","explicit","export","extern","false","final","finally","float","for","friend","gcnew","generic","goto","if","in","initonly","inline","int","interface","interior_ptr","internal","literal","long","mutable","namespace","new","noexcept","nullptr","__nullptr","operator","override","partial","pascal","pin_ptr","private","property","protected","public","ref","register","reinterpret_cast","restrict","return","safe_cast","sealed","short","signed","sizeof","static","static_assert","static_cast","struct","switch","template","this","thread_local","throw","tile_static","true","try","typedef","typeid","typename","union","unsigned","using","virtual","void","volatile","wchar_t","where","while","_asm","_based","_cdecl","_declspec","_fastcall","_if_exists","_if_not_exists","_inline","_multiple_inheritance","_pascal","_single_inheritance","_stdcall","_virtual_inheritance","_w64","__abstract","__alignof","__asm","__assume","__based","__box","__builtin_alignof","__cdecl","__clrcall","__declspec","__delegate","__event","__except","__fastcall","__finally","__forceinline","__gc","__hook","__identifier","__if_exists","__if_not_exists","__inline","__int128","__int16","__int32","__int64","__int8","__interface","__leave","__m128","__m128d","__m128i","__m256","__m256d","__m256i","__m64","__multiple_inheritance","__newslot","__nogc","__noop","__nounwind","__novtordisp","__pascal","__pin","__pragma","__property","__ptr32","__ptr64","__raise","__restrict","__resume","__sealed","__single_inheritance","__stdcall","__super","__thiscall","__try","__try_cast","__typeof","__unaligned","__unhook","__uuidof","__value","__virtual_inheritance","__w64","__wchar_t"],operators:["=",">","<","!","~","?",":","==","<=",">=","!=","&&","||","++","--","+","-","*","/","&","|","^","%","<<",">>",">>>","+=","-=","*=","/=","&=","|=","^=","%=","<<=",">>=",">>>="],symbols:/[=>](?!@symbols)/,"@brackets"],[/@symbols/,{cases:{"@operators":"delimiter","@default":""}}],[/\d*\d+[eE]([\-+]?\d+)?(@floatsuffix)/,"number.float"],[/\d*\.\d+([eE][\-+]?\d+)?(@floatsuffix)/,"number.float"],[/0[xX][0-9a-fA-F']*[0-9a-fA-F](@integersuffix)/,"number.hex"],[/0[0-7']*[0-7](@integersuffix)/,"number.octal"],[/0[bB][0-1']*[0-1](@integersuffix)/,"number.binary"],[/\d[\d']*\d(@integersuffix)/,"number"],[/\d(@integersuffix)/,"number"],[/[;,.]/,"delimiter"],[/"([^"\\]|\\.)*$/,"string.invalid"],[/"/,"string","@string"],[/'[^\\']'/,"string"],[/(')(@escapes)(')/,["string","string.escape","string"]],[/'/,"string.invalid"]],whitespace:[[/[ \t\r\n]+/,""],[/\/\*\*(?!\/)/,"comment.doc","@doccomment"],[/\/\*/,"comment","@comment"],[/\/\/.*$/,"comment"]],comment:[[/[^\/*]+/,"comment"],[/\*\//,"comment","@pop"],[/[\/*]/,"comment"]],doccomment:[[/[^\/*]+/,"comment.doc"],[/\*\//,"comment.doc","@pop"],[/[\/*]/,"comment.doc"]],string:[[/[^\\"]+/,"string"],[/@escapes/,"string.escape"],[/\\./,"string.escape.invalid"],[/"/,"string","@pop"]],raw:[[/(.*)(\))(?:([^ ()\\\t"]*))(\")/,{cases:{"$3==$S2":["string.raw","string.raw.end","string.raw.end",{token:"string.raw.end",next:"@pop"}],"@default":["string.raw","string.raw","string.raw","string.raw"]}}],[/.*/,"string.raw"]],include:[[/(\s*)(<)([^<>]*)(>)/,["","keyword.directive.include.begin","string.include.identifier",{token:"keyword.directive.include.end",next:"@pop"}]],[/(\s*)(")([^"]*)(")/,["","keyword.directive.include.begin","string.include.identifier",{token:"keyword.directive.include.end",next:"@pop"}]]]}}}}]); \ No newline at end of file diff --git a/docs/0.0.js.map b/docs/0.0.js.map deleted file mode 100644 index 36df41e7..00000000 --- a/docs/0.0.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"sources":["webpack:///./node_modules/monaco-editor/esm/vs/basic-languages/cpp/cpp.js"],"names":[],"mappings":";;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AACA;AACA;AACA;AACO;AACP;AACA;AACA;AACA,KAAK;AACL;AACA,WAAW,KAAK;AAChB;AACA;AACA;AACA;AACA,SAAS,wBAAwB;AACjC,SAAS,SAAS,YAAY,GAAG;AACjC,SAAS,wBAAwB;AACjC,SAAS,sDAAsD;AAC/D,SAAS;AACT;AACA;AACA,SAAS,SAAS,YAAY,GAAG;AACjC,SAAS,wBAAwB;AACjC,SAAS,wBAAwB;AACjC,SAAS,wBAAwB;AACjC,SAAS;AACT;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACO;AACP;AACA;AACA;AACA,SAAS,mCAAmC,YAAY,GAAG;AAC3D,SAAS,wDAAwD;AACjE,SAAS,mDAAmD;AAC5D,SAAS;AACT;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,8CAA8C,IAAI,cAAc,EAAE,cAAc,EAAE;AAClF;AACA;AACA;AACA;AACA;AACA;AACA;AACA,kDAAkD,6CAA6C;AAC/F;AACA;AACA;AACA;AACA;AACA,sCAAsC,sBAAsB;AAC5D;AACA;AACA;AACA;AACA;AACA,aAAa,yBAAyB;AACtC;AACA;AACA,8BAA8B,uDAAuD;AACrF;AACA;AACA;AACA,iBAAiB;AACjB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,gBAAgB;AAChB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,6BAA6B;AAC7B;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,qBAAqB;AACrB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,qBAAqB;AACrB;AACA;AACA;AACA;AACA","file":"0.0.js","sourcesContent":["/*---------------------------------------------------------------------------------------------\n * Copyright (c) Microsoft Corporation. All rights reserved.\n * Licensed under the MIT License. See License.txt in the project root for license information.\n *--------------------------------------------------------------------------------------------*/\nexport var conf = {\n comments: {\n lineComment: '//',\n blockComment: ['/*', '*/']\n },\n brackets: [\n ['{', '}'],\n ['[', ']'],\n ['(', ')']\n ],\n autoClosingPairs: [\n { open: '[', close: ']' },\n { open: '{', close: '}' },\n { open: '(', close: ')' },\n { open: \"'\", close: \"'\", notIn: ['string', 'comment'] },\n { open: '\"', close: '\"', notIn: ['string'] }\n ],\n surroundingPairs: [\n { open: '{', close: '}' },\n { open: '[', close: ']' },\n { open: '(', close: ')' },\n { open: '\"', close: '\"' },\n { open: \"'\", close: \"'\" }\n ],\n folding: {\n markers: {\n start: new RegExp('^\\\\s*#pragma\\\\s+region\\\\b'),\n end: new RegExp('^\\\\s*#pragma\\\\s+endregion\\\\b')\n }\n }\n};\nexport var language = {\n defaultToken: '',\n tokenPostfix: '.cpp',\n brackets: [\n { token: 'delimiter.curly', open: '{', close: '}' },\n { token: 'delimiter.parenthesis', open: '(', close: ')' },\n { token: 'delimiter.square', open: '[', close: ']' },\n { token: 'delimiter.angle', open: '<', close: '>' }\n ],\n keywords: [\n 'abstract',\n 'amp',\n 'array',\n 'auto',\n 'bool',\n 'break',\n 'case',\n 'catch',\n 'char',\n 'class',\n 'const',\n 'constexpr',\n 'const_cast',\n 'continue',\n 'cpu',\n 'decltype',\n 'default',\n 'delegate',\n 'delete',\n 'do',\n 'double',\n 'dynamic_cast',\n 'each',\n 'else',\n 'enum',\n 'event',\n 'explicit',\n 'export',\n 'extern',\n 'false',\n 'final',\n 'finally',\n 'float',\n 'for',\n 'friend',\n 'gcnew',\n 'generic',\n 'goto',\n 'if',\n 'in',\n 'initonly',\n 'inline',\n 'int',\n 'interface',\n 'interior_ptr',\n 'internal',\n 'literal',\n 'long',\n 'mutable',\n 'namespace',\n 'new',\n 'noexcept',\n 'nullptr',\n '__nullptr',\n 'operator',\n 'override',\n 'partial',\n 'pascal',\n 'pin_ptr',\n 'private',\n 'property',\n 'protected',\n 'public',\n 'ref',\n 'register',\n 'reinterpret_cast',\n 'restrict',\n 'return',\n 'safe_cast',\n 'sealed',\n 'short',\n 'signed',\n 'sizeof',\n 'static',\n 'static_assert',\n 'static_cast',\n 'struct',\n 'switch',\n 'template',\n 'this',\n 'thread_local',\n 'throw',\n 'tile_static',\n 'true',\n 'try',\n 'typedef',\n 'typeid',\n 'typename',\n 'union',\n 'unsigned',\n 'using',\n 'virtual',\n 'void',\n 'volatile',\n 'wchar_t',\n 'where',\n 'while',\n '_asm',\n '_based',\n '_cdecl',\n '_declspec',\n '_fastcall',\n '_if_exists',\n '_if_not_exists',\n '_inline',\n '_multiple_inheritance',\n '_pascal',\n '_single_inheritance',\n '_stdcall',\n '_virtual_inheritance',\n '_w64',\n '__abstract',\n '__alignof',\n '__asm',\n '__assume',\n '__based',\n '__box',\n '__builtin_alignof',\n '__cdecl',\n '__clrcall',\n '__declspec',\n '__delegate',\n '__event',\n '__except',\n '__fastcall',\n '__finally',\n '__forceinline',\n '__gc',\n '__hook',\n '__identifier',\n '__if_exists',\n '__if_not_exists',\n '__inline',\n '__int128',\n '__int16',\n '__int32',\n '__int64',\n '__int8',\n '__interface',\n '__leave',\n '__m128',\n '__m128d',\n '__m128i',\n '__m256',\n '__m256d',\n '__m256i',\n '__m64',\n '__multiple_inheritance',\n '__newslot',\n '__nogc',\n '__noop',\n '__nounwind',\n '__novtordisp',\n '__pascal',\n '__pin',\n '__pragma',\n '__property',\n '__ptr32',\n '__ptr64',\n '__raise',\n '__restrict',\n '__resume',\n '__sealed',\n '__single_inheritance',\n '__stdcall',\n '__super',\n '__thiscall',\n '__try',\n '__try_cast',\n '__typeof',\n '__unaligned',\n '__unhook',\n '__uuidof',\n '__value',\n '__virtual_inheritance',\n '__w64',\n '__wchar_t'\n ],\n operators: [\n '=',\n '>',\n '<',\n '!',\n '~',\n '?',\n ':',\n '==',\n '<=',\n '>=',\n '!=',\n '&&',\n '||',\n '++',\n '--',\n '+',\n '-',\n '*',\n '/',\n '&',\n '|',\n '^',\n '%',\n '<<',\n '>>',\n '>>>',\n '+=',\n '-=',\n '*=',\n '/=',\n '&=',\n '|=',\n '^=',\n '%=',\n '<<=',\n '>>=',\n '>>>='\n ],\n // we include these common regular expressions\n symbols: /[=>](?!@symbols)/, '@brackets'],\n [\n /@symbols/,\n {\n cases: {\n '@operators': 'delimiter',\n '@default': ''\n }\n }\n ],\n // numbers\n [/\\d*\\d+[eE]([\\-+]?\\d+)?(@floatsuffix)/, 'number.float'],\n [/\\d*\\.\\d+([eE][\\-+]?\\d+)?(@floatsuffix)/, 'number.float'],\n [/0[xX][0-9a-fA-F']*[0-9a-fA-F](@integersuffix)/, 'number.hex'],\n [/0[0-7']*[0-7](@integersuffix)/, 'number.octal'],\n [/0[bB][0-1']*[0-1](@integersuffix)/, 'number.binary'],\n [/\\d[\\d']*\\d(@integersuffix)/, 'number'],\n [/\\d(@integersuffix)/, 'number'],\n // delimiter: after number because of .\\d floats\n [/[;,.]/, 'delimiter'],\n // strings\n [/\"([^\"\\\\]|\\\\.)*$/, 'string.invalid'],\n [/\"/, 'string', '@string'],\n // characters\n [/'[^\\\\']'/, 'string'],\n [/(')(@escapes)(')/, ['string', 'string.escape', 'string']],\n [/'/, 'string.invalid']\n ],\n whitespace: [\n [/[ \\t\\r\\n]+/, ''],\n [/\\/\\*\\*(?!\\/)/, 'comment.doc', '@doccomment'],\n [/\\/\\*/, 'comment', '@comment'],\n [/\\/\\/.*$/, 'comment']\n ],\n comment: [\n [/[^\\/*]+/, 'comment'],\n [/\\*\\//, 'comment', '@pop'],\n [/[\\/*]/, 'comment']\n ],\n //Identical copy of comment above, except for the addition of .doc\n doccomment: [\n [/[^\\/*]+/, 'comment.doc'],\n [/\\*\\//, 'comment.doc', '@pop'],\n [/[\\/*]/, 'comment.doc']\n ],\n string: [\n [/[^\\\\\"]+/, 'string'],\n [/@escapes/, 'string.escape'],\n [/\\\\./, 'string.escape.invalid'],\n [/\"/, 'string', '@pop']\n ],\n raw: [\n [\n /(.*)(\\))(?:([^ ()\\\\\\t\"]*))(\\\")/,\n {\n cases: {\n '$3==$S2': [\n 'string.raw',\n 'string.raw.end',\n 'string.raw.end',\n { token: 'string.raw.end', next: '@pop' }\n ],\n '@default': ['string.raw', 'string.raw', 'string.raw', 'string.raw']\n }\n }\n ],\n [/.*/, 'string.raw']\n ],\n include: [\n [\n /(\\s*)(<)([^<>]*)(>)/,\n [\n '',\n 'keyword.directive.include.begin',\n 'string.include.identifier',\n { token: 'keyword.directive.include.end', next: '@pop' }\n ]\n ],\n [\n /(\\s*)(\")([^\"]*)(\")/,\n [\n '',\n 'keyword.directive.include.begin',\n 'string.include.identifier',\n { token: 'keyword.directive.include.end', next: '@pop' }\n ]\n ]\n ]\n }\n};\n"],"sourceRoot":""} \ No newline at end of file diff --git a/docs/1.1.js b/docs/1.1.js deleted file mode 100644 index 351cd24b..00000000 --- a/docs/1.1.js +++ /dev/null @@ -1 +0,0 @@ -(window.webpackJsonp=window.webpackJsonp||[]).push([[1],{970:function(e,n,i){"use strict";i.r(n),i.d(n,"conf",(function(){return t})),i.d(n,"language",(function(){return r}));var t={comments:{lineComment:"//",blockComment:["/*","*/"]},brackets:[["{","}"],["[","]"],["(",")"],["begin","end"],["case","endcase"],["casex","endcase"],["casez","endcase"],["checker","endchecker"],["class","endclass"],["clocking","endclocking"],["config","endconfig"],["function","endfunction"],["generate","endgenerate"],["group","endgroup"],["interface","endinterface"],["module","endmodule"],["package","endpackage"],["primitive","endprimitive"],["program","endprogram"],["property","endproperty"],["specify","endspecify"],["sequence","endsequence"],["table","endtable"],["task","endtask"]],autoClosingPairs:[{open:"[",close:"]"},{open:"{",close:"}"},{open:"(",close:")"},{open:"'",close:"'",notIn:["string","comment"]},{open:'"',close:'"',notIn:["string"]}],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}],folding:{offSide:!1,markers:{start:new RegExp("^(?:\\s*|.*(?!\\/[\\/\\*])[^\\w])(?:begin|case(x|z)?|class|clocking|config|covergroup|function|generate|interface|module|package|primitive|property|program|sequence|specify|table|task)\\b"),end:new RegExp("^(?:\\s*|.*(?!\\/[\\/\\*])[^\\w])(?:end|endcase|endclass|endclocking|endconfig|endgroup|endfunction|endgenerate|endinterface|endmodule|endpackage|endprimitive|endproperty|endprogram|endsequence|endspecify|endtable|endtask)\\b")}}},r={defaultToken:"",tokenPostfix:".sv",brackets:[{token:"delimiter.curly",open:"{",close:"}"},{token:"delimiter.parenthesis",open:"(",close:")"},{token:"delimiter.square",open:"[",close:"]"},{token:"delimiter.angle",open:"<",close:">"}],keywords:["accept_on","alias","always","always_comb","always_ff","always_latch","and","assert","assign","assume","automatic","before","begin","bind","bins","binsof","bit","break","buf","bufif0","bufif1","byte","case","casex","casez","cell","chandle","checker","class","clocking","cmos","config","const","constraint","context","continue","cover","covergroup","coverpoint","cross","deassign","default","defparam","design","disable","dist","do","edge","else","end","endcase","endchecker","endclass","endclocking","endconfig","endfunction","endgenerate","endgroup","endinterface","endmodule","endpackage","endprimitive","endprogram","endproperty","endspecify","endsequence","endtable","endtask","enum","event","eventually","expect","export","extends","extern","final","first_match","for","force","foreach","forever","fork","forkjoin","function","generate","genvar","global","highz0","highz1","if","iff","ifnone","ignore_bins","illegal_bins","implements","implies","import","incdir","include","initial","inout","input","inside","instance","int","integer","interconnect","interface","intersect","join","join_any","join_none","large","let","liblist","library","local","localparam","logic","longint","macromodule","matches","medium","modport","module","nand","negedge","nettype","new","nexttime","nmos","nor","noshowcancelled","not","notif0","notif1","null","or","output","package","packed","parameter","pmos","posedge","primitive","priority","program","property","protected","pull0","pull1","pulldown","pullup","pulsestyle_ondetect","pulsestyle_onevent","pure","rand","randc","randcase","randsequence","rcmos","real","realtime","ref","reg","reject_on","release","repeat","restrict","return","rnmos","rpmos","rtran","rtranif0","rtranif1","s_always","s_eventually","s_nexttime","s_until","s_until_with","scalared","sequence","shortint","shortreal","showcancelled","signed","small","soft","solve","specify","specparam","static","string","strong","strong0","strong1","struct","super","supply0","supply1","sync_accept_on","sync_reject_on","table","tagged","task","this","throughout","time","timeprecision","timeunit","tran","tranif0","tranif1","tri","tri0","tri1","triand","trior","trireg","type","typedef","union","unique","unique0","unsigned","until","until_with","untyped","use","uwire","var","vectored","virtual","void","wait","wait_order","wand","weak","weak0","weak1","while","wildcard","wire","with","within","wor","xnor","xor"],builtin_gates:["and","nand","nor","or","xor","xnor","buf","not","bufif0","bufif1","notif1","notif0","cmos","nmos","pmos","rcmos","rnmos","rpmos","tran","tranif1","tranif0","rtran","rtranif1","rtranif0"],operators:["=","+=","-=","*=","/=","%=","&=","|=","^=","<<=",">>+","<<<=",">>>=","?",":","+","-","!","~","&","~&","|","~|","^","~^","^~","+","-","*","/","%","==","!=","===","!==","==?","!=?","&&","||","**","<","<=",">",">=","&","|","^",">>","<<",">>>","<<<","++","--","->","<->","inside","dist","::","+:","-:","*>","&&&","|->","|=>","#=#"],symbols:/[=>](?!@symbols)/,"@brackets"],[/@symbols/,{cases:{"@operators":"delimiter","@default":""}}],{include:"@numbers"},[/[;,.]/,"delimiter"],{include:"@strings"}],identifier_or_keyword:[[/@identifier/,{cases:{"@keywords":{token:"keyword.$0"},"@default":"identifier"}}]],numbers:[[/\d+?[\d_]*(?:\.[\d_]+)?[eE][\-+]?\d+/,"number.float"],[/\d+?[\d_]*\.[\d_]+(?:\s*@timeunits)?/,"number.float"],[/(?:\d+?[\d_]*\s*)?'[sS]?[dD]\s*[0-9xXzZ?]+?[0-9xXzZ?_]*/,"number"],[/(?:\d+?[\d_]*\s*)?'[sS]?[bB]\s*[0-1xXzZ?]+?[0-1xXzZ?_]*/,"number.binary"],[/(?:\d+?[\d_]*\s*)?'[sS]?[oO]\s*[0-7xXzZ?]+?[0-7xXzZ?_]*/,"number.octal"],[/(?:\d+?[\d_]*\s*)?'[sS]?[hH]\s*[0-9a-fA-FxXzZ?]+?[0-9a-fA-FxXzZ?_]*/,"number.hex"],[/1step/,"number"],[/[\dxXzZ]+?[\dxXzZ_]*(?:\s*@timeunits)?/,"number"],[/'[01xXzZ]+/,"number"]],module_instance:[{include:"@whitespace"},[/(#?)(\()/,["",{token:"@brackets",next:"@port_connection"}]],[/@identifier\s*[;={}\[\],]/,{token:"@rematch",next:"@pop"}],[/@symbols|[;={}\[\],]/,{token:"@rematch",next:"@pop"}],[/@identifier/,"type"],[/;/,"delimiter","@pop"]],port_connection:[{include:"@identifier_or_keyword"},{include:"@whitespace"},[/@systemcall/,"variable.predefined"],{include:"@numbers"},{include:"@strings"},[/[,]/,"delimiter"],[/\(/,"@brackets","@port_connection"],[/\)/,"@brackets","@pop"]],whitespace:[[/[ \t\r\n]+/,""],[/\/\*/,"comment","@comment"],[/\/\/.*$/,"comment"]],comment:[[/[^\/*]+/,"comment"],[/\*\//,"comment","@pop"],[/[\/*]/,"comment"]],strings:[[/"([^"\\]|\\.)*$/,"string.invalid"],[/"/,"string","@string"]],string:[[/[^\\"]+/,"string"],[/@escapes/,"string.escape"],[/\\./,"string.escape.invalid"],[/"/,"string","@pop"]],include:[[/(\s*)(")([\w*\/*]*)(.\w*)(")/,["","string.include.identifier","string.include.identifier","string.include.identifier",{token:"string.include.identifier",next:"@pop"}]],[/(\s*)(<)([\w*\/*]*)(.\w*)(>)/,["","string.include.identifier","string.include.identifier","string.include.identifier",{token:"string.include.identifier",next:"@pop"}]]]}}}}]); \ No newline at end of file diff --git a/docs/1.1.js.map b/docs/1.1.js.map deleted file mode 100644 index 42abae57..00000000 --- a/docs/1.1.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"sources":["webpack:///./node_modules/monaco-editor/esm/vs/basic-languages/systemverilog/systemverilog.js"],"names":[],"mappings":";;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AACA;AACA;AACA;AACO;AACP;AACA;AACA;AACA,KAAK;AACL;AACA,WAAW,KAAK;AAChB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS,wBAAwB;AACjC,SAAS,SAAS,YAAY,GAAG;AACjC,SAAS,wBAAwB;AACjC,SAAS,sDAAsD;AAC/D,SAAS;AACT;AACA;AACA,SAAS,SAAS,YAAY,GAAG;AACjC,SAAS,wBAAwB;AACjC,SAAS,wBAAwB;AACjC,SAAS,wBAAwB;AACjC,SAAS;AACT;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACO;AACP;AACA;AACA;AACA,SAAS,mCAAmC,YAAY,GAAG;AAC3D,SAAS,wDAAwD;AACjE,SAAS,mDAAmD;AAC5D,SAAS;AACT;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,+CAA+C,IAAI,OAAO,IAAI;AAC9D;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,6BAA6B;AAC7B,0CAA0C,sBAAsB;AAChE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,8BAA8B,uDAAuD;AACrF;AACA;AACA;AACA,aAAa,oCAAoC;AACjD;AACA,aAAa,yBAAyB;AACtC;AACA;AACA;AACA;AACA;AACA,iBAAiB;AACjB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,aAAa,sBAAsB;AACnC;AACA,gBAAgB;AAChB;AACA,aAAa;AACb;AACA;AACA;AACA;AACA;AACA;AACA,sCAAsC,sBAAsB;AAC5D;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,aAAa,yBAAyB;AACtC,+BAA+B,+CAA+C;AAC9E,8BAA8B,GAAG,UAAU,kCAAkC;AAC7E,yBAAyB,GAAG,UAAU,kCAAkC;AACxE;AACA,eAAe;AACf;AACA;AACA,aAAa,oCAAoC;AACjD,aAAa,yBAAyB;AACtC;AACA,aAAa,sBAAsB;AACnC,aAAa,sBAAsB;AACnC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,qBAAqB;AACrB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,qBAAqB;AACrB;AACA;AACA;AACA;AACA","file":"1.1.js","sourcesContent":["/*---------------------------------------------------------------------------------------------\n * Copyright (c) Microsoft Corporation. All rights reserved.\n * Licensed under the MIT License. See License.txt in the project root for license information.\n *--------------------------------------------------------------------------------------------*/\nexport var conf = {\n comments: {\n lineComment: '//',\n blockComment: ['/*', '*/']\n },\n brackets: [\n ['{', '}'],\n ['[', ']'],\n ['(', ')'],\n ['begin', 'end'],\n ['case', 'endcase'],\n ['casex', 'endcase'],\n ['casez', 'endcase'],\n ['checker', 'endchecker'],\n ['class', 'endclass'],\n ['clocking', 'endclocking'],\n ['config', 'endconfig'],\n ['function', 'endfunction'],\n ['generate', 'endgenerate'],\n ['group', 'endgroup'],\n ['interface', 'endinterface'],\n ['module', 'endmodule'],\n ['package', 'endpackage'],\n ['primitive', 'endprimitive'],\n ['program', 'endprogram'],\n ['property', 'endproperty'],\n ['specify', 'endspecify'],\n ['sequence', 'endsequence'],\n ['table', 'endtable'],\n ['task', 'endtask']\n ],\n autoClosingPairs: [\n { open: '[', close: ']' },\n { open: '{', close: '}' },\n { open: '(', close: ')' },\n { open: \"'\", close: \"'\", notIn: ['string', 'comment'] },\n { open: '\"', close: '\"', notIn: ['string'] }\n ],\n surroundingPairs: [\n { open: '{', close: '}' },\n { open: '[', close: ']' },\n { open: '(', close: ')' },\n { open: '\"', close: '\"' },\n { open: \"'\", close: \"'\" }\n ],\n folding: {\n offSide: false,\n markers: {\n start: new RegExp('^(?:\\\\s*|.*(?!\\\\/[\\\\/\\\\*])[^\\\\w])(?:begin|case(x|z)?|class|clocking|config|covergroup|function|generate|interface|module|package|primitive|property|program|sequence|specify|table|task)\\\\b'),\n end: new RegExp('^(?:\\\\s*|.*(?!\\\\/[\\\\/\\\\*])[^\\\\w])(?:end|endcase|endclass|endclocking|endconfig|endgroup|endfunction|endgenerate|endinterface|endmodule|endpackage|endprimitive|endproperty|endprogram|endsequence|endspecify|endtable|endtask)\\\\b')\n }\n }\n};\nexport var language = {\n defaultToken: '',\n tokenPostfix: '.sv',\n brackets: [\n { token: 'delimiter.curly', open: '{', close: '}' },\n { token: 'delimiter.parenthesis', open: '(', close: ')' },\n { token: 'delimiter.square', open: '[', close: ']' },\n { token: 'delimiter.angle', open: '<', close: '>' }\n ],\n keywords: [\n 'accept_on',\n 'alias',\n 'always',\n 'always_comb',\n 'always_ff',\n 'always_latch',\n 'and',\n 'assert',\n 'assign',\n 'assume',\n 'automatic',\n 'before',\n 'begin',\n 'bind',\n 'bins',\n 'binsof',\n 'bit',\n 'break',\n 'buf',\n 'bufif0',\n 'bufif1',\n 'byte',\n 'case',\n 'casex',\n 'casez',\n 'cell',\n 'chandle',\n 'checker',\n 'class',\n 'clocking',\n 'cmos',\n 'config',\n 'const',\n 'constraint',\n 'context',\n 'continue',\n 'cover',\n 'covergroup',\n 'coverpoint',\n 'cross',\n 'deassign',\n 'default',\n 'defparam',\n 'design',\n 'disable',\n 'dist',\n 'do',\n 'edge',\n 'else',\n 'end',\n 'endcase',\n 'endchecker',\n 'endclass',\n 'endclocking',\n 'endconfig',\n 'endfunction',\n 'endgenerate',\n 'endgroup',\n 'endinterface',\n 'endmodule',\n 'endpackage',\n 'endprimitive',\n 'endprogram',\n 'endproperty',\n 'endspecify',\n 'endsequence',\n 'endtable',\n 'endtask',\n 'enum',\n 'event',\n 'eventually',\n 'expect',\n 'export',\n 'extends',\n 'extern',\n 'final',\n 'first_match',\n 'for',\n 'force',\n 'foreach',\n 'forever',\n 'fork',\n 'forkjoin',\n 'function',\n 'generate',\n 'genvar',\n 'global',\n 'highz0',\n 'highz1',\n 'if',\n 'iff',\n 'ifnone',\n 'ignore_bins',\n 'illegal_bins',\n 'implements',\n 'implies',\n 'import',\n 'incdir',\n 'include',\n 'initial',\n 'inout',\n 'input',\n 'inside',\n 'instance',\n 'int',\n 'integer',\n 'interconnect',\n 'interface',\n 'intersect',\n 'join',\n 'join_any',\n 'join_none',\n 'large',\n 'let',\n 'liblist',\n 'library',\n 'local',\n 'localparam',\n 'logic',\n 'longint',\n 'macromodule',\n 'matches',\n 'medium',\n 'modport',\n 'module',\n 'nand',\n 'negedge',\n 'nettype',\n 'new',\n 'nexttime',\n 'nmos',\n 'nor',\n 'noshowcancelled',\n 'not',\n 'notif0',\n 'notif1',\n 'null',\n 'or',\n 'output',\n 'package',\n 'packed',\n 'parameter',\n 'pmos',\n 'posedge',\n 'primitive',\n 'priority',\n 'program',\n 'property',\n 'protected',\n 'pull0',\n 'pull1',\n 'pulldown',\n 'pullup',\n 'pulsestyle_ondetect',\n 'pulsestyle_onevent',\n 'pure',\n 'rand',\n 'randc',\n 'randcase',\n 'randsequence',\n 'rcmos',\n 'real',\n 'realtime',\n 'ref',\n 'reg',\n 'reject_on',\n 'release',\n 'repeat',\n 'restrict',\n 'return',\n 'rnmos',\n 'rpmos',\n 'rtran',\n 'rtranif0',\n 'rtranif1',\n 's_always',\n 's_eventually',\n 's_nexttime',\n 's_until',\n 's_until_with',\n 'scalared',\n 'sequence',\n 'shortint',\n 'shortreal',\n 'showcancelled',\n 'signed',\n 'small',\n 'soft',\n 'solve',\n 'specify',\n 'specparam',\n 'static',\n 'string',\n 'strong',\n 'strong0',\n 'strong1',\n 'struct',\n 'super',\n 'supply0',\n 'supply1',\n 'sync_accept_on',\n 'sync_reject_on',\n 'table',\n 'tagged',\n 'task',\n 'this',\n 'throughout',\n 'time',\n 'timeprecision',\n 'timeunit',\n 'tran',\n 'tranif0',\n 'tranif1',\n 'tri',\n 'tri0',\n 'tri1',\n 'triand',\n 'trior',\n 'trireg',\n 'type',\n 'typedef',\n 'union',\n 'unique',\n 'unique0',\n 'unsigned',\n 'until',\n 'until_with',\n 'untyped',\n 'use',\n 'uwire',\n 'var',\n 'vectored',\n 'virtual',\n 'void',\n 'wait',\n 'wait_order',\n 'wand',\n 'weak',\n 'weak0',\n 'weak1',\n 'while',\n 'wildcard',\n 'wire',\n 'with',\n 'within',\n 'wor',\n 'xnor',\n 'xor'\n ],\n builtin_gates: [\n 'and',\n 'nand',\n 'nor',\n 'or',\n 'xor',\n 'xnor',\n 'buf',\n 'not',\n 'bufif0',\n 'bufif1',\n 'notif1',\n 'notif0',\n 'cmos',\n 'nmos',\n 'pmos',\n 'rcmos',\n 'rnmos',\n 'rpmos',\n 'tran',\n 'tranif1',\n 'tranif0',\n 'rtran',\n 'rtranif1',\n 'rtranif0'\n ],\n operators: [\n // assignment operators\n '=',\n '+=',\n '-=',\n '*=',\n '/=',\n '%=',\n '&=',\n '|=',\n '^=',\n '<<=',\n '>>+',\n '<<<=',\n '>>>=',\n // conditional expression\n '?',\n ':',\n // Unary operators\n '+',\n '-',\n '!',\n '~',\n '&',\n '~&',\n '|',\n '~|',\n '^',\n '~^',\n '^~',\n //binary operators\n '+',\n '-',\n '*',\n '/',\n '%',\n '==',\n '!=',\n '===',\n '!==',\n '==?',\n '!=?',\n '&&',\n '||',\n '**',\n '<',\n '<=',\n '>',\n '>=',\n '&',\n '|',\n '^',\n '>>',\n '<<',\n '>>>',\n '<<<',\n // increment or decrement operator\n '++',\n '--',\n //binary logical operator\n '->',\n '<->',\n // binary set membership operator\n 'inside',\n // binary distrubution operator\n 'dist',\n '::',\n '+:',\n '-:',\n '*>',\n '&&&',\n '|->',\n '|=>',\n '#=#'\n ],\n // we include these common regular expressions\n symbols: /[=>](?!@symbols)/, '@brackets'],\n [\n /@symbols/,\n {\n cases: {\n '@operators': 'delimiter',\n '@default': ''\n }\n }\n ],\n // numbers\n { include: '@numbers' },\n // delimiter: after number because of .\\d floats\n [/[;,.]/, 'delimiter'],\n // strings\n { include: '@strings' }\n ],\n identifier_or_keyword: [\n [\n /@identifier/,\n {\n cases: {\n '@keywords': { token: 'keyword.$0' },\n '@default': 'identifier'\n }\n }\n ]\n ],\n numbers: [\n [/\\d+?[\\d_]*(?:\\.[\\d_]+)?[eE][\\-+]?\\d+/, 'number.float'],\n [/\\d+?[\\d_]*\\.[\\d_]+(?:\\s*@timeunits)?/, 'number.float'],\n [/(?:\\d+?[\\d_]*\\s*)?'[sS]?[dD]\\s*[0-9xXzZ?]+?[0-9xXzZ?_]*/, 'number'],\n [/(?:\\d+?[\\d_]*\\s*)?'[sS]?[bB]\\s*[0-1xXzZ?]+?[0-1xXzZ?_]*/, 'number.binary'],\n [/(?:\\d+?[\\d_]*\\s*)?'[sS]?[oO]\\s*[0-7xXzZ?]+?[0-7xXzZ?_]*/, 'number.octal'],\n [/(?:\\d+?[\\d_]*\\s*)?'[sS]?[hH]\\s*[0-9a-fA-FxXzZ?]+?[0-9a-fA-FxXzZ?_]*/, 'number.hex'],\n [/1step/, 'number'],\n [/[\\dxXzZ]+?[\\dxXzZ_]*(?:\\s*@timeunits)?/, 'number'],\n [/'[01xXzZ]+/, 'number']\n ],\n module_instance: [\n { include: '@whitespace' },\n [/(#?)(\\()/, ['', { token: '@brackets', next: '@port_connection' }]],\n [/@identifier\\s*[;={}\\[\\],]/, { token: '@rematch', next: '@pop' }],\n [/@symbols|[;={}\\[\\],]/, { token: '@rematch', next: '@pop' }],\n [/@identifier/, 'type'],\n [/;/, 'delimiter', '@pop']\n ],\n port_connection: [\n { include: '@identifier_or_keyword' },\n { include: '@whitespace' },\n [/@systemcall/, 'variable.predefined'],\n { include: '@numbers' },\n { include: '@strings' },\n [/[,]/, 'delimiter'],\n [/\\(/, '@brackets', '@port_connection'],\n [/\\)/, '@brackets', '@pop']\n ],\n whitespace: [\n [/[ \\t\\r\\n]+/, ''],\n [/\\/\\*/, 'comment', '@comment'],\n [/\\/\\/.*$/, 'comment']\n ],\n comment: [\n [/[^\\/*]+/, 'comment'],\n [/\\*\\//, 'comment', '@pop'],\n [/[\\/*]/, 'comment']\n ],\n strings: [\n [/\"([^\"\\\\]|\\\\.)*$/, 'string.invalid'],\n [/\"/, 'string', '@string']\n ],\n string: [\n [/[^\\\\\"]+/, 'string'],\n [/@escapes/, 'string.escape'],\n [/\\\\./, 'string.escape.invalid'],\n [/\"/, 'string', '@pop']\n ],\n include: [\n [\n /(\\s*)(\")([\\w*\\/*]*)(.\\w*)(\")/,\n [\n '',\n 'string.include.identifier',\n 'string.include.identifier',\n 'string.include.identifier',\n { token: 'string.include.identifier', next: '@pop' }\n ]\n ],\n [\n /(\\s*)(<)([\\w*\\/*]*)(.\\w*)(>)/,\n [\n '',\n 'string.include.identifier',\n 'string.include.identifier',\n 'string.include.identifier',\n { token: 'string.include.identifier', next: '@pop' }\n ]\n ]\n ]\n }\n};\n"],"sourceRoot":""} \ No newline at end of file diff --git a/docs/10.10.js b/docs/10.10.js deleted file mode 100644 index a65070ae..00000000 --- a/docs/10.10.js +++ /dev/null @@ -1 +0,0 @@ -(window.webpackJsonp=window.webpackJsonp||[]).push([[10],{914:function(e,s,o){"use strict";o.r(s),o.d(s,"conf",(function(){return n})),o.d(s,"language",(function(){return t}));var n={comments:{lineComment:"REM"},brackets:[["{","}"],["[","]"],["(",")"]],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'}],surroundingPairs:[{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'}],folding:{markers:{start:new RegExp("^\\s*(::\\s*|REM\\s+)#region"),end:new RegExp("^\\s*(::\\s*|REM\\s+)#endregion")}}},t={defaultToken:"",ignoreCase:!0,tokenPostfix:".bat",brackets:[{token:"delimiter.bracket",open:"{",close:"}"},{token:"delimiter.parenthesis",open:"(",close:")"},{token:"delimiter.square",open:"[",close:"]"}],keywords:/call|defined|echo|errorlevel|exist|for|goto|if|pause|set|shift|start|title|not|pushd|popd/,symbols:/[=>"]],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:"<",close:">"},{open:"'",close:"'"}],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:"<",close:">"},{open:"'",close:"'"}]},s={defaultToken:"",tokenPostfix:".cameligo",ignoreCase:!0,brackets:[{open:"{",close:"}",token:"delimiter.curly"},{open:"[",close:"]",token:"delimiter.square"},{open:"(",close:")",token:"delimiter.parenthesis"},{open:"<",close:">",token:"delimiter.angle"}],keywords:["abs","begin","Bytes","Crypto","Current","else","end","failwith","false","fun","if","in","let","let%entry","let%init","List","list","Map","map","match","match%nat","mod","not","operation","Operation","of","Set","set","sender","source","String","then","true","type","with"],typeKeywords:["int","unit","string","tz"],operators:["=",">","<","<=",">=","<>",":",":=","and","mod","or","+","-","*","/","@","&","^","%","->","<-"],symbols:/[=><:@\^&|+\-*\/\^%]+/,tokenizer:{root:[[/[a-zA-Z_][\w]*/,{cases:{"@keywords":{token:"keyword.$0"},"@default":"identifier"}}],{include:"@whitespace"},[/[{}()\[\]]/,"@brackets"],[/[<>](?!@symbols)/,"@brackets"],[/@symbols/,{cases:{"@operators":"delimiter","@default":""}}],[/\d*\.\d+([eE][\-+]?\d+)?/,"number.float"],[/\$[0-9a-fA-F]{1,16}/,"number.hex"],[/\d+/,"number"],[/[;,.]/,"delimiter"],[/'([^'\\]|\\.)*$/,"string.invalid"],[/'/,"string","@string"],[/'[^\\']'/,"string"],[/'/,"string.invalid"],[/\#\d+/,"string"]],comment:[[/[^\(\*]+/,"comment"],[/\*\)/,"comment","@pop"],[/\(\*/,"comment"]],string:[[/[^\\']+/,"string"],[/\\./,"string.escape.invalid"],[/'/,{token:"string.quote",bracket:"@close",next:"@pop"}]],whitespace:[[/[ \t\r\n]+/,"white"],[/\(\*/,"comment","@comment"],[/\/\/.*$/,"comment"]]}}}}]); \ No newline at end of file diff --git a/docs/11.11.js.map b/docs/11.11.js.map deleted file mode 100644 index d08e65e1..00000000 --- a/docs/11.11.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"sources":["webpack:///./node_modules/monaco-editor/esm/vs/basic-languages/cameligo/cameligo.js"],"names":[],"mappings":";;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AACA;AACA;AACA;AACO;AACP;AACA;AACA;AACA,KAAK;AACL;AACA,WAAW,KAAK;AAChB;AACA;AACA;AACA;AACA;AACA,SAAS,SAAS,YAAY,GAAG;AACjC,SAAS,wBAAwB;AACjC,SAAS,wBAAwB;AACjC,SAAS,wBAAwB;AACjC,SAAS;AACT;AACA;AACA,SAAS,SAAS,YAAY,GAAG;AACjC,SAAS,wBAAwB;AACjC,SAAS,wBAAwB;AACjC,SAAS,wBAAwB;AACjC,SAAS;AACT;AACA;AACO;AACP;AACA;AACA;AACA;AACA,SAAS,SAAS,YAAY,6BAA6B;AAC3D,SAAS,mDAAmD;AAC5D,SAAS,wDAAwD;AACjE,SAAS;AACT;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,sCAAsC,sBAAsB;AAC5D;AACA;AACA;AACA;AACA;AACA,aAAa,yBAAyB;AACtC;AACA,iBAAiB;AACjB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,4BAA4B,KAAK;AACjC;AACA;AACA,gBAAgB;AAChB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,mBAAmB,yDAAyD;AAC5E;AACA;AACA;AACA;AACA;AACA;AACA;AACA","file":"11.11.js","sourcesContent":["/*---------------------------------------------------------------------------------------------\n * Copyright (c) Microsoft Corporation. All rights reserved.\n * Licensed under the MIT License. See License.txt in the project root for license information.\n *--------------------------------------------------------------------------------------------*/\nexport var conf = {\n comments: {\n lineComment: '//',\n blockComment: ['(*', '*)']\n },\n brackets: [\n ['{', '}'],\n ['[', ']'],\n ['(', ')'],\n ['<', '>']\n ],\n autoClosingPairs: [\n { open: '{', close: '}' },\n { open: '[', close: ']' },\n { open: '(', close: ')' },\n { open: '<', close: '>' },\n { open: \"'\", close: \"'\" }\n ],\n surroundingPairs: [\n { open: '{', close: '}' },\n { open: '[', close: ']' },\n { open: '(', close: ')' },\n { open: '<', close: '>' },\n { open: \"'\", close: \"'\" }\n ]\n};\nexport var language = {\n defaultToken: '',\n tokenPostfix: '.cameligo',\n ignoreCase: true,\n brackets: [\n { open: '{', close: '}', token: 'delimiter.curly' },\n { open: '[', close: ']', token: 'delimiter.square' },\n { open: '(', close: ')', token: 'delimiter.parenthesis' },\n { open: '<', close: '>', token: 'delimiter.angle' }\n ],\n keywords: [\n 'abs',\n 'begin',\n 'Bytes',\n 'Crypto',\n 'Current',\n 'else',\n 'end',\n 'failwith',\n 'false',\n 'fun',\n 'if',\n 'in',\n 'let',\n 'let%entry',\n 'let%init',\n 'List',\n 'list',\n 'Map',\n 'map',\n 'match',\n 'match%nat',\n 'mod',\n 'not',\n 'operation',\n 'Operation',\n 'of',\n 'Set',\n 'set',\n 'sender',\n 'source',\n 'String',\n 'then',\n 'true',\n 'type',\n 'with'\n ],\n typeKeywords: ['int', 'unit', 'string', 'tz'],\n operators: [\n '=',\n '>',\n '<',\n '<=',\n '>=',\n '<>',\n ':',\n ':=',\n 'and',\n 'mod',\n 'or',\n '+',\n '-',\n '*',\n '/',\n '@',\n '&',\n '^',\n '%',\n '->',\n '<-'\n ],\n // we include these common regular expressions\n symbols: /[=><:@\\^&|+\\-*\\/\\^%]+/,\n // The main tokenizer for our languages\n tokenizer: {\n root: [\n // identifiers and keywords\n [\n /[a-zA-Z_][\\w]*/,\n {\n cases: {\n '@keywords': { token: 'keyword.$0' },\n '@default': 'identifier'\n }\n }\n ],\n // whitespace\n { include: '@whitespace' },\n // delimiters and operators\n [/[{}()\\[\\]]/, '@brackets'],\n [/[<>](?!@symbols)/, '@brackets'],\n [\n /@symbols/,\n {\n cases: {\n '@operators': 'delimiter',\n '@default': ''\n }\n }\n ],\n // numbers\n [/\\d*\\.\\d+([eE][\\-+]?\\d+)?/, 'number.float'],\n [/\\$[0-9a-fA-F]{1,16}/, 'number.hex'],\n [/\\d+/, 'number'],\n // delimiter: after number because of .\\d floats\n [/[;,.]/, 'delimiter'],\n // strings\n [/'([^'\\\\]|\\\\.)*$/, 'string.invalid'],\n [/'/, 'string', '@string'],\n // characters\n [/'[^\\\\']'/, 'string'],\n [/'/, 'string.invalid'],\n [/\\#\\d+/, 'string']\n ],\n /* */\n comment: [\n [/[^\\(\\*]+/, 'comment'],\n //[/\\(\\*/, 'comment', '@push' ], // nested comment not allowed :-(\n [/\\*\\)/, 'comment', '@pop'],\n [/\\(\\*/, 'comment']\n ],\n string: [\n [/[^\\\\']+/, 'string'],\n [/\\\\./, 'string.escape.invalid'],\n [/'/, { token: 'string.quote', bracket: '@close', next: '@pop' }]\n ],\n whitespace: [\n [/[ \\t\\r\\n]+/, 'white'],\n [/\\(\\*/, 'comment', '@comment'],\n [/\\/\\/.*$/, 'comment']\n ]\n }\n};\n"],"sourceRoot":""} \ No newline at end of file diff --git a/docs/12.12.js b/docs/12.12.js deleted file mode 100644 index 49955e38..00000000 --- a/docs/12.12.js +++ /dev/null @@ -1 +0,0 @@ -(window.webpackJsonp=window.webpackJsonp||[]).push([[12],{916:function(e,t,n){"use strict";n.r(t),n.d(t,"conf",(function(){return r})),n.d(t,"language",(function(){return s}));var r={comments:{lineComment:";;"},brackets:[["[","]"],["(",")"],["{","}"]],autoClosingPairs:[{open:"[",close:"]"},{open:'"',close:'"'},{open:"(",close:")"},{open:"{",close:"}"}],surroundingPairs:[{open:"[",close:"]"},{open:'"',close:'"'},{open:"(",close:")"},{open:"{",close:"}"}]},s={defaultToken:"",ignoreCase:!0,tokenPostfix:".clj",brackets:[{open:"[",close:"]",token:"delimiter.square"},{open:"(",close:")",token:"delimiter.parenthesis"},{open:"{",close:"}",token:"delimiter.curly"}],constants:["true","false","nil"],numbers:/^(?:[+\-]?\d+(?:(?:N|(?:[eE][+\-]?\d+))|(?:\.?\d*(?:M|(?:[eE][+\-]?\d+))?)|\/\d+|[xX][0-9a-fA-F]+|r[0-9a-zA-Z]+)?(?=[\\\[\]\s"#'(),;@^`{}~]|$))/,characters:/^(?:\\(?:backspace|formfeed|newline|return|space|tab|o[0-7]{3}|u[0-9A-Fa-f]{4}|x[0-9A-Fa-f]{4}|.)?(?=[\\\[\]\s"(),;@^`{}~]|$))/,escapes:/^\\(?:["'\\bfnrt]|x[0-9A-Fa-f]{1,4}|u[0-9A-Fa-f]{4}|U[0-9A-Fa-f]{8})/,qualifiedSymbols:/^(?:(?:[^\\\/\[\]\d\s"#'(),;@^`{}~][^\\\[\]\s"(),;@^`{}~]*(?:\.[^\\\/\[\]\d\s"#'(),;@^`{}~][^\\\[\]\s"(),;@^`{}~]*)*\/)?(?:\/|[^\\\/\[\]\d\s"#'(),;@^`{}~][^\\\[\]\s"(),;@^`{}~]*)*(?=[\\\[\]\s"(),;@^`{}~]|$))/,specialForms:[".","catch","def","do","if","monitor-enter","monitor-exit","new","quote","recur","set!","throw","try","var"],coreSymbols:["*","*'","*1","*2","*3","*agent*","*allow-unresolved-vars*","*assert*","*clojure-version*","*command-line-args*","*compile-files*","*compile-path*","*compiler-options*","*data-readers*","*default-data-reader-fn*","*e","*err*","*file*","*flush-on-newline*","*fn-loader*","*in*","*math-context*","*ns*","*out*","*print-dup*","*print-length*","*print-level*","*print-meta*","*print-namespace-maps*","*print-readably*","*read-eval*","*reader-resolver*","*source-path*","*suppress-read*","*unchecked-math*","*use-context-classloader*","*verbose-defrecords*","*warn-on-reflection*","+","+'","-","-'","->","->>","->ArrayChunk","->Eduction","->Vec","->VecNode","->VecSeq","-cache-protocol-fn","-reset-methods","..","/","<","<=","=","==",">",">=","EMPTY-NODE","Inst","StackTraceElement->vec","Throwable->map","accessor","aclone","add-classpath","add-watch","agent","agent-error","agent-errors","aget","alength","alias","all-ns","alter","alter-meta!","alter-var-root","amap","ancestors","and","any?","apply","areduce","array-map","as->","aset","aset-boolean","aset-byte","aset-char","aset-double","aset-float","aset-int","aset-long","aset-short","assert","assoc","assoc!","assoc-in","associative?","atom","await","await-for","await1","bases","bean","bigdec","bigint","biginteger","binding","bit-and","bit-and-not","bit-clear","bit-flip","bit-not","bit-or","bit-set","bit-shift-left","bit-shift-right","bit-test","bit-xor","boolean","boolean-array","boolean?","booleans","bound-fn","bound-fn*","bound?","bounded-count","butlast","byte","byte-array","bytes","bytes?","case","cast","cat","char","char-array","char-escape-string","char-name-string","char?","chars","chunk","chunk-append","chunk-buffer","chunk-cons","chunk-first","chunk-next","chunk-rest","chunked-seq?","class","class?","clear-agent-errors","clojure-version","coll?","comment","commute","comp","comparator","compare","compare-and-set!","compile","complement","completing","concat","cond","cond->","cond->>","condp","conj","conj!","cons","constantly","construct-proxy","contains?","count","counted?","create-ns","create-struct","cycle","dec","dec'","decimal?","declare","dedupe","default-data-readers","definline","definterface","defmacro","defmethod","defmulti","defn","defn-","defonce","defprotocol","defrecord","defstruct","deftype","delay","delay?","deliver","denominator","deref","derive","descendants","destructure","disj","disj!","dissoc","dissoc!","distinct","distinct?","doall","dorun","doseq","dosync","dotimes","doto","double","double-array","double?","doubles","drop","drop-last","drop-while","eduction","empty","empty?","ensure","ensure-reduced","enumeration-seq","error-handler","error-mode","eval","even?","every-pred","every?","ex-data","ex-info","extend","extend-protocol","extend-type","extenders","extends?","false?","ffirst","file-seq","filter","filterv","find","find-keyword","find-ns","find-protocol-impl","find-protocol-method","find-var","first","flatten","float","float-array","float?","floats","flush","fn","fn?","fnext","fnil","for","force","format","frequencies","future","future-call","future-cancel","future-cancelled?","future-done?","future?","gen-class","gen-interface","gensym","get","get-in","get-method","get-proxy-class","get-thread-bindings","get-validator","group-by","halt-when","hash","hash-combine","hash-map","hash-ordered-coll","hash-set","hash-unordered-coll","ident?","identical?","identity","if-let","if-not","if-some","ifn?","import","in-ns","inc","inc'","indexed?","init-proxy","inst-ms","inst-ms*","inst?","instance?","int","int-array","int?","integer?","interleave","intern","interpose","into","into-array","ints","io!","isa?","iterate","iterator-seq","juxt","keep","keep-indexed","key","keys","keyword","keyword?","last","lazy-cat","lazy-seq","let","letfn","line-seq","list","list*","list?","load","load-file","load-reader","load-string","loaded-libs","locking","long","long-array","longs","loop","macroexpand","macroexpand-1","make-array","make-hierarchy","map","map-entry?","map-indexed","map?","mapcat","mapv","max","max-key","memfn","memoize","merge","merge-with","meta","method-sig","methods","min","min-key","mix-collection-hash","mod","munge","name","namespace","namespace-munge","nat-int?","neg-int?","neg?","newline","next","nfirst","nil?","nnext","not","not-any?","not-empty","not-every?","not=","ns","ns-aliases","ns-imports","ns-interns","ns-map","ns-name","ns-publics","ns-refers","ns-resolve","ns-unalias","ns-unmap","nth","nthnext","nthrest","num","number?","numerator","object-array","odd?","or","parents","partial","partition","partition-all","partition-by","pcalls","peek","persistent!","pmap","pop","pop!","pop-thread-bindings","pos-int?","pos?","pr","pr-str","prefer-method","prefers","primitives-classnames","print","print-ctor","print-dup","print-method","print-simple","print-str","printf","println","println-str","prn","prn-str","promise","proxy","proxy-call-with-super","proxy-mappings","proxy-name","proxy-super","push-thread-bindings","pvalues","qualified-ident?","qualified-keyword?","qualified-symbol?","quot","rand","rand-int","rand-nth","random-sample","range","ratio?","rational?","rationalize","re-find","re-groups","re-matcher","re-matches","re-pattern","re-seq","read","read-line","read-string","reader-conditional","reader-conditional?","realized?","record?","reduce","reduce-kv","reduced","reduced?","reductions","ref","ref-history-count","ref-max-history","ref-min-history","ref-set","refer","refer-clojure","reify","release-pending-sends","rem","remove","remove-all-methods","remove-method","remove-ns","remove-watch","repeat","repeatedly","replace","replicate","require","reset!","reset-meta!","reset-vals!","resolve","rest","restart-agent","resultset-seq","reverse","reversible?","rseq","rsubseq","run!","satisfies?","second","select-keys","send","send-off","send-via","seq","seq?","seqable?","seque","sequence","sequential?","set","set-agent-send-executor!","set-agent-send-off-executor!","set-error-handler!","set-error-mode!","set-validator!","set?","short","short-array","shorts","shuffle","shutdown-agents","simple-ident?","simple-keyword?","simple-symbol?","slurp","some","some->","some->>","some-fn","some?","sort","sort-by","sorted-map","sorted-map-by","sorted-set","sorted-set-by","sorted?","special-symbol?","spit","split-at","split-with","str","string?","struct","struct-map","subs","subseq","subvec","supers","swap!","swap-vals!","symbol","symbol?","sync","tagged-literal","tagged-literal?","take","take-last","take-nth","take-while","test","the-ns","thread-bound?","time","to-array","to-array-2d","trampoline","transduce","transient","tree-seq","true?","type","unchecked-add","unchecked-add-int","unchecked-byte","unchecked-char","unchecked-dec","unchecked-dec-int","unchecked-divide-int","unchecked-double","unchecked-float","unchecked-inc","unchecked-inc-int","unchecked-int","unchecked-long","unchecked-multiply","unchecked-multiply-int","unchecked-negate","unchecked-negate-int","unchecked-remainder-int","unchecked-short","unchecked-subtract","unchecked-subtract-int","underive","unquote","unquote-splicing","unreduced","unsigned-bit-shift-right","update","update-in","update-proxy","uri?","use","uuid?","val","vals","var-get","var-set","var?","vary-meta","vec","vector","vector-of","vector?","volatile!","volatile?","vreset!","vswap!","when","when-first","when-let","when-not","when-some","while","with-bindings","with-bindings*","with-in-str","with-loading-context","with-local-vars","with-meta","with-open","with-out-str","with-precision","with-redefs","with-redefs-fn","xml-seq","zero?","zipmap"],tokenizer:{root:[{include:"@whitespace"},[/@numbers/,"number"],[/@characters/,"string"],{include:"@string"},[/[()\[\]{}]/,"@brackets"],[/\/#"(?:\.|(?:")|[^"\n])*"\/g/,"regexp"],[/[#'@^`~]/,"meta"],[/@qualifiedSymbols/,{cases:{"^:.+$":"constant","@specialForms":"keyword","@coreSymbols":"keyword","@constants":"constant","@default":"identifier"}}]],whitespace:[[/[\s,]+/,"white"],[/;.*$/,"comment"],[/\(comment\b/,"comment","@comment"]],comment:[[/\(/,"comment","@push"],[/\)/,"comment","@pop"],[/[^()]/,"comment"]],string:[[/"/,"string","@multiLineString"]],multiLineString:[[/"/,"string","@popall"],[/@escapes/,"string.escape"],[/./,"string"]]}}}}]); \ No newline at end of file diff --git a/docs/12.12.js.map b/docs/12.12.js.map deleted file mode 100644 index 87428b34..00000000 --- a/docs/12.12.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"sources":["webpack:///./node_modules/monaco-editor/esm/vs/basic-languages/clojure/clojure.js"],"names":[],"mappings":";;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AACA;AACA;AACA;AACO;AACP;AACA,wBAAwB;AACxB,KAAK;AACL;AACA;AACA;AACA,WAAW,KAAK;AAChB;AACA;AACA,SAAS,wBAAwB;AACjC,SAAS,wBAAwB;AACjC,SAAS,wBAAwB;AACjC,SAAS,SAAS,YAAY;AAC9B;AACA;AACA,SAAS,wBAAwB;AACjC,SAAS,wBAAwB;AACjC,SAAS,wBAAwB;AACjC,SAAS,SAAS,YAAY;AAC9B;AACA;AACO;AACP;AACA;AACA;AACA;AACA,SAAS,mDAAmD;AAC5D,SAAS,wDAAwD;AACjE,SAAS,SAAS,YAAY;AAC9B;AACA;AACA,oCAAoC,KAAK;AACzC,kJAAkJ,KAAK;AACvJ,6EAA6E,EAAE,cAAc,EAAE,cAAc,EAAE,qBAAqB,KAAK;AACzI,6CAA6C,IAAI,cAAc,EAAE,cAAc,EAAE;AACjF,kDAAkD,KAAK,iBAAiB,KAAK;AAC7E,wDAAwD,KAAK,iBAAiB,KAAK;AACnF;AACA,mDAAmD,KAAK,iBAAiB,KAAK,6BAA6B,KAAK,iBAAiB,KAAK,oCAAoC,KAAK,iBAAiB,KAAK,sBAAsB,KAAK;AAChO;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,aAAa,yBAAyB;AACtC;AACA;AACA;AACA;AACA;AACA,aAAa,qBAAqB;AAClC;AACA,uBAAuB;AACvB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,eAAe;AACf;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA","file":"12.12.js","sourcesContent":["/*---------------------------------------------------------------------------------------------\n * Copyright (c) Microsoft Corporation. All rights reserved.\n * Licensed under the MIT License. See License.txt in the project root for license information.\n *--------------------------------------------------------------------------------------------*/\nexport var conf = {\n comments: {\n lineComment: ';;'\n },\n brackets: [\n ['[', ']'],\n ['(', ')'],\n ['{', '}']\n ],\n autoClosingPairs: [\n { open: '[', close: ']' },\n { open: '\"', close: '\"' },\n { open: '(', close: ')' },\n { open: '{', close: '}' }\n ],\n surroundingPairs: [\n { open: '[', close: ']' },\n { open: '\"', close: '\"' },\n { open: '(', close: ')' },\n { open: '{', close: '}' }\n ]\n};\nexport var language = {\n defaultToken: '',\n ignoreCase: true,\n tokenPostfix: '.clj',\n brackets: [\n { open: '[', close: ']', token: 'delimiter.square' },\n { open: '(', close: ')', token: 'delimiter.parenthesis' },\n { open: '{', close: '}', token: 'delimiter.curly' }\n ],\n constants: ['true', 'false', 'nil'],\n // delimiters: /[\\\\\\[\\]\\s\"#'(),;@^`{}~]|$/,\n numbers: /^(?:[+\\-]?\\d+(?:(?:N|(?:[eE][+\\-]?\\d+))|(?:\\.?\\d*(?:M|(?:[eE][+\\-]?\\d+))?)|\\/\\d+|[xX][0-9a-fA-F]+|r[0-9a-zA-Z]+)?(?=[\\\\\\[\\]\\s\"#'(),;@^`{}~]|$))/,\n characters: /^(?:\\\\(?:backspace|formfeed|newline|return|space|tab|o[0-7]{3}|u[0-9A-Fa-f]{4}|x[0-9A-Fa-f]{4}|.)?(?=[\\\\\\[\\]\\s\"(),;@^`{}~]|$))/,\n escapes: /^\\\\(?:[\"'\\\\bfnrt]|x[0-9A-Fa-f]{1,4}|u[0-9A-Fa-f]{4}|U[0-9A-Fa-f]{8})/,\n // simple-namespace := /^[^\\\\\\/\\[\\]\\d\\s\"#'(),;@^`{}~][^\\\\\\[\\]\\s\"(),;@^`{}~]*/\n // simple-symbol := /^(?:\\/|[^\\\\\\/\\[\\]\\d\\s\"#'(),;@^`{}~][^\\\\\\[\\]\\s\"(),;@^`{}~]*)/\n // qualified-symbol := ((<.>)*)?\n qualifiedSymbols: /^(?:(?:[^\\\\\\/\\[\\]\\d\\s\"#'(),;@^`{}~][^\\\\\\[\\]\\s\"(),;@^`{}~]*(?:\\.[^\\\\\\/\\[\\]\\d\\s\"#'(),;@^`{}~][^\\\\\\[\\]\\s\"(),;@^`{}~]*)*\\/)?(?:\\/|[^\\\\\\/\\[\\]\\d\\s\"#'(),;@^`{}~][^\\\\\\[\\]\\s\"(),;@^`{}~]*)*(?=[\\\\\\[\\]\\s\"(),;@^`{}~]|$))/,\n specialForms: [\n '.',\n 'catch',\n 'def',\n 'do',\n 'if',\n 'monitor-enter',\n 'monitor-exit',\n 'new',\n 'quote',\n 'recur',\n 'set!',\n 'throw',\n 'try',\n 'var'\n ],\n coreSymbols: [\n '*',\n \"*'\",\n '*1',\n '*2',\n '*3',\n '*agent*',\n '*allow-unresolved-vars*',\n '*assert*',\n '*clojure-version*',\n '*command-line-args*',\n '*compile-files*',\n '*compile-path*',\n '*compiler-options*',\n '*data-readers*',\n '*default-data-reader-fn*',\n '*e',\n '*err*',\n '*file*',\n '*flush-on-newline*',\n '*fn-loader*',\n '*in*',\n '*math-context*',\n '*ns*',\n '*out*',\n '*print-dup*',\n '*print-length*',\n '*print-level*',\n '*print-meta*',\n '*print-namespace-maps*',\n '*print-readably*',\n '*read-eval*',\n '*reader-resolver*',\n '*source-path*',\n '*suppress-read*',\n '*unchecked-math*',\n '*use-context-classloader*',\n '*verbose-defrecords*',\n '*warn-on-reflection*',\n '+',\n \"+'\",\n '-',\n \"-'\",\n '->',\n '->>',\n '->ArrayChunk',\n '->Eduction',\n '->Vec',\n '->VecNode',\n '->VecSeq',\n '-cache-protocol-fn',\n '-reset-methods',\n '..',\n '/',\n '<',\n '<=',\n '=',\n '==',\n '>',\n '>=',\n 'EMPTY-NODE',\n 'Inst',\n 'StackTraceElement->vec',\n 'Throwable->map',\n 'accessor',\n 'aclone',\n 'add-classpath',\n 'add-watch',\n 'agent',\n 'agent-error',\n 'agent-errors',\n 'aget',\n 'alength',\n 'alias',\n 'all-ns',\n 'alter',\n 'alter-meta!',\n 'alter-var-root',\n 'amap',\n 'ancestors',\n 'and',\n 'any?',\n 'apply',\n 'areduce',\n 'array-map',\n 'as->',\n 'aset',\n 'aset-boolean',\n 'aset-byte',\n 'aset-char',\n 'aset-double',\n 'aset-float',\n 'aset-int',\n 'aset-long',\n 'aset-short',\n 'assert',\n 'assoc',\n 'assoc!',\n 'assoc-in',\n 'associative?',\n 'atom',\n 'await',\n 'await-for',\n 'await1',\n 'bases',\n 'bean',\n 'bigdec',\n 'bigint',\n 'biginteger',\n 'binding',\n 'bit-and',\n 'bit-and-not',\n 'bit-clear',\n 'bit-flip',\n 'bit-not',\n 'bit-or',\n 'bit-set',\n 'bit-shift-left',\n 'bit-shift-right',\n 'bit-test',\n 'bit-xor',\n 'boolean',\n 'boolean-array',\n 'boolean?',\n 'booleans',\n 'bound-fn',\n 'bound-fn*',\n 'bound?',\n 'bounded-count',\n 'butlast',\n 'byte',\n 'byte-array',\n 'bytes',\n 'bytes?',\n 'case',\n 'cast',\n 'cat',\n 'char',\n 'char-array',\n 'char-escape-string',\n 'char-name-string',\n 'char?',\n 'chars',\n 'chunk',\n 'chunk-append',\n 'chunk-buffer',\n 'chunk-cons',\n 'chunk-first',\n 'chunk-next',\n 'chunk-rest',\n 'chunked-seq?',\n 'class',\n 'class?',\n 'clear-agent-errors',\n 'clojure-version',\n 'coll?',\n 'comment',\n 'commute',\n 'comp',\n 'comparator',\n 'compare',\n 'compare-and-set!',\n 'compile',\n 'complement',\n 'completing',\n 'concat',\n 'cond',\n 'cond->',\n 'cond->>',\n 'condp',\n 'conj',\n 'conj!',\n 'cons',\n 'constantly',\n 'construct-proxy',\n 'contains?',\n 'count',\n 'counted?',\n 'create-ns',\n 'create-struct',\n 'cycle',\n 'dec',\n \"dec'\",\n 'decimal?',\n 'declare',\n 'dedupe',\n 'default-data-readers',\n 'definline',\n 'definterface',\n 'defmacro',\n 'defmethod',\n 'defmulti',\n 'defn',\n 'defn-',\n 'defonce',\n 'defprotocol',\n 'defrecord',\n 'defstruct',\n 'deftype',\n 'delay',\n 'delay?',\n 'deliver',\n 'denominator',\n 'deref',\n 'derive',\n 'descendants',\n 'destructure',\n 'disj',\n 'disj!',\n 'dissoc',\n 'dissoc!',\n 'distinct',\n 'distinct?',\n 'doall',\n 'dorun',\n 'doseq',\n 'dosync',\n 'dotimes',\n 'doto',\n 'double',\n 'double-array',\n 'double?',\n 'doubles',\n 'drop',\n 'drop-last',\n 'drop-while',\n 'eduction',\n 'empty',\n 'empty?',\n 'ensure',\n 'ensure-reduced',\n 'enumeration-seq',\n 'error-handler',\n 'error-mode',\n 'eval',\n 'even?',\n 'every-pred',\n 'every?',\n 'ex-data',\n 'ex-info',\n 'extend',\n 'extend-protocol',\n 'extend-type',\n 'extenders',\n 'extends?',\n 'false?',\n 'ffirst',\n 'file-seq',\n 'filter',\n 'filterv',\n 'find',\n 'find-keyword',\n 'find-ns',\n 'find-protocol-impl',\n 'find-protocol-method',\n 'find-var',\n 'first',\n 'flatten',\n 'float',\n 'float-array',\n 'float?',\n 'floats',\n 'flush',\n 'fn',\n 'fn?',\n 'fnext',\n 'fnil',\n 'for',\n 'force',\n 'format',\n 'frequencies',\n 'future',\n 'future-call',\n 'future-cancel',\n 'future-cancelled?',\n 'future-done?',\n 'future?',\n 'gen-class',\n 'gen-interface',\n 'gensym',\n 'get',\n 'get-in',\n 'get-method',\n 'get-proxy-class',\n 'get-thread-bindings',\n 'get-validator',\n 'group-by',\n 'halt-when',\n 'hash',\n 'hash-combine',\n 'hash-map',\n 'hash-ordered-coll',\n 'hash-set',\n 'hash-unordered-coll',\n 'ident?',\n 'identical?',\n 'identity',\n 'if-let',\n 'if-not',\n 'if-some',\n 'ifn?',\n 'import',\n 'in-ns',\n 'inc',\n \"inc'\",\n 'indexed?',\n 'init-proxy',\n 'inst-ms',\n 'inst-ms*',\n 'inst?',\n 'instance?',\n 'int',\n 'int-array',\n 'int?',\n 'integer?',\n 'interleave',\n 'intern',\n 'interpose',\n 'into',\n 'into-array',\n 'ints',\n 'io!',\n 'isa?',\n 'iterate',\n 'iterator-seq',\n 'juxt',\n 'keep',\n 'keep-indexed',\n 'key',\n 'keys',\n 'keyword',\n 'keyword?',\n 'last',\n 'lazy-cat',\n 'lazy-seq',\n 'let',\n 'letfn',\n 'line-seq',\n 'list',\n 'list*',\n 'list?',\n 'load',\n 'load-file',\n 'load-reader',\n 'load-string',\n 'loaded-libs',\n 'locking',\n 'long',\n 'long-array',\n 'longs',\n 'loop',\n 'macroexpand',\n 'macroexpand-1',\n 'make-array',\n 'make-hierarchy',\n 'map',\n 'map-entry?',\n 'map-indexed',\n 'map?',\n 'mapcat',\n 'mapv',\n 'max',\n 'max-key',\n 'memfn',\n 'memoize',\n 'merge',\n 'merge-with',\n 'meta',\n 'method-sig',\n 'methods',\n 'min',\n 'min-key',\n 'mix-collection-hash',\n 'mod',\n 'munge',\n 'name',\n 'namespace',\n 'namespace-munge',\n 'nat-int?',\n 'neg-int?',\n 'neg?',\n 'newline',\n 'next',\n 'nfirst',\n 'nil?',\n 'nnext',\n 'not',\n 'not-any?',\n 'not-empty',\n 'not-every?',\n 'not=',\n 'ns',\n 'ns-aliases',\n 'ns-imports',\n 'ns-interns',\n 'ns-map',\n 'ns-name',\n 'ns-publics',\n 'ns-refers',\n 'ns-resolve',\n 'ns-unalias',\n 'ns-unmap',\n 'nth',\n 'nthnext',\n 'nthrest',\n 'num',\n 'number?',\n 'numerator',\n 'object-array',\n 'odd?',\n 'or',\n 'parents',\n 'partial',\n 'partition',\n 'partition-all',\n 'partition-by',\n 'pcalls',\n 'peek',\n 'persistent!',\n 'pmap',\n 'pop',\n 'pop!',\n 'pop-thread-bindings',\n 'pos-int?',\n 'pos?',\n 'pr',\n 'pr-str',\n 'prefer-method',\n 'prefers',\n 'primitives-classnames',\n 'print',\n 'print-ctor',\n 'print-dup',\n 'print-method',\n 'print-simple',\n 'print-str',\n 'printf',\n 'println',\n 'println-str',\n 'prn',\n 'prn-str',\n 'promise',\n 'proxy',\n 'proxy-call-with-super',\n 'proxy-mappings',\n 'proxy-name',\n 'proxy-super',\n 'push-thread-bindings',\n 'pvalues',\n 'qualified-ident?',\n 'qualified-keyword?',\n 'qualified-symbol?',\n 'quot',\n 'rand',\n 'rand-int',\n 'rand-nth',\n 'random-sample',\n 'range',\n 'ratio?',\n 'rational?',\n 'rationalize',\n 're-find',\n 're-groups',\n 're-matcher',\n 're-matches',\n 're-pattern',\n 're-seq',\n 'read',\n 'read-line',\n 'read-string',\n 'reader-conditional',\n 'reader-conditional?',\n 'realized?',\n 'record?',\n 'reduce',\n 'reduce-kv',\n 'reduced',\n 'reduced?',\n 'reductions',\n 'ref',\n 'ref-history-count',\n 'ref-max-history',\n 'ref-min-history',\n 'ref-set',\n 'refer',\n 'refer-clojure',\n 'reify',\n 'release-pending-sends',\n 'rem',\n 'remove',\n 'remove-all-methods',\n 'remove-method',\n 'remove-ns',\n 'remove-watch',\n 'repeat',\n 'repeatedly',\n 'replace',\n 'replicate',\n 'require',\n 'reset!',\n 'reset-meta!',\n 'reset-vals!',\n 'resolve',\n 'rest',\n 'restart-agent',\n 'resultset-seq',\n 'reverse',\n 'reversible?',\n 'rseq',\n 'rsubseq',\n 'run!',\n 'satisfies?',\n 'second',\n 'select-keys',\n 'send',\n 'send-off',\n 'send-via',\n 'seq',\n 'seq?',\n 'seqable?',\n 'seque',\n 'sequence',\n 'sequential?',\n 'set',\n 'set-agent-send-executor!',\n 'set-agent-send-off-executor!',\n 'set-error-handler!',\n 'set-error-mode!',\n 'set-validator!',\n 'set?',\n 'short',\n 'short-array',\n 'shorts',\n 'shuffle',\n 'shutdown-agents',\n 'simple-ident?',\n 'simple-keyword?',\n 'simple-symbol?',\n 'slurp',\n 'some',\n 'some->',\n 'some->>',\n 'some-fn',\n 'some?',\n 'sort',\n 'sort-by',\n 'sorted-map',\n 'sorted-map-by',\n 'sorted-set',\n 'sorted-set-by',\n 'sorted?',\n 'special-symbol?',\n 'spit',\n 'split-at',\n 'split-with',\n 'str',\n 'string?',\n 'struct',\n 'struct-map',\n 'subs',\n 'subseq',\n 'subvec',\n 'supers',\n 'swap!',\n 'swap-vals!',\n 'symbol',\n 'symbol?',\n 'sync',\n 'tagged-literal',\n 'tagged-literal?',\n 'take',\n 'take-last',\n 'take-nth',\n 'take-while',\n 'test',\n 'the-ns',\n 'thread-bound?',\n 'time',\n 'to-array',\n 'to-array-2d',\n 'trampoline',\n 'transduce',\n 'transient',\n 'tree-seq',\n 'true?',\n 'type',\n 'unchecked-add',\n 'unchecked-add-int',\n 'unchecked-byte',\n 'unchecked-char',\n 'unchecked-dec',\n 'unchecked-dec-int',\n 'unchecked-divide-int',\n 'unchecked-double',\n 'unchecked-float',\n 'unchecked-inc',\n 'unchecked-inc-int',\n 'unchecked-int',\n 'unchecked-long',\n 'unchecked-multiply',\n 'unchecked-multiply-int',\n 'unchecked-negate',\n 'unchecked-negate-int',\n 'unchecked-remainder-int',\n 'unchecked-short',\n 'unchecked-subtract',\n 'unchecked-subtract-int',\n 'underive',\n 'unquote',\n 'unquote-splicing',\n 'unreduced',\n 'unsigned-bit-shift-right',\n 'update',\n 'update-in',\n 'update-proxy',\n 'uri?',\n 'use',\n 'uuid?',\n 'val',\n 'vals',\n 'var-get',\n 'var-set',\n 'var?',\n 'vary-meta',\n 'vec',\n 'vector',\n 'vector-of',\n 'vector?',\n 'volatile!',\n 'volatile?',\n 'vreset!',\n 'vswap!',\n 'when',\n 'when-first',\n 'when-let',\n 'when-not',\n 'when-some',\n 'while',\n 'with-bindings',\n 'with-bindings*',\n 'with-in-str',\n 'with-loading-context',\n 'with-local-vars',\n 'with-meta',\n 'with-open',\n 'with-out-str',\n 'with-precision',\n 'with-redefs',\n 'with-redefs-fn',\n 'xml-seq',\n 'zero?',\n 'zipmap'\n ],\n tokenizer: {\n root: [\n // whitespaces and comments\n { include: '@whitespace' },\n // numbers\n [/@numbers/, 'number'],\n // characters\n [/@characters/, 'string'],\n // strings\n { include: '@string' },\n // brackets\n [/[()\\[\\]{}]/, '@brackets'],\n // regular expressions\n [/\\/#\"(?:\\.|(?:\")|[^\"\\n])*\"\\/g/, 'regexp'],\n // reader macro characters\n [/[#'@^`~]/, 'meta'],\n // symbols\n [\n /@qualifiedSymbols/,\n {\n cases: {\n '^:.+$': 'constant',\n '@specialForms': 'keyword',\n '@coreSymbols': 'keyword',\n '@constants': 'constant',\n '@default': 'identifier'\n }\n }\n ]\n ],\n whitespace: [\n [/[\\s,]+/, 'white'],\n [/;.*$/, 'comment'],\n [/\\(comment\\b/, 'comment', '@comment']\n ],\n comment: [\n [/\\(/, 'comment', '@push'],\n [/\\)/, 'comment', '@pop'],\n [/[^()]/, 'comment']\n ],\n string: [[/\"/, 'string', '@multiLineString']],\n multiLineString: [\n [/\"/, 'string', '@popall'],\n [/@escapes/, 'string.escape'],\n [/./, 'string']\n ]\n }\n};\n"],"sourceRoot":""} \ No newline at end of file diff --git a/docs/13.13.js b/docs/13.13.js deleted file mode 100644 index 0d887b6b..00000000 --- a/docs/13.13.js +++ /dev/null @@ -1 +0,0 @@ -(window.webpackJsonp=window.webpackJsonp||[]).push([[13],{917:function(e,n,r){"use strict";r.r(n),r.d(n,"conf",(function(){return t})),r.d(n,"language",(function(){return s}));var t={wordPattern:/(-?\d*\.\d\w*)|([^\`\~\!\@\#%\^\&\*\(\)\=\$\-\+\[\{\]\}\\\|\;\:\'\"\,\.\<\>\/\?\s]+)/g,comments:{blockComment:["###","###"],lineComment:"#"},brackets:[["{","}"],["[","]"],["(",")"]],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}],folding:{markers:{start:new RegExp("^\\s*#region\\b"),end:new RegExp("^\\s*#endregion\\b")}}},s={defaultToken:"",ignoreCase:!0,tokenPostfix:".coffee",brackets:[{open:"{",close:"}",token:"delimiter.curly"},{open:"[",close:"]",token:"delimiter.square"},{open:"(",close:")",token:"delimiter.parenthesis"}],regEx:/\/(?!\/\/)(?:[^\/\\]|\\.)*\/[igm]*/,keywords:["and","or","is","isnt","not","on","yes","@","no","off","true","false","null","this","new","delete","typeof","in","instanceof","return","throw","break","continue","debugger","if","else","switch","for","while","do","try","catch","finally","class","extends","super","undefined","then","unless","until","loop","of","by","when"],symbols:/[=>\\/\\?\\s]+)/g,\n comments: {\n blockComment: ['###', '###'],\n lineComment: '#'\n },\n brackets: [\n ['{', '}'],\n ['[', ']'],\n ['(', ')']\n ],\n autoClosingPairs: [\n { open: '{', close: '}' },\n { open: '[', close: ']' },\n { open: '(', close: ')' },\n { open: '\"', close: '\"' },\n { open: \"'\", close: \"'\" }\n ],\n surroundingPairs: [\n { open: '{', close: '}' },\n { open: '[', close: ']' },\n { open: '(', close: ')' },\n { open: '\"', close: '\"' },\n { open: \"'\", close: \"'\" }\n ],\n folding: {\n markers: {\n start: new RegExp('^\\\\s*#region\\\\b'),\n end: new RegExp('^\\\\s*#endregion\\\\b')\n }\n }\n};\nexport var language = {\n defaultToken: '',\n ignoreCase: true,\n tokenPostfix: '.coffee',\n brackets: [\n { open: '{', close: '}', token: 'delimiter.curly' },\n { open: '[', close: ']', token: 'delimiter.square' },\n { open: '(', close: ')', token: 'delimiter.parenthesis' }\n ],\n regEx: /\\/(?!\\/\\/)(?:[^\\/\\\\]|\\\\.)*\\/[igm]*/,\n keywords: [\n 'and',\n 'or',\n 'is',\n 'isnt',\n 'not',\n 'on',\n 'yes',\n '@',\n 'no',\n 'off',\n 'true',\n 'false',\n 'null',\n 'this',\n 'new',\n 'delete',\n 'typeof',\n 'in',\n 'instanceof',\n 'return',\n 'throw',\n 'break',\n 'continue',\n 'debugger',\n 'if',\n 'else',\n 'switch',\n 'for',\n 'while',\n 'do',\n 'try',\n 'catch',\n 'finally',\n 'class',\n 'extends',\n 'super',\n 'undefined',\n 'then',\n 'unless',\n 'until',\n 'loop',\n 'of',\n 'by',\n 'when'\n ],\n // we include these common regular expressions\n symbols: /[=>\/\?\s]+)/g,comments:{lineComment:"//",blockComment:["/*","*/"]},brackets:[["{","}"],["[","]"],["(",")"]],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:"'",close:"'",notIn:["string","comment"]},{open:'"',close:'"',notIn:["string","comment"]}],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:"<",close:">"},{open:"'",close:"'"},{open:'"',close:'"'}],folding:{markers:{start:new RegExp("^\\s*#region\\b"),end:new RegExp("^\\s*#endregion\\b")}}},s={defaultToken:"",tokenPostfix:".cs",brackets:[{open:"{",close:"}",token:"delimiter.curly"},{open:"[",close:"]",token:"delimiter.square"},{open:"(",close:")",token:"delimiter.parenthesis"},{open:"<",close:">",token:"delimiter.angle"}],keywords:["extern","alias","using","bool","decimal","sbyte","byte","short","ushort","int","uint","long","ulong","char","float","double","object","dynamic","string","assembly","is","as","ref","out","this","base","new","typeof","void","checked","unchecked","default","delegate","var","const","if","else","switch","case","while","do","for","foreach","in","break","continue","goto","return","throw","try","catch","finally","lock","yield","from","let","where","join","on","equals","into","orderby","ascending","descending","select","group","by","namespace","partial","class","field","event","method","param","property","public","protected","internal","private","abstract","sealed","static","struct","readonly","volatile","virtual","override","params","get","set","add","remove","operator","true","false","implicit","explicit","interface","enum","null","async","await","fixed","sizeof","stackalloc","unsafe","nameof","when"],namespaceFollows:["namespace","using"],parenFollows:["if","for","while","switch","foreach","using","catch","when"],operators:["=","??","||","&&","|","^","&","==","!=","<=",">=","<<","+","-","*","/","%","!","~","++","--","+=","-=","*=","/=","%=","&=","|=","^=","<<=",">>=",">>","=>"],symbols:/[=>](?!@symbols)/,"@brackets"],[/@symbols/,{cases:{"@operators":"delimiter","@default":""}}],[/[0-9_]*\.[0-9_]+([eE][\-+]?\d+)?[fFdD]?/,"number.float"],[/0[xX][0-9a-fA-F_]+/,"number.hex"],[/0[bB][01_]+/,"number.hex"],[/[0-9_]+/,"number"],[/[;,.]/,"delimiter"],[/"([^"\\]|\\.)*$/,"string.invalid"],[/"/,{token:"string.quote",next:"@string"}],[/\$\@"/,{token:"string.quote",next:"@litinterpstring"}],[/\@"/,{token:"string.quote",next:"@litstring"}],[/\$"/,{token:"string.quote",next:"@interpolatedstring"}],[/'[^\\']'/,"string"],[/(')(@escapes)(')/,["string","string.escape","string"]],[/'/,"string.invalid"]],qualified:[[/[a-zA-Z_][\w]*/,{cases:{"@keywords":{token:"keyword.$0"},"@default":"identifier"}}],[/\./,"delimiter"],["","","@pop"]],namespace:[{include:"@whitespace"},[/[A-Z]\w*/,"namespace"],[/[\.=]/,"delimiter"],["","","@pop"]],comment:[[/[^\/*]+/,"comment"],["\\*/","comment","@pop"],[/[\/*]/,"comment"]],string:[[/[^\\"]+/,"string"],[/@escapes/,"string.escape"],[/\\./,"string.escape.invalid"],[/"/,{token:"string.quote",next:"@pop"}]],litstring:[[/[^"]+/,"string"],[/""/,"string.escape"],[/"/,{token:"string.quote",next:"@pop"}]],litinterpstring:[[/[^"{]+/,"string"],[/""/,"string.escape"],[/{{/,"string.escape"],[/}}/,"string.escape"],[/{/,{token:"string.quote",next:"root.litinterpstring"}],[/"/,{token:"string.quote",next:"@pop"}]],interpolatedstring:[[/[^\\"{]+/,"string"],[/@escapes/,"string.escape"],[/\\./,"string.escape.invalid"],[/{{/,"string.escape"],[/}}/,"string.escape"],[/{/,{token:"string.quote",next:"root.interpolatedstring"}],[/"/,{token:"string.quote",next:"@pop"}]],whitespace:[[/^[ \t\v\f]*#((r)|(load))(?=\s)/,"directive.csx"],[/^[ \t\v\f]*#\w.*$/,"namespace.cpp"],[/[ \t\v\f\r\n]+/,""],[/\/\*/,"comment","@comment"],[/\/\/.*$/,"comment"]]}}}}]); \ No newline at end of file diff --git a/docs/14.14.js.map b/docs/14.14.js.map deleted file mode 100644 index 1705c752..00000000 --- a/docs/14.14.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"sources":["webpack:///./node_modules/monaco-editor/esm/vs/basic-languages/csharp/csharp.js"],"names":[],"mappings":";;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AACA;AACA;AACA;AACO;AACP,oEAAoE,IAAI,MAAM;AAC9E;AACA;AACA;AACA,KAAK;AACL;AACA,WAAW,KAAK;AAChB;AACA;AACA;AACA;AACA,SAAS,SAAS,YAAY,GAAG;AACjC,SAAS,wBAAwB;AACjC,SAAS,wBAAwB;AACjC,SAAS,sDAAsD;AAC/D,SAAS;AACT;AACA;AACA,SAAS,SAAS,YAAY,GAAG;AACjC,SAAS,wBAAwB;AACjC,SAAS,wBAAwB;AACjC,SAAS,wBAAwB;AACjC,SAAS,wBAAwB;AACjC,SAAS;AACT;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACO;AACP;AACA;AACA;AACA,SAAS,SAAS,YAAY,6BAA6B;AAC3D,SAAS,mDAAmD;AAC5D,SAAS,wDAAwD;AACjE,SAAS;AACT;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,8CAA8C,IAAI,cAAc,EAAE,cAAc,EAAE;AAClF;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,yBAAyB;AACzB;AACA;AACA;AACA,yBAAyB;AACzB,qCAAqC;AACrC;AACA;AACA;AACA;AACA,aAAa,yBAAyB;AACtC;AACA;AACA,kBAAkB;AAClB;AACA;AACA;AACA;AACA;AACA,yBAAyB;AACzB;AACA;AACA;AACA,yBAAyB;AACzB;AACA;AACA;AACA;AACA,iBAAiB;AACjB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,gBAAgB;AAChB;AACA;AACA,mBAAmB,yCAAyC;AAC5D,uBAAuB,kDAAkD;AACzE,qBAAqB,4CAA4C;AACjE,qBAAqB,qDAAqD;AAC1E;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,sCAAsC,sBAAsB;AAC5D;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,aAAa,yBAAyB;AACtC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,mBAAmB,sCAAsC;AACzD;AACA;AACA;AACA;AACA,mBAAmB,sCAAsC;AACzD;AACA;AACA,kBAAkB;AAClB;AACA,gBAAgB;AAChB,gBAAgB;AAChB,eAAe,IAAI,sDAAsD;AACzE,mBAAmB,sCAAsC;AACzD;AACA;AACA,oBAAoB;AACpB;AACA;AACA,gBAAgB;AAChB,gBAAgB;AAChB,eAAe,IAAI,yDAAyD;AAC5E,mBAAmB,sCAAsC;AACzD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA","file":"14.14.js","sourcesContent":["/*---------------------------------------------------------------------------------------------\n * Copyright (c) Microsoft Corporation. All rights reserved.\n * Licensed under the MIT License. See License.txt in the project root for license information.\n *--------------------------------------------------------------------------------------------*/\nexport var conf = {\n wordPattern: /(-?\\d*\\.\\d\\w*)|([^\\`\\~\\!\\#\\$\\%\\^\\&\\*\\(\\)\\-\\=\\+\\[\\{\\]\\}\\\\\\|\\;\\:\\'\\\"\\,\\.\\<\\>\\/\\?\\s]+)/g,\n comments: {\n lineComment: '//',\n blockComment: ['/*', '*/']\n },\n brackets: [\n ['{', '}'],\n ['[', ']'],\n ['(', ')']\n ],\n autoClosingPairs: [\n { open: '{', close: '}' },\n { open: '[', close: ']' },\n { open: '(', close: ')' },\n { open: \"'\", close: \"'\", notIn: ['string', 'comment'] },\n { open: '\"', close: '\"', notIn: ['string', 'comment'] }\n ],\n surroundingPairs: [\n { open: '{', close: '}' },\n { open: '[', close: ']' },\n { open: '(', close: ')' },\n { open: '<', close: '>' },\n { open: \"'\", close: \"'\" },\n { open: '\"', close: '\"' }\n ],\n folding: {\n markers: {\n start: new RegExp('^\\\\s*#region\\\\b'),\n end: new RegExp('^\\\\s*#endregion\\\\b')\n }\n }\n};\nexport var language = {\n defaultToken: '',\n tokenPostfix: '.cs',\n brackets: [\n { open: '{', close: '}', token: 'delimiter.curly' },\n { open: '[', close: ']', token: 'delimiter.square' },\n { open: '(', close: ')', token: 'delimiter.parenthesis' },\n { open: '<', close: '>', token: 'delimiter.angle' }\n ],\n keywords: [\n 'extern',\n 'alias',\n 'using',\n 'bool',\n 'decimal',\n 'sbyte',\n 'byte',\n 'short',\n 'ushort',\n 'int',\n 'uint',\n 'long',\n 'ulong',\n 'char',\n 'float',\n 'double',\n 'object',\n 'dynamic',\n 'string',\n 'assembly',\n 'is',\n 'as',\n 'ref',\n 'out',\n 'this',\n 'base',\n 'new',\n 'typeof',\n 'void',\n 'checked',\n 'unchecked',\n 'default',\n 'delegate',\n 'var',\n 'const',\n 'if',\n 'else',\n 'switch',\n 'case',\n 'while',\n 'do',\n 'for',\n 'foreach',\n 'in',\n 'break',\n 'continue',\n 'goto',\n 'return',\n 'throw',\n 'try',\n 'catch',\n 'finally',\n 'lock',\n 'yield',\n 'from',\n 'let',\n 'where',\n 'join',\n 'on',\n 'equals',\n 'into',\n 'orderby',\n 'ascending',\n 'descending',\n 'select',\n 'group',\n 'by',\n 'namespace',\n 'partial',\n 'class',\n 'field',\n 'event',\n 'method',\n 'param',\n 'property',\n 'public',\n 'protected',\n 'internal',\n 'private',\n 'abstract',\n 'sealed',\n 'static',\n 'struct',\n 'readonly',\n 'volatile',\n 'virtual',\n 'override',\n 'params',\n 'get',\n 'set',\n 'add',\n 'remove',\n 'operator',\n 'true',\n 'false',\n 'implicit',\n 'explicit',\n 'interface',\n 'enum',\n 'null',\n 'async',\n 'await',\n 'fixed',\n 'sizeof',\n 'stackalloc',\n 'unsafe',\n 'nameof',\n 'when'\n ],\n namespaceFollows: ['namespace', 'using'],\n parenFollows: ['if', 'for', 'while', 'switch', 'foreach', 'using', 'catch', 'when'],\n operators: [\n '=',\n '??',\n '||',\n '&&',\n '|',\n '^',\n '&',\n '==',\n '!=',\n '<=',\n '>=',\n '<<',\n '+',\n '-',\n '*',\n '/',\n '%',\n '!',\n '~',\n '++',\n '--',\n '+=',\n '-=',\n '*=',\n '/=',\n '%=',\n '&=',\n '|=',\n '^=',\n '<<=',\n '>>=',\n '>>',\n '=>'\n ],\n symbols: /[=>](?!@symbols)/, '@brackets'],\n [\n /@symbols/,\n {\n cases: {\n '@operators': 'delimiter',\n '@default': ''\n }\n }\n ],\n // numbers\n [/[0-9_]*\\.[0-9_]+([eE][\\-+]?\\d+)?[fFdD]?/, 'number.float'],\n [/0[xX][0-9a-fA-F_]+/, 'number.hex'],\n [/0[bB][01_]+/, 'number.hex'],\n [/[0-9_]+/, 'number'],\n // delimiter: after number because of .\\d floats\n [/[;,.]/, 'delimiter'],\n // strings\n [/\"([^\"\\\\]|\\\\.)*$/, 'string.invalid'],\n [/\"/, { token: 'string.quote', next: '@string' }],\n [/\\$\\@\"/, { token: 'string.quote', next: '@litinterpstring' }],\n [/\\@\"/, { token: 'string.quote', next: '@litstring' }],\n [/\\$\"/, { token: 'string.quote', next: '@interpolatedstring' }],\n // characters\n [/'[^\\\\']'/, 'string'],\n [/(')(@escapes)(')/, ['string', 'string.escape', 'string']],\n [/'/, 'string.invalid']\n ],\n qualified: [\n [\n /[a-zA-Z_][\\w]*/,\n {\n cases: {\n '@keywords': { token: 'keyword.$0' },\n '@default': 'identifier'\n }\n }\n ],\n [/\\./, 'delimiter'],\n ['', '', '@pop']\n ],\n namespace: [\n { include: '@whitespace' },\n [/[A-Z]\\w*/, 'namespace'],\n [/[\\.=]/, 'delimiter'],\n ['', '', '@pop']\n ],\n comment: [\n [/[^\\/*]+/, 'comment'],\n // [/\\/\\*/, 'comment', '@push' ], // no nested comments :-(\n ['\\\\*/', 'comment', '@pop'],\n [/[\\/*]/, 'comment']\n ],\n string: [\n [/[^\\\\\"]+/, 'string'],\n [/@escapes/, 'string.escape'],\n [/\\\\./, 'string.escape.invalid'],\n [/\"/, { token: 'string.quote', next: '@pop' }]\n ],\n litstring: [\n [/[^\"]+/, 'string'],\n [/\"\"/, 'string.escape'],\n [/\"/, { token: 'string.quote', next: '@pop' }]\n ],\n litinterpstring: [\n [/[^\"{]+/, 'string'],\n [/\"\"/, 'string.escape'],\n [/{{/, 'string.escape'],\n [/}}/, 'string.escape'],\n [/{/, { token: 'string.quote', next: 'root.litinterpstring' }],\n [/\"/, { token: 'string.quote', next: '@pop' }]\n ],\n interpolatedstring: [\n [/[^\\\\\"{]+/, 'string'],\n [/@escapes/, 'string.escape'],\n [/\\\\./, 'string.escape.invalid'],\n [/{{/, 'string.escape'],\n [/}}/, 'string.escape'],\n [/{/, { token: 'string.quote', next: 'root.interpolatedstring' }],\n [/\"/, { token: 'string.quote', next: '@pop' }]\n ],\n whitespace: [\n [/^[ \\t\\v\\f]*#((r)|(load))(?=\\s)/, 'directive.csx'],\n [/^[ \\t\\v\\f]*#\\w.*$/, 'namespace.cpp'],\n [/[ \\t\\v\\f\\r\\n]+/, ''],\n [/\\/\\*/, 'comment', '@comment'],\n [/\\/\\/.*$/, 'comment']\n ]\n }\n};\n"],"sourceRoot":""} \ No newline at end of file diff --git a/docs/15.15.js b/docs/15.15.js deleted file mode 100644 index a4c1289a..00000000 --- a/docs/15.15.js +++ /dev/null @@ -1 +0,0 @@ -(window.webpackJsonp=window.webpackJsonp||[]).push([[15],{920:function(t,r,e){"use strict";e.r(r),e.d(r,"conf",(function(){return s})),e.d(r,"language",(function(){return n}));var s={brackets:[],autoClosingPairs:[],surroundingPairs:[]},n={keywords:[],typeKeywords:[],tokenPostfix:".csp",operators:[],symbols:/[=>",token:"delimiter.angle"}],tokenizer:{root:[{include:"@selector"}],selector:[{include:"@comments"},{include:"@import"},{include:"@strings"},["[@](keyframes|-webkit-keyframes|-moz-keyframes|-o-keyframes)",{token:"keyword",next:"@keyframedeclaration"}],["[@](page|content|font-face|-moz-document)",{token:"keyword"}],["[@](charset|namespace)",{token:"keyword",next:"@declarationbody"}],["(url-prefix)(\\()",["attribute.value",{token:"delimiter.parenthesis",next:"@urldeclaration"}]],["(url)(\\()",["attribute.value",{token:"delimiter.parenthesis",next:"@urldeclaration"}]],{include:"@selectorname"},["[\\*]","tag"],["[>\\+,]","delimiter"],["\\[",{token:"delimiter.bracket",next:"@selectorattribute"}],["{",{token:"delimiter.bracket",next:"@selectorbody"}]],selectorbody:[{include:"@comments"},["[*_]?@identifier@ws:(?=(\\s|\\d|[^{;}]*[;}]))","attribute.name","@rulevalue"],["}",{token:"delimiter.bracket",next:"@pop"}]],selectorname:[["(\\.|#(?=[^{])|%|(@identifier)|:)+","tag"]],selectorattribute:[{include:"@term"},["]",{token:"delimiter.bracket",next:"@pop"}]],term:[{include:"@comments"},["(url-prefix)(\\()",["attribute.value",{token:"delimiter.parenthesis",next:"@urldeclaration"}]],["(url)(\\()",["attribute.value",{token:"delimiter.parenthesis",next:"@urldeclaration"}]],{include:"@functioninvocation"},{include:"@numbers"},{include:"@name"},["([<>=\\+\\-\\*\\/\\^\\|\\~,])","delimiter"],[",","delimiter"]],rulevalue:[{include:"@comments"},{include:"@strings"},{include:"@term"},["!important","keyword"],[";","delimiter","@pop"],["(?=})",{token:"",next:"@pop"}]],warndebug:[["[@](warn|debug)",{token:"keyword",next:"@declarationbody"}]],import:[["[@](import)",{token:"keyword",next:"@declarationbody"}]],urldeclaration:[{include:"@strings"},["[^)\r\n]+","string"],["\\)",{token:"delimiter.parenthesis",next:"@pop"}]],parenthizedterm:[{include:"@term"},["\\)",{token:"delimiter.parenthesis",next:"@pop"}]],declarationbody:[{include:"@term"},[";","delimiter","@pop"],["(?=})",{token:"",next:"@pop"}]],comments:[["\\/\\*","comment","@comment"],["\\/\\/+.*","comment"]],comment:[["\\*\\/","comment","@pop"],[/[^*/]+/,"comment"],[/./,"comment"]],name:[["@identifier","attribute.value"]],numbers:[["-?(\\d*\\.)?\\d+([eE][\\-+]?\\d+)?",{token:"attribute.value.number",next:"@units"}],["#[0-9a-fA-F_]+(?!\\w)","attribute.value.hex"]],units:[["(em|ex|ch|rem|vmin|vmax|vw|vh|vm|cm|mm|in|px|pt|pc|deg|grad|rad|turn|s|ms|Hz|kHz|%)?","attribute.value.unit","@pop"]],keyframedeclaration:[["@identifier","attribute.value"],["{",{token:"delimiter.bracket",switchTo:"@keyframebody"}]],keyframebody:[{include:"@term"},["{",{token:"delimiter.bracket",next:"@selectorbody"}],["}",{token:"delimiter.bracket",next:"@pop"}]],functioninvocation:[["@identifier\\(",{token:"attribute.value",next:"@functionarguments"}]],functionarguments:[["\\$@identifier@ws:","attribute.name"],["[,]","delimiter"],{include:"@term"},["\\)",{token:"attribute.value",next:"@pop"}]],strings:[['~?"',{token:"string",next:"@stringenddoublequote"}],["~?'",{token:"string",next:"@stringendquote"}]],stringenddoublequote:[["\\\\.","string"],['"',{token:"string",next:"@pop"}],[/[^\\"]+/,"string"],[".","string"]],stringendquote:[["\\\\.","string"],["'",{token:"string",next:"@pop"}],[/[^\\']+/,"string"],[".","string"]]}}}}]); \ No newline at end of file diff --git a/docs/16.16.js.map b/docs/16.16.js.map deleted file mode 100644 index f0a16525..00000000 --- a/docs/16.16.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"sources":["webpack:///./node_modules/monaco-editor/esm/vs/basic-languages/css/css.js"],"names":[],"mappings":";;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AACA;AACA;AACA;AACO;AACP;AACA;AACA;AACA,KAAK;AACL;AACA,WAAW,KAAK;AAChB;AACA;AACA;AACA;AACA,SAAS,SAAS,YAAY,iCAAiC;AAC/D,SAAS,sDAAsD;AAC/D,SAAS,sDAAsD;AAC/D,SAAS,sDAAsD;AAC/D,SAAS;AACT;AACA;AACA,SAAS,SAAS,YAAY,GAAG;AACjC,SAAS,wBAAwB;AACjC,SAAS,wBAAwB;AACjC,SAAS,wBAAwB;AACjC,SAAS;AACT;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACO;AACP;AACA;AACA;AACA,kDAAkD,IAAI,mDAAmD,IAAI;AAC7G;AACA,SAAS,SAAS,YAAY,+BAA+B;AAC7D,SAAS,oDAAoD;AAC7D,SAAS,wDAAwD;AACjE,SAAS;AACT;AACA;AACA,gBAAgB,uBAAuB;AACvC;AACA,aAAa,uBAAuB;AACpC,aAAa,qBAAqB;AAClC,aAAa,sBAAsB;AACnC;AACA;AACA,iBAAiB;AACjB;AACA,2DAA2D,mBAAmB;AAC9E,wCAAwC,6CAA6C;AACrF;AACA;AACA,qCAAqC,0DAA0D;AAC/F;AACA;AACA;AACA,qCAAqC,0DAA0D;AAC/F;AACA,aAAa,2BAA2B;AACxC;AACA;AACA,qBAAqB,yDAAyD;AAC9E,eAAe,IAAI,oDAAoD;AACvE;AACA;AACA,aAAa,uBAAuB;AACpC,mDAAmD,KAAK;AACxD,eAAe,IAAI,2CAA2C;AAC9D;AACA;AACA,0BAA0B;AAC1B;AACA;AACA,aAAa,mBAAmB;AAChC,mBAAmB,2CAA2C;AAC9D;AACA;AACA,aAAa,uBAAuB;AACpC;AACA;AACA,qCAAqC,0DAA0D;AAC/F;AACA;AACA;AACA,qCAAqC,0DAA0D;AAC/F;AACA,aAAa,iCAAiC;AAC9C,aAAa,sBAAsB;AACnC,aAAa,mBAAmB;AAChC;AACA;AACA;AACA;AACA,aAAa,uBAAuB;AACpC,aAAa,sBAAsB;AACnC,aAAa,mBAAmB;AAChC;AACA,eAAe;AACf,kBAAkB,KAAK,0BAA0B;AACjD;AACA,yCAAyC,6CAA6C;AACtF,kCAAkC,6CAA6C;AAC/E;AACA,aAAa,sBAAsB;AACnC;AACA,qBAAqB,+CAA+C;AACpE;AACA;AACA,aAAa,mBAAmB;AAChC,qBAAqB,+CAA+C;AACpE;AACA;AACA,aAAa,mBAAmB;AAChC,eAAe;AACf,kBAAkB,KAAK,0BAA0B;AACjD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,iBAAiB;AACjB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,eAAe,IAAI,wDAAwD;AAC3E;AACA;AACA,aAAa,mBAAmB;AAChC,eAAe,IAAI,oDAAoD;AACvE,eAAe,IAAI,2CAA2C;AAC9D;AACA;AACA,gCAAgC,uDAAuD;AACvF;AACA;AACA;AACA;AACA,aAAa,mBAAmB;AAChC,qBAAqB,yCAAyC;AAC9D;AACA;AACA,qBAAqB,iDAAiD;AACtE,qBAAqB,2CAA2C;AAChE;AACA;AACA;AACA,mBAAmB,gCAAgC;AACnD;AACA;AACA;AACA;AACA;AACA,mBAAmB,gCAAgC;AACnD;AACA;AACA;AACA;AACA","file":"16.16.js","sourcesContent":["/*---------------------------------------------------------------------------------------------\n * Copyright (c) Microsoft Corporation. All rights reserved.\n * Licensed under the MIT License. See License.txt in the project root for license information.\n *--------------------------------------------------------------------------------------------*/\nexport var conf = {\n wordPattern: /(#?-?\\d*\\.\\d\\w*%?)|((::|[@#.!:])?[\\w-?]+%?)|::|[@#.!:]/g,\n comments: {\n blockComment: ['/*', '*/']\n },\n brackets: [\n ['{', '}'],\n ['[', ']'],\n ['(', ')']\n ],\n autoClosingPairs: [\n { open: '{', close: '}', notIn: ['string', 'comment'] },\n { open: '[', close: ']', notIn: ['string', 'comment'] },\n { open: '(', close: ')', notIn: ['string', 'comment'] },\n { open: '\"', close: '\"', notIn: ['string', 'comment'] },\n { open: \"'\", close: \"'\", notIn: ['string', 'comment'] }\n ],\n surroundingPairs: [\n { open: '{', close: '}' },\n { open: '[', close: ']' },\n { open: '(', close: ')' },\n { open: '\"', close: '\"' },\n { open: \"'\", close: \"'\" }\n ],\n folding: {\n markers: {\n start: new RegExp('^\\\\s*\\\\/\\\\*\\\\s*#region\\\\b\\\\s*(.*?)\\\\s*\\\\*\\\\/'),\n end: new RegExp('^\\\\s*\\\\/\\\\*\\\\s*#endregion\\\\b.*\\\\*\\\\/')\n }\n }\n};\nexport var language = {\n defaultToken: '',\n tokenPostfix: '.css',\n ws: '[ \\t\\n\\r\\f]*',\n identifier: '-?-?([a-zA-Z]|(\\\\\\\\(([0-9a-fA-F]{1,6}\\\\s?)|[^[0-9a-fA-F])))([\\\\w\\\\-]|(\\\\\\\\(([0-9a-fA-F]{1,6}\\\\s?)|[^[0-9a-fA-F])))*',\n brackets: [\n { open: '{', close: '}', token: 'delimiter.bracket' },\n { open: '[', close: ']', token: 'delimiter.bracket' },\n { open: '(', close: ')', token: 'delimiter.parenthesis' },\n { open: '<', close: '>', token: 'delimiter.angle' }\n ],\n tokenizer: {\n root: [{ include: '@selector' }],\n selector: [\n { include: '@comments' },\n { include: '@import' },\n { include: '@strings' },\n [\n '[@](keyframes|-webkit-keyframes|-moz-keyframes|-o-keyframes)',\n { token: 'keyword', next: '@keyframedeclaration' }\n ],\n ['[@](page|content|font-face|-moz-document)', { token: 'keyword' }],\n ['[@](charset|namespace)', { token: 'keyword', next: '@declarationbody' }],\n [\n '(url-prefix)(\\\\()',\n ['attribute.value', { token: 'delimiter.parenthesis', next: '@urldeclaration' }]\n ],\n [\n '(url)(\\\\()',\n ['attribute.value', { token: 'delimiter.parenthesis', next: '@urldeclaration' }]\n ],\n { include: '@selectorname' },\n ['[\\\\*]', 'tag'],\n ['[>\\\\+,]', 'delimiter'],\n ['\\\\[', { token: 'delimiter.bracket', next: '@selectorattribute' }],\n ['{', { token: 'delimiter.bracket', next: '@selectorbody' }]\n ],\n selectorbody: [\n { include: '@comments' },\n ['[*_]?@identifier@ws:(?=(\\\\s|\\\\d|[^{;}]*[;}]))', 'attribute.name', '@rulevalue'],\n ['}', { token: 'delimiter.bracket', next: '@pop' }]\n ],\n selectorname: [\n ['(\\\\.|#(?=[^{])|%|(@identifier)|:)+', 'tag'] // selector (.foo, div, ...)\n ],\n selectorattribute: [\n { include: '@term' },\n [']', { token: 'delimiter.bracket', next: '@pop' }]\n ],\n term: [\n { include: '@comments' },\n [\n '(url-prefix)(\\\\()',\n ['attribute.value', { token: 'delimiter.parenthesis', next: '@urldeclaration' }]\n ],\n [\n '(url)(\\\\()',\n ['attribute.value', { token: 'delimiter.parenthesis', next: '@urldeclaration' }]\n ],\n { include: '@functioninvocation' },\n { include: '@numbers' },\n { include: '@name' },\n ['([<>=\\\\+\\\\-\\\\*\\\\/\\\\^\\\\|\\\\~,])', 'delimiter'],\n [',', 'delimiter']\n ],\n rulevalue: [\n { include: '@comments' },\n { include: '@strings' },\n { include: '@term' },\n ['!important', 'keyword'],\n [';', 'delimiter', '@pop'],\n ['(?=})', { token: '', next: '@pop' }] // missing semicolon\n ],\n warndebug: [['[@](warn|debug)', { token: 'keyword', next: '@declarationbody' }]],\n import: [['[@](import)', { token: 'keyword', next: '@declarationbody' }]],\n urldeclaration: [\n { include: '@strings' },\n ['[^)\\r\\n]+', 'string'],\n ['\\\\)', { token: 'delimiter.parenthesis', next: '@pop' }]\n ],\n parenthizedterm: [\n { include: '@term' },\n ['\\\\)', { token: 'delimiter.parenthesis', next: '@pop' }]\n ],\n declarationbody: [\n { include: '@term' },\n [';', 'delimiter', '@pop'],\n ['(?=})', { token: '', next: '@pop' }] // missing semicolon\n ],\n comments: [\n ['\\\\/\\\\*', 'comment', '@comment'],\n ['\\\\/\\\\/+.*', 'comment']\n ],\n comment: [\n ['\\\\*\\\\/', 'comment', '@pop'],\n [/[^*/]+/, 'comment'],\n [/./, 'comment']\n ],\n name: [['@identifier', 'attribute.value']],\n numbers: [\n [\n '-?(\\\\d*\\\\.)?\\\\d+([eE][\\\\-+]?\\\\d+)?',\n { token: 'attribute.value.number', next: '@units' }\n ],\n ['#[0-9a-fA-F_]+(?!\\\\w)', 'attribute.value.hex']\n ],\n units: [\n [\n '(em|ex|ch|rem|vmin|vmax|vw|vh|vm|cm|mm|in|px|pt|pc|deg|grad|rad|turn|s|ms|Hz|kHz|%)?',\n 'attribute.value.unit',\n '@pop'\n ]\n ],\n keyframedeclaration: [\n ['@identifier', 'attribute.value'],\n ['{', { token: 'delimiter.bracket', switchTo: '@keyframebody' }]\n ],\n keyframebody: [\n { include: '@term' },\n ['{', { token: 'delimiter.bracket', next: '@selectorbody' }],\n ['}', { token: 'delimiter.bracket', next: '@pop' }]\n ],\n functioninvocation: [\n ['@identifier\\\\(', { token: 'attribute.value', next: '@functionarguments' }]\n ],\n functionarguments: [\n ['\\\\$@identifier@ws:', 'attribute.name'],\n ['[,]', 'delimiter'],\n { include: '@term' },\n ['\\\\)', { token: 'attribute.value', next: '@pop' }]\n ],\n strings: [\n ['~?\"', { token: 'string', next: '@stringenddoublequote' }],\n [\"~?'\", { token: 'string', next: '@stringendquote' }]\n ],\n stringenddoublequote: [\n ['\\\\\\\\.', 'string'],\n ['\"', { token: 'string', next: '@pop' }],\n [/[^\\\\\"]+/, 'string'],\n ['.', 'string']\n ],\n stringendquote: [\n ['\\\\\\\\.', 'string'],\n [\"'\", { token: 'string', next: '@pop' }],\n [/[^\\\\']+/, 'string'],\n ['.', 'string']\n ]\n }\n};\n"],"sourceRoot":""} \ No newline at end of file diff --git a/docs/17.17.js b/docs/17.17.js deleted file mode 100644 index e5fe3284..00000000 --- a/docs/17.17.js +++ /dev/null @@ -1 +0,0 @@ -(window.webpackJsonp=window.webpackJsonp||[]).push([[17],{922:function(e,n,t){"use strict";t.r(n),t.d(n,"conf",(function(){return o})),t.d(n,"language",(function(){return r}));var o={comments:{lineComment:"//",blockComment:["/*","*/"]},brackets:[["{","}"],["[","]"],["(",")"]],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:"'",close:"'",notIn:["string","comment"]},{open:'"',close:'"',notIn:["string"]},{open:"`",close:"`",notIn:["string","comment"]},{open:"/**",close:" */",notIn:["string"]}],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:"<",close:">"},{open:"'",close:"'"},{open:"(",close:")"},{open:'"',close:'"'},{open:"`",close:"`"}],folding:{markers:{start:/^\s*\s*#?region\b/,end:/^\s*\s*#?endregion\b/}}},r={defaultToken:"invalid",tokenPostfix:".dart",keywords:["abstract","dynamic","implements","show","as","else","import","static","assert","enum","in","super","async","export","interface","switch","await","extends","is","sync","break","external","library","this","case","factory","mixin","throw","catch","false","new","true","class","final","null","try","const","finally","on","typedef","continue","for","operator","var","covariant","Function","part","void","default","get","rethrow","while","deferred","hide","return","with","do","if","set","yield"],typeKeywords:["int","double","String","bool"],operators:["+","-","*","/","~/","%","++","--","==","!=",">","<",">=","<=","=","-=","/=","%=",">>=","^=","+=","*=","~/=","<<=","&=","!=","||","&&","&","|","^","~","<<",">>","!",">>>","??","?",":","|="],symbols:/[=>](?!@symbols)/,"@brackets"],[/!(?=([^=]|$))/,"delimiter"],[/@symbols/,{cases:{"@operators":"delimiter","@default":""}}],[/(@digits)[eE]([\-+]?(@digits))?/,"number.float"],[/(@digits)\.(@digits)([eE][\-+]?(@digits))?/,"number.float"],[/0[xX](@hexdigits)n?/,"number.hex"],[/0[oO]?(@octaldigits)n?/,"number.octal"],[/0[bB](@binarydigits)n?/,"number.binary"],[/(@digits)n?/,"number"],[/[;,.]/,"delimiter"],[/"([^"\\]|\\.)*$/,"string.invalid"],[/'([^'\\]|\\.)*$/,"string.invalid"],[/"/,"string","@string_double"],[/'/,"string","@string_single"]],whitespace:[[/[ \t\r\n]+/,""],[/\/\*\*(?!\/)/,"comment.doc","@jsdoc"],[/\/\*/,"comment","@comment"],[/\/\/\/.*$/,"comment.doc"],[/\/\/.*$/,"comment"]],comment:[[/[^\/*]+/,"comment"],[/\*\//,"comment","@pop"],[/[\/*]/,"comment"]],jsdoc:[[/[^\/*]+/,"comment.doc"],[/\*\//,"comment.doc","@pop"],[/[\/*]/,"comment.doc"]],regexp:[[/(\{)(\d+(?:,\d*)?)(\})/,["regexp.escape.control","regexp.escape.control","regexp.escape.control"]],[/(\[)(\^?)(?=(?:[^\]\\\/]|\\.)+)/,["regexp.escape.control",{token:"regexp.escape.control",next:"@regexrange"}]],[/(\()(\?:|\?=|\?!)/,["regexp.escape.control","regexp.escape.control"]],[/[()]/,"regexp.escape.control"],[/@regexpctl/,"regexp.escape.control"],[/[^\\\/]/,"regexp"],[/@regexpesc/,"regexp.escape"],[/\\\./,"regexp.invalid"],[/(\/)([gimsuy]*)/,[{token:"regexp",bracket:"@close",next:"@pop"},"keyword.other"]]],regexrange:[[/-/,"regexp.escape.control"],[/\^/,"regexp.invalid"],[/@regexpesc/,"regexp.escape"],[/[^\]]/,"regexp"],[/\]/,{token:"regexp.escape.control",next:"@pop",bracket:"@close"}]],string_double:[[/[^\\"\$]+/,"string"],[/[^\\"]+/,"string"],[/@escapes/,"string.escape"],[/\\./,"string.escape.invalid"],[/"/,"string","@pop"],[/\$\w+/,"identifier"]],string_single:[[/[^\\'\$]+/,"string"],[/@escapes/,"string.escape"],[/\\./,"string.escape.invalid"],[/'/,"string","@pop"],[/\$\w+/,"identifier"]]}}}}]); \ No newline at end of file diff --git a/docs/17.17.js.map b/docs/17.17.js.map deleted file mode 100644 index 73b3502a..00000000 --- a/docs/17.17.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"sources":["webpack:///./node_modules/monaco-editor/esm/vs/basic-languages/dart/dart.js"],"names":[],"mappings":";;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AACA;AACA;AACA;AACO;AACP;AACA;AACA;AACA,KAAK;AACL;AACA,WAAW,KAAK;AAChB;AACA;AACA;AACA;AACA,SAAS,SAAS,YAAY,GAAG;AACjC,SAAS,wBAAwB;AACjC,SAAS,wBAAwB;AACjC,SAAS,sDAAsD;AAC/D,SAAS,2CAA2C;AACpD,SAAS,sDAAsD;AAC/D,SAAS;AACT;AACA;AACA,SAAS,SAAS,YAAY,GAAG;AACjC,SAAS,wBAAwB;AACjC,SAAS,wBAAwB;AACjC,SAAS,wBAAwB;AACjC,SAAS,wBAAwB;AACjC,SAAS,wBAAwB;AACjC,SAAS,wBAAwB;AACjC,SAAS;AACT;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACO;AACP;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,8CAA8C,IAAI,cAAc,EAAE,cAAc,EAAE;AAClF;AACA;AACA;AACA;AACA,qBAAqB;AACrB,yEAAyE,EAAE,cAAc,EAAE;AAC3F;AACA;AACA,oBAAoB,2BAA2B,oBAAoB;AACnE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,aAAa,yBAAyB;AACtC;AACA;AACA,2DAA2D,WAAW;AACtE,iBAAiB;AACjB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,gBAAgB;AAChB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,oBAAoB,kBAAkB;AACtC;AACA;AACA;AACA;AACA,2CAA2C,sDAAsD;AACjG;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,kBAAkB,mDAAmD;AACrE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA","file":"17.17.js","sourcesContent":["/*---------------------------------------------------------------------------------------------\n * Copyright (c) Microsoft Corporation. All rights reserved.\n * Licensed under the MIT License. See License.txt in the project root for license information.\n *--------------------------------------------------------------------------------------------*/\nexport var conf = {\n comments: {\n lineComment: '//',\n blockComment: ['/*', '*/']\n },\n brackets: [\n ['{', '}'],\n ['[', ']'],\n ['(', ')']\n ],\n autoClosingPairs: [\n { open: '{', close: '}' },\n { open: '[', close: ']' },\n { open: '(', close: ')' },\n { open: \"'\", close: \"'\", notIn: ['string', 'comment'] },\n { open: '\"', close: '\"', notIn: ['string'] },\n { open: '`', close: '`', notIn: ['string', 'comment'] },\n { open: '/**', close: ' */', notIn: ['string'] }\n ],\n surroundingPairs: [\n { open: '{', close: '}' },\n { open: '[', close: ']' },\n { open: '(', close: ')' },\n { open: '<', close: '>' },\n { open: \"'\", close: \"'\" },\n { open: '(', close: ')' },\n { open: '\"', close: '\"' },\n { open: '`', close: '`' }\n ],\n folding: {\n markers: {\n start: /^\\s*\\s*#?region\\b/,\n end: /^\\s*\\s*#?endregion\\b/\n }\n }\n};\nexport var language = {\n defaultToken: 'invalid',\n tokenPostfix: '.dart',\n keywords: [\n 'abstract',\n 'dynamic',\n 'implements',\n 'show',\n 'as',\n 'else',\n 'import',\n 'static',\n 'assert',\n 'enum',\n 'in',\n 'super',\n 'async',\n 'export',\n 'interface',\n 'switch',\n 'await',\n 'extends',\n 'is',\n 'sync',\n 'break',\n 'external',\n 'library',\n 'this',\n 'case',\n 'factory',\n 'mixin',\n 'throw',\n 'catch',\n 'false',\n 'new',\n 'true',\n 'class',\n 'final',\n 'null',\n 'try',\n 'const',\n 'finally',\n 'on',\n 'typedef',\n 'continue',\n 'for',\n 'operator',\n 'var',\n 'covariant',\n 'Function',\n 'part',\n 'void',\n 'default',\n 'get',\n 'rethrow',\n 'while',\n 'deferred',\n 'hide',\n 'return',\n 'with',\n 'do',\n 'if',\n 'set',\n 'yield'\n ],\n typeKeywords: ['int', 'double', 'String', 'bool'],\n operators: [\n '+',\n '-',\n '*',\n '/',\n '~/',\n '%',\n '++',\n '--',\n '==',\n '!=',\n '>',\n '<',\n '>=',\n '<=',\n '=',\n '-=',\n '/=',\n '%=',\n '>>=',\n '^=',\n '+=',\n '*=',\n '~/=',\n '<<=',\n '&=',\n '!=',\n '||',\n '&&',\n '&',\n '|',\n '^',\n '~',\n '<<',\n '>>',\n '!',\n '>>>',\n '??',\n '?',\n ':',\n '|='\n ],\n // we include these common regular expressions\n symbols: /[=>](?!@symbols)/, '@brackets'],\n [/!(?=([^=]|$))/, 'delimiter'],\n [\n /@symbols/,\n {\n cases: {\n '@operators': 'delimiter',\n '@default': ''\n }\n }\n ],\n // numbers\n [/(@digits)[eE]([\\-+]?(@digits))?/, 'number.float'],\n [/(@digits)\\.(@digits)([eE][\\-+]?(@digits))?/, 'number.float'],\n [/0[xX](@hexdigits)n?/, 'number.hex'],\n [/0[oO]?(@octaldigits)n?/, 'number.octal'],\n [/0[bB](@binarydigits)n?/, 'number.binary'],\n [/(@digits)n?/, 'number'],\n // delimiter: after number because of .\\d floats\n [/[;,.]/, 'delimiter'],\n // strings\n [/\"([^\"\\\\]|\\\\.)*$/, 'string.invalid'],\n [/'([^'\\\\]|\\\\.)*$/, 'string.invalid'],\n [/\"/, 'string', '@string_double'],\n [/'/, 'string', '@string_single']\n // [/[a-zA-Z]+/, \"variable\"]\n ],\n whitespace: [\n [/[ \\t\\r\\n]+/, ''],\n [/\\/\\*\\*(?!\\/)/, 'comment.doc', '@jsdoc'],\n [/\\/\\*/, 'comment', '@comment'],\n [/\\/\\/\\/.*$/, 'comment.doc'],\n [/\\/\\/.*$/, 'comment']\n ],\n comment: [\n [/[^\\/*]+/, 'comment'],\n [/\\*\\//, 'comment', '@pop'],\n [/[\\/*]/, 'comment']\n ],\n jsdoc: [\n [/[^\\/*]+/, 'comment.doc'],\n [/\\*\\//, 'comment.doc', '@pop'],\n [/[\\/*]/, 'comment.doc']\n ],\n // We match regular expression quite precisely\n regexp: [\n [\n /(\\{)(\\d+(?:,\\d*)?)(\\})/,\n ['regexp.escape.control', 'regexp.escape.control', 'regexp.escape.control']\n ],\n [\n /(\\[)(\\^?)(?=(?:[^\\]\\\\\\/]|\\\\.)+)/,\n ['regexp.escape.control', { token: 'regexp.escape.control', next: '@regexrange' }]\n ],\n [/(\\()(\\?:|\\?=|\\?!)/, ['regexp.escape.control', 'regexp.escape.control']],\n [/[()]/, 'regexp.escape.control'],\n [/@regexpctl/, 'regexp.escape.control'],\n [/[^\\\\\\/]/, 'regexp'],\n [/@regexpesc/, 'regexp.escape'],\n [/\\\\\\./, 'regexp.invalid'],\n [\n /(\\/)([gimsuy]*)/,\n [{ token: 'regexp', bracket: '@close', next: '@pop' }, 'keyword.other']\n ]\n ],\n regexrange: [\n [/-/, 'regexp.escape.control'],\n [/\\^/, 'regexp.invalid'],\n [/@regexpesc/, 'regexp.escape'],\n [/[^\\]]/, 'regexp'],\n [\n /\\]/,\n {\n token: 'regexp.escape.control',\n next: '@pop',\n bracket: '@close'\n }\n ]\n ],\n string_double: [\n [/[^\\\\\"\\$]+/, 'string'],\n [/[^\\\\\"]+/, 'string'],\n [/@escapes/, 'string.escape'],\n [/\\\\./, 'string.escape.invalid'],\n [/\"/, 'string', '@pop'],\n [/\\$\\w+/, 'identifier']\n ],\n string_single: [\n [/[^\\\\'\\$]+/, 'string'],\n [/@escapes/, 'string.escape'],\n [/\\\\./, 'string.escape.invalid'],\n [/'/, 'string', '@pop'],\n [/\\$\\w+/, 'identifier']\n ]\n }\n};\n"],"sourceRoot":""} \ No newline at end of file diff --git a/docs/18.18.js b/docs/18.18.js deleted file mode 100644 index cc6194b5..00000000 --- a/docs/18.18.js +++ /dev/null @@ -1 +0,0 @@ -(window.webpackJsonp=window.webpackJsonp||[]).push([[18],{923:function(e,n,o){"use strict";o.r(n),o.d(n,"conf",(function(){return s})),o.d(n,"language",(function(){return t}));var s={brackets:[["{","}"],["[","]"],["(",")"]],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}]},t={defaultToken:"",tokenPostfix:".dockerfile",variable:/\${?[\w]+}?/,tokenizer:{root:[{include:"@whitespace"},{include:"@comment"},[/(ONBUILD)(\s+)/,["keyword",""]],[/(ENV)(\s+)([\w]+)/,["keyword","",{token:"variable",next:"@arguments"}]],[/(FROM|MAINTAINER|RUN|EXPOSE|ENV|ADD|ARG|VOLUME|LABEL|USER|WORKDIR|COPY|CMD|STOPSIGNAL|SHELL|HEALTHCHECK|ENTRYPOINT)/,{token:"keyword",next:"@arguments"}]],arguments:[{include:"@whitespace"},{include:"@strings"},[/(@variable)/,{cases:{"@eos":{token:"variable",next:"@popall"},"@default":"variable"}}],[/\\/,{cases:{"@eos":"","@default":""}}],[/./,{cases:{"@eos":{token:"",next:"@popall"},"@default":""}}]],whitespace:[[/\s+/,{cases:{"@eos":{token:"",next:"@popall"},"@default":""}}]],comment:[[/(^#.*$)/,"comment","@popall"]],strings:[[/\\'$/,"","@popall"],[/\\'/,""],[/'$/,"string","@popall"],[/'/,"string","@stringBody"],[/"$/,"string","@popall"],[/"/,"string","@dblStringBody"]],stringBody:[[/[^\\\$']/,{cases:{"@eos":{token:"string",next:"@popall"},"@default":"string"}}],[/\\./,"string.escape"],[/'$/,"string","@popall"],[/'/,"string","@pop"],[/(@variable)/,"variable"],[/\\$/,"string"],[/$/,"string","@popall"]],dblStringBody:[[/[^\\\$"]/,{cases:{"@eos":{token:"string",next:"@popall"},"@default":"string"}}],[/\\./,"string.escape"],[/"$/,"string","@popall"],[/"/,"string","@pop"],[/(@variable)/,"variable"],[/\\$/,"string"],[/$/,"string","@popall"]]}}}}]); \ No newline at end of file diff --git a/docs/18.18.js.map b/docs/18.18.js.map deleted file mode 100644 index 90b72540..00000000 --- a/docs/18.18.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"sources":["webpack:///./node_modules/monaco-editor/esm/vs/basic-languages/dockerfile/dockerfile.js"],"names":[],"mappings":";;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AACA;AACA;AACA;AACO;AACP;AACA,WAAW,KAAK;AAChB;AACA;AACA;AACA;AACA,SAAS,SAAS,YAAY,GAAG;AACjC,SAAS,wBAAwB;AACjC,SAAS,wBAAwB;AACjC,SAAS,wBAAwB;AACjC,SAAS;AACT;AACA;AACA,SAAS,SAAS,YAAY,GAAG;AACjC,SAAS,wBAAwB;AACjC,SAAS,wBAAwB;AACjC,SAAS,wBAAwB;AACjC,SAAS;AACT;AACA;AACO;AACP;AACA;AACA,kBAAkB,OAAO;AACzB;AACA;AACA,aAAa,yBAAyB;AACtC,aAAa,sBAAsB;AACnC;AACA,mDAAmD,wCAAwC;AAC3F;AACA;AACA,iBAAiB;AACjB;AACA;AACA;AACA,aAAa,yBAAyB;AACtC,aAAa,sBAAsB;AACnC;AACA;AACA;AACA;AACA,iCAAiC,qCAAqC;AACtE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,iCAAiC,6BAA6B;AAC9D;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,iCAAiC,6BAA6B;AAC9D;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,iCAAiC,mCAAmC;AACpE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,iCAAiC,mCAAmC;AACpE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA","file":"18.18.js","sourcesContent":["/*---------------------------------------------------------------------------------------------\n * Copyright (c) Microsoft Corporation. All rights reserved.\n * Licensed under the MIT License. See License.txt in the project root for license information.\n *--------------------------------------------------------------------------------------------*/\nexport var conf = {\n brackets: [\n ['{', '}'],\n ['[', ']'],\n ['(', ')']\n ],\n autoClosingPairs: [\n { open: '{', close: '}' },\n { open: '[', close: ']' },\n { open: '(', close: ')' },\n { open: '\"', close: '\"' },\n { open: \"'\", close: \"'\" }\n ],\n surroundingPairs: [\n { open: '{', close: '}' },\n { open: '[', close: ']' },\n { open: '(', close: ')' },\n { open: '\"', close: '\"' },\n { open: \"'\", close: \"'\" }\n ]\n};\nexport var language = {\n defaultToken: '',\n tokenPostfix: '.dockerfile',\n variable: /\\${?[\\w]+}?/,\n tokenizer: {\n root: [\n { include: '@whitespace' },\n { include: '@comment' },\n [/(ONBUILD)(\\s+)/, ['keyword', '']],\n [/(ENV)(\\s+)([\\w]+)/, ['keyword', '', { token: 'variable', next: '@arguments' }]],\n [\n /(FROM|MAINTAINER|RUN|EXPOSE|ENV|ADD|ARG|VOLUME|LABEL|USER|WORKDIR|COPY|CMD|STOPSIGNAL|SHELL|HEALTHCHECK|ENTRYPOINT)/,\n { token: 'keyword', next: '@arguments' }\n ]\n ],\n arguments: [\n { include: '@whitespace' },\n { include: '@strings' },\n [\n /(@variable)/,\n {\n cases: {\n '@eos': { token: 'variable', next: '@popall' },\n '@default': 'variable'\n }\n }\n ],\n [\n /\\\\/,\n {\n cases: {\n '@eos': '',\n '@default': ''\n }\n }\n ],\n [\n /./,\n {\n cases: {\n '@eos': { token: '', next: '@popall' },\n '@default': ''\n }\n }\n ]\n ],\n // Deal with white space, including comments\n whitespace: [\n [\n /\\s+/,\n {\n cases: {\n '@eos': { token: '', next: '@popall' },\n '@default': ''\n }\n }\n ]\n ],\n comment: [[/(^#.*$)/, 'comment', '@popall']],\n // Recognize strings, including those broken across lines with \\ (but not without)\n strings: [\n [/\\\\'$/, '', '@popall'],\n [/\\\\'/, ''],\n [/'$/, 'string', '@popall'],\n [/'/, 'string', '@stringBody'],\n [/\"$/, 'string', '@popall'],\n [/\"/, 'string', '@dblStringBody']\n ],\n stringBody: [\n [\n /[^\\\\\\$']/,\n {\n cases: {\n '@eos': { token: 'string', next: '@popall' },\n '@default': 'string'\n }\n }\n ],\n [/\\\\./, 'string.escape'],\n [/'$/, 'string', '@popall'],\n [/'/, 'string', '@pop'],\n [/(@variable)/, 'variable'],\n [/\\\\$/, 'string'],\n [/$/, 'string', '@popall']\n ],\n dblStringBody: [\n [\n /[^\\\\\\$\"]/,\n {\n cases: {\n '@eos': { token: 'string', next: '@popall' },\n '@default': 'string'\n }\n }\n ],\n [/\\\\./, 'string.escape'],\n [/\"$/, 'string', '@popall'],\n [/\"/, 'string', '@pop'],\n [/(@variable)/, 'variable'],\n [/\\\\$/, 'string'],\n [/$/, 'string', '@popall']\n ]\n }\n};\n"],"sourceRoot":""} \ No newline at end of file diff --git a/docs/19.19.js b/docs/19.19.js deleted file mode 100644 index 1e565396..00000000 --- a/docs/19.19.js +++ /dev/null @@ -1 +0,0 @@ -(window.webpackJsonp=window.webpackJsonp||[]).push([[19],{924:function(e,n,t){"use strict";t.r(n),t.d(n,"conf",(function(){return s})),t.d(n,"language",(function(){return o}));var s={comments:{lineComment:"//",blockComment:["(*","*)"]},brackets:[["{","}"],["[","]"],["(",")"]],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'}],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}],folding:{markers:{start:new RegExp("^\\s*//\\s*#region\\b|^\\s*\\(\\*\\s*#region(.*)\\*\\)"),end:new RegExp("^\\s*//\\s*#endregion\\b|^\\s*\\(\\*\\s*#endregion\\s*\\*\\)")}}},o={defaultToken:"",tokenPostfix:".fs",keywords:["abstract","and","atomic","as","assert","asr","base","begin","break","checked","component","const","constraint","constructor","continue","class","default","delegate","do","done","downcast","downto","elif","else","end","exception","eager","event","external","extern","false","finally","for","fun","function","fixed","functor","global","if","in","include","inherit","inline","interface","internal","land","lor","lsl","lsr","lxor","lazy","let","match","member","mod","module","mutable","namespace","method","mixin","new","not","null","of","open","or","object","override","private","parallel","process","protected","pure","public","rec","return","static","sealed","struct","sig","then","to","true","tailcall","trait","try","type","upcast","use","val","void","virtual","volatile","when","while","with","yield"],symbols:/[=>\]/,"annotation"],[/^#(if|else|endif)/,"keyword"],[/[{}()\[\]]/,"@brackets"],[/[<>](?!@symbols)/,"@brackets"],[/@symbols/,"delimiter"],[/\d*\d+[eE]([\-+]?\d+)?(@floatsuffix)/,"number.float"],[/\d*\.\d+([eE][\-+]?\d+)?(@floatsuffix)/,"number.float"],[/0x[0-9a-fA-F]+LF/,"number.float"],[/0x[0-9a-fA-F]+(@integersuffix)/,"number.hex"],[/0b[0-1]+(@integersuffix)/,"number.bin"],[/\d+(@integersuffix)/,"number"],[/[;,.]/,"delimiter"],[/"([^"\\]|\\.)*$/,"string.invalid"],[/"""/,"string",'@string."""'],[/"/,"string",'@string."'],[/\@"/,{token:"string.quote",next:"@litstring"}],[/'[^\\']'B?/,"string"],[/(')(@escapes)(')/,["string","string.escape","string"]],[/'/,"string.invalid"]],whitespace:[[/[ \t\r\n]+/,""],[/\(\*(?!\))/,"comment","@comment"],[/\/\/.*$/,"comment"]],comment:[[/[^*(]+/,"comment"],[/\*\)/,"comment","@pop"],[/\*/,"comment"],[/\(\*\)/,"comment"],[/\(/,"comment"]],string:[[/[^\\"]+/,"string"],[/@escapes/,"string.escape"],[/\\./,"string.escape.invalid"],[/("""|"B?)/,{cases:{"$#==$S2":{token:"string",next:"@pop"},"@default":"string"}}]],litstring:[[/[^"]+/,"string"],[/""/,"string.escape"],[/"/,{token:"string.quote",next:"@pop"}]]}}}}]); \ No newline at end of file diff --git a/docs/19.19.js.map b/docs/19.19.js.map deleted file mode 100644 index 4846972b..00000000 --- a/docs/19.19.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"sources":["webpack:///./node_modules/monaco-editor/esm/vs/basic-languages/fsharp/fsharp.js"],"names":[],"mappings":";;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AACA;AACA;AACA;AACO;AACP;AACA;AACA;AACA,KAAK;AACL;AACA,WAAW,KAAK;AAChB;AACA;AACA;AACA;AACA,SAAS,SAAS,YAAY,GAAG;AACjC,SAAS,wBAAwB;AACjC,SAAS,wBAAwB;AACjC,SAAS;AACT;AACA;AACA,SAAS,SAAS,YAAY,GAAG;AACjC,SAAS,wBAAwB;AACjC,SAAS,wBAAwB;AACjC,SAAS,wBAAwB;AACjC,SAAS;AACT;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACO;AACP;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,gCAAgC;AAChC,8CAA8C,IAAI,cAAc,EAAE,cAAc,EAAE;AAClF;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,sCAAsC,sBAAsB;AAC5D;AACA;AACA;AACA;AACA;AACA,aAAa,yBAAyB;AACtC;AACA;AACA;AACA;AACA;AACA,iBAAiB;AACjB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,gBAAgB;AAChB;AACA;AACA;AACA;AACA;AACA,qBAAqB,4CAA4C;AACjE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,oCAAoC,gCAAgC;AACpE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,mBAAmB,sCAAsC;AACzD;AACA;AACA","file":"19.19.js","sourcesContent":["/*---------------------------------------------------------------------------------------------\n * Copyright (c) Microsoft Corporation. All rights reserved.\n * Licensed under the MIT License. See License.txt in the project root for license information.\n *--------------------------------------------------------------------------------------------*/\nexport var conf = {\n comments: {\n lineComment: '//',\n blockComment: ['(*', '*)']\n },\n brackets: [\n ['{', '}'],\n ['[', ']'],\n ['(', ')']\n ],\n autoClosingPairs: [\n { open: '{', close: '}' },\n { open: '[', close: ']' },\n { open: '(', close: ')' },\n { open: '\"', close: '\"' }\n ],\n surroundingPairs: [\n { open: '{', close: '}' },\n { open: '[', close: ']' },\n { open: '(', close: ')' },\n { open: '\"', close: '\"' },\n { open: \"'\", close: \"'\" }\n ],\n folding: {\n markers: {\n start: new RegExp('^\\\\s*//\\\\s*#region\\\\b|^\\\\s*\\\\(\\\\*\\\\s*#region(.*)\\\\*\\\\)'),\n end: new RegExp('^\\\\s*//\\\\s*#endregion\\\\b|^\\\\s*\\\\(\\\\*\\\\s*#endregion\\\\s*\\\\*\\\\)')\n }\n }\n};\nexport var language = {\n defaultToken: '',\n tokenPostfix: '.fs',\n keywords: [\n 'abstract',\n 'and',\n 'atomic',\n 'as',\n 'assert',\n 'asr',\n 'base',\n 'begin',\n 'break',\n 'checked',\n 'component',\n 'const',\n 'constraint',\n 'constructor',\n 'continue',\n 'class',\n 'default',\n 'delegate',\n 'do',\n 'done',\n 'downcast',\n 'downto',\n 'elif',\n 'else',\n 'end',\n 'exception',\n 'eager',\n 'event',\n 'external',\n 'extern',\n 'false',\n 'finally',\n 'for',\n 'fun',\n 'function',\n 'fixed',\n 'functor',\n 'global',\n 'if',\n 'in',\n 'include',\n 'inherit',\n 'inline',\n 'interface',\n 'internal',\n 'land',\n 'lor',\n 'lsl',\n 'lsr',\n 'lxor',\n 'lazy',\n 'let',\n 'match',\n 'member',\n 'mod',\n 'module',\n 'mutable',\n 'namespace',\n 'method',\n 'mixin',\n 'new',\n 'not',\n 'null',\n 'of',\n 'open',\n 'or',\n 'object',\n 'override',\n 'private',\n 'parallel',\n 'process',\n 'protected',\n 'pure',\n 'public',\n 'rec',\n 'return',\n 'static',\n 'sealed',\n 'struct',\n 'sig',\n 'then',\n 'to',\n 'true',\n 'tailcall',\n 'trait',\n 'try',\n 'type',\n 'upcast',\n 'use',\n 'val',\n 'void',\n 'virtual',\n 'volatile',\n 'when',\n 'while',\n 'with',\n 'yield'\n ],\n // we include these common regular expressions\n symbols: /[=>].\n [/\\[<.*>\\]/, 'annotation'],\n // Preprocessor directive\n [/^#(if|else|endif)/, 'keyword'],\n // delimiters and operators\n [/[{}()\\[\\]]/, '@brackets'],\n [/[<>](?!@symbols)/, '@brackets'],\n [/@symbols/, 'delimiter'],\n // numbers\n [/\\d*\\d+[eE]([\\-+]?\\d+)?(@floatsuffix)/, 'number.float'],\n [/\\d*\\.\\d+([eE][\\-+]?\\d+)?(@floatsuffix)/, 'number.float'],\n [/0x[0-9a-fA-F]+LF/, 'number.float'],\n [/0x[0-9a-fA-F]+(@integersuffix)/, 'number.hex'],\n [/0b[0-1]+(@integersuffix)/, 'number.bin'],\n [/\\d+(@integersuffix)/, 'number'],\n // delimiter: after number because of .\\d floats\n [/[;,.]/, 'delimiter'],\n // strings\n [/\"([^\"\\\\]|\\\\.)*$/, 'string.invalid'],\n [/\"\"\"/, 'string', '@string.\"\"\"'],\n [/\"/, 'string', '@string.\"'],\n // literal string\n [/\\@\"/, { token: 'string.quote', next: '@litstring' }],\n // characters\n [/'[^\\\\']'B?/, 'string'],\n [/(')(@escapes)(')/, ['string', 'string.escape', 'string']],\n [/'/, 'string.invalid']\n ],\n whitespace: [\n [/[ \\t\\r\\n]+/, ''],\n [/\\(\\*(?!\\))/, 'comment', '@comment'],\n [/\\/\\/.*$/, 'comment']\n ],\n comment: [\n [/[^*(]+/, 'comment'],\n [/\\*\\)/, 'comment', '@pop'],\n [/\\*/, 'comment'],\n [/\\(\\*\\)/, 'comment'],\n [/\\(/, 'comment']\n ],\n string: [\n [/[^\\\\\"]+/, 'string'],\n [/@escapes/, 'string.escape'],\n [/\\\\./, 'string.escape.invalid'],\n [\n /(\"\"\"|\"B?)/,\n {\n cases: {\n '$#==$S2': { token: 'string', next: '@pop' },\n '@default': 'string'\n }\n }\n ]\n ],\n litstring: [\n [/[^\"]+/, 'string'],\n [/\"\"/, 'string.escape'],\n [/\"/, { token: 'string.quote', next: '@pop' }]\n ]\n }\n};\n"],"sourceRoot":""} \ No newline at end of file diff --git a/docs/2.2.js b/docs/2.2.js deleted file mode 100644 index 9a116d12..00000000 --- a/docs/2.2.js +++ /dev/null @@ -1,37806 +0,0 @@ -(window["webpackJsonp"] = window["webpackJsonp"] || []).push([[2],{ - -/***/ "./node_modules/monaco-editor/esm/vs/language/css/_deps/vscode-css-languageservice/_deps/vscode-languageserver-types/main.js": -/*!***********************************************************************************************************************************!*\ - !*** ./node_modules/monaco-editor/esm/vs/language/css/_deps/vscode-css-languageservice/_deps/vscode-languageserver-types/main.js ***! - \***********************************************************************************************************************************/ -/*! exports provided: Position, Range, Location, LocationLink, Color, ColorInformation, ColorPresentation, FoldingRangeKind, FoldingRange, DiagnosticRelatedInformation, DiagnosticSeverity, DiagnosticTag, DiagnosticCode, Diagnostic, Command, TextEdit, TextDocumentEdit, CreateFile, RenameFile, DeleteFile, WorkspaceEdit, WorkspaceChange, TextDocumentIdentifier, VersionedTextDocumentIdentifier, TextDocumentItem, MarkupKind, MarkupContent, CompletionItemKind, InsertTextFormat, CompletionItemTag, InsertReplaceEdit, CompletionItem, CompletionList, MarkedString, Hover, ParameterInformation, SignatureInformation, DocumentHighlightKind, DocumentHighlight, SymbolKind, SymbolTag, SymbolInformation, DocumentSymbol, CodeActionKind, CodeActionContext, CodeAction, CodeLens, FormattingOptions, DocumentLink, SelectionRange, EOL, TextDocument */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -__webpack_require__.r(__webpack_exports__); -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Position", function() { return Position; }); -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Range", function() { return Range; }); -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Location", function() { return Location; }); -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "LocationLink", function() { return LocationLink; }); -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Color", function() { return Color; }); -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ColorInformation", function() { return ColorInformation; }); -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ColorPresentation", function() { return ColorPresentation; }); -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "FoldingRangeKind", function() { return FoldingRangeKind; }); -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "FoldingRange", function() { return FoldingRange; }); -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "DiagnosticRelatedInformation", function() { return DiagnosticRelatedInformation; }); -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "DiagnosticSeverity", function() { return DiagnosticSeverity; }); -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "DiagnosticTag", function() { return DiagnosticTag; }); -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "DiagnosticCode", function() { return DiagnosticCode; }); -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Diagnostic", function() { return Diagnostic; }); -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Command", function() { return Command; }); -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "TextEdit", function() { return TextEdit; }); -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "TextDocumentEdit", function() { return TextDocumentEdit; }); -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "CreateFile", function() { return CreateFile; }); -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "RenameFile", function() { return RenameFile; }); -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "DeleteFile", function() { return DeleteFile; }); -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "WorkspaceEdit", function() { return WorkspaceEdit; }); -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "WorkspaceChange", function() { return WorkspaceChange; }); -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "TextDocumentIdentifier", function() { return TextDocumentIdentifier; }); -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "VersionedTextDocumentIdentifier", function() { return VersionedTextDocumentIdentifier; }); -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "TextDocumentItem", function() { return TextDocumentItem; }); -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "MarkupKind", function() { return MarkupKind; }); -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "MarkupContent", function() { return MarkupContent; }); -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "CompletionItemKind", function() { return CompletionItemKind; }); -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "InsertTextFormat", function() { return InsertTextFormat; }); -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "CompletionItemTag", function() { return CompletionItemTag; }); -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "InsertReplaceEdit", function() { return InsertReplaceEdit; }); -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "CompletionItem", function() { return CompletionItem; }); -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "CompletionList", function() { return CompletionList; }); -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "MarkedString", function() { return MarkedString; }); -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Hover", function() { return Hover; }); -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ParameterInformation", function() { return ParameterInformation; }); -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "SignatureInformation", function() { return SignatureInformation; }); -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "DocumentHighlightKind", function() { return DocumentHighlightKind; }); -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "DocumentHighlight", function() { return DocumentHighlight; }); -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "SymbolKind", function() { return SymbolKind; }); -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "SymbolTag", function() { return SymbolTag; }); -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "SymbolInformation", function() { return SymbolInformation; }); -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "DocumentSymbol", function() { return DocumentSymbol; }); -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "CodeActionKind", function() { return CodeActionKind; }); -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "CodeActionContext", function() { return CodeActionContext; }); -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "CodeAction", function() { return CodeAction; }); -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "CodeLens", function() { return CodeLens; }); -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "FormattingOptions", function() { return FormattingOptions; }); -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "DocumentLink", function() { return DocumentLink; }); -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "SelectionRange", function() { return SelectionRange; }); -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "EOL", function() { return EOL; }); -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "TextDocument", function() { return TextDocument; }); -/* -------------------------------------------------------------------------------------------- - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for license information. - * ------------------------------------------------------------------------------------------ */ - -/** - * The Position namespace provides helper functions to work with - * [Position](#Position) literals. - */ -var Position; -(function (Position) { - /** - * Creates a new Position literal from the given line and character. - * @param line The position's line. - * @param character The position's character. - */ - function create(line, character) { - return { line: line, character: character }; - } - Position.create = create; - /** - * Checks whether the given liternal conforms to the [Position](#Position) interface. - */ - function is(value) { - var candidate = value; - return Is.objectLiteral(candidate) && Is.number(candidate.line) && Is.number(candidate.character); - } - Position.is = is; -})(Position || (Position = {})); -/** - * The Range namespace provides helper functions to work with - * [Range](#Range) literals. - */ -var Range; -(function (Range) { - function create(one, two, three, four) { - if (Is.number(one) && Is.number(two) && Is.number(three) && Is.number(four)) { - return { start: Position.create(one, two), end: Position.create(three, four) }; - } - else if (Position.is(one) && Position.is(two)) { - return { start: one, end: two }; - } - else { - throw new Error("Range#create called with invalid arguments[" + one + ", " + two + ", " + three + ", " + four + "]"); - } - } - Range.create = create; - /** - * Checks whether the given literal conforms to the [Range](#Range) interface. - */ - function is(value) { - var candidate = value; - return Is.objectLiteral(candidate) && Position.is(candidate.start) && Position.is(candidate.end); - } - Range.is = is; -})(Range || (Range = {})); -/** - * The Location namespace provides helper functions to work with - * [Location](#Location) literals. - */ -var Location; -(function (Location) { - /** - * Creates a Location literal. - * @param uri The location's uri. - * @param range The location's range. - */ - function create(uri, range) { - return { uri: uri, range: range }; - } - Location.create = create; - /** - * Checks whether the given literal conforms to the [Location](#Location) interface. - */ - function is(value) { - var candidate = value; - return Is.defined(candidate) && Range.is(candidate.range) && (Is.string(candidate.uri) || Is.undefined(candidate.uri)); - } - Location.is = is; -})(Location || (Location = {})); -/** - * The LocationLink namespace provides helper functions to work with - * [LocationLink](#LocationLink) literals. - */ -var LocationLink; -(function (LocationLink) { - /** - * Creates a LocationLink literal. - * @param targetUri The definition's uri. - * @param targetRange The full range of the definition. - * @param targetSelectionRange The span of the symbol definition at the target. - * @param originSelectionRange The span of the symbol being defined in the originating source file. - */ - function create(targetUri, targetRange, targetSelectionRange, originSelectionRange) { - return { targetUri: targetUri, targetRange: targetRange, targetSelectionRange: targetSelectionRange, originSelectionRange: originSelectionRange }; - } - LocationLink.create = create; - /** - * Checks whether the given literal conforms to the [LocationLink](#LocationLink) interface. - */ - function is(value) { - var candidate = value; - return Is.defined(candidate) && Range.is(candidate.targetRange) && Is.string(candidate.targetUri) - && (Range.is(candidate.targetSelectionRange) || Is.undefined(candidate.targetSelectionRange)) - && (Range.is(candidate.originSelectionRange) || Is.undefined(candidate.originSelectionRange)); - } - LocationLink.is = is; -})(LocationLink || (LocationLink = {})); -/** - * The Color namespace provides helper functions to work with - * [Color](#Color) literals. - */ -var Color; -(function (Color) { - /** - * Creates a new Color literal. - */ - function create(red, green, blue, alpha) { - return { - red: red, - green: green, - blue: blue, - alpha: alpha, - }; - } - Color.create = create; - /** - * Checks whether the given literal conforms to the [Color](#Color) interface. - */ - function is(value) { - var candidate = value; - return Is.number(candidate.red) - && Is.number(candidate.green) - && Is.number(candidate.blue) - && Is.number(candidate.alpha); - } - Color.is = is; -})(Color || (Color = {})); -/** - * The ColorInformation namespace provides helper functions to work with - * [ColorInformation](#ColorInformation) literals. - */ -var ColorInformation; -(function (ColorInformation) { - /** - * Creates a new ColorInformation literal. - */ - function create(range, color) { - return { - range: range, - color: color, - }; - } - ColorInformation.create = create; - /** - * Checks whether the given literal conforms to the [ColorInformation](#ColorInformation) interface. - */ - function is(value) { - var candidate = value; - return Range.is(candidate.range) && Color.is(candidate.color); - } - ColorInformation.is = is; -})(ColorInformation || (ColorInformation = {})); -/** - * The Color namespace provides helper functions to work with - * [ColorPresentation](#ColorPresentation) literals. - */ -var ColorPresentation; -(function (ColorPresentation) { - /** - * Creates a new ColorInformation literal. - */ - function create(label, textEdit, additionalTextEdits) { - return { - label: label, - textEdit: textEdit, - additionalTextEdits: additionalTextEdits, - }; - } - ColorPresentation.create = create; - /** - * Checks whether the given literal conforms to the [ColorInformation](#ColorInformation) interface. - */ - function is(value) { - var candidate = value; - return Is.string(candidate.label) - && (Is.undefined(candidate.textEdit) || TextEdit.is(candidate)) - && (Is.undefined(candidate.additionalTextEdits) || Is.typedArray(candidate.additionalTextEdits, TextEdit.is)); - } - ColorPresentation.is = is; -})(ColorPresentation || (ColorPresentation = {})); -/** - * Enum of known range kinds - */ -var FoldingRangeKind; -(function (FoldingRangeKind) { - /** - * Folding range for a comment - */ - FoldingRangeKind["Comment"] = "comment"; - /** - * Folding range for a imports or includes - */ - FoldingRangeKind["Imports"] = "imports"; - /** - * Folding range for a region (e.g. `#region`) - */ - FoldingRangeKind["Region"] = "region"; -})(FoldingRangeKind || (FoldingRangeKind = {})); -/** - * The folding range namespace provides helper functions to work with - * [FoldingRange](#FoldingRange) literals. - */ -var FoldingRange; -(function (FoldingRange) { - /** - * Creates a new FoldingRange literal. - */ - function create(startLine, endLine, startCharacter, endCharacter, kind) { - var result = { - startLine: startLine, - endLine: endLine - }; - if (Is.defined(startCharacter)) { - result.startCharacter = startCharacter; - } - if (Is.defined(endCharacter)) { - result.endCharacter = endCharacter; - } - if (Is.defined(kind)) { - result.kind = kind; - } - return result; - } - FoldingRange.create = create; - /** - * Checks whether the given literal conforms to the [FoldingRange](#FoldingRange) interface. - */ - function is(value) { - var candidate = value; - return Is.number(candidate.startLine) && Is.number(candidate.startLine) - && (Is.undefined(candidate.startCharacter) || Is.number(candidate.startCharacter)) - && (Is.undefined(candidate.endCharacter) || Is.number(candidate.endCharacter)) - && (Is.undefined(candidate.kind) || Is.string(candidate.kind)); - } - FoldingRange.is = is; -})(FoldingRange || (FoldingRange = {})); -/** - * The DiagnosticRelatedInformation namespace provides helper functions to work with - * [DiagnosticRelatedInformation](#DiagnosticRelatedInformation) literals. - */ -var DiagnosticRelatedInformation; -(function (DiagnosticRelatedInformation) { - /** - * Creates a new DiagnosticRelatedInformation literal. - */ - function create(location, message) { - return { - location: location, - message: message - }; - } - DiagnosticRelatedInformation.create = create; - /** - * Checks whether the given literal conforms to the [DiagnosticRelatedInformation](#DiagnosticRelatedInformation) interface. - */ - function is(value) { - var candidate = value; - return Is.defined(candidate) && Location.is(candidate.location) && Is.string(candidate.message); - } - DiagnosticRelatedInformation.is = is; -})(DiagnosticRelatedInformation || (DiagnosticRelatedInformation = {})); -/** - * The diagnostic's severity. - */ -var DiagnosticSeverity; -(function (DiagnosticSeverity) { - /** - * Reports an error. - */ - DiagnosticSeverity.Error = 1; - /** - * Reports a warning. - */ - DiagnosticSeverity.Warning = 2; - /** - * Reports an information. - */ - DiagnosticSeverity.Information = 3; - /** - * Reports a hint. - */ - DiagnosticSeverity.Hint = 4; -})(DiagnosticSeverity || (DiagnosticSeverity = {})); -/** - * The diagnostic tags. - * - * @since 3.15.0 - */ -var DiagnosticTag; -(function (DiagnosticTag) { - /** - * Unused or unnecessary code. - * - * Clients are allowed to render diagnostics with this tag faded out instead of having - * an error squiggle. - */ - DiagnosticTag.Unnecessary = 1; - /** - * Deprecated or obsolete code. - * - * Clients are allowed to rendered diagnostics with this tag strike through. - */ - DiagnosticTag.Deprecated = 2; -})(DiagnosticTag || (DiagnosticTag = {})); -/** - * The DiagnosticCode namespace provides functions to deal with complex diagnostic codes. - * - * @since 3.16.0 - Proposed state - */ -var DiagnosticCode; -(function (DiagnosticCode) { - /** - * Checks whether the given liternal conforms to the [DiagnosticCode](#DiagnosticCode) interface. - */ - function is(value) { - var candidate = value; - return candidate !== undefined && candidate !== null && (Is.number(candidate.value) || Is.string(candidate.value)) && Is.string(candidate.target); - } - DiagnosticCode.is = is; -})(DiagnosticCode || (DiagnosticCode = {})); -/** - * The Diagnostic namespace provides helper functions to work with - * [Diagnostic](#Diagnostic) literals. - */ -var Diagnostic; -(function (Diagnostic) { - /** - * Creates a new Diagnostic literal. - */ - function create(range, message, severity, code, source, relatedInformation) { - var result = { range: range, message: message }; - if (Is.defined(severity)) { - result.severity = severity; - } - if (Is.defined(code)) { - result.code = code; - } - if (Is.defined(source)) { - result.source = source; - } - if (Is.defined(relatedInformation)) { - result.relatedInformation = relatedInformation; - } - return result; - } - Diagnostic.create = create; - /** - * Checks whether the given literal conforms to the [Diagnostic](#Diagnostic) interface. - */ - function is(value) { - var candidate = value; - return Is.defined(candidate) - && Range.is(candidate.range) - && Is.string(candidate.message) - && (Is.number(candidate.severity) || Is.undefined(candidate.severity)) - && (Is.number(candidate.code) || Is.string(candidate.code) || Is.undefined(candidate.code)) - && (Is.string(candidate.source) || Is.undefined(candidate.source)) - && (Is.undefined(candidate.relatedInformation) || Is.typedArray(candidate.relatedInformation, DiagnosticRelatedInformation.is)); - } - Diagnostic.is = is; -})(Diagnostic || (Diagnostic = {})); -/** - * The Command namespace provides helper functions to work with - * [Command](#Command) literals. - */ -var Command; -(function (Command) { - /** - * Creates a new Command literal. - */ - function create(title, command) { - var args = []; - for (var _i = 2; _i < arguments.length; _i++) { - args[_i - 2] = arguments[_i]; - } - var result = { title: title, command: command }; - if (Is.defined(args) && args.length > 0) { - result.arguments = args; - } - return result; - } - Command.create = create; - /** - * Checks whether the given literal conforms to the [Command](#Command) interface. - */ - function is(value) { - var candidate = value; - return Is.defined(candidate) && Is.string(candidate.title) && Is.string(candidate.command); - } - Command.is = is; -})(Command || (Command = {})); -/** - * The TextEdit namespace provides helper function to create replace, - * insert and delete edits more easily. - */ -var TextEdit; -(function (TextEdit) { - /** - * Creates a replace text edit. - * @param range The range of text to be replaced. - * @param newText The new text. - */ - function replace(range, newText) { - return { range: range, newText: newText }; - } - TextEdit.replace = replace; - /** - * Creates a insert text edit. - * @param position The position to insert the text at. - * @param newText The text to be inserted. - */ - function insert(position, newText) { - return { range: { start: position, end: position }, newText: newText }; - } - TextEdit.insert = insert; - /** - * Creates a delete text edit. - * @param range The range of text to be deleted. - */ - function del(range) { - return { range: range, newText: '' }; - } - TextEdit.del = del; - function is(value) { - var candidate = value; - return Is.objectLiteral(candidate) - && Is.string(candidate.newText) - && Range.is(candidate.range); - } - TextEdit.is = is; -})(TextEdit || (TextEdit = {})); -/** - * The TextDocumentEdit namespace provides helper function to create - * an edit that manipulates a text document. - */ -var TextDocumentEdit; -(function (TextDocumentEdit) { - /** - * Creates a new `TextDocumentEdit` - */ - function create(textDocument, edits) { - return { textDocument: textDocument, edits: edits }; - } - TextDocumentEdit.create = create; - function is(value) { - var candidate = value; - return Is.defined(candidate) - && VersionedTextDocumentIdentifier.is(candidate.textDocument) - && Array.isArray(candidate.edits); - } - TextDocumentEdit.is = is; -})(TextDocumentEdit || (TextDocumentEdit = {})); -var CreateFile; -(function (CreateFile) { - function create(uri, options) { - var result = { - kind: 'create', - uri: uri - }; - if (options !== void 0 && (options.overwrite !== void 0 || options.ignoreIfExists !== void 0)) { - result.options = options; - } - return result; - } - CreateFile.create = create; - function is(value) { - var candidate = value; - return candidate && candidate.kind === 'create' && Is.string(candidate.uri) && - (candidate.options === void 0 || - ((candidate.options.overwrite === void 0 || Is.boolean(candidate.options.overwrite)) && (candidate.options.ignoreIfExists === void 0 || Is.boolean(candidate.options.ignoreIfExists)))); - } - CreateFile.is = is; -})(CreateFile || (CreateFile = {})); -var RenameFile; -(function (RenameFile) { - function create(oldUri, newUri, options) { - var result = { - kind: 'rename', - oldUri: oldUri, - newUri: newUri - }; - if (options !== void 0 && (options.overwrite !== void 0 || options.ignoreIfExists !== void 0)) { - result.options = options; - } - return result; - } - RenameFile.create = create; - function is(value) { - var candidate = value; - return candidate && candidate.kind === 'rename' && Is.string(candidate.oldUri) && Is.string(candidate.newUri) && - (candidate.options === void 0 || - ((candidate.options.overwrite === void 0 || Is.boolean(candidate.options.overwrite)) && (candidate.options.ignoreIfExists === void 0 || Is.boolean(candidate.options.ignoreIfExists)))); - } - RenameFile.is = is; -})(RenameFile || (RenameFile = {})); -var DeleteFile; -(function (DeleteFile) { - function create(uri, options) { - var result = { - kind: 'delete', - uri: uri - }; - if (options !== void 0 && (options.recursive !== void 0 || options.ignoreIfNotExists !== void 0)) { - result.options = options; - } - return result; - } - DeleteFile.create = create; - function is(value) { - var candidate = value; - return candidate && candidate.kind === 'delete' && Is.string(candidate.uri) && - (candidate.options === void 0 || - ((candidate.options.recursive === void 0 || Is.boolean(candidate.options.recursive)) && (candidate.options.ignoreIfNotExists === void 0 || Is.boolean(candidate.options.ignoreIfNotExists)))); - } - DeleteFile.is = is; -})(DeleteFile || (DeleteFile = {})); -var WorkspaceEdit; -(function (WorkspaceEdit) { - function is(value) { - var candidate = value; - return candidate && - (candidate.changes !== void 0 || candidate.documentChanges !== void 0) && - (candidate.documentChanges === void 0 || candidate.documentChanges.every(function (change) { - if (Is.string(change.kind)) { - return CreateFile.is(change) || RenameFile.is(change) || DeleteFile.is(change); - } - else { - return TextDocumentEdit.is(change); - } - })); - } - WorkspaceEdit.is = is; -})(WorkspaceEdit || (WorkspaceEdit = {})); -var TextEditChangeImpl = /** @class */ (function () { - function TextEditChangeImpl(edits) { - this.edits = edits; - } - TextEditChangeImpl.prototype.insert = function (position, newText) { - this.edits.push(TextEdit.insert(position, newText)); - }; - TextEditChangeImpl.prototype.replace = function (range, newText) { - this.edits.push(TextEdit.replace(range, newText)); - }; - TextEditChangeImpl.prototype.delete = function (range) { - this.edits.push(TextEdit.del(range)); - }; - TextEditChangeImpl.prototype.add = function (edit) { - this.edits.push(edit); - }; - TextEditChangeImpl.prototype.all = function () { - return this.edits; - }; - TextEditChangeImpl.prototype.clear = function () { - this.edits.splice(0, this.edits.length); - }; - return TextEditChangeImpl; -}()); -/** - * A workspace change helps constructing changes to a workspace. - */ -var WorkspaceChange = /** @class */ (function () { - function WorkspaceChange(workspaceEdit) { - var _this = this; - this._textEditChanges = Object.create(null); - if (workspaceEdit) { - this._workspaceEdit = workspaceEdit; - if (workspaceEdit.documentChanges) { - workspaceEdit.documentChanges.forEach(function (change) { - if (TextDocumentEdit.is(change)) { - var textEditChange = new TextEditChangeImpl(change.edits); - _this._textEditChanges[change.textDocument.uri] = textEditChange; - } - }); - } - else if (workspaceEdit.changes) { - Object.keys(workspaceEdit.changes).forEach(function (key) { - var textEditChange = new TextEditChangeImpl(workspaceEdit.changes[key]); - _this._textEditChanges[key] = textEditChange; - }); - } - } - } - Object.defineProperty(WorkspaceChange.prototype, "edit", { - /** - * Returns the underlying [WorkspaceEdit](#WorkspaceEdit) literal - * use to be returned from a workspace edit operation like rename. - */ - get: function () { - if (this._workspaceEdit === undefined) { - return { documentChanges: [] }; - } - return this._workspaceEdit; - }, - enumerable: true, - configurable: true - }); - WorkspaceChange.prototype.getTextEditChange = function (key) { - if (VersionedTextDocumentIdentifier.is(key)) { - if (!this._workspaceEdit) { - this._workspaceEdit = { - documentChanges: [] - }; - } - if (!this._workspaceEdit.documentChanges) { - throw new Error('Workspace edit is not configured for document changes.'); - } - var textDocument = key; - var result = this._textEditChanges[textDocument.uri]; - if (!result) { - var edits = []; - var textDocumentEdit = { - textDocument: textDocument, - edits: edits - }; - this._workspaceEdit.documentChanges.push(textDocumentEdit); - result = new TextEditChangeImpl(edits); - this._textEditChanges[textDocument.uri] = result; - } - return result; - } - else { - if (!this._workspaceEdit) { - this._workspaceEdit = { - changes: Object.create(null) - }; - } - if (!this._workspaceEdit.changes) { - throw new Error('Workspace edit is not configured for normal text edit changes.'); - } - var result = this._textEditChanges[key]; - if (!result) { - var edits = []; - this._workspaceEdit.changes[key] = edits; - result = new TextEditChangeImpl(edits); - this._textEditChanges[key] = result; - } - return result; - } - }; - WorkspaceChange.prototype.createFile = function (uri, options) { - this.checkDocumentChanges(); - this._workspaceEdit.documentChanges.push(CreateFile.create(uri, options)); - }; - WorkspaceChange.prototype.renameFile = function (oldUri, newUri, options) { - this.checkDocumentChanges(); - this._workspaceEdit.documentChanges.push(RenameFile.create(oldUri, newUri, options)); - }; - WorkspaceChange.prototype.deleteFile = function (uri, options) { - this.checkDocumentChanges(); - this._workspaceEdit.documentChanges.push(DeleteFile.create(uri, options)); - }; - WorkspaceChange.prototype.checkDocumentChanges = function () { - if (!this._workspaceEdit || !this._workspaceEdit.documentChanges) { - throw new Error('Workspace edit is not configured for document changes.'); - } - }; - return WorkspaceChange; -}()); - -/** - * The TextDocumentIdentifier namespace provides helper functions to work with - * [TextDocumentIdentifier](#TextDocumentIdentifier) literals. - */ -var TextDocumentIdentifier; -(function (TextDocumentIdentifier) { - /** - * Creates a new TextDocumentIdentifier literal. - * @param uri The document's uri. - */ - function create(uri) { - return { uri: uri }; - } - TextDocumentIdentifier.create = create; - /** - * Checks whether the given literal conforms to the [TextDocumentIdentifier](#TextDocumentIdentifier) interface. - */ - function is(value) { - var candidate = value; - return Is.defined(candidate) && Is.string(candidate.uri); - } - TextDocumentIdentifier.is = is; -})(TextDocumentIdentifier || (TextDocumentIdentifier = {})); -/** - * The VersionedTextDocumentIdentifier namespace provides helper functions to work with - * [VersionedTextDocumentIdentifier](#VersionedTextDocumentIdentifier) literals. - */ -var VersionedTextDocumentIdentifier; -(function (VersionedTextDocumentIdentifier) { - /** - * Creates a new VersionedTextDocumentIdentifier literal. - * @param uri The document's uri. - * @param uri The document's text. - */ - function create(uri, version) { - return { uri: uri, version: version }; - } - VersionedTextDocumentIdentifier.create = create; - /** - * Checks whether the given literal conforms to the [VersionedTextDocumentIdentifier](#VersionedTextDocumentIdentifier) interface. - */ - function is(value) { - var candidate = value; - return Is.defined(candidate) && Is.string(candidate.uri) && (candidate.version === null || Is.number(candidate.version)); - } - VersionedTextDocumentIdentifier.is = is; -})(VersionedTextDocumentIdentifier || (VersionedTextDocumentIdentifier = {})); -/** - * The TextDocumentItem namespace provides helper functions to work with - * [TextDocumentItem](#TextDocumentItem) literals. - */ -var TextDocumentItem; -(function (TextDocumentItem) { - /** - * Creates a new TextDocumentItem literal. - * @param uri The document's uri. - * @param languageId The document's language identifier. - * @param version The document's version number. - * @param text The document's text. - */ - function create(uri, languageId, version, text) { - return { uri: uri, languageId: languageId, version: version, text: text }; - } - TextDocumentItem.create = create; - /** - * Checks whether the given literal conforms to the [TextDocumentItem](#TextDocumentItem) interface. - */ - function is(value) { - var candidate = value; - return Is.defined(candidate) && Is.string(candidate.uri) && Is.string(candidate.languageId) && Is.number(candidate.version) && Is.string(candidate.text); - } - TextDocumentItem.is = is; -})(TextDocumentItem || (TextDocumentItem = {})); -/** - * Describes the content type that a client supports in various - * result literals like `Hover`, `ParameterInfo` or `CompletionItem`. - * - * Please note that `MarkupKinds` must not start with a `$`. This kinds - * are reserved for internal usage. - */ -var MarkupKind; -(function (MarkupKind) { - /** - * Plain text is supported as a content format - */ - MarkupKind.PlainText = 'plaintext'; - /** - * Markdown is supported as a content format - */ - MarkupKind.Markdown = 'markdown'; -})(MarkupKind || (MarkupKind = {})); -(function (MarkupKind) { - /** - * Checks whether the given value is a value of the [MarkupKind](#MarkupKind) type. - */ - function is(value) { - var candidate = value; - return candidate === MarkupKind.PlainText || candidate === MarkupKind.Markdown; - } - MarkupKind.is = is; -})(MarkupKind || (MarkupKind = {})); -var MarkupContent; -(function (MarkupContent) { - /** - * Checks whether the given value conforms to the [MarkupContent](#MarkupContent) interface. - */ - function is(value) { - var candidate = value; - return Is.objectLiteral(value) && MarkupKind.is(candidate.kind) && Is.string(candidate.value); - } - MarkupContent.is = is; -})(MarkupContent || (MarkupContent = {})); -/** - * The kind of a completion entry. - */ -var CompletionItemKind; -(function (CompletionItemKind) { - CompletionItemKind.Text = 1; - CompletionItemKind.Method = 2; - CompletionItemKind.Function = 3; - CompletionItemKind.Constructor = 4; - CompletionItemKind.Field = 5; - CompletionItemKind.Variable = 6; - CompletionItemKind.Class = 7; - CompletionItemKind.Interface = 8; - CompletionItemKind.Module = 9; - CompletionItemKind.Property = 10; - CompletionItemKind.Unit = 11; - CompletionItemKind.Value = 12; - CompletionItemKind.Enum = 13; - CompletionItemKind.Keyword = 14; - CompletionItemKind.Snippet = 15; - CompletionItemKind.Color = 16; - CompletionItemKind.File = 17; - CompletionItemKind.Reference = 18; - CompletionItemKind.Folder = 19; - CompletionItemKind.EnumMember = 20; - CompletionItemKind.Constant = 21; - CompletionItemKind.Struct = 22; - CompletionItemKind.Event = 23; - CompletionItemKind.Operator = 24; - CompletionItemKind.TypeParameter = 25; -})(CompletionItemKind || (CompletionItemKind = {})); -/** - * Defines whether the insert text in a completion item should be interpreted as - * plain text or a snippet. - */ -var InsertTextFormat; -(function (InsertTextFormat) { - /** - * The primary text to be inserted is treated as a plain string. - */ - InsertTextFormat.PlainText = 1; - /** - * The primary text to be inserted is treated as a snippet. - * - * A snippet can define tab stops and placeholders with `$1`, `$2` - * and `${3:foo}`. `$0` defines the final tab stop, it defaults to - * the end of the snippet. Placeholders with equal identifiers are linked, - * that is typing in one will update others too. - * - * See also: https://microsoft.github.io/language-server-protocol/specifications/specification-current/#snippet_syntax - */ - InsertTextFormat.Snippet = 2; -})(InsertTextFormat || (InsertTextFormat = {})); -/** - * Completion item tags are extra annotations that tweak the rendering of a completion - * item. - * - * @since 3.15.0 - */ -var CompletionItemTag; -(function (CompletionItemTag) { - /** - * Render a completion as obsolete, usually using a strike-out. - */ - CompletionItemTag.Deprecated = 1; -})(CompletionItemTag || (CompletionItemTag = {})); -/** - * The InsertReplaceEdit namespace provides functions to deal with insert / replace edits. - * - * @since 3.16.0 - Proposed state - */ -var InsertReplaceEdit; -(function (InsertReplaceEdit) { - /** - * Creates a new insert / replace edit - */ - function create(newText, insert, replace) { - return { newText: newText, insert: insert, replace: replace }; - } - InsertReplaceEdit.create = create; - /** - * Checks whether the given liternal conforms to the [InsertReplaceEdit](#InsertReplaceEdit) interface. - */ - function is(value) { - var candidate = value; - return candidate && Is.string(candidate.newText) && Range.is(candidate.insert) && Range.is(candidate.replace); - } - InsertReplaceEdit.is = is; -})(InsertReplaceEdit || (InsertReplaceEdit = {})); -/** - * The CompletionItem namespace provides functions to deal with - * completion items. - */ -var CompletionItem; -(function (CompletionItem) { - /** - * Create a completion item and seed it with a label. - * @param label The completion item's label - */ - function create(label) { - return { label: label }; - } - CompletionItem.create = create; -})(CompletionItem || (CompletionItem = {})); -/** - * The CompletionList namespace provides functions to deal with - * completion lists. - */ -var CompletionList; -(function (CompletionList) { - /** - * Creates a new completion list. - * - * @param items The completion items. - * @param isIncomplete The list is not complete. - */ - function create(items, isIncomplete) { - return { items: items ? items : [], isIncomplete: !!isIncomplete }; - } - CompletionList.create = create; -})(CompletionList || (CompletionList = {})); -var MarkedString; -(function (MarkedString) { - /** - * Creates a marked string from plain text. - * - * @param plainText The plain text. - */ - function fromPlainText(plainText) { - return plainText.replace(/[\\`*_{}[\]()#+\-.!]/g, '\\$&'); // escape markdown syntax tokens: http://daringfireball.net/projects/markdown/syntax#backslash - } - MarkedString.fromPlainText = fromPlainText; - /** - * Checks whether the given value conforms to the [MarkedString](#MarkedString) type. - */ - function is(value) { - var candidate = value; - return Is.string(candidate) || (Is.objectLiteral(candidate) && Is.string(candidate.language) && Is.string(candidate.value)); - } - MarkedString.is = is; -})(MarkedString || (MarkedString = {})); -var Hover; -(function (Hover) { - /** - * Checks whether the given value conforms to the [Hover](#Hover) interface. - */ - function is(value) { - var candidate = value; - return !!candidate && Is.objectLiteral(candidate) && (MarkupContent.is(candidate.contents) || - MarkedString.is(candidate.contents) || - Is.typedArray(candidate.contents, MarkedString.is)) && (value.range === void 0 || Range.is(value.range)); - } - Hover.is = is; -})(Hover || (Hover = {})); -/** - * The ParameterInformation namespace provides helper functions to work with - * [ParameterInformation](#ParameterInformation) literals. - */ -var ParameterInformation; -(function (ParameterInformation) { - /** - * Creates a new parameter information literal. - * - * @param label A label string. - * @param documentation A doc string. - */ - function create(label, documentation) { - return documentation ? { label: label, documentation: documentation } : { label: label }; - } - ParameterInformation.create = create; -})(ParameterInformation || (ParameterInformation = {})); -/** - * The SignatureInformation namespace provides helper functions to work with - * [SignatureInformation](#SignatureInformation) literals. - */ -var SignatureInformation; -(function (SignatureInformation) { - function create(label, documentation) { - var parameters = []; - for (var _i = 2; _i < arguments.length; _i++) { - parameters[_i - 2] = arguments[_i]; - } - var result = { label: label }; - if (Is.defined(documentation)) { - result.documentation = documentation; - } - if (Is.defined(parameters)) { - result.parameters = parameters; - } - else { - result.parameters = []; - } - return result; - } - SignatureInformation.create = create; -})(SignatureInformation || (SignatureInformation = {})); -/** - * A document highlight kind. - */ -var DocumentHighlightKind; -(function (DocumentHighlightKind) { - /** - * A textual occurrence. - */ - DocumentHighlightKind.Text = 1; - /** - * Read-access of a symbol, like reading a variable. - */ - DocumentHighlightKind.Read = 2; - /** - * Write-access of a symbol, like writing to a variable. - */ - DocumentHighlightKind.Write = 3; -})(DocumentHighlightKind || (DocumentHighlightKind = {})); -/** - * DocumentHighlight namespace to provide helper functions to work with - * [DocumentHighlight](#DocumentHighlight) literals. - */ -var DocumentHighlight; -(function (DocumentHighlight) { - /** - * Create a DocumentHighlight object. - * @param range The range the highlight applies to. - */ - function create(range, kind) { - var result = { range: range }; - if (Is.number(kind)) { - result.kind = kind; - } - return result; - } - DocumentHighlight.create = create; -})(DocumentHighlight || (DocumentHighlight = {})); -/** - * A symbol kind. - */ -var SymbolKind; -(function (SymbolKind) { - SymbolKind.File = 1; - SymbolKind.Module = 2; - SymbolKind.Namespace = 3; - SymbolKind.Package = 4; - SymbolKind.Class = 5; - SymbolKind.Method = 6; - SymbolKind.Property = 7; - SymbolKind.Field = 8; - SymbolKind.Constructor = 9; - SymbolKind.Enum = 10; - SymbolKind.Interface = 11; - SymbolKind.Function = 12; - SymbolKind.Variable = 13; - SymbolKind.Constant = 14; - SymbolKind.String = 15; - SymbolKind.Number = 16; - SymbolKind.Boolean = 17; - SymbolKind.Array = 18; - SymbolKind.Object = 19; - SymbolKind.Key = 20; - SymbolKind.Null = 21; - SymbolKind.EnumMember = 22; - SymbolKind.Struct = 23; - SymbolKind.Event = 24; - SymbolKind.Operator = 25; - SymbolKind.TypeParameter = 26; -})(SymbolKind || (SymbolKind = {})); -/** - * Symbol tags are extra annotations that tweak the rendering of a symbol. - * @since 3.15 - */ -var SymbolTag; -(function (SymbolTag) { - /** - * Render a symbol as obsolete, usually using a strike-out. - */ - SymbolTag.Deprecated = 1; -})(SymbolTag || (SymbolTag = {})); -var SymbolInformation; -(function (SymbolInformation) { - /** - * Creates a new symbol information literal. - * - * @param name The name of the symbol. - * @param kind The kind of the symbol. - * @param range The range of the location of the symbol. - * @param uri The resource of the location of symbol, defaults to the current document. - * @param containerName The name of the symbol containing the symbol. - */ - function create(name, kind, range, uri, containerName) { - var result = { - name: name, - kind: kind, - location: { uri: uri, range: range } - }; - if (containerName) { - result.containerName = containerName; - } - return result; - } - SymbolInformation.create = create; -})(SymbolInformation || (SymbolInformation = {})); -var DocumentSymbol; -(function (DocumentSymbol) { - /** - * Creates a new symbol information literal. - * - * @param name The name of the symbol. - * @param detail The detail of the symbol. - * @param kind The kind of the symbol. - * @param range The range of the symbol. - * @param selectionRange The selectionRange of the symbol. - * @param children Children of the symbol. - */ - function create(name, detail, kind, range, selectionRange, children) { - var result = { - name: name, - detail: detail, - kind: kind, - range: range, - selectionRange: selectionRange - }; - if (children !== void 0) { - result.children = children; - } - return result; - } - DocumentSymbol.create = create; - /** - * Checks whether the given literal conforms to the [DocumentSymbol](#DocumentSymbol) interface. - */ - function is(value) { - var candidate = value; - return candidate && - Is.string(candidate.name) && Is.number(candidate.kind) && - Range.is(candidate.range) && Range.is(candidate.selectionRange) && - (candidate.detail === void 0 || Is.string(candidate.detail)) && - (candidate.deprecated === void 0 || Is.boolean(candidate.deprecated)) && - (candidate.children === void 0 || Array.isArray(candidate.children)) && - (candidate.tags === void 0 || Array.isArray(candidate.tags)); - } - DocumentSymbol.is = is; -})(DocumentSymbol || (DocumentSymbol = {})); -/** - * A set of predefined code action kinds - */ -var CodeActionKind; -(function (CodeActionKind) { - /** - * Empty kind. - */ - CodeActionKind.Empty = ''; - /** - * Base kind for quickfix actions: 'quickfix' - */ - CodeActionKind.QuickFix = 'quickfix'; - /** - * Base kind for refactoring actions: 'refactor' - */ - CodeActionKind.Refactor = 'refactor'; - /** - * Base kind for refactoring extraction actions: 'refactor.extract' - * - * Example extract actions: - * - * - Extract method - * - Extract function - * - Extract variable - * - Extract interface from class - * - ... - */ - CodeActionKind.RefactorExtract = 'refactor.extract'; - /** - * Base kind for refactoring inline actions: 'refactor.inline' - * - * Example inline actions: - * - * - Inline function - * - Inline variable - * - Inline constant - * - ... - */ - CodeActionKind.RefactorInline = 'refactor.inline'; - /** - * Base kind for refactoring rewrite actions: 'refactor.rewrite' - * - * Example rewrite actions: - * - * - Convert JavaScript function to class - * - Add or remove parameter - * - Encapsulate field - * - Make method static - * - Move method to base class - * - ... - */ - CodeActionKind.RefactorRewrite = 'refactor.rewrite'; - /** - * Base kind for source actions: `source` - * - * Source code actions apply to the entire file. - */ - CodeActionKind.Source = 'source'; - /** - * Base kind for an organize imports source action: `source.organizeImports` - */ - CodeActionKind.SourceOrganizeImports = 'source.organizeImports'; - /** - * Base kind for auto-fix source actions: `source.fixAll`. - * - * Fix all actions automatically fix errors that have a clear fix that do not require user input. - * They should not suppress errors or perform unsafe fixes such as generating new types or classes. - * - * @since 3.15.0 - */ - CodeActionKind.SourceFixAll = 'source.fixAll'; -})(CodeActionKind || (CodeActionKind = {})); -/** - * The CodeActionContext namespace provides helper functions to work with - * [CodeActionContext](#CodeActionContext) literals. - */ -var CodeActionContext; -(function (CodeActionContext) { - /** - * Creates a new CodeActionContext literal. - */ - function create(diagnostics, only) { - var result = { diagnostics: diagnostics }; - if (only !== void 0 && only !== null) { - result.only = only; - } - return result; - } - CodeActionContext.create = create; - /** - * Checks whether the given literal conforms to the [CodeActionContext](#CodeActionContext) interface. - */ - function is(value) { - var candidate = value; - return Is.defined(candidate) && Is.typedArray(candidate.diagnostics, Diagnostic.is) && (candidate.only === void 0 || Is.typedArray(candidate.only, Is.string)); - } - CodeActionContext.is = is; -})(CodeActionContext || (CodeActionContext = {})); -var CodeAction; -(function (CodeAction) { - function create(title, commandOrEdit, kind) { - var result = { title: title }; - if (Command.is(commandOrEdit)) { - result.command = commandOrEdit; - } - else { - result.edit = commandOrEdit; - } - if (kind !== void 0) { - result.kind = kind; - } - return result; - } - CodeAction.create = create; - function is(value) { - var candidate = value; - return candidate && Is.string(candidate.title) && - (candidate.diagnostics === void 0 || Is.typedArray(candidate.diagnostics, Diagnostic.is)) && - (candidate.kind === void 0 || Is.string(candidate.kind)) && - (candidate.edit !== void 0 || candidate.command !== void 0) && - (candidate.command === void 0 || Command.is(candidate.command)) && - (candidate.isPreferred === void 0 || Is.boolean(candidate.isPreferred)) && - (candidate.edit === void 0 || WorkspaceEdit.is(candidate.edit)); - } - CodeAction.is = is; -})(CodeAction || (CodeAction = {})); -/** - * The CodeLens namespace provides helper functions to work with - * [CodeLens](#CodeLens) literals. - */ -var CodeLens; -(function (CodeLens) { - /** - * Creates a new CodeLens literal. - */ - function create(range, data) { - var result = { range: range }; - if (Is.defined(data)) { - result.data = data; - } - return result; - } - CodeLens.create = create; - /** - * Checks whether the given literal conforms to the [CodeLens](#CodeLens) interface. - */ - function is(value) { - var candidate = value; - return Is.defined(candidate) && Range.is(candidate.range) && (Is.undefined(candidate.command) || Command.is(candidate.command)); - } - CodeLens.is = is; -})(CodeLens || (CodeLens = {})); -/** - * The FormattingOptions namespace provides helper functions to work with - * [FormattingOptions](#FormattingOptions) literals. - */ -var FormattingOptions; -(function (FormattingOptions) { - /** - * Creates a new FormattingOptions literal. - */ - function create(tabSize, insertSpaces) { - return { tabSize: tabSize, insertSpaces: insertSpaces }; - } - FormattingOptions.create = create; - /** - * Checks whether the given literal conforms to the [FormattingOptions](#FormattingOptions) interface. - */ - function is(value) { - var candidate = value; - return Is.defined(candidate) && Is.number(candidate.tabSize) && Is.boolean(candidate.insertSpaces); - } - FormattingOptions.is = is; -})(FormattingOptions || (FormattingOptions = {})); -/** - * The DocumentLink namespace provides helper functions to work with - * [DocumentLink](#DocumentLink) literals. - */ -var DocumentLink; -(function (DocumentLink) { - /** - * Creates a new DocumentLink literal. - */ - function create(range, target, data) { - return { range: range, target: target, data: data }; - } - DocumentLink.create = create; - /** - * Checks whether the given literal conforms to the [DocumentLink](#DocumentLink) interface. - */ - function is(value) { - var candidate = value; - return Is.defined(candidate) && Range.is(candidate.range) && (Is.undefined(candidate.target) || Is.string(candidate.target)); - } - DocumentLink.is = is; -})(DocumentLink || (DocumentLink = {})); -/** - * The SelectionRange namespace provides helper function to work with - * SelectionRange literals. - */ -var SelectionRange; -(function (SelectionRange) { - /** - * Creates a new SelectionRange - * @param range the range. - * @param parent an optional parent. - */ - function create(range, parent) { - return { range: range, parent: parent }; - } - SelectionRange.create = create; - function is(value) { - var candidate = value; - return candidate !== undefined && Range.is(candidate.range) && (candidate.parent === undefined || SelectionRange.is(candidate.parent)); - } - SelectionRange.is = is; -})(SelectionRange || (SelectionRange = {})); -var EOL = ['\n', '\r\n', '\r']; -/** - * @deprecated Use the text document from the new vscode-languageserver-textdocument package. - */ -var TextDocument; -(function (TextDocument) { - /** - * Creates a new ITextDocument literal from the given uri and content. - * @param uri The document's uri. - * @param languageId The document's language Id. - * @param content The document's content. - */ - function create(uri, languageId, version, content) { - return new FullTextDocument(uri, languageId, version, content); - } - TextDocument.create = create; - /** - * Checks whether the given literal conforms to the [ITextDocument](#ITextDocument) interface. - */ - function is(value) { - var candidate = value; - return Is.defined(candidate) && Is.string(candidate.uri) && (Is.undefined(candidate.languageId) || Is.string(candidate.languageId)) && Is.number(candidate.lineCount) - && Is.func(candidate.getText) && Is.func(candidate.positionAt) && Is.func(candidate.offsetAt) ? true : false; - } - TextDocument.is = is; - function applyEdits(document, edits) { - var text = document.getText(); - var sortedEdits = mergeSort(edits, function (a, b) { - var diff = a.range.start.line - b.range.start.line; - if (diff === 0) { - return a.range.start.character - b.range.start.character; - } - return diff; - }); - var lastModifiedOffset = text.length; - for (var i = sortedEdits.length - 1; i >= 0; i--) { - var e = sortedEdits[i]; - var startOffset = document.offsetAt(e.range.start); - var endOffset = document.offsetAt(e.range.end); - if (endOffset <= lastModifiedOffset) { - text = text.substring(0, startOffset) + e.newText + text.substring(endOffset, text.length); - } - else { - throw new Error('Overlapping edit'); - } - lastModifiedOffset = startOffset; - } - return text; - } - TextDocument.applyEdits = applyEdits; - function mergeSort(data, compare) { - if (data.length <= 1) { - // sorted - return data; - } - var p = (data.length / 2) | 0; - var left = data.slice(0, p); - var right = data.slice(p); - mergeSort(left, compare); - mergeSort(right, compare); - var leftIdx = 0; - var rightIdx = 0; - var i = 0; - while (leftIdx < left.length && rightIdx < right.length) { - var ret = compare(left[leftIdx], right[rightIdx]); - if (ret <= 0) { - // smaller_equal -> take left to preserve order - data[i++] = left[leftIdx++]; - } - else { - // greater -> take right - data[i++] = right[rightIdx++]; - } - } - while (leftIdx < left.length) { - data[i++] = left[leftIdx++]; - } - while (rightIdx < right.length) { - data[i++] = right[rightIdx++]; - } - return data; - } -})(TextDocument || (TextDocument = {})); -var FullTextDocument = /** @class */ (function () { - function FullTextDocument(uri, languageId, version, content) { - this._uri = uri; - this._languageId = languageId; - this._version = version; - this._content = content; - this._lineOffsets = undefined; - } - Object.defineProperty(FullTextDocument.prototype, "uri", { - get: function () { - return this._uri; - }, - enumerable: true, - configurable: true - }); - Object.defineProperty(FullTextDocument.prototype, "languageId", { - get: function () { - return this._languageId; - }, - enumerable: true, - configurable: true - }); - Object.defineProperty(FullTextDocument.prototype, "version", { - get: function () { - return this._version; - }, - enumerable: true, - configurable: true - }); - FullTextDocument.prototype.getText = function (range) { - if (range) { - var start = this.offsetAt(range.start); - var end = this.offsetAt(range.end); - return this._content.substring(start, end); - } - return this._content; - }; - FullTextDocument.prototype.update = function (event, version) { - this._content = event.text; - this._version = version; - this._lineOffsets = undefined; - }; - FullTextDocument.prototype.getLineOffsets = function () { - if (this._lineOffsets === undefined) { - var lineOffsets = []; - var text = this._content; - var isLineStart = true; - for (var i = 0; i < text.length; i++) { - if (isLineStart) { - lineOffsets.push(i); - isLineStart = false; - } - var ch = text.charAt(i); - isLineStart = (ch === '\r' || ch === '\n'); - if (ch === '\r' && i + 1 < text.length && text.charAt(i + 1) === '\n') { - i++; - } - } - if (isLineStart && text.length > 0) { - lineOffsets.push(text.length); - } - this._lineOffsets = lineOffsets; - } - return this._lineOffsets; - }; - FullTextDocument.prototype.positionAt = function (offset) { - offset = Math.max(Math.min(offset, this._content.length), 0); - var lineOffsets = this.getLineOffsets(); - var low = 0, high = lineOffsets.length; - if (high === 0) { - return Position.create(0, offset); - } - while (low < high) { - var mid = Math.floor((low + high) / 2); - if (lineOffsets[mid] > offset) { - high = mid; - } - else { - low = mid + 1; - } - } - // low is the least x for which the line offset is larger than the current offset - // or array.length if no line offset is larger than the current offset - var line = low - 1; - return Position.create(line, offset - lineOffsets[line]); - }; - FullTextDocument.prototype.offsetAt = function (position) { - var lineOffsets = this.getLineOffsets(); - if (position.line >= lineOffsets.length) { - return this._content.length; - } - else if (position.line < 0) { - return 0; - } - var lineOffset = lineOffsets[position.line]; - var nextLineOffset = (position.line + 1 < lineOffsets.length) ? lineOffsets[position.line + 1] : this._content.length; - return Math.max(Math.min(lineOffset + position.character, nextLineOffset), lineOffset); - }; - Object.defineProperty(FullTextDocument.prototype, "lineCount", { - get: function () { - return this.getLineOffsets().length; - }, - enumerable: true, - configurable: true - }); - return FullTextDocument; -}()); -var Is; -(function (Is) { - var toString = Object.prototype.toString; - function defined(value) { - return typeof value !== 'undefined'; - } - Is.defined = defined; - function undefined(value) { - return typeof value === 'undefined'; - } - Is.undefined = undefined; - function boolean(value) { - return value === true || value === false; - } - Is.boolean = boolean; - function string(value) { - return toString.call(value) === '[object String]'; - } - Is.string = string; - function number(value) { - return toString.call(value) === '[object Number]'; - } - Is.number = number; - function func(value) { - return toString.call(value) === '[object Function]'; - } - Is.func = func; - function objectLiteral(value) { - // Strictly speaking class instances pass this check as well. Since the LSP - // doesn't use classes we ignore this for now. If we do we need to add something - // like this: `Object.getPrototypeOf(Object.getPrototypeOf(x)) === null` - return value !== null && typeof value === 'object'; - } - Is.objectLiteral = objectLiteral; - function typedArray(value, check) { - return Array.isArray(value) && value.every(check); - } - Is.typedArray = typedArray; -})(Is || (Is = {})); - - -/***/ }), - -/***/ "./node_modules/monaco-editor/esm/vs/language/css/_deps/vscode-css-languageservice/cssLanguageService.js": -/*!***************************************************************************************************************!*\ - !*** ./node_modules/monaco-editor/esm/vs/language/css/_deps/vscode-css-languageservice/cssLanguageService.js ***! - \***************************************************************************************************************/ -/*! exports provided: getDefaultCSSDataProvider, newCSSDataProvider, getCSSLanguageService, getSCSSLanguageService, getLESSLanguageService, TextDocument, ClientCapabilities, FileType, Position, Range, Location, LocationLink, Color, ColorInformation, ColorPresentation, FoldingRangeKind, FoldingRange, DiagnosticRelatedInformation, DiagnosticSeverity, DiagnosticTag, DiagnosticCode, Diagnostic, Command, TextEdit, TextDocumentEdit, CreateFile, RenameFile, DeleteFile, WorkspaceEdit, WorkspaceChange, TextDocumentIdentifier, VersionedTextDocumentIdentifier, TextDocumentItem, MarkupKind, MarkupContent, CompletionItemKind, InsertTextFormat, CompletionItemTag, InsertReplaceEdit, CompletionItem, CompletionList, MarkedString, Hover, ParameterInformation, SignatureInformation, DocumentHighlightKind, DocumentHighlight, SymbolKind, SymbolTag, SymbolInformation, DocumentSymbol, CodeActionKind, CodeActionContext, CodeAction, CodeLens, FormattingOptions, DocumentLink, SelectionRange, EOL */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -__webpack_require__.r(__webpack_exports__); -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "getDefaultCSSDataProvider", function() { return getDefaultCSSDataProvider; }); -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "newCSSDataProvider", function() { return newCSSDataProvider; }); -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "getCSSLanguageService", function() { return getCSSLanguageService; }); -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "getSCSSLanguageService", function() { return getSCSSLanguageService; }); -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "getLESSLanguageService", function() { return getLESSLanguageService; }); -/* harmony import */ var _parser_cssParser_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./parser/cssParser.js */ "./node_modules/monaco-editor/esm/vs/language/css/_deps/vscode-css-languageservice/parser/cssParser.js"); -/* harmony import */ var _services_cssCompletion_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./services/cssCompletion.js */ "./node_modules/monaco-editor/esm/vs/language/css/_deps/vscode-css-languageservice/services/cssCompletion.js"); -/* harmony import */ var _services_cssHover_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./services/cssHover.js */ "./node_modules/monaco-editor/esm/vs/language/css/_deps/vscode-css-languageservice/services/cssHover.js"); -/* harmony import */ var _services_cssNavigation_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./services/cssNavigation.js */ "./node_modules/monaco-editor/esm/vs/language/css/_deps/vscode-css-languageservice/services/cssNavigation.js"); -/* harmony import */ var _services_cssCodeActions_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./services/cssCodeActions.js */ "./node_modules/monaco-editor/esm/vs/language/css/_deps/vscode-css-languageservice/services/cssCodeActions.js"); -/* harmony import */ var _services_cssValidation_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./services/cssValidation.js */ "./node_modules/monaco-editor/esm/vs/language/css/_deps/vscode-css-languageservice/services/cssValidation.js"); -/* harmony import */ var _parser_scssParser_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./parser/scssParser.js */ "./node_modules/monaco-editor/esm/vs/language/css/_deps/vscode-css-languageservice/parser/scssParser.js"); -/* harmony import */ var _services_scssCompletion_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./services/scssCompletion.js */ "./node_modules/monaco-editor/esm/vs/language/css/_deps/vscode-css-languageservice/services/scssCompletion.js"); -/* harmony import */ var _parser_lessParser_js__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ./parser/lessParser.js */ "./node_modules/monaco-editor/esm/vs/language/css/_deps/vscode-css-languageservice/parser/lessParser.js"); -/* harmony import */ var _services_lessCompletion_js__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ./services/lessCompletion.js */ "./node_modules/monaco-editor/esm/vs/language/css/_deps/vscode-css-languageservice/services/lessCompletion.js"); -/* harmony import */ var _services_cssFolding_js__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ./services/cssFolding.js */ "./node_modules/monaco-editor/esm/vs/language/css/_deps/vscode-css-languageservice/services/cssFolding.js"); -/* harmony import */ var _languageFacts_dataManager_js__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ./languageFacts/dataManager.js */ "./node_modules/monaco-editor/esm/vs/language/css/_deps/vscode-css-languageservice/languageFacts/dataManager.js"); -/* harmony import */ var _languageFacts_dataProvider_js__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! ./languageFacts/dataProvider.js */ "./node_modules/monaco-editor/esm/vs/language/css/_deps/vscode-css-languageservice/languageFacts/dataProvider.js"); -/* harmony import */ var _services_cssSelectionRange_js__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! ./services/cssSelectionRange.js */ "./node_modules/monaco-editor/esm/vs/language/css/_deps/vscode-css-languageservice/services/cssSelectionRange.js"); -/* harmony import */ var _services_scssNavigation_js__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! ./services/scssNavigation.js */ "./node_modules/monaco-editor/esm/vs/language/css/_deps/vscode-css-languageservice/services/scssNavigation.js"); -/* harmony import */ var _data_webCustomData_js__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! ./data/webCustomData.js */ "./node_modules/monaco-editor/esm/vs/language/css/_deps/vscode-css-languageservice/data/webCustomData.js"); -/* harmony import */ var _cssLanguageTypes_js__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! ./cssLanguageTypes.js */ "./node_modules/monaco-editor/esm/vs/language/css/_deps/vscode-css-languageservice/cssLanguageTypes.js"); -/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "TextDocument", function() { return _cssLanguageTypes_js__WEBPACK_IMPORTED_MODULE_16__["TextDocument"]; }); - -/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "ClientCapabilities", function() { return _cssLanguageTypes_js__WEBPACK_IMPORTED_MODULE_16__["ClientCapabilities"]; }); - -/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "FileType", function() { return _cssLanguageTypes_js__WEBPACK_IMPORTED_MODULE_16__["FileType"]; }); - -/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "Position", function() { return _cssLanguageTypes_js__WEBPACK_IMPORTED_MODULE_16__["Position"]; }); - -/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "Range", function() { return _cssLanguageTypes_js__WEBPACK_IMPORTED_MODULE_16__["Range"]; }); - -/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "Location", function() { return _cssLanguageTypes_js__WEBPACK_IMPORTED_MODULE_16__["Location"]; }); - -/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "LocationLink", function() { return _cssLanguageTypes_js__WEBPACK_IMPORTED_MODULE_16__["LocationLink"]; }); - -/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "Color", function() { return _cssLanguageTypes_js__WEBPACK_IMPORTED_MODULE_16__["Color"]; }); - -/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "ColorInformation", function() { return _cssLanguageTypes_js__WEBPACK_IMPORTED_MODULE_16__["ColorInformation"]; }); - -/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "ColorPresentation", function() { return _cssLanguageTypes_js__WEBPACK_IMPORTED_MODULE_16__["ColorPresentation"]; }); - -/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "FoldingRangeKind", function() { return _cssLanguageTypes_js__WEBPACK_IMPORTED_MODULE_16__["FoldingRangeKind"]; }); - -/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "FoldingRange", function() { return _cssLanguageTypes_js__WEBPACK_IMPORTED_MODULE_16__["FoldingRange"]; }); - -/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "DiagnosticRelatedInformation", function() { return _cssLanguageTypes_js__WEBPACK_IMPORTED_MODULE_16__["DiagnosticRelatedInformation"]; }); - -/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "DiagnosticSeverity", function() { return _cssLanguageTypes_js__WEBPACK_IMPORTED_MODULE_16__["DiagnosticSeverity"]; }); - -/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "DiagnosticTag", function() { return _cssLanguageTypes_js__WEBPACK_IMPORTED_MODULE_16__["DiagnosticTag"]; }); - -/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "DiagnosticCode", function() { return _cssLanguageTypes_js__WEBPACK_IMPORTED_MODULE_16__["DiagnosticCode"]; }); - -/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "Diagnostic", function() { return _cssLanguageTypes_js__WEBPACK_IMPORTED_MODULE_16__["Diagnostic"]; }); - -/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "Command", function() { return _cssLanguageTypes_js__WEBPACK_IMPORTED_MODULE_16__["Command"]; }); - -/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "TextEdit", function() { return _cssLanguageTypes_js__WEBPACK_IMPORTED_MODULE_16__["TextEdit"]; }); - -/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "TextDocumentEdit", function() { return _cssLanguageTypes_js__WEBPACK_IMPORTED_MODULE_16__["TextDocumentEdit"]; }); - -/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "CreateFile", function() { return _cssLanguageTypes_js__WEBPACK_IMPORTED_MODULE_16__["CreateFile"]; }); - -/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "RenameFile", function() { return _cssLanguageTypes_js__WEBPACK_IMPORTED_MODULE_16__["RenameFile"]; }); - -/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "DeleteFile", function() { return _cssLanguageTypes_js__WEBPACK_IMPORTED_MODULE_16__["DeleteFile"]; }); - -/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "WorkspaceEdit", function() { return _cssLanguageTypes_js__WEBPACK_IMPORTED_MODULE_16__["WorkspaceEdit"]; }); - -/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "WorkspaceChange", function() { return _cssLanguageTypes_js__WEBPACK_IMPORTED_MODULE_16__["WorkspaceChange"]; }); - -/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "TextDocumentIdentifier", function() { return _cssLanguageTypes_js__WEBPACK_IMPORTED_MODULE_16__["TextDocumentIdentifier"]; }); - -/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "VersionedTextDocumentIdentifier", function() { return _cssLanguageTypes_js__WEBPACK_IMPORTED_MODULE_16__["VersionedTextDocumentIdentifier"]; }); - -/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "TextDocumentItem", function() { return _cssLanguageTypes_js__WEBPACK_IMPORTED_MODULE_16__["TextDocumentItem"]; }); - -/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "MarkupKind", function() { return _cssLanguageTypes_js__WEBPACK_IMPORTED_MODULE_16__["MarkupKind"]; }); - -/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "MarkupContent", function() { return _cssLanguageTypes_js__WEBPACK_IMPORTED_MODULE_16__["MarkupContent"]; }); - -/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "CompletionItemKind", function() { return _cssLanguageTypes_js__WEBPACK_IMPORTED_MODULE_16__["CompletionItemKind"]; }); - -/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "InsertTextFormat", function() { return _cssLanguageTypes_js__WEBPACK_IMPORTED_MODULE_16__["InsertTextFormat"]; }); - -/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "CompletionItemTag", function() { return _cssLanguageTypes_js__WEBPACK_IMPORTED_MODULE_16__["CompletionItemTag"]; }); - -/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "InsertReplaceEdit", function() { return _cssLanguageTypes_js__WEBPACK_IMPORTED_MODULE_16__["InsertReplaceEdit"]; }); - -/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "CompletionItem", function() { return _cssLanguageTypes_js__WEBPACK_IMPORTED_MODULE_16__["CompletionItem"]; }); - -/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "CompletionList", function() { return _cssLanguageTypes_js__WEBPACK_IMPORTED_MODULE_16__["CompletionList"]; }); - -/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "MarkedString", function() { return _cssLanguageTypes_js__WEBPACK_IMPORTED_MODULE_16__["MarkedString"]; }); - -/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "Hover", function() { return _cssLanguageTypes_js__WEBPACK_IMPORTED_MODULE_16__["Hover"]; }); - -/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "ParameterInformation", function() { return _cssLanguageTypes_js__WEBPACK_IMPORTED_MODULE_16__["ParameterInformation"]; }); - -/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "SignatureInformation", function() { return _cssLanguageTypes_js__WEBPACK_IMPORTED_MODULE_16__["SignatureInformation"]; }); - -/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "DocumentHighlightKind", function() { return _cssLanguageTypes_js__WEBPACK_IMPORTED_MODULE_16__["DocumentHighlightKind"]; }); - -/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "DocumentHighlight", function() { return _cssLanguageTypes_js__WEBPACK_IMPORTED_MODULE_16__["DocumentHighlight"]; }); - -/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "SymbolKind", function() { return _cssLanguageTypes_js__WEBPACK_IMPORTED_MODULE_16__["SymbolKind"]; }); - -/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "SymbolTag", function() { return _cssLanguageTypes_js__WEBPACK_IMPORTED_MODULE_16__["SymbolTag"]; }); - -/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "SymbolInformation", function() { return _cssLanguageTypes_js__WEBPACK_IMPORTED_MODULE_16__["SymbolInformation"]; }); - -/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "DocumentSymbol", function() { return _cssLanguageTypes_js__WEBPACK_IMPORTED_MODULE_16__["DocumentSymbol"]; }); - -/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "CodeActionKind", function() { return _cssLanguageTypes_js__WEBPACK_IMPORTED_MODULE_16__["CodeActionKind"]; }); - -/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "CodeActionContext", function() { return _cssLanguageTypes_js__WEBPACK_IMPORTED_MODULE_16__["CodeActionContext"]; }); - -/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "CodeAction", function() { return _cssLanguageTypes_js__WEBPACK_IMPORTED_MODULE_16__["CodeAction"]; }); - -/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "CodeLens", function() { return _cssLanguageTypes_js__WEBPACK_IMPORTED_MODULE_16__["CodeLens"]; }); - -/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "FormattingOptions", function() { return _cssLanguageTypes_js__WEBPACK_IMPORTED_MODULE_16__["FormattingOptions"]; }); - -/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "DocumentLink", function() { return _cssLanguageTypes_js__WEBPACK_IMPORTED_MODULE_16__["DocumentLink"]; }); - -/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "SelectionRange", function() { return _cssLanguageTypes_js__WEBPACK_IMPORTED_MODULE_16__["SelectionRange"]; }); - -/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "EOL", function() { return _cssLanguageTypes_js__WEBPACK_IMPORTED_MODULE_16__["EOL"]; }); - -/*--------------------------------------------------------------------------------------------- - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for license information. - *--------------------------------------------------------------------------------------------*/ - - - - - - - - - - - - - - - - - - -function getDefaultCSSDataProvider() { - return newCSSDataProvider(_data_webCustomData_js__WEBPACK_IMPORTED_MODULE_15__["cssData"]); -} -function newCSSDataProvider(data) { - return new _languageFacts_dataProvider_js__WEBPACK_IMPORTED_MODULE_12__["CSSDataProvider"](data); -} -function createFacade(parser, completion, hover, navigation, codeActions, validation, cssDataManager) { - return { - configure: function (settings) { - validation.configure(settings); - completion.configure(settings); - }, - setDataProviders: cssDataManager.setDataProviders.bind(cssDataManager), - doValidation: validation.doValidation.bind(validation), - parseStylesheet: parser.parseStylesheet.bind(parser), - doComplete: completion.doComplete.bind(completion), - doComplete2: completion.doComplete2.bind(completion), - setCompletionParticipants: completion.setCompletionParticipants.bind(completion), - doHover: hover.doHover.bind(hover), - findDefinition: navigation.findDefinition.bind(navigation), - findReferences: navigation.findReferences.bind(navigation), - findDocumentHighlights: navigation.findDocumentHighlights.bind(navigation), - findDocumentLinks: navigation.findDocumentLinks.bind(navigation), - findDocumentLinks2: navigation.findDocumentLinks2.bind(navigation), - findDocumentSymbols: navigation.findDocumentSymbols.bind(navigation), - doCodeActions: codeActions.doCodeActions.bind(codeActions), - doCodeActions2: codeActions.doCodeActions2.bind(codeActions), - findColorSymbols: function (d, s) { return navigation.findDocumentColors(d, s).map(function (s) { return s.range; }); }, - findDocumentColors: navigation.findDocumentColors.bind(navigation), - getColorPresentations: navigation.getColorPresentations.bind(navigation), - doRename: navigation.doRename.bind(navigation), - getFoldingRanges: _services_cssFolding_js__WEBPACK_IMPORTED_MODULE_10__["getFoldingRanges"], - getSelectionRanges: _services_cssSelectionRange_js__WEBPACK_IMPORTED_MODULE_13__["getSelectionRanges"] - }; -} -var defaultLanguageServiceOptions = {}; -function getCSSLanguageService(options) { - if (options === void 0) { options = defaultLanguageServiceOptions; } - var cssDataManager = new _languageFacts_dataManager_js__WEBPACK_IMPORTED_MODULE_11__["CSSDataManager"](options); - return createFacade(new _parser_cssParser_js__WEBPACK_IMPORTED_MODULE_0__["Parser"](), new _services_cssCompletion_js__WEBPACK_IMPORTED_MODULE_1__["CSSCompletion"](null, options, cssDataManager), new _services_cssHover_js__WEBPACK_IMPORTED_MODULE_2__["CSSHover"](options && options.clientCapabilities, cssDataManager), new _services_cssNavigation_js__WEBPACK_IMPORTED_MODULE_3__["CSSNavigation"](options && options.fileSystemProvider), new _services_cssCodeActions_js__WEBPACK_IMPORTED_MODULE_4__["CSSCodeActions"](cssDataManager), new _services_cssValidation_js__WEBPACK_IMPORTED_MODULE_5__["CSSValidation"](cssDataManager), cssDataManager); -} -function getSCSSLanguageService(options) { - if (options === void 0) { options = defaultLanguageServiceOptions; } - var cssDataManager = new _languageFacts_dataManager_js__WEBPACK_IMPORTED_MODULE_11__["CSSDataManager"](options); - return createFacade(new _parser_scssParser_js__WEBPACK_IMPORTED_MODULE_6__["SCSSParser"](), new _services_scssCompletion_js__WEBPACK_IMPORTED_MODULE_7__["SCSSCompletion"](options, cssDataManager), new _services_cssHover_js__WEBPACK_IMPORTED_MODULE_2__["CSSHover"](options && options.clientCapabilities, cssDataManager), new _services_scssNavigation_js__WEBPACK_IMPORTED_MODULE_14__["SCSSNavigation"](options && options.fileSystemProvider), new _services_cssCodeActions_js__WEBPACK_IMPORTED_MODULE_4__["CSSCodeActions"](cssDataManager), new _services_cssValidation_js__WEBPACK_IMPORTED_MODULE_5__["CSSValidation"](cssDataManager), cssDataManager); -} -function getLESSLanguageService(options) { - if (options === void 0) { options = defaultLanguageServiceOptions; } - var cssDataManager = new _languageFacts_dataManager_js__WEBPACK_IMPORTED_MODULE_11__["CSSDataManager"](options); - return createFacade(new _parser_lessParser_js__WEBPACK_IMPORTED_MODULE_8__["LESSParser"](), new _services_lessCompletion_js__WEBPACK_IMPORTED_MODULE_9__["LESSCompletion"](options, cssDataManager), new _services_cssHover_js__WEBPACK_IMPORTED_MODULE_2__["CSSHover"](options && options.clientCapabilities, cssDataManager), new _services_cssNavigation_js__WEBPACK_IMPORTED_MODULE_3__["CSSNavigation"](options && options.fileSystemProvider), new _services_cssCodeActions_js__WEBPACK_IMPORTED_MODULE_4__["CSSCodeActions"](cssDataManager), new _services_cssValidation_js__WEBPACK_IMPORTED_MODULE_5__["CSSValidation"](cssDataManager), cssDataManager); -} - - -/***/ }), - -/***/ "./node_modules/monaco-editor/esm/vs/language/css/_deps/vscode-css-languageservice/cssLanguageTypes.js": -/*!*************************************************************************************************************!*\ - !*** ./node_modules/monaco-editor/esm/vs/language/css/_deps/vscode-css-languageservice/cssLanguageTypes.js ***! - \*************************************************************************************************************/ -/*! exports provided: TextDocument, ClientCapabilities, FileType, Position, Range, Location, LocationLink, Color, ColorInformation, ColorPresentation, FoldingRangeKind, FoldingRange, DiagnosticRelatedInformation, DiagnosticSeverity, DiagnosticTag, DiagnosticCode, Diagnostic, Command, TextEdit, TextDocumentEdit, CreateFile, RenameFile, DeleteFile, WorkspaceEdit, WorkspaceChange, TextDocumentIdentifier, VersionedTextDocumentIdentifier, TextDocumentItem, MarkupKind, MarkupContent, CompletionItemKind, InsertTextFormat, CompletionItemTag, InsertReplaceEdit, CompletionItem, CompletionList, MarkedString, Hover, ParameterInformation, SignatureInformation, DocumentHighlightKind, DocumentHighlight, SymbolKind, SymbolTag, SymbolInformation, DocumentSymbol, CodeActionKind, CodeActionContext, CodeAction, CodeLens, FormattingOptions, DocumentLink, SelectionRange, EOL */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -__webpack_require__.r(__webpack_exports__); -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ClientCapabilities", function() { return ClientCapabilities; }); -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "FileType", function() { return FileType; }); -/* harmony import */ var _deps_vscode_languageserver_types_main_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./_deps/vscode-languageserver-types/main.js */ "./node_modules/monaco-editor/esm/vs/language/css/_deps/vscode-css-languageservice/_deps/vscode-languageserver-types/main.js"); -/* harmony import */ var _vscode_languageserver_textdocument_lib_esm_main_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../vscode-languageserver-textdocument/lib/esm/main.js */ "./node_modules/monaco-editor/esm/vs/language/css/_deps/vscode-languageserver-textdocument/lib/esm/main.js"); -/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "TextDocument", function() { return _vscode_languageserver_textdocument_lib_esm_main_js__WEBPACK_IMPORTED_MODULE_1__["TextDocument"]; }); - -/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "Position", function() { return _deps_vscode_languageserver_types_main_js__WEBPACK_IMPORTED_MODULE_0__["Position"]; }); - -/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "Range", function() { return _deps_vscode_languageserver_types_main_js__WEBPACK_IMPORTED_MODULE_0__["Range"]; }); - -/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "Location", function() { return _deps_vscode_languageserver_types_main_js__WEBPACK_IMPORTED_MODULE_0__["Location"]; }); - -/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "LocationLink", function() { return _deps_vscode_languageserver_types_main_js__WEBPACK_IMPORTED_MODULE_0__["LocationLink"]; }); - -/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "Color", function() { return _deps_vscode_languageserver_types_main_js__WEBPACK_IMPORTED_MODULE_0__["Color"]; }); - -/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "ColorInformation", function() { return _deps_vscode_languageserver_types_main_js__WEBPACK_IMPORTED_MODULE_0__["ColorInformation"]; }); - -/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "ColorPresentation", function() { return _deps_vscode_languageserver_types_main_js__WEBPACK_IMPORTED_MODULE_0__["ColorPresentation"]; }); - -/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "FoldingRangeKind", function() { return _deps_vscode_languageserver_types_main_js__WEBPACK_IMPORTED_MODULE_0__["FoldingRangeKind"]; }); - -/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "FoldingRange", function() { return _deps_vscode_languageserver_types_main_js__WEBPACK_IMPORTED_MODULE_0__["FoldingRange"]; }); - -/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "DiagnosticRelatedInformation", function() { return _deps_vscode_languageserver_types_main_js__WEBPACK_IMPORTED_MODULE_0__["DiagnosticRelatedInformation"]; }); - -/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "DiagnosticSeverity", function() { return _deps_vscode_languageserver_types_main_js__WEBPACK_IMPORTED_MODULE_0__["DiagnosticSeverity"]; }); - -/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "DiagnosticTag", function() { return _deps_vscode_languageserver_types_main_js__WEBPACK_IMPORTED_MODULE_0__["DiagnosticTag"]; }); - -/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "DiagnosticCode", function() { return _deps_vscode_languageserver_types_main_js__WEBPACK_IMPORTED_MODULE_0__["DiagnosticCode"]; }); - -/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "Diagnostic", function() { return _deps_vscode_languageserver_types_main_js__WEBPACK_IMPORTED_MODULE_0__["Diagnostic"]; }); - -/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "Command", function() { return _deps_vscode_languageserver_types_main_js__WEBPACK_IMPORTED_MODULE_0__["Command"]; }); - -/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "TextEdit", function() { return _deps_vscode_languageserver_types_main_js__WEBPACK_IMPORTED_MODULE_0__["TextEdit"]; }); - -/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "TextDocumentEdit", function() { return _deps_vscode_languageserver_types_main_js__WEBPACK_IMPORTED_MODULE_0__["TextDocumentEdit"]; }); - -/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "CreateFile", function() { return _deps_vscode_languageserver_types_main_js__WEBPACK_IMPORTED_MODULE_0__["CreateFile"]; }); - -/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "RenameFile", function() { return _deps_vscode_languageserver_types_main_js__WEBPACK_IMPORTED_MODULE_0__["RenameFile"]; }); - -/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "DeleteFile", function() { return _deps_vscode_languageserver_types_main_js__WEBPACK_IMPORTED_MODULE_0__["DeleteFile"]; }); - -/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "WorkspaceEdit", function() { return _deps_vscode_languageserver_types_main_js__WEBPACK_IMPORTED_MODULE_0__["WorkspaceEdit"]; }); - -/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "WorkspaceChange", function() { return _deps_vscode_languageserver_types_main_js__WEBPACK_IMPORTED_MODULE_0__["WorkspaceChange"]; }); - -/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "TextDocumentIdentifier", function() { return _deps_vscode_languageserver_types_main_js__WEBPACK_IMPORTED_MODULE_0__["TextDocumentIdentifier"]; }); - -/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "VersionedTextDocumentIdentifier", function() { return _deps_vscode_languageserver_types_main_js__WEBPACK_IMPORTED_MODULE_0__["VersionedTextDocumentIdentifier"]; }); - -/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "TextDocumentItem", function() { return _deps_vscode_languageserver_types_main_js__WEBPACK_IMPORTED_MODULE_0__["TextDocumentItem"]; }); - -/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "MarkupKind", function() { return _deps_vscode_languageserver_types_main_js__WEBPACK_IMPORTED_MODULE_0__["MarkupKind"]; }); - -/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "MarkupContent", function() { return _deps_vscode_languageserver_types_main_js__WEBPACK_IMPORTED_MODULE_0__["MarkupContent"]; }); - -/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "CompletionItemKind", function() { return _deps_vscode_languageserver_types_main_js__WEBPACK_IMPORTED_MODULE_0__["CompletionItemKind"]; }); - -/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "InsertTextFormat", function() { return _deps_vscode_languageserver_types_main_js__WEBPACK_IMPORTED_MODULE_0__["InsertTextFormat"]; }); - -/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "CompletionItemTag", function() { return _deps_vscode_languageserver_types_main_js__WEBPACK_IMPORTED_MODULE_0__["CompletionItemTag"]; }); - -/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "InsertReplaceEdit", function() { return _deps_vscode_languageserver_types_main_js__WEBPACK_IMPORTED_MODULE_0__["InsertReplaceEdit"]; }); - -/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "CompletionItem", function() { return _deps_vscode_languageserver_types_main_js__WEBPACK_IMPORTED_MODULE_0__["CompletionItem"]; }); - -/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "CompletionList", function() { return _deps_vscode_languageserver_types_main_js__WEBPACK_IMPORTED_MODULE_0__["CompletionList"]; }); - -/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "MarkedString", function() { return _deps_vscode_languageserver_types_main_js__WEBPACK_IMPORTED_MODULE_0__["MarkedString"]; }); - -/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "Hover", function() { return _deps_vscode_languageserver_types_main_js__WEBPACK_IMPORTED_MODULE_0__["Hover"]; }); - -/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "ParameterInformation", function() { return _deps_vscode_languageserver_types_main_js__WEBPACK_IMPORTED_MODULE_0__["ParameterInformation"]; }); - -/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "SignatureInformation", function() { return _deps_vscode_languageserver_types_main_js__WEBPACK_IMPORTED_MODULE_0__["SignatureInformation"]; }); - -/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "DocumentHighlightKind", function() { return _deps_vscode_languageserver_types_main_js__WEBPACK_IMPORTED_MODULE_0__["DocumentHighlightKind"]; }); - -/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "DocumentHighlight", function() { return _deps_vscode_languageserver_types_main_js__WEBPACK_IMPORTED_MODULE_0__["DocumentHighlight"]; }); - -/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "SymbolKind", function() { return _deps_vscode_languageserver_types_main_js__WEBPACK_IMPORTED_MODULE_0__["SymbolKind"]; }); - -/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "SymbolTag", function() { return _deps_vscode_languageserver_types_main_js__WEBPACK_IMPORTED_MODULE_0__["SymbolTag"]; }); - -/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "SymbolInformation", function() { return _deps_vscode_languageserver_types_main_js__WEBPACK_IMPORTED_MODULE_0__["SymbolInformation"]; }); - -/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "DocumentSymbol", function() { return _deps_vscode_languageserver_types_main_js__WEBPACK_IMPORTED_MODULE_0__["DocumentSymbol"]; }); - -/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "CodeActionKind", function() { return _deps_vscode_languageserver_types_main_js__WEBPACK_IMPORTED_MODULE_0__["CodeActionKind"]; }); - -/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "CodeActionContext", function() { return _deps_vscode_languageserver_types_main_js__WEBPACK_IMPORTED_MODULE_0__["CodeActionContext"]; }); - -/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "CodeAction", function() { return _deps_vscode_languageserver_types_main_js__WEBPACK_IMPORTED_MODULE_0__["CodeAction"]; }); - -/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "CodeLens", function() { return _deps_vscode_languageserver_types_main_js__WEBPACK_IMPORTED_MODULE_0__["CodeLens"]; }); - -/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "FormattingOptions", function() { return _deps_vscode_languageserver_types_main_js__WEBPACK_IMPORTED_MODULE_0__["FormattingOptions"]; }); - -/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "DocumentLink", function() { return _deps_vscode_languageserver_types_main_js__WEBPACK_IMPORTED_MODULE_0__["DocumentLink"]; }); - -/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "SelectionRange", function() { return _deps_vscode_languageserver_types_main_js__WEBPACK_IMPORTED_MODULE_0__["SelectionRange"]; }); - -/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "EOL", function() { return _deps_vscode_languageserver_types_main_js__WEBPACK_IMPORTED_MODULE_0__["EOL"]; }); - -/*--------------------------------------------------------------------------------------------- - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for license information. - *--------------------------------------------------------------------------------------------*/ - - - - -var ClientCapabilities; -(function (ClientCapabilities) { - ClientCapabilities.LATEST = { - textDocument: { - completion: { - completionItem: { - documentationFormat: [_deps_vscode_languageserver_types_main_js__WEBPACK_IMPORTED_MODULE_0__["MarkupKind"].Markdown, _deps_vscode_languageserver_types_main_js__WEBPACK_IMPORTED_MODULE_0__["MarkupKind"].PlainText] - } - }, - hover: { - contentFormat: [_deps_vscode_languageserver_types_main_js__WEBPACK_IMPORTED_MODULE_0__["MarkupKind"].Markdown, _deps_vscode_languageserver_types_main_js__WEBPACK_IMPORTED_MODULE_0__["MarkupKind"].PlainText] - } - } - }; -})(ClientCapabilities || (ClientCapabilities = {})); -var FileType; -(function (FileType) { - /** - * The file type is unknown. - */ - FileType[FileType["Unknown"] = 0] = "Unknown"; - /** - * A regular file. - */ - FileType[FileType["File"] = 1] = "File"; - /** - * A directory. - */ - FileType[FileType["Directory"] = 2] = "Directory"; - /** - * A symbolic link to a file. - */ - FileType[FileType["SymbolicLink"] = 64] = "SymbolicLink"; -})(FileType || (FileType = {})); - - -/***/ }), - -/***/ "./node_modules/monaco-editor/esm/vs/language/css/_deps/vscode-css-languageservice/data/webCustomData.js": -/*!***************************************************************************************************************!*\ - !*** ./node_modules/monaco-editor/esm/vs/language/css/_deps/vscode-css-languageservice/data/webCustomData.js ***! - \***************************************************************************************************************/ -/*! exports provided: cssData */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -__webpack_require__.r(__webpack_exports__); -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "cssData", function() { return cssData; }); -/*--------------------------------------------------------------------------------------------- - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for license information. - *--------------------------------------------------------------------------------------------*/ -// file generated from vscode-web-custom-data NPM package -var cssData = { - "version": 1.1, - "properties": [ - { - "name": "additive-symbols", - "browsers": [ - "FF33" - ], - "syntax": "[ && ]#", - "relevance": 50, - "description": "@counter-style descriptor. Specifies the symbols used by the marker-construction algorithm specified by the system descriptor. Needs to be specified if the counter system is 'additive'.", - "restrictions": [ - "integer", - "string", - "image", - "identifier" - ] - }, - { - "name": "align-content", - "values": [ - { - "name": "center", - "description": "Lines are packed toward the center of the flex container." - }, - { - "name": "flex-end", - "description": "Lines are packed toward the end of the flex container." - }, - { - "name": "flex-start", - "description": "Lines are packed toward the start of the flex container." - }, - { - "name": "space-around", - "description": "Lines are evenly distributed in the flex container, with half-size spaces on either end." - }, - { - "name": "space-between", - "description": "Lines are evenly distributed in the flex container." - }, - { - "name": "stretch", - "description": "Lines stretch to take up the remaining space." - } - ], - "syntax": "normal | | | ? ", - "relevance": 59, - "description": "Aligns a flex container’s lines within the flex container when there is extra space in the cross-axis, similar to how 'justify-content' aligns individual items within the main-axis.", - "restrictions": [ - "enum" - ] - }, - { - "name": "align-items", - "values": [ - { - "name": "baseline", - "description": "If the flex item’s inline axis is the same as the cross axis, this value is identical to 'flex-start'. Otherwise, it participates in baseline alignment." - }, - { - "name": "center", - "description": "The flex item’s margin box is centered in the cross axis within the line." - }, - { - "name": "flex-end", - "description": "The cross-end margin edge of the flex item is placed flush with the cross-end edge of the line." - }, - { - "name": "flex-start", - "description": "The cross-start margin edge of the flex item is placed flush with the cross-start edge of the line." - }, - { - "name": "stretch", - "description": "If the cross size property of the flex item computes to auto, and neither of the cross-axis margins are auto, the flex item is stretched." - } - ], - "syntax": "normal | stretch | | [ ? ]", - "relevance": 81, - "description": "Aligns flex items along the cross axis of the current line of the flex container.", - "restrictions": [ - "enum" - ] - }, - { - "name": "justify-items", - "values": [ - { - "name": "auto" - }, - { - "name": "normal" - }, - { - "name": "end" - }, - { - "name": "start" - }, - { - "name": "flex-end", - "description": "\"Flex items are packed toward the end of the line.\"" - }, - { - "name": "flex-start", - "description": "\"Flex items are packed toward the start of the line.\"" - }, - { - "name": "self-end", - "description": "The item is packed flush to the edge of the alignment container of the end side of the item, in the appropriate axis." - }, - { - "name": "self-start", - "description": "The item is packed flush to the edge of the alignment container of the start side of the item, in the appropriate axis.." - }, - { - "name": "center", - "description": "The items are packed flush to each other toward the center of the of the alignment container." - }, - { - "name": "left" - }, - { - "name": "right" - }, - { - "name": "baseline" - }, - { - "name": "first baseline" - }, - { - "name": "last baseline" - }, - { - "name": "stretch", - "description": "If the cross size property of the flex item computes to auto, and neither of the cross-axis margins are auto, the flex item is stretched." - }, - { - "name": "save" - }, - { - "name": "unsave" - }, - { - "name": "legacy" - } - ], - "syntax": "normal | stretch | | ? [ | left | right ] | legacy | legacy && [ left | right | center ]", - "relevance": 50, - "description": "Defines the default justify-self for all items of the box, giving them the default way of justifying each box along the appropriate axis", - "restrictions": [ - "enum" - ] - }, - { - "name": "justify-self", - "browsers": [ - "E16", - "FF45", - "S10.1", - "C57", - "O44" - ], - "values": [ - { - "name": "auto" - }, - { - "name": "normal" - }, - { - "name": "end" - }, - { - "name": "start" - }, - { - "name": "flex-end", - "description": "\"Flex items are packed toward the end of the line.\"" - }, - { - "name": "flex-start", - "description": "\"Flex items are packed toward the start of the line.\"" - }, - { - "name": "self-end", - "description": "The item is packed flush to the edge of the alignment container of the end side of the item, in the appropriate axis." - }, - { - "name": "self-start", - "description": "The item is packed flush to the edge of the alignment container of the start side of the item, in the appropriate axis.." - }, - { - "name": "center", - "description": "The items are packed flush to each other toward the center of the of the alignment container." - }, - { - "name": "left" - }, - { - "name": "right" - }, - { - "name": "baseline" - }, - { - "name": "first baseline" - }, - { - "name": "last baseline" - }, - { - "name": "stretch", - "description": "If the cross size property of the flex item computes to auto, and neither of the cross-axis margins are auto, the flex item is stretched." - }, - { - "name": "save" - }, - { - "name": "unsave" - } - ], - "syntax": "auto | normal | stretch | | ? [ | left | right ]", - "relevance": 52, - "description": "Defines the way of justifying a box inside its container along the appropriate axis.", - "restrictions": [ - "enum" - ] - }, - { - "name": "align-self", - "values": [ - { - "name": "auto", - "description": "Computes to the value of 'align-items' on the element’s parent, or 'stretch' if the element has no parent. On absolutely positioned elements, it computes to itself." - }, - { - "name": "baseline", - "description": "If the flex item’s inline axis is the same as the cross axis, this value is identical to 'flex-start'. Otherwise, it participates in baseline alignment." - }, - { - "name": "center", - "description": "The flex item’s margin box is centered in the cross axis within the line." - }, - { - "name": "flex-end", - "description": "The cross-end margin edge of the flex item is placed flush with the cross-end edge of the line." - }, - { - "name": "flex-start", - "description": "The cross-start margin edge of the flex item is placed flush with the cross-start edge of the line." - }, - { - "name": "stretch", - "description": "If the cross size property of the flex item computes to auto, and neither of the cross-axis margins are auto, the flex item is stretched." - } - ], - "syntax": "auto | normal | stretch | | ? ", - "relevance": 69, - "description": "Allows the default alignment along the cross axis to be overridden for individual flex items.", - "restrictions": [ - "enum" - ] - }, - { - "name": "all", - "browsers": [ - "E79", - "FF27", - "S9.1", - "C37", - "O24" - ], - "values": [], - "syntax": "initial | inherit | unset | revert", - "relevance": 51, - "references": [ - { - "name": "MDN Reference", - "url": "https://developer.mozilla.org/docs/Web/CSS/all" - } - ], - "description": "Shorthand that resets all properties except 'direction' and 'unicode-bidi'.", - "restrictions": [ - "enum" - ] - }, - { - "name": "alt", - "browsers": [ - "S9" - ], - "values": [], - "relevance": 50, - "references": [ - { - "name": "MDN Reference", - "url": "https://developer.mozilla.org/docs/Web/CSS/alt" - } - ], - "description": "Provides alternative text for assistive technology to replace the generated content of a ::before or ::after element.", - "restrictions": [ - "string", - "enum" - ] - }, - { - "name": "animation", - "values": [ - { - "name": "alternate", - "description": "The animation cycle iterations that are odd counts are played in the normal direction, and the animation cycle iterations that are even counts are played in a reverse direction." - }, - { - "name": "alternate-reverse", - "description": "The animation cycle iterations that are odd counts are played in the reverse direction, and the animation cycle iterations that are even counts are played in a normal direction." - }, - { - "name": "backwards", - "description": "The beginning property value (as defined in the first @keyframes at-rule) is applied before the animation is displayed, during the period defined by 'animation-delay'." - }, - { - "name": "both", - "description": "Both forwards and backwards fill modes are applied." - }, - { - "name": "forwards", - "description": "The final property value (as defined in the last @keyframes at-rule) is maintained after the animation completes." - }, - { - "name": "infinite", - "description": "Causes the animation to repeat forever." - }, - { - "name": "none", - "description": "No animation is performed" - }, - { - "name": "normal", - "description": "Normal playback." - }, - { - "name": "reverse", - "description": "All iterations of the animation are played in the reverse direction from the way they were specified." - } - ], - "syntax": "#", - "relevance": 79, - "references": [ - { - "name": "MDN Reference", - "url": "https://developer.mozilla.org/docs/Web/CSS/animation" - } - ], - "description": "Shorthand property combines six of the animation properties into a single property.", - "restrictions": [ - "time", - "timing-function", - "enum", - "identifier", - "number" - ] - }, - { - "name": "animation-delay", - "syntax": "