Home / File/ output.json — svelte Source File

output.json — svelte Source File

Architecture documentation for output.json, a json file in the svelte codebase.

Entity Profile

Source Code

{
	"html": {
		"type": "Fragment",
		"start": 0,
		"end": 49,
		"children": [
			{
				"type": "Element",
				"start": 0,
				"end": 24,
				"name": "span",
				"attributes": [
					{
						"type": "Attribute",
						"start": 6,
						"end": 16,
						"name": "attr",
						"name_loc": {
							"start": {
								"line": 1,
								"column": 6,
								"character": 6
							},
							"end": {
								"line": 1,
								"column": 10,
								"character": 10
							}
						},
						"value": [
							{
								"start": 12,
								"end": 15,
								"type": "Text",
								"raw": "foo",
								"data": "foo"
							}
						]
					}
				],
				"children": []
			},
			{
				"type": "Text",
				"start": 24,
				"end": 25,
				"raw": "\n",
				"data": "\n"
			},
			{
				"type": "Element",
				"start": 25,
				"end": 49,
				"name": "span",
				"attributes": [
					{
						"type": "Attribute",
						"start": 31,
						"end": 41,
						"name": "attr",
						"name_loc": {
							"start": {
								"line": 2,
								"column": 6,
								"character": 31
							},
							"end": {
								"line": 2,
								"column": 10,
								"character": 35
							}
						},
						"value": [
							{
								"start": 37,
								"end": 40,
								"type": "Text",
								"raw": "bar",
								"data": "bar"
							}
						]
					}
				],
				"children": []
			}
		]
	}
}

Frequently Asked Questions

What does output.json do?
output.json is a source file in the svelte codebase, written in json.
Where is output.json in the architecture?
output.json is located at packages/svelte/tests/parser-legacy/samples/element-with-attribute/output.json (directory: packages/svelte/tests/parser-legacy/samples/element-with-attribute).

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free