BootBlock · GitHub

image

{
	"event": "analysis.outline",
	"params": {
		"file": "P:\\Source\\GitHub\\DartTest\\test\\debug_test.dart",
		"kind": "LIBRARY",
		"outline": {
			"element": {
				"kind": "COMPILATION_UNIT",
				"name": "<unit>",
				"location": {
					"file": "P:\\Source\\GitHub\\DartTest\\test\\debug_test.dart",
					"offset": 0,
					"length": 147,
					"startLine": 1,
					"startColumn": 1
				},
				"flags": 0
			},
			"offset": 0,
			"length": 147,
			"codeOffset": 0,
			"codeLength": 147,
			"children": [
				{
					"element": {
						"kind": "FUNCTION",
						"name": "main",
						"location": {
							"file": "P:\\Source\\GitHub\\DartTest\\test\\debug_test.dart",
							"offset": 36,
							"length": 4,
							"startLine": 3,
							"startColumn": 1
						},
						"flags": 8,
						"parameters": "()",
						"returnType": ""
					},
					"offset": 36,
					"length": 108,
					"codeOffset": 36,
					"codeLength": 108,
					"children": [
						{
							"element": {
								"kind": "UNIT_TEST_TEST",
								"name": "test(\"description\")",
								"location": {
									"file": "P:\\Source\\GitHub\\DartTest\\test\\debug_test.dart",
									"offset": 48,
									"length": 4,
									"startLine": 4,
									"startColumn": 3
								},
								"flags": 0
							},
							"offset": 48,
							"length": 92,
							"codeOffset": 48,
							"codeLength": 92
						}
					]
				}
			]
		}
	}
}

Read the original on github.com ↗