id: 1 unit: provideDocumentSymbols: function() file: website/playground/new-samples/extending-language-services/symbols-provider-example/sample.js start line: 2 end line: 473 size: 472 LOC McCabe index: 1 number of parameters: 2 id: 2 unit: function getMicrosoftSQLKeywords() file: src/basic-languages/sql/keywords.js start line: 29 end line: 456 size: 427 LOC McCabe index: 1 number of parameters: 0 id: 3 unit: (function ()() file: website/playground/new-samples/all.js start line: 1 end line: 184 size: 183 LOC McCabe index: 2 number of parameters: 1 id: 4 unit: function getSQLiteKeywords() file: src/basic-languages/sql/keywords.js start line: 458 end line: 612 size: 154 LOC McCabe index: 1 number of parameters: 0 id: 5 unit: function generateTestSamplesTask() file: build/simpleserver.js start line: 23 end line: 160 size: 126 LOC McCabe index: 2 number of parameters: 0 id: 6 unit: range: toRange() file: src/common/lspLanguageFeatures.ts start line: 495 end line: 636 size: 115 LOC McCabe index: 10 number of parameters: 1 id: 7 unit: (function ()() file: build/importTypescript.js start line: 21 end line: 161 size: 113 LOC McCabe index: 7 number of parameters: 1 id: 8 unit: function tokenize() file: src/json/tokenization.ts start line: 144 end line: 273 size: 113 LOC McCabe index: 24 number of parameters: 4 id: 9 unit: value: displayPartsToString() file: src/typescript/languageFeatures.ts start line: 657 end line: 1132 size: 111 LOC McCabe index: 4 number of parameters: 1 id: 10 unit: function registerProviders() file: src/css/cssMode.ts start line: 25 end line: 109 size: 83 LOC McCabe index: 12 number of parameters: 0 id: 11 unit: (function ()() file: metadata.js start line: 1 end line: 87 size: 81 LOC McCabe index: 2 number of parameters: 1 id: 12 unit: function load() file: website/playground/playground.js start line: 50 end line: 347 size: 79 LOC McCabe index: 10 number of parameters: 0 id: 13 unit: function generateMetadata() file: build/releaseMetadata.js start line: 115 end line: 199 size: 73 LOC McCabe index: 8 number of parameters: 0 id: 14 unit: function registerProviders() file: src/html/htmlMode.ts start line: 78 end line: 151 size: 72 LOC McCabe index: 11 number of parameters: 0 id: 15 unit: function registerProviders() file: src/json/jsonMode.ts start line: 53 end line: 125 size: 71 LOC McCabe index: 11 number of parameters: 0 id: 16 unit: kind: toSymbolKind() file: src/common/lspLanguageFeatures.ts start line: 677 end line: 752 size: 66 LOC McCabe index: 20 number of parameters: 1 id: 17 unit: range: toRange() file: src/common/lspLanguageFeatures.ts start line: 678 end line: 752 size: 65 LOC McCabe index: 20 number of parameters: 1 id: 18 unit: kind: toDocumentHighlightKind() file: src/common/lspLanguageFeatures.ts start line: 496 end line: 636 size: 62 LOC McCabe index: 6 number of parameters: 1 id: 19 unit: function getFeatures() file: build/releaseMetadata.js start line: 219 end line: 286 size: 59 LOC McCabe index: 10 number of parameters: 0 id: 20 unit: function escapeText() file: build/importTypescript.js start line: 202 end line: 260 size: 56 LOC McCabe index: 12 number of parameters: 1 id: 21 unit: function getCode() file: website/playground/new-samples/extending-language-services/custom-languages/sample.js start line: 64 end line: 117 size: 54 LOC McCabe index: 1 number of parameters: 0 id: 22 unit: public async provideRenameEdits() file: src/typescript/languageFeatures.ts start line: 1159 end line: 1217 size: 52 LOC McCabe index: 8 number of parameters: 4 id: 23 unit: function ESM_releasePlugin() file: build/release.js start line: 191 end line: 255 size: 51 LOC McCabe index: 12 number of parameters: 2 id: 24 unit: public async provideCompletionItems() file: src/typescript/languageFeatures.ts start line: 440 end line: 497 size: 50 LOC McCabe index: 6 number of parameters: 4 id: 25 unit: public async provideSignatureHelp() file: src/typescript/languageFeatures.ts start line: 614 end line: 674 size: 50 LOC McCabe index: 5 number of parameters: 4 id: 26 unit: function layout() file: website/playground/playground.js start line: 51 end line: 110 size: 49 LOC McCabe index: 3 number of parameters: 0 id: 27 unit: public async provideCodeActions() file: src/typescript/languageFeatures.ts start line: 1069 end line: 1120 size: 46 LOC McCabe index: 4 number of parameters: 4 id: 28 unit: function generateWebsite() file: build/website.js start line: 89 end line: 170 size: 44 LOC McCabe index: 5 number of parameters: 0 id: 29 unit: private async _doValidate() file: src/typescript/languageFeatures.ts start line: 286 end line: 342 size: 44 LOC McCabe index: 11 number of parameters: 1 id: 30 unit: function toCompletionItemKind() file: src/common/lspLanguageFeatures.ts start line: 285 end line: 327 size: 42 LOC McCabe index: 19 number of parameters: 1 id: 31 unit: function fromCompletionItemKind() file: src/common/lspLanguageFeatures.ts start line: 329 end line: 371 size: 42 LOC McCabe index: 19 number of parameters: 1 id: 32 unit: function toSymbolKind() file: src/common/lspLanguageFeatures.ts start line: 686 end line: 728 size: 42 LOC McCabe index: 19 number of parameters: 1 id: 33 unit: function setupMode() file: src/typescript/tsMode.ts start line: 43 end line: 86 size: 42 LOC McCabe index: 1 number of parameters: 2 id: 34 unit: langModel: createLangModel() file: website/monarch/monarch.js start line: 90 end line: 142 size: 41 LOC McCabe index: 5 number of parameters: 2 id: 35 unit: glob() file: build/build.js start line: 160 end line: 205 size: 40 LOC McCabe index: 4 number of parameters: 4 id: 36 unit: function AMD_addPluginContribs() file: build/release.js start line: 117 end line: 167 size: 40 LOC McCabe index: 4 number of parameters: 2 id: 37 unit: export function setupMode1() file: src/html/htmlMode.ts start line: 18 end line: 63 size: 39 LOC McCabe index: 2 number of parameters: 1 id: 38 unit: message: flattenDiagnosticMessageText() file: src/typescript/languageFeatures.ts start line: 405 end line: 470 size: 39 LOC McCabe index: 5 number of parameters: 2 id: 39 unit: function releaseDTS() file: build/release.js start line: 331 end line: 378 size: 38 LOC McCabe index: 2 number of parameters: 0 id: 40 unit: public async provideDocumentSymbols() file: src/typescript/languageFeatures.ts start line: 857 end line: 902 size: 38 LOC McCabe index: 9 number of parameters: 2 id: 41 unit: function getGitVersion() file: build/utils.js start line: 208 end line: 256 size: 37 LOC McCabe index: 7 number of parameters: 0 id: 42 unit: function toExternalDTS() file: build/release.js start line: 386 end line: 426 size: 35 LOC McCabe index: 10 number of parameters: 1 id: 43 unit: function dts() file: build/utils.js start line: 64 end line: 102 size: 35 LOC McCabe index: 6 number of parameters: 3 id: 44 unit: function checkSamples() file: build/website.js start line: 36 end line: 73 size: 35 LOC McCabe index: 9 number of parameters: 0 id: 45 unit: private _convertRelatedInformation() file: src/typescript/languageFeatures.ts start line: 373 end line: 409 size: 34 LOC McCabe index: 6 number of parameters: 2 id: 46 unit: public async provideReferences() file: src/typescript/languageFeatures.ts start line: 811 end line: 851 size: 34 LOC McCabe index: 7 number of parameters: 4 id: 47 unit: public async provideDefinition() file: src/typescript/languageFeatures.ts start line: 759 end line: 798 size: 33 LOC McCabe index: 7 number of parameters: 3 id: 48 unit: function createDependencyProposals() file: website/playground/new-samples/extending-language-services/completion-provider-example/sample.js start line: 1 end line: 35 size: 33 LOC McCabe index: 1 number of parameters: 1 id: 49 unit: constructor() file: src/css/cssWorker.ts start line: 18 end line: 51 size: 31 LOC McCabe index: 6 number of parameters: 2 id: 50 unit: private static convertKind() file: src/typescript/languageFeatures.ts start line: 529 end line: 560 size: 31 LOC McCabe index: 18 number of parameters: 1 id: 51 unit: private _getClient() file: src/typescript/workerManager.ts start line: 59 end line: 98 size: 31 LOC McCabe index: 4 number of parameters: 0 id: 52 unit: provideInlayHints() file: website/playground/new-samples/extending-language-services/inlay-hints-provider-example/sample.js start line: 13 end line: 43 size: 31 LOC McCabe index: 1 number of parameters: 3 id: 53 unit: public async provideHover() file: src/typescript/languageFeatures.ts start line: 680 end line: 713 size: 30 LOC McCabe index: 6 number of parameters: 3 id: 54 unit: public async provideDocumentRangeFormattingEdits() file: src/typescript/languageFeatures.ts start line: 992 end line: 1025 size: 30 LOC McCabe index: 4 number of parameters: 4 id: 55 unit: public async provideInlayHints() file: src/typescript/languageFeatures.ts start line: 1223 end line: 1253 size: 30 LOC McCabe index: 2 number of parameters: 3 id: 56 unit: xhr() file: website/index/index.js start line: 91 end line: 122 size: 30 LOC McCabe index: 6 number of parameters: 3 id: 57 unit: range: toRange() file: src/common/lspLanguageFeatures.ts start line: 757 end line: 793 size: 29 LOC McCabe index: 3 number of parameters: 1 id: 58 unit: public provideColorPresentations() file: src/common/lspLanguageFeatures.ts start line: 872 end line: 901 size: 29 LOC McCabe index: 4 number of parameters: 3 id: 59 unit: provideDocumentSemanticTokens: function() file: website/playground/new-samples/extending-language-services/semantic-tokens-provider-example/sample.js start line: 67 end line: 105 size: 29 LOC McCabe index: 6 number of parameters: 3 id: 60 unit: provideFoldingRanges: function() file: website/playground/new-samples/extending-language-services/folding-provider-example/sample.js start line: 41 end line: 73 size: 28 LOC McCabe index: 1 number of parameters: 3 id: 61 unit: function importLibs() file: build/importTypescript.js start line: 163 end line: 197 size: 27 LOC McCabe index: 4 number of parameters: 0 id: 62 unit: function ESM_addPluginContribs() file: build/release.js start line: 292 end line: 325 size: 27 LOC McCabe index: 5 number of parameters: 1 id: 63 unit: public provideSelectionRanges() file: src/common/lspLanguageFeatures.ts start line: 971 end line: 998 size: 27 LOC McCabe index: 3 number of parameters: 3 id: 64 unit: export function flattenDiagnosticMessageText() file: src/typescript/languageFeatures.ts start line: 36 end line: 62 size: 26 LOC McCabe index: 7 number of parameters: 3 id: 65 unit: private _convertDiagnostics() file: src/typescript/languageFeatures.ts start line: 344 end line: 371 size: 26 LOC McCabe index: 5 number of parameters: 2 id: 66 unit: require() file: website/monarch/monarch.js start line: 100 end line: 172 size: 26 LOC McCabe index: 2 number of parameters: 2 id: 67 unit: private _tsCodeFixActionToMonacoCodeAction() file: src/typescript/languageFeatures.ts start line: 1122 end line: 1148 size: 25 LOC McCabe index: 3 number of parameters: 3 id: 68 unit: function getBasicLanguages() file: build/releaseMetadata.js start line: 31 end line: 55 size: 24 LOC McCabe index: 2 number of parameters: 0 id: 69 unit: public provideFoldingRanges() file: src/common/lspLanguageFeatures.ts start line: 917 end line: 941 size: 24 LOC McCabe index: 3 number of parameters: 3 id: 70 unit: public async resolveCompletionItem() file: src/typescript/languageFeatures.ts start line: 499 end line: 527 size: 24 LOC McCabe index: 2 number of parameters: 2 id: 71 unit: public async provideDocumentHighlights() file: src/typescript/languageFeatures.ts start line: 719 end line: 746 size: 24 LOC McCabe index: 5 number of parameters: 3 id: 72 unit: public async provideOnTypeFormattingEdits() file: src/typescript/languageFeatures.ts start line: 1036 end line: 1063 size: 24 LOC McCabe index: 4 number of parameters: 5 id: 73 unit: async getCodeFixesAtPosition() file: src/typescript/tsWorker.ts start line: 401 end line: 424 size: 24 LOC McCabe index: 3 number of parameters: 5 id: 74 unit: provideCompletionItems: function() file: website/playground/new-samples/extending-language-services/completion-provider-example/sample.js start line: 38 end line: 62 size: 24 LOC McCabe index: 2 number of parameters: 2 id: 75 unit: function getAdvancedLanguages() file: build/releaseMetadata.js start line: 84 end line: 113 size: 22 LOC McCabe index: 3 number of parameters: 0 id: 76 unit: function buildESM() file: build/utils.js start line: 127 end line: 148 size: 22 LOC McCabe index: 1 number of parameters: 1 id: 77 unit: public provideDocumentSymbols() file: src/common/lspLanguageFeatures.ts start line: 661 end line: 683 size: 22 LOC McCabe index: 2 number of parameters: 2 id: 78 unit: selectionRange: toRange() file: src/common/lspLanguageFeatures.ts start line: 679 end line: 752 size: 22 LOC McCabe index: 2 number of parameters: 1 id: 79 unit: export function setupMode() file: src/json/jsonMode.ts start line: 40 end line: 142 size: 22 LOC McCabe index: 2 number of parameters: 1 id: 80 unit: function rmDir() file: build/fs.js start line: 76 end line: 96 size: 21 LOC McCabe index: 6 number of parameters: 2 id: 81 unit: severity: toSeverity() file: src/common/lspLanguageFeatures.ts start line: 140 end line: 167 size: 21 LOC McCabe index: 1 number of parameters: 1 id: 82 unit: function toWorkspaceEdit() file: src/common/lspLanguageFeatures.ts start line: 626 end line: 646 size: 21 LOC McCabe index: 5 number of parameters: 1 id: 83 unit: private static _toSignatureHelpTriggerReason() file: src/typescript/languageFeatures.ts start line: 590 end line: 612 size: 21 LOC McCabe index: 7 number of parameters: 1 id: 84 unit: function changeTab() file: website/playground/playground.js start line: 112 end line: 135 size: 21 LOC McCabe index: 6 number of parameters: 2 id: 85 unit: range: toRange() file: src/common/lspLanguageFeatures.ts start line: 419 end line: 440 size: 20 LOC McCabe index: 6 number of parameters: 1 id: 86 unit: public provideDocumentHighlights() file: src/common/lspLanguageFeatures.ts start line: 480 end line: 500 size: 20 LOC McCabe index: 2 number of parameters: 3 id: 87 unit: export function create() file: src/typescript/tsWorker.ts start line: 473 end line: 495 size: 20 LOC McCabe index: 4 number of parameters: 2 id: 88 unit: provideCodeLenses: function() file: website/playground/new-samples/extending-language-services/codelens-provider-example/sample.js start line: 16 end line: 35 size: 20 LOC McCabe index: 1 number of parameters: 2 id: 89 unit: function ESM_addImportSuffix() file: build/release.js start line: 261 end line: 285 size: 19 LOC McCabe index: 5 number of parameters: 1 id: 90 unit: function readAdvancedLanguages() file: build/releaseMetadata.js start line: 60 end line: 79 size: 19 LOC McCabe index: 2 number of parameters: 0 id: 91 unit: function readFiles() file: build/utils.js start line: 284 end line: 304 size: 19 LOC McCabe index: 3 number of parameters: 2 id: 92 unit: public provideLinks() file: src/common/lspLanguageFeatures.ts start line: 743 end line: 762 size: 19 LOC McCabe index: 2 number of parameters: 2 id: 93 unit: function normalizePath() file: src/json/jsonWorker.ts start line: 178 end line: 197 size: 19 LOC McCabe index: 11 number of parameters: 1 id: 94 unit: public static equals() file: src/json/tokenization.ts start line: 47 end line: 65 size: 19 LOC McCabe index: 9 number of parameters: 2 id: 95 unit: protected static _convertOptions() file: src/typescript/languageFeatures.ts start line: 957 end line: 975 size: 19 LOC McCabe index: 1 number of parameters: 1 id: 96 unit: private static clearFiles() file: src/typescript/tsWorker.ts start line: 190 end line: 212 size: 19 LOC McCabe index: 6 number of parameters: 1 id: 97 unit: async provideInlayHints() file: src/typescript/tsWorker.ts start line: 430 end line: 449 size: 19 LOC McCabe index: 3 number of parameters: 3 id: 98 unit: function resolveDesiredFeatures() file: webpack-plugin/src/index.ts start line: 63 end line: 88 size: 19 LOC McCabe index: 4 number of parameters: 2 id: 99 unit: function readSamples() file: website/monarch/monarch.js start line: 75 end line: 98 size: 19 LOC McCabe index: 4 number of parameters: 1 id: 100 unit: function toMarkdownString() file: src/common/lspLanguageFeatures.ts start line: 432 end line: 450 size: 18 LOC McCabe index: 4 number of parameters: 1 id: 101 unit: public provideDocumentRangeFormattingEdits() file: src/common/lspLanguageFeatures.ts start line: 807 end line: 825 size: 18 LOC McCabe index: 3 number of parameters: 4 id: 102 unit: async getColorPresentations() file: src/css/cssWorker.ts start line: 149 end line: 166 size: 18 LOC McCabe index: 2 number of parameters: 3 id: 103 unit: async doComplete() file: src/html/htmlWorker.ts start line: 37 end line: 54 size: 18 LOC McCabe index: 3 number of parameters: 2 id: 104 unit: async getColorPresentations() file: src/json/jsonWorker.ts start line: 103 end line: 120 size: 18 LOC McCabe index: 2 number of parameters: 3 id: 105 unit: async findRenameLocations() file: src/typescript/tsWorker.ts start line: 364 end line: 381 size: 18 LOC McCabe index: 2 number of parameters: 5 id: 106 unit: function setEditorState() file: website/monarch/monarch.js start line: 141 end line: 163 size: 18 LOC McCabe index: 7 number of parameters: 1 id: 107 unit: xhr() file: website/playground/playground.js start line: 9 end line: 26 size: 18 LOC McCabe index: 1 number of parameters: 1 id: 108 unit: function cleanFile() file: build/release.js start line: 433 end line: 449 size: 17 LOC McCabe index: 3 number of parameters: 1 id: 109 unit: function getMySQLKeywords() file: src/basic-languages/mysql/keywords.js start line: 13 end line: 32 size: 17 LOC McCabe index: 3 number of parameters: 0 id: 110 unit: function getPostgreSQLKeywords() file: src/basic-languages/pgsql/keywords.js start line: 13 end line: 30 size: 17 LOC McCabe index: 4 number of parameters: 0 id: 111 unit: public provideDefinition() file: src/common/lspLanguageFeatures.ts start line: 530 end line: 547 size: 17 LOC McCabe index: 2 number of parameters: 3 id: 112 unit: public provideDocumentFormattingEdits() file: src/common/lspLanguageFeatures.ts start line: 782 end line: 799 size: 17 LOC McCabe index: 3 number of parameters: 3 id: 113 unit: public provideDocumentColors() file: src/common/lspLanguageFeatures.ts start line: 853 end line: 870 size: 17 LOC McCabe index: 2 number of parameters: 2 id: 114 unit: constructor() file: src/html/htmlWorker.ts start line: 17 end line: 35 size: 17 LOC McCabe index: 3 number of parameters: 2 id: 115 unit: getWorkerUrl: function() file: webpack-plugin/src/index.ts start line: 289 end line: 305 size: 17 LOC McCabe index: 5 number of parameters: 2 id: 116 unit: function getModifier() file: website/playground/new-samples/extending-language-services/semantic-tokens-provider-example/sample.js start line: 43 end line: 59 size: 17 LOC McCabe index: 5 number of parameters: 1 id: 117 unit: function ensureDir() file: build/fs.js start line: 17 end line: 34 size: 16 LOC McCabe index: 4 number of parameters: 1 id: 118 unit: private _doValidate() file: src/common/lspLanguageFeatures.ts start line: 103 end line: 118 size: 16 LOC McCabe index: 3 number of parameters: 2 id: 119 unit: range: toRange() file: src/common/lspLanguageFeatures.ts start line: 553 end line: 575 size: 16 LOC McCabe index: 1 number of parameters: 1 id: 120 unit: range: toRange() file: src/common/lspLanguageFeatures.ts start line: 867 end line: 884 size: 16 LOC McCabe index: 2 number of parameters: 1 id: 121 unit: function getConfigurationDefault() file: src/html/monaco.contribution.ts start line: 176 end line: 191 size: 16 LOC McCabe index: 1 number of parameters: 1 id: 122 unit: private _getClient() file: src/json/workerManager.ts start line: 54 end line: 76 size: 16 LOC McCabe index: 2 number of parameters: 0 id: 123 unit: provideHover: function() file: website/playground/new-samples/extending-language-services/hover-provider-example/sample.js start line: 4 end line: 19 size: 16 LOC McCabe index: 1 number of parameters: 2 id: 124 unit: function npmInstall() file: build/npm/installAll.js start line: 31 end line: 48 size: 15 LOC McCabe index: 3 number of parameters: 1 id: 125 unit: private _getClient() file: src/css/workerManager.ts start line: 54 end line: 75 size: 15 LOC McCabe index: 2 number of parameters: 0 id: 126 unit: private _getClient() file: src/html/workerManager.ts start line: 54 end line: 75 size: 15 LOC McCabe index: 2 number of parameters: 0 id: 127 unit: constructor() file: src/json/jsonWorker.ts start line: 24 end line: 38 size: 15 LOC McCabe index: 2 number of parameters: 2 id: 128 unit: public getOrCreateModel() file: src/typescript/languageFeatures.ts start line: 116 end line: 130 size: 15 LOC McCabe index: 5 number of parameters: 1 id: 129 unit: async getCompletionEntryDetails() file: src/typescript/tsWorker.ts start line: 256 end line: 270 size: 15 LOC McCabe index: 1 number of parameters: 3 id: 130 unit: require() file: website/index/index.js start line: 9 end line: 50 size: 15 LOC McCabe index: 3 number of parameters: 2 id: 131 unit: function releaseThirdPartyNotices() file: build/release.js start line: 455 end line: 472 size: 14 LOC McCabe index: 1 number of parameters: 0 id: 132 unit: function createSimpleServer() file: build/simpleserver.js start line: 166 end line: 179 size: 14 LOC McCabe index: 1 number of parameters: 2 id: 133 unit: function toSeverity() file: src/common/lspLanguageFeatures.ts start line: 121 end line: 134 size: 14 LOC McCabe index: 5 number of parameters: 1 id: 134 unit: range: toRange() file: src/common/lspLanguageFeatures.ts start line: 381 end line: 407 size: 14 LOC McCabe index: 1 number of parameters: 1 id: 135 unit: contents: toMarkedStringArray() file: src/common/lspLanguageFeatures.ts start line: 420 end line: 440 size: 14 LOC McCabe index: 4 number of parameters: 1 id: 136 unit: range: toRange() file: src/common/lspLanguageFeatures.ts start line: 637 end line: 756 size: 14 LOC McCabe index: 1 number of parameters: 1 id: 137 unit: export function setupMode() file: src/css/cssMode.ts start line: 12 end line: 116 size: 14 LOC McCabe index: 1 number of parameters: 1 id: 138 unit: private _getTextDocument() file: src/css/cssWorker.ts start line: 203 end line: 216 size: 14 LOC McCabe index: 3 number of parameters: 1 id: 139 unit: export function setupMode() file: src/html/htmlMode.ts start line: 65 end line: 158 size: 14 LOC McCabe index: 1 number of parameters: 1 id: 140 unit: private _getTextDocument() file: src/html/htmlWorker.ts start line: 141 end line: 154 size: 14 LOC McCabe index: 3 number of parameters: 1 id: 141 unit: export function registerHTMLLanguageService() file: src/html/monaco.contribution.ts start line: 255 end line: 275 size: 14 LOC McCabe index: 1 number of parameters: 3 id: 142 unit: private _getTextDocument() file: src/json/jsonWorker.ts start line: 144 end line: 157 size: 14 LOC McCabe index: 3 number of parameters: 1 id: 143 unit: constructor() file: webpack-plugin/src/index.ts start line: 162 end line: 175 size: 14 LOC McCabe index: 4 number of parameters: 1 id: 144 unit: function onProgress() file: website/index/index.js start line: 152 end line: 168 size: 14 LOC McCabe index: 3 number of parameters: 0 id: 145 unit: loadSample() file: website/playground/playground.js start line: 312 end line: 325 size: 14 LOC McCabe index: 3 number of parameters: 3 id: 146 unit: function tsc() file: build/utils.js start line: 25 end line: 37 size: 13 LOC McCabe index: 2 number of parameters: 1 id: 147 unit: function() file: build/website.js start line: 112 end line: 124 size: 13 LOC McCabe index: 1 number of parameters: 2 id: 148 unit: function toDiagnostics() file: src/common/lspLanguageFeatures.ts start line: 136 end line: 149 size: 13 LOC McCabe index: 2 number of parameters: 2 id: 149 unit: function toDocumentHighlightKind() file: src/common/lspLanguageFeatures.ts start line: 503 end line: 515 size: 13 LOC McCabe index: 4 number of parameters: 1 id: 150 unit: function toFoldingRangeKind() file: src/common/lspLanguageFeatures.ts start line: 944 end line: 956 size: 13 LOC McCabe index: 4 number of parameters: 1 id: 151 unit: async doCodeActions() file: src/css/cssWorker.ts start line: 127 end line: 139 size: 13 LOC McCabe index: 2 number of parameters: 3 id: 152 unit: async doRename() file: src/css/cssWorker.ts start line: 190 end line: 202 size: 13 LOC McCabe index: 2 number of parameters: 3 id: 153 unit: async format() file: src/html/htmlWorker.ts start line: 55 end line: 67 size: 13 LOC McCabe index: 2 number of parameters: 3 id: 154 unit: async doRename() file: src/html/htmlWorker.ts start line: 128 end line: 140 size: 13 LOC McCabe index: 2 number of parameters: 3 id: 155 unit: public equals() file: src/json/tokenization.ts start line: 91 end line: 103 size: 13 LOC McCabe index: 6 number of parameters: 1 id: 156 unit: private _tsDiagnosticCategoryToMarkerSeverity() file: src/typescript/languageFeatures.ts start line: 411 end line: 423 size: 13 LOC McCabe index: 5 number of parameters: 1 id: 157 unit: function tagToString() file: src/typescript/languageFeatures.ts start line: 573 end line: 585 size: 13 LOC McCabe index: 6 number of parameters: 1 id: 158 unit: req.onreadystatechange = function() file: website/playground/new-samples/extending-language-services/hover-provider-example/sample.js start line: 32 end line: 45 size: 13 LOC McCabe index: 6 number of parameters: 0 id: 159 unit: function format() file: build/fillers/vscode-nls.ts start line: 22 end line: 34 size: 12 LOC McCabe index: 3 number of parameters: 2 id: 160 unit: function huskyInstall() file: build/postinstall.js start line: 9 end line: 21 size: 12 LOC McCabe index: 3 number of parameters: 0 id: 161 unit: function ESM_release() file: build/release.js start line: 169 end line: 182 size: 12 LOC McCabe index: 2 number of parameters: 0 id: 162 unit: export function registerLanguage() file: src/basic-languages/_.contribution.ts start line: 63 end line: 80 size: 12 LOC McCabe index: 1 number of parameters: 1 id: 163 unit: export function fromRange() file: src/common/lspLanguageFeatures.ts start line: 249 end line: 260 size: 12 LOC McCabe index: 2 number of parameters: 1 id: 164 unit: async doComplete() file: src/css/cssWorker.ts start line: 64 end line: 75 size: 12 LOC McCabe index: 2 number of parameters: 2 id: 165 unit: async findDefinition() file: src/css/cssWorker.ts start line: 85 end line: 96 size: 12 LOC McCabe index: 2 number of parameters: 2 id: 166 unit: async findDocumentHighlights() file: src/css/cssWorker.ts start line: 106 end line: 117 size: 12 LOC McCabe index: 2 number of parameters: 2 id: 167 unit: async getSelectionRanges() file: src/css/cssWorker.ts start line: 178 end line: 189 size: 12 LOC McCabe index: 2 number of parameters: 2 id: 168 unit: async findDocumentHighlights() file: src/html/htmlWorker.ts start line: 77 end line: 88 size: 12 LOC McCabe index: 2 number of parameters: 2 id: 169 unit: async format() file: src/json/jsonWorker.ts start line: 70 end line: 81 size: 12 LOC McCabe index: 2 number of parameters: 3 id: 170 unit: async getSelectionRanges() file: src/json/jsonWorker.ts start line: 132 end line: 143 size: 12 LOC McCabe index: 2 number of parameters: 2 id: 171 unit: function fileNameIsLib() file: src/typescript/tsWorker.ts start line: 21 end line: 32 size: 12 LOC McCabe index: 4 number of parameters: 1 id: 172 unit: function resolveMonacoPath() file: webpack-plugin/src/index.ts start line: 24 end line: 38 size: 12 LOC McCabe index: 4 number of parameters: 2 id: 173 unit: function xhr() file: website/index/index.js start line: 73 end line: 87 size: 12 LOC McCabe index: 2 number of parameters: 2 id: 174 unit: getPosition: function() file: website/playground/new-samples/interacting-with-the-editor/listening-to-mouse-events/sample.js start line: 60 end line: 71 size: 12 LOC McCabe index: 1 number of parameters: 0 id: 175 unit: function() file: website/playground/playground.js start line: 251 end line: 262 size: 12 LOC McCabe index: 1 number of parameters: 1 id: 176 unit: function removeDir() file: build/fs.js start line: 60 end line: 97 size: 11 LOC McCabe index: 3 number of parameters: 2 id: 177 unit: export function toRange() file: src/common/lspLanguageFeatures.ts start line: 264 end line: 274 size: 11 LOC McCabe index: 2 number of parameters: 1 id: 178 unit: function toMarkedStringArray() file: src/common/lspLanguageFeatures.ts start line: 452 end line: 462 size: 11 LOC McCabe index: 3 number of parameters: 1 id: 179 unit: async getSelectionRanges() file: src/html/htmlWorker.ts start line: 117 end line: 127 size: 11 LOC McCabe index: 2 number of parameters: 2 id: 180 unit: async doComplete() file: src/json/jsonWorker.ts start line: 48 end line: 58 size: 11 LOC McCabe index: 2 number of parameters: 2 id: 181 unit: private _fetchLibFiles() file: src/typescript/languageFeatures.ts start line: 149 end line: 159 size: 11 LOC McCabe index: 2 number of parameters: 0 id: 182 unit: message: flattenDiagnosticMessageText() file: src/typescript/languageFeatures.ts start line: 366 end line: 377 size: 11 LOC McCabe index: 2 number of parameters: 2 id: 183 unit: async getFormattingEditsForRange() file: src/typescript/tsWorker.ts start line: 340 end line: 350 size: 11 LOC McCabe index: 2 number of parameters: 4 id: 184 unit: async getFormattingEditsAfterKeystroke() file: src/typescript/tsWorker.ts start line: 352 end line: 362 size: 11 LOC McCabe index: 2 number of parameters: 4 id: 185 unit: constructor() file: src/typescript/workerManager.ts start line: 20 end line: 30 size: 11 LOC McCabe index: 1 number of parameters: 2 id: 186 unit: private async _updateExtraLibs() file: src/typescript/workerManager.ts start line: 46 end line: 57 size: 11 LOC McCabe index: 3 number of parameters: 0 id: 187 unit: var update = function() file: website/monarch/monarch.js start line: 55 end line: 65 size: 11 LOC McCabe index: 2 number of parameters: 0 id: 188 unit: function AMD_releaseOne() file: build/release.js start line: 81 end line: 91 size: 10 LOC McCabe index: 2 number of parameters: 1 id: 189 unit: function build() file: build/utils.js start line: 108 end line: 117 size: 10 LOC McCabe index: 3 number of parameters: 1 id: 190 unit: public load() file: src/basic-languages/_.contribution.ts start line: 43 end line: 52 size: 10 LOC McCabe index: 2 number of parameters: 0 id: 191 unit: private _convertHintKind() file: src/typescript/languageFeatures.ts start line: 1255 end line: 1264 size: 10 LOC McCabe index: 3 number of parameters: 1 id: 192 unit: async getSignatureHelpItems() file: src/typescript/tsWorker.ts start line: 272 end line: 281 size: 10 LOC McCabe index: 2 number of parameters: 3 id: 193 unit: async getRenameInfo() file: src/typescript/tsWorker.ts start line: 383 end line: 392 size: 10 LOC McCabe index: 2 number of parameters: 3 id: 194 unit: function resolveDesiredLanguages() file: webpack-plugin/src/index.ts start line: 90 end line: 100 size: 10 LOC McCabe index: 3 number of parameters: 3 id: 195 unit: function getCompilationPublicPath() file: webpack-plugin/src/index.ts start line: 227 end line: 236 size: 10 LOC McCabe index: 4 number of parameters: 1 id: 196 unit: apply() file: webpack-plugin/src/plugins/AddWorkerEntryPointPlugin.ts start line: 53 end line: 62 size: 10 LOC McCabe index: 2 number of parameters: 1 id: 197 unit: function createLangModel() file: website/monarch/monarch.js start line: 51 end line: 73 size: 10 LOC McCabe index: 1 number of parameters: 2 id: 198 unit: getDomNode: function() file: website/playground/new-samples/interacting-with-the-editor/listening-to-mouse-events/sample.js start line: 81 end line: 90 size: 10 LOC McCabe index: 2 number of parameters: 0 id: 199 unit: function strcmp() file: build/releaseMetadata.js start line: 206 end line: 214 size: 9 LOC McCabe index: 3 number of parameters: 2 id: 200 unit: function prettier() file: build/utils.js start line: 45 end line: 54 size: 9 LOC McCabe index: 1 number of parameters: 1 id: 201 unit: export function toTextEdit() file: src/common/lspLanguageFeatures.ts start line: 376 end line: 384 size: 9 LOC McCabe index: 2 number of parameters: 1 id: 202 unit: async doValidation() file: src/css/cssWorker.ts start line: 55 end line: 63 size: 9 LOC McCabe index: 2 number of parameters: 1 id: 203 unit: async doHover() file: src/css/cssWorker.ts start line: 76 end line: 84 size: 9 LOC McCabe index: 2 number of parameters: 2 id: 204 unit: async findReferences() file: src/css/cssWorker.ts start line: 97 end line: 105 size: 9 LOC McCabe index: 2 number of parameters: 2 id: 205 unit: async findDocumentSymbols() file: src/css/cssWorker.ts start line: 118 end line: 126 size: 9 LOC McCabe index: 2 number of parameters: 1 id: 206 unit: async findDocumentColors() file: src/css/cssWorker.ts start line: 140 end line: 148 size: 9 LOC McCabe index: 2 number of parameters: 1 id: 207 unit: function getMode() file: src/css/monaco.contribution.ts start line: 224 end line: 232 size: 9 LOC McCabe index: 2 number of parameters: 0 id: 208 unit: private _checkIfIdle() file: src/css/workerManager.ts start line: 44 end line: 52 size: 9 LOC McCabe index: 3 number of parameters: 0 id: 209 unit: async doHover() file: src/html/htmlWorker.ts start line: 68 end line: 76 size: 9 LOC McCabe index: 2 number of parameters: 2 id: 210 unit: async findDocumentSymbols() file: src/html/htmlWorker.ts start line: 97 end line: 105 size: 9 LOC McCabe index: 2 number of parameters: 1 id: 211 unit: function getMode() file: src/html/monaco.contribution.ts start line: 234 end line: 242 size: 9 LOC McCabe index: 2 number of parameters: 0 id: 212 unit: private _checkIfIdle() file: src/html/workerManager.ts start line: 44 end line: 52 size: 9 LOC McCabe index: 3 number of parameters: 0 id: 213 unit: async findDocumentSymbols() file: src/json/jsonWorker.ts start line: 85 end line: 93 size: 9 LOC McCabe index: 2 number of parameters: 1 id: 214 unit: async findDocumentColors() file: src/json/jsonWorker.ts start line: 94 end line: 102 size: 9 LOC McCabe index: 2 number of parameters: 1 id: 215 unit: function getMode() file: src/json/monaco.contribution.ts start line: 208 end line: 216 size: 9 LOC McCabe index: 2 number of parameters: 0 id: 216 unit: private _checkIfIdle() file: src/json/workerManager.ts start line: 44 end line: 52 size: 9 LOC McCabe index: 3 number of parameters: 0 id: 217 unit: public isLibFile() file: src/typescript/languageFeatures.ts start line: 106 end line: 114 size: 9 LOC McCabe index: 3 number of parameters: 1 id: 218 unit: private static createDocumentationString() file: src/typescript/languageFeatures.ts start line: 562 end line: 570 size: 9 LOC McCabe index: 3 number of parameters: 1 id: 219 unit: protected _convertTextChanges() file: src/typescript/languageFeatures.ts start line: 977 end line: 985 size: 9 LOC McCabe index: 1 number of parameters: 2 id: 220 unit: private _fireOnDidExtraLibsChangeSoon() file: src/typescript/monaco.contribution.ts start line: 603 end line: 612 size: 9 LOC McCabe index: 2 number of parameters: 0 id: 221 unit: function getMode() file: src/typescript/monaco.contribution.ts start line: 698 end line: 706 size: 9 LOC McCabe index: 2 number of parameters: 0 id: 222 unit: private _getModel() file: src/typescript/tsWorker.ts start line: 70 end line: 78 size: 9 LOC McCabe index: 3 number of parameters: 1 id: 223 unit: async getCompletionsAtPosition() file: src/typescript/tsWorker.ts start line: 246 end line: 254 size: 9 LOC McCabe index: 2 number of parameters: 2 id: 224 unit: async getQuickInfoAtPosition() file: src/typescript/tsWorker.ts start line: 283 end line: 291 size: 9 LOC McCabe index: 2 number of parameters: 2 id: 225 unit: async getOccurrencesAtPosition() file: src/typescript/tsWorker.ts start line: 293 end line: 301 size: 9 LOC McCabe index: 2 number of parameters: 2 id: 226 unit: async getDefinitionAtPosition() file: src/typescript/tsWorker.ts start line: 303 end line: 311 size: 9 LOC McCabe index: 2 number of parameters: 2 id: 227 unit: async getReferencesAtPosition() file: src/typescript/tsWorker.ts start line: 313 end line: 321 size: 9 LOC McCabe index: 2 number of parameters: 2 id: 228 unit: async getFormattingEditsForDocument() file: src/typescript/tsWorker.ts start line: 330 end line: 338 size: 9 LOC McCabe index: 2 number of parameters: 2 id: 229 unit: function getWorkerFilename() file: webpack-plugin/src/index.ts start line: 43 end line: 51 size: 9 LOC McCabe index: 1 number of parameters: 3 id: 230 unit: function addCompilerRules() file: webpack-plugin/src/index.ts start line: 213 end line: 221 size: 9 LOC McCabe index: 3 number of parameters: 2 id: 231 unit: function findLoadedSample() file: website/playground/playground.js start line: 208 end line: 216 size: 9 LOC McCabe index: 3 number of parameters: 1 id: 232 unit: function findSamplePath() file: website/playground/playground.js start line: 218 end line: 226 size: 9 LOC McCabe index: 3 number of parameters: 1 id: 233 unit: constructor() file: src/basic-languages/_.contribution.ts start line: 34 end line: 41 size: 8 LOC McCabe index: 1 number of parameters: 1 id: 234 unit: function isInsertReplaceEdit() file: src/common/lspLanguageFeatures.ts start line: 276 end line: 283 size: 8 LOC McCabe index: 2 number of parameters: 1 id: 235 unit: constructor() file: src/css/workerManager.ts start line: 21 end line: 28 size: 8 LOC McCabe index: 1 number of parameters: 1 id: 236 unit: async findDocumentLinks() file: src/html/htmlWorker.ts start line: 89 end line: 96 size: 8 LOC McCabe index: 2 number of parameters: 1 id: 237 unit: constructor() file: src/html/workerManager.ts start line: 21 end line: 28 size: 8 LOC McCabe index: 1 number of parameters: 1 id: 238 unit: async doValidation() file: src/json/jsonWorker.ts start line: 40 end line: 47 size: 8 LOC McCabe index: 2 number of parameters: 1 id: 239 unit: async doHover() file: src/json/jsonWorker.ts start line: 62 end line: 69 size: 8 LOC McCabe index: 2 number of parameters: 2 id: 240 unit: function resolvePath() file: src/json/jsonWorker.ts start line: 169 end line: 176 size: 8 LOC McCabe index: 2 number of parameters: 2 id: 241 unit: function joinPath() file: src/json/jsonWorker.ts start line: 199 end line: 206 size: 8 LOC McCabe index: 2 number of parameters: 2 id: 242 unit: constructor() file: src/json/workerManager.ts start line: 21 end line: 28 size: 8 LOC McCabe index: 1 number of parameters: 1 id: 243 unit: private _containsLibFile() file: src/typescript/languageFeatures.ts start line: 132 end line: 139 size: 8 LOC McCabe index: 3 number of parameters: 1 id: 244 unit: export function getJavaScriptWorker() file: src/typescript/tsMode.ts start line: 23 end line: 31 size: 8 LOC McCabe index: 2 number of parameters: 0 id: 245 unit: export function getTypeScriptWorker() file: src/typescript/tsMode.ts start line: 33 end line: 41 size: 8 LOC McCabe index: 2 number of parameters: 0 id: 246 unit: window.onresize = function() file: website/index/index.js start line: 52 end line: 59 size: 8 LOC McCabe index: 3 number of parameters: 0 id: 247 unit: (function ()() file: website/index/index.js start line: 63 end line: 71 size: 8 LOC McCabe index: 2 number of parameters: 1 id: 248 unit: getDomNode: function() file: website/playground/new-samples/interacting-with-the-editor/listening-to-mouse-events/sample.js start line: 52 end line: 59 size: 8 LOC McCabe index: 2 number of parameters: 0 id: 249 unit: function copyFile() file: build/fs.js start line: 43 end line: 51 size: 7 LOC McCabe index: 1 number of parameters: 2 id: 250 unit: function AMD_releasePlugin() file: build/release.js start line: 99 end line: 106 size: 7 LOC McCabe index: 1 number of parameters: 3 id: 251 unit: function checkFileExists() file: build/releaseMetadata.js start line: 106 end line: 112 size: 7 LOC McCabe index: 2 number of parameters: 1 id: 252 unit: function writeFiles() file: build/utils.js start line: 311 end line: 317 size: 7 LOC McCabe index: 2 number of parameters: 2 id: 253 unit: function setToArr() file: src/basic-languages/sql/keywords.js start line: 21 end line: 27 size: 7 LOC McCabe index: 2 number of parameters: 1 id: 254 unit: private _stopWorker() file: src/css/workerManager.ts start line: 30 end line: 36 size: 7 LOC McCabe index: 2 number of parameters: 0 id: 255 unit: private _stopWorker() file: src/html/workerManager.ts start line: 30 end line: 36 size: 7 LOC McCabe index: 2 number of parameters: 0 id: 256 unit: private _stopWorker() file: src/json/workerManager.ts start line: 30 end line: 36 size: 7 LOC McCabe index: 2 number of parameters: 0 id: 257 unit: protected _textSpanToRange() file: src/typescript/languageFeatures.ts start line: 84 end line: 90 size: 7 LOC McCabe index: 1 number of parameters: 2 id: 258 unit: async getSyntacticDiagnostics() file: src/typescript/tsWorker.ts start line: 214 end line: 220 size: 7 LOC McCabe index: 2 number of parameters: 1 id: 259 unit: async getSemanticDiagnostics() file: src/typescript/tsWorker.ts start line: 222 end line: 228 size: 7 LOC McCabe index: 2 number of parameters: 1 id: 260 unit: async getSuggestionDiagnostics() file: src/typescript/tsWorker.ts start line: 230 end line: 236 size: 7 LOC McCabe index: 2 number of parameters: 1 id: 261 unit: async getCompilerOptionsDiagnostics() file: src/typescript/tsWorker.ts start line: 238 end line: 244 size: 7 LOC McCabe index: 2 number of parameters: 1 id: 262 unit: private _stopWorker() file: src/typescript/workerManager.ts start line: 32 end line: 38 size: 7 LOC McCabe index: 2 number of parameters: 0 id: 263 unit: xhr() file: website/index/index.js start line: 137 end line: 143 size: 7 LOC McCabe index: 2 number of parameters: 3 id: 264 unit: xhr() file: website/index/index.js start line: 144 end line: 150 size: 7 LOC McCabe index: 2 number of parameters: 3 id: 265 unit: function lineNumbersFunc() file: website/playground/new-samples/interacting-with-the-editor/customizing-the-line-numbers/sample.js start line: 1 end line: 7 size: 7 LOC McCabe index: 2 number of parameters: 1 id: 266 unit: function showEvent() file: website/playground/new-samples/interacting-with-the-editor/listening-to-mouse-events/sample.js start line: 98 end line: 104 size: 7 LOC McCabe index: 2 number of parameters: 1 id: 267 unit: function loadSample() file: website/playground/playground.js start line: 228 end line: 267 size: 7 LOC McCabe index: 3 number of parameters: 2 id: 268 unit: function replaceWithRelativeResource() file: build/website.js start line: 82 end line: 87 size: 6 LOC McCabe index: 1 number of parameters: 4 id: 269 unit: public static getOrCreate() file: src/basic-languages/_.contribution.ts start line: 21 end line: 26 size: 6 LOC McCabe index: 2 number of parameters: 1 id: 270 unit: export function fromPosition() file: src/common/lspLanguageFeatures.ts start line: 239 end line: 244 size: 6 LOC McCabe index: 2 number of parameters: 1 id: 271 unit: function toLocation() file: src/common/lspLanguageFeatures.ts start line: 550 end line: 555 size: 6 LOC McCabe index: 1 number of parameters: 1 id: 272 unit: function fromFormattingOptions() file: src/common/lspLanguageFeatures.ts start line: 828 end line: 833 size: 6 LOC McCabe index: 1 number of parameters: 1 id: 273 unit: export function createTokenizationSupport() file: src/json/tokenization.ts start line: 9 end line: 14 size: 6 LOC McCabe index: 1 number of parameters: 1 id: 274 unit: public static pop() file: src/json/tokenization.ts start line: 36 end line: 41 size: 6 LOC McCabe index: 2 number of parameters: 1 id: 275 unit: function displayPartsToString() file: src/typescript/languageFeatures.ts start line: 64 end line: 69 size: 6 LOC McCabe index: 2 number of parameters: 1 id: 276 unit: public async fetchLibFilesIfNecessary() file: src/typescript/languageFeatures.ts start line: 141 end line: 147 size: 6 LOC McCabe index: 2 number of parameters: 1 id: 277 unit: constructor() file: src/typescript/tsWorker.ts start line: 43 end line: 48 size: 6 LOC McCabe index: 1 number of parameters: 2 id: 278 unit: async getNavigationBarItems() file: src/typescript/tsWorker.ts start line: 323 end line: 328 size: 6 LOC McCabe index: 2 number of parameters: 1 id: 279 unit: async getEmitOutput() file: src/typescript/tsWorker.ts start line: 394 end line: 399 size: 6 LOC McCabe index: 2 number of parameters: 1 id: 280 unit: function loadDiffSample() file: website/index/index.js start line: 125 end line: 169 size: 6 LOC McCabe index: 1 number of parameters: 0 id: 281 unit: function getCode() file: website/playground/new-samples/customizing-the-appearence/tokens-and-colors/sample.js start line: 31 end line: 36 size: 6 LOC McCabe index: 1 number of parameters: 0 id: 282 unit: function() file: website/playground/new-samples/extending-language-services/hover-provider-example/sample.js start line: 30 end line: 51 size: 6 LOC McCabe index: 1 number of parameters: 2 id: 283 unit: export async function loadLanguage() file: src/basic-languages/_.contribution.ts start line: 55 end line: 61 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 284 unit: function addArrToSet() file: src/basic-languages/sql/keywords.js start line: 15 end line: 19 size: 5 LOC McCabe index: 2 number of parameters: 2 id: 285 unit: command: toCommand() file: src/common/lspLanguageFeatures.ts start line: 203 end line: 207 size: 5 LOC McCabe index: 2 number of parameters: 1 id: 286 unit: function toCommand() file: src/common/lspLanguageFeatures.ts start line: 386 end line: 390 size: 5 LOC McCabe index: 3 number of parameters: 1 id: 287 unit: function isMarkupContent() file: src/common/lspLanguageFeatures.ts start line: 426 end line: 430 size: 5 LOC McCabe index: 3 number of parameters: 1 id: 288 unit: function disposeAll() file: src/css/cssMode.ts start line: 122 end line: 126 size: 5 LOC McCabe index: 2 number of parameters: 1 id: 289 unit: constructor() file: src/css/monaco.contribution.ts start line: 120 end line: 124 size: 5 LOC McCabe index: 1 number of parameters: 3 id: 290 unit: function disposeAll() file: src/html/htmlMode.ts start line: 164 end line: 168 size: 5 LOC McCabe index: 2 number of parameters: 1 id: 291 unit: constructor() file: src/html/monaco.contribution.ts start line: 121 end line: 125 size: 5 LOC McCabe index: 1 number of parameters: 3 id: 292 unit: dispose() file: src/html/monaco.contribution.ts start line: 269 end line: 273 size: 5 LOC McCabe index: 1 number of parameters: 0 id: 293 unit: private _resetSchema() file: src/json/jsonMode.ts start line: 33 end line: 37 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 294 unit: function disposeAll() file: src/json/jsonMode.ts start line: 148 end line: 152 size: 5 LOC McCabe index: 2 number of parameters: 1 id: 295 unit: constructor() file: src/typescript/languageFeatures.ts start line: 100 end line: 104 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 296 unit: dispose() file: src/typescript/languageFeatures.ts start line: 230 end line: 234 size: 5 LOC McCabe index: 1 number of parameters: 0 id: 297 unit: dispose() file: src/typescript/languageFeatures.ts start line: 261 end line: 265 size: 5 LOC McCabe index: 2 number of parameters: 0 id: 298 unit: $() file: website/index/index.js start line: 45 end line: 49 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 299 unit: function getInnerText() file: website/monarch/monarch.js start line: 12 end line: 16 size: 5 LOC McCabe index: 2 number of parameters: 1 id: 300 unit: function getTextFromId() file: website/monarch/monarch.js start line: 32 end line: 36 size: 5 LOC McCabe index: 2 number of parameters: 1 id: 301 unit: window.onbeforeunload = function() file: website/monarch/monarch.js start line: 45 end line: 49 size: 5 LOC McCabe index: 2 number of parameters: 1 id: 302 unit: setTimeout() file: website/playground/new-samples/creating-the-editor/editor-basic-options/sample.js start line: 15 end line: 19 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 303 unit: value: getCode() file: website/playground/new-samples/customizing-the-appearence/tokens-and-colors/sample.js start line: 26 end line: 31 size: 5 LOC McCabe index: 1 number of parameters: 0 id: 304 unit: function xhr() file: website/playground/new-samples/extending-language-services/hover-provider-example/sample.js start line: 27 end line: 57 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 305 unit: require() file: website/playground/playground.js start line: 8 end line: 31 size: 5 LOC McCabe index: 1 number of parameters: 2 id: 306 unit: function readLibFile() file: build/importTypescript.js start line: 164 end line: 167 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 307 unit: function buildAMD() file: build/utils.js start line: 202 end line: 205 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 308 unit: function() file: build/website.js start line: 142 end line: 145 size: 4 LOC McCabe index: 1 number of parameters: 2 id: 309 unit: create: async() file: src/basic-languages/_.contribution.ts start line: 71 end line: 74 size: 4 LOC McCabe index: 1 number of parameters: 0 id: 310 unit: public dispose() file: src/common/lspLanguageFeatures.ts start line: 98 end line: 101 size: 4 LOC McCabe index: 2 number of parameters: 0 id: 311 unit: public dispose() file: src/typescript/languageFeatures.ts start line: 281 end line: 284 size: 4 LOC McCabe index: 2 number of parameters: 0 id: 312 unit: detail: displayPartsToString() file: src/typescript/languageFeatures.ts start line: 522 end line: 525 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 313 unit: value: displayPartsToString() file: src/typescript/languageFeatures.ts start line: 649 end line: 652 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 314 unit: function getEditorMetadata() file: webpack-plugin/src/index.ts start line: 58 end line: 61 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 315 unit: var onError = function() file: website/index/index.js start line: 126 end line: 129 size: 4 LOC McCabe index: 1 number of parameters: 0 id: 316 unit: function changeTheme() file: website/index/index.js start line: 171 end line: 174 size: 4 LOC McCabe index: 3 number of parameters: 1 id: 317 unit: function appendInnerText() file: website/monarch/monarch.js start line: 22 end line: 25 size: 4 LOC McCabe index: 1 number of parameters: 2 id: 318 unit: function setInnerText() file: website/monarch/monarch.js start line: 27 end line: 30 size: 4 LOC McCabe index: 1 number of parameters: 2 id: 319 unit: select.onchange = function() file: website/monarch/monarch.js start line: 128 end line: 131 size: 4 LOC McCabe index: 1 number of parameters: 0 id: 320 unit: function refreshLayout() file: website/monarch/monarch.js start line: 134 end line: 137 size: 4 LOC McCabe index: 1 number of parameters: 0 id: 321 unit: function refreshSample() file: website/monarch/monarch.js start line: 166 end line: 169 size: 4 LOC McCabe index: 1 number of parameters: 0 id: 322 unit: value: getCode() file: website/playground/new-samples/extending-language-services/custom-languages/sample.js start line: 60 end line: 64 size: 4 LOC McCabe index: 1 number of parameters: 0 id: 323 unit: function() file: website/playground/new-samples/extending-language-services/hover-provider-example/sample.js start line: 52 end line: 55 size: 4 LOC McCabe index: 1 number of parameters: 0 id: 324 unit: setTimeout() file: website/playground/new-samples/interacting-with-the-editor/adding-a-command-to-an-editor-instance/sample.js start line: 32 end line: 36 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 325 unit: sampleSwitcher.onchange = function() file: website/playground/playground.js start line: 269 end line: 272 size: 4 LOC McCabe index: 1 number of parameters: 0 id: 326 unit: function localize() file: build/fillers/vscode-nls.ts start line: 36 end line: 38 size: 3 LOC McCabe index: 1 number of parameters: 3 id: 327 unit: export function loadMessageBundle() file: build/fillers/vscode-nls.ts start line: 40 end line: 42 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 328 unit: export function config() file: build/fillers/vscode-nls.ts start line: 44 end line: 46 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 329 unit: function stripSourceMaps() file: build/importTypescript.js start line: 262 end line: 264 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 330 unit: function() file: build/website.js start line: 132 end line: 134 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 331 unit: function() file: build/website.js start line: 153 end line: 155 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 332 unit: public get triggerCharacters() file: src/common/lspLanguageFeatures.ts start line: 167 end line: 169 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 333 unit: kind: toCompletionItemKind() file: src/common/lspLanguageFeatures.ts start line: 205 end line: 207 size: 3 LOC McCabe index: 2 number of parameters: 1 id: 334 unit: function asDisposable() file: src/css/cssMode.ts start line: 118 end line: 120 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 335 unit: async getFoldingRanges() file: src/css/cssWorker.ts start line: 167 end line: 169 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 336 unit: export function create() file: src/css/cssWorker.ts start line: 224 end line: 226 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 337 unit: get onDidChange() file: src/css/monaco.contribution.ts start line: 126 end line: 128 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 338 unit: get languageId() file: src/css/monaco.contribution.ts start line: 130 end line: 132 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 339 unit: get modeConfiguration() file: src/css/monaco.contribution.ts start line: 134 end line: 136 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 340 unit: get diagnosticsOptions() file: src/css/monaco.contribution.ts start line: 138 end line: 140 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 341 unit: get options() file: src/css/monaco.contribution.ts start line: 142 end line: 144 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 342 unit: define() file: src/fillers/monaco-editor-core-amd.ts start line: 10 end line: 12 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 343 unit: constructor() file: src/html/htmlMode.ts start line: 13 end line: 15 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 344 unit: function asDisposable() file: src/html/htmlMode.ts start line: 160 end line: 162 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 345 unit: async getFoldingRanges() file: src/html/htmlWorker.ts start line: 106 end line: 108 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 346 unit: export function create() file: src/html/htmlWorker.ts start line: 162 end line: 164 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 347 unit: get onDidChange() file: src/html/monaco.contribution.ts start line: 127 end line: 129 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 348 unit: get languageId() file: src/html/monaco.contribution.ts start line: 131 end line: 133 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 349 unit: get options() file: src/html/monaco.contribution.ts start line: 135 end line: 137 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 350 unit: get modeConfiguration() file: src/html/monaco.contribution.ts start line: 139 end line: 141 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 351 unit: function asDisposable() file: src/json/jsonMode.ts start line: 144 end line: 146 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 352 unit: defaultSchemaRequestService = function() file: src/json/jsonWorker.ts start line: 13 end line: 15 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 353 unit: async doResolve() file: src/json/jsonWorker.ts start line: 59 end line: 61 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 354 unit: async resetSchema() file: src/json/jsonWorker.ts start line: 82 end line: 84 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 355 unit: async getFoldingRanges() file: src/json/jsonWorker.ts start line: 121 end line: 123 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 356 unit: function isAbsolutePath() file: src/json/jsonWorker.ts start line: 165 end line: 167 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 357 unit: export function create() file: src/json/jsonWorker.ts start line: 214 end line: 216 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 358 unit: get onDidChange() file: src/json/monaco.contribution.ts start line: 143 end line: 145 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 359 unit: get languageId() file: src/json/monaco.contribution.ts start line: 147 end line: 149 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 360 unit: get modeConfiguration() file: src/json/monaco.contribution.ts start line: 151 end line: 153 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 361 unit: get diagnosticsOptions() file: src/json/monaco.contribution.ts start line: 155 end line: 157 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 362 unit: public static push() file: src/json/tokenization.ts start line: 43 end line: 45 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 363 unit: public clone() file: src/json/tokenization.ts start line: 87 end line: 89 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 364 unit: public getStateData() file: src/json/tokenization.ts start line: 105 end line: 107 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 365 unit: public setStateData() file: src/json/tokenization.ts start line: 109 end line: 111 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 366 unit: public get triggerCharacters() file: src/typescript/languageFeatures.ts start line: 436 end line: 438 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 367 unit: get autoFormatTriggerCharacters() file: src/typescript/languageFeatures.ts start line: 1032 end line: 1034 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 368 unit: get onDidChange() file: src/typescript/monaco.contribution.ts start line: 511 end line: 513 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 369 unit: get onDidExtraLibsChange() file: src/typescript/monaco.contribution.ts start line: 515 end line: 517 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 370 unit: get workerOptions() file: src/typescript/monaco.contribution.ts start line: 519 end line: 521 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 371 unit: get inlayHintsOptions() file: src/typescript/monaco.contribution.ts start line: 523 end line: 525 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 372 unit: setEagerModelSync() file: src/typescript/monaco.contribution.ts start line: 644 end line: 648 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 373 unit: getEagerModelSync() file: src/typescript/monaco.contribution.ts start line: 650 end line: 652 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 374 unit: export function setupTypeScript() file: src/typescript/tsMode.ts start line: 15 end line: 17 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 375 unit: export function setupJavaScript() file: src/typescript/tsMode.ts start line: 19 end line: 21 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 376 unit: async getScriptText() file: src/typescript/tsWorker.ts start line: 93 end line: 95 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 377 unit: async getLibFiles() file: src/typescript/tsWorker.ts start line: 184 end line: 186 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 378 unit: async updateExtraLibs() file: src/typescript/tsWorker.ts start line: 426 end line: 428 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 379 unit: function notContainedIn() file: webpack-plugin/src/index.ts start line: 70 end line: 72 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 380 unit: function addCompilerPlugins() file: webpack-plugin/src/index.ts start line: 223 end line: 225 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 381 unit: function stripTrailingSlash() file: webpack-plugin/src/index.ts start line: 284 end line: 286 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 382 unit: function getCompilerHook() file: webpack-plugin/src/plugins/AddWorkerEntryPointPlugin.ts start line: 11 end line: 13 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 383 unit: $() file: website/index/index.js start line: 35 end line: 37 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 384 unit: $() file: website/index/index.js start line: 39 end line: 41 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 385 unit: error: function() file: website/index/index.js start line: 81 end line: 83 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 386 unit: function loadSample() file: website/index/index.js start line: 89 end line: 123 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 387 unit: function clearInnerText() file: website/monarch/monarch.js start line: 8 end line: 10 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 388 unit: function escapeToHTML() file: website/monarch/monarch.js start line: 18 end line: 20 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 389 unit: function() file: website/playground/new-samples/extending-language-services/codelens-provider-example/sample.js start line: 8 end line: 11 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 390 unit: resolveCodeLens: function() file: website/playground/new-samples/extending-language-services/codelens-provider-example/sample.js start line: 36 end line: 38 size: 3 LOC McCabe index: 1 number of parameters: 3 id: 391 unit: function getType() file: website/playground/new-samples/extending-language-services/semantic-tokens-provider-example/sample.js start line: 38 end line: 40 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 392 unit: getLegend: function() file: website/playground/new-samples/extending-language-services/semantic-tokens-provider-example/sample.js start line: 64 end line: 66 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 393 unit: function() file: website/playground/new-samples/interacting-with-the-editor/adding-a-command-to-an-editor-instance/sample.js start line: 23 end line: 26 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 394 unit: run: function() file: website/playground/new-samples/interacting-with-the-editor/adding-an-action-to-an-editor-instance/sample.js start line: 49 end line: 51 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 395 unit: getId: function() file: website/playground/new-samples/interacting-with-the-editor/listening-to-mouse-events/sample.js start line: 49 end line: 51 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 396 unit: getId: function() file: website/playground/new-samples/interacting-with-the-editor/listening-to-mouse-events/sample.js start line: 78 end line: 80 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 397 unit: getPosition: function() file: website/playground/new-samples/interacting-with-the-editor/listening-to-mouse-events/sample.js start line: 91 end line: 93 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 398 unit: jsTab.onclick = function() file: website/playground/playground.js start line: 148 end line: 150 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 399 unit: cssTab.onclick = function() file: website/playground/playground.js start line: 156 end line: 158 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 400 unit: htmlTab.onclick = function() file: website/playground/playground.js start line: 164 end line: 166 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 401 unit: runBtn.onclick = function() file: website/playground/playground.js start line: 175 end line: 177 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 402 unit: function() file: website/playground/playground.js start line: 263 end line: 265 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 403 unit: function run() file: website/playground/playground.js start line: 330 end line: 332 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 404 unit: $() file: website/index/index.js start line: 8 end line: 60 size: 2 LOC McCabe index: 1 number of parameters: 1 id: 405 unit: window.onload = function() file: website/playground/playground.js start line: 7 end line: 32 size: 2 LOC McCabe index: 1 number of parameters: 0 id: 406 unit: function parseHash() file: website/playground/playground.js start line: 295 end line: 326 size: 2 LOC McCabe index: 3 number of parameters: 1 id: 407 unit: releaseDocumentSemanticTokens: function() file: website/playground/new-samples/extending-language-services/semantic-tokens-provider-example/sample.js start line: 106 end line: 106 size: 1 LOC McCabe index: 1 number of parameters: 1