id: 1 unit: export default function validateStates() file: src/validation/validateStates.ts start line: 115 end line: 303 size: 132 LOC McCabe index: 37 number of parameters: 4 id: 2 unit: export const getLanguageService = function() file: src/yaml/aslYamlLanguageService.ts start line: 75 end line: 279 size: 104 LOC McCabe index: 17 number of parameters: 3 id: 3 unit: function processLineWithColon() file: src/yaml/yamlUtils.ts start line: 118 end line: 230 size: 73 LOC McCabe index: 11 number of parameters: 4 id: 4 unit: function processLineWithoutColon() file: src/yaml/yamlUtils.ts start line: 44 end line: 116 size: 51 LOC McCabe index: 10 number of parameters: 4 id: 5 unit: export default function completeStateNames() file: src/completion/completeStateNames.ts start line: 118 end line: 183 size: 49 LOC McCabe index: 12 number of parameters: 4 id: 6 unit: function getBackwardOffsetData() file: src/yaml/yamlUtils.ts start line: 322 end line: 387 size: 49 LOC McCabe index: 12 number of parameters: 3 id: 7 unit: function getDiagnosticsForOneOfSchema() file: src/validation/utils/getDiagnosticsForNode.ts start line: 54 end line: 103 size: 40 LOC McCabe index: 8 number of parameters: 4 id: 8 unit: export const getLanguageService = function() file: src/service.ts start line: 35 end line: 84 size: 36 LOC McCabe index: 4 number of parameters: 1 id: 9 unit: function getCompletionList() file: src/completion/completeStateNames.ts start line: 79 end line: 116 size: 33 LOC McCabe index: 8 number of parameters: 4 id: 10 unit: function getForwardOffsetData() file: src/yaml/yamlUtils.ts start line: 389 end line: 434 size: 33 LOC McCabe index: 9 number of parameters: 3 id: 11 unit: export function getOffsetData() file: src/yaml/yamlUtils.ts start line: 436 end line: 465 size: 27 LOC McCabe index: 7 number of parameters: 2 id: 12 unit: function getListOfItems() file: src/completion/completeStateNames.ts start line: 43 end line: 77 size: 26 LOC McCabe index: 9 number of parameters: 2 id: 13 unit: export default function completeSnippets() file: src/completion/completeSnippets.ts start line: 63 end line: 97 size: 26 LOC McCabe index: 11 number of parameters: 3 id: 14 unit: export default function completeAsl() file: src/completion/completeAsl.ts start line: 22 end line: 53 size: 23 LOC McCabe index: 3 number of parameters: 5 id: 15 unit: function convertYAMLDiagnostic() file: src/yaml/aslYamlLanguageService.ts start line: 44 end line: 73 size: 23 LOC McCabe index: 5 number of parameters: 2 id: 16 unit: function getDiagnosticsForRegularProperties() file: src/validation/utils/getDiagnosticsForNode.ts start line: 105 end line: 131 size: 22 LOC McCabe index: 5 number of parameters: 3 id: 17 unit: function validateArrayNext() file: src/validation/validateStates.ts start line: 88 end line: 113 size: 22 LOC McCabe index: 7 number of parameters: 4 id: 18 unit: export function convertJsonSnippetToYaml() file: src/yaml/yamlUtils.ts start line: 288 end line: 316 size: 21 LOC McCabe index: 4 number of parameters: 1 id: 19 unit: function validateParameters() file: src/validation/validateStates.ts start line: 63 end line: 85 size: 19 LOC McCabe index: 10 number of parameters: 2 id: 20 unit: function getLineOffsets() file: src/yaml/yamlUtils.ts start line: 233 end line: 254 size: 19 LOC McCabe index: 9 number of parameters: 1 id: 21 unit: function getDiagnosticsForArrayOfSchema() file: src/validation/utils/getDiagnosticsForNode.ts start line: 33 end line: 52 size: 18 LOC McCabe index: 3 number of parameters: 3 id: 22 unit: function getCurrentLine() file: src/yaml/yamlUtils.ts start line: 257 end line: 277 size: 17 LOC McCabe index: 4 number of parameters: 3 id: 23 unit: export default function() file: src/validation/validateProperties.ts start line: 20 end line: 44 size: 16 LOC McCabe index: 4 number of parameters: 2 id: 24 unit: export default function getDiagnosticsForNode() file: src/validation/utils/getDiagnosticsForNode.ts start line: 133 end line: 156 size: 16 LOC McCabe index: 8 number of parameters: 3 id: 25 unit: languageService.doHover = function() file: src/yaml/aslYamlLanguageService.ts start line: 213 end line: 229 size: 14 LOC McCabe index: 2 number of parameters: 2 id: 26 unit: function stateNameExistsInPropNode() file: src/validation/validateStates.ts start line: 32 end line: 46 size: 13 LOC McCabe index: 4 number of parameters: 4 id: 27 unit: languageService.format = function() file: src/yaml/aslYamlLanguageService.ts start line: 231 end line: 244 size: 13 LOC McCabe index: 2 number of parameters: 3 id: 28 unit: languageService.findDocumentSymbols = function() file: src/yaml/aslYamlLanguageService.ts start line: 246 end line: 260 size: 13 LOC McCabe index: 5 number of parameters: 1 id: 29 unit: languageService.findDocumentSymbols2 = function() file: src/yaml/aslYamlLanguageService.ts start line: 262 end line: 276 size: 13 LOC McCabe index: 5 number of parameters: 1 id: 30 unit: export function findNodeAtLocation() file: src/utils/astUtilityFunctions.ts start line: 80 end line: 95 size: 12 LOC McCabe index: 4 number of parameters: 2 id: 31 unit: export function getListOfStateNamesFromStateNode() file: src/utils/astUtilityFunctions.ts start line: 109 end line: 123 size: 11 LOC McCabe index: 6 number of parameters: 2 id: 32 unit: function getStatesFromStartAtNode() file: src/completion/completeStateNames.ts start line: 29 end line: 41 size: 11 LOC McCabe index: 5 number of parameters: 2 id: 33 unit: async function parseSchema() file: scripts/transform.js start line: 16 end line: 28 size: 11 LOC McCabe index: 2 number of parameters: 0 id: 34 unit: function parseSnippetsFromJson() file: src/completion/completeSnippets.ts start line: 34 end line: 44 size: 10 LOC McCabe index: 1 number of parameters: 1 id: 35 unit: export const getYamlLanguageService = function() file: src/service.ts start line: 86 end line: 95 size: 9 LOC McCabe index: 1 number of parameters: 1 id: 36 unit: export function processYamlDocForCompletion() file: src/yaml/yamlUtils.ts start line: 33 end line: 42 size: 9 LOC McCabe index: 2 number of parameters: 2 id: 37 unit: export function insideStateNode() file: src/utils/astUtilityFunctions.ts start line: 69 end line: 77 size: 8 LOC McCabe index: 3 number of parameters: 1 id: 38 unit: export function findClosestAncestorStateNode() file: src/utils/astUtilityFunctions.ts start line: 98 end line: 106 size: 8 LOC McCabe index: 4 number of parameters: 1 id: 39 unit: export function isChildOfStates() file: src/utils/astUtilityFunctions.ts start line: 61 end line: 67 size: 7 LOC McCabe index: 3 number of parameters: 1 id: 40 unit: function doesStateSupportErrorHandling() file: src/completion/completeSnippets.ts start line: 46 end line: 54 size: 7 LOC McCabe index: 2 number of parameters: 1 id: 41 unit: function updateCompletionText() file: src/yaml/aslYamlLanguageService.ts start line: 142 end line: 148 size: 6 LOC McCabe index: 2 number of parameters: 2 id: 42 unit: export default function getPropertyNodeDiagnostic() file: src/validation/utils/getPropertyNodeDiagnostic.ts start line: 14 end line: 19 size: 5 LOC McCabe index: 1 number of parameters: 3 id: 43 unit: function isIntrinsicFunction() file: src/validation/validateStates.ts start line: 53 end line: 57 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 44 unit: function isObject() file: src/validation/utils/getDiagnosticsForNode.ts start line: 29 end line: 31 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 45 unit: function isJsonPath() file: src/validation/validateStates.ts start line: 59 end line: 61 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 46 unit: export function isStringNode() file: src/utils/astUtilityFunctions.ts start line: 37 end line: 39 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 47 unit: export function isPropertyNode() file: src/utils/astUtilityFunctions.ts start line: 41 end line: 43 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 48 unit: export function isObjectNode() file: src/utils/astUtilityFunctions.ts start line: 45 end line: 47 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 49 unit: export function isArrayNode() file: src/utils/astUtilityFunctions.ts start line: 49 end line: 51 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 50 unit: export function findPropChildByName() file: src/utils/astUtilityFunctions.ts start line: 53 end line: 55 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 51 unit: function isLocationInNodeRange() file: src/utils/astUtilityFunctions.ts start line: 57 end line: 59 size: 3 LOC McCabe index: 2 number of parameters: 2 id: 52 unit: function isCharEol() file: src/yaml/yamlUtils.ts start line: 280 end line: 282 size: 3 LOC McCabe index: 2 number of parameters: 1 id: 53 unit: export function isStateNameReservedYamlKeyword() file: src/yaml/yamlUtils.ts start line: 284 end line: 286 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 54 unit: function getNumberOfLeftSpaces() file: src/yaml/yamlUtils.ts start line: 318 end line: 320 size: 3 LOC McCabe index: 1 number of parameters: 1