390 lines
9.3 KiB
JSON
390 lines
9.3 KiB
JSON
{
|
|
"type": "File",
|
|
"start": 0,
|
|
"end": 40,
|
|
"loc": {
|
|
"start": {
|
|
"line": 1,
|
|
"column": 0
|
|
},
|
|
"end": {
|
|
"line": 1,
|
|
"column": 40
|
|
}
|
|
},
|
|
"range": [
|
|
0,
|
|
40
|
|
],
|
|
"program": {
|
|
"type": "Program",
|
|
"start": 0,
|
|
"end": 40,
|
|
"loc": {
|
|
"start": {
|
|
"line": 1,
|
|
"column": 0
|
|
},
|
|
"end": {
|
|
"line": 1,
|
|
"column": 40
|
|
}
|
|
},
|
|
"range": [
|
|
0,
|
|
40
|
|
],
|
|
"sourceType": "script",
|
|
"body": [
|
|
{
|
|
"type": "ExpressionStatement",
|
|
"start": 0,
|
|
"end": 40,
|
|
"loc": {
|
|
"start": {
|
|
"line": 1,
|
|
"column": 0
|
|
},
|
|
"end": {
|
|
"line": 1,
|
|
"column": 40
|
|
}
|
|
},
|
|
"range": [
|
|
0,
|
|
40
|
|
],
|
|
"expression": {
|
|
"type": "JSXElement",
|
|
"start": 0,
|
|
"end": 38,
|
|
"loc": {
|
|
"start": {
|
|
"line": 1,
|
|
"column": 0
|
|
},
|
|
"end": {
|
|
"line": 1,
|
|
"column": 38
|
|
}
|
|
},
|
|
"range": [
|
|
0,
|
|
38
|
|
],
|
|
"openingElement": {
|
|
"type": "JSXOpeningElement",
|
|
"start": 0,
|
|
"end": 3,
|
|
"loc": {
|
|
"start": {
|
|
"line": 1,
|
|
"column": 0
|
|
},
|
|
"end": {
|
|
"line": 1,
|
|
"column": 3
|
|
}
|
|
},
|
|
"range": [
|
|
0,
|
|
3
|
|
],
|
|
"attributes": [],
|
|
"name": {
|
|
"type": "JSXIdentifier",
|
|
"start": 1,
|
|
"end": 2,
|
|
"loc": {
|
|
"start": {
|
|
"line": 1,
|
|
"column": 1
|
|
},
|
|
"end": {
|
|
"line": 1,
|
|
"column": 2
|
|
}
|
|
},
|
|
"range": [
|
|
1,
|
|
2
|
|
],
|
|
"name": "p"
|
|
},
|
|
"selfClosing": false
|
|
},
|
|
"closingElement": {
|
|
"type": "JSXClosingElement",
|
|
"start": 34,
|
|
"end": 38,
|
|
"loc": {
|
|
"start": {
|
|
"line": 1,
|
|
"column": 34
|
|
},
|
|
"end": {
|
|
"line": 1,
|
|
"column": 38
|
|
}
|
|
},
|
|
"range": [
|
|
34,
|
|
38
|
|
],
|
|
"name": {
|
|
"type": "JSXIdentifier",
|
|
"start": 36,
|
|
"end": 37,
|
|
"loc": {
|
|
"start": {
|
|
"line": 1,
|
|
"column": 36
|
|
},
|
|
"end": {
|
|
"line": 1,
|
|
"column": 37
|
|
}
|
|
},
|
|
"range": [
|
|
36,
|
|
37
|
|
],
|
|
"name": "p"
|
|
}
|
|
},
|
|
"children": [
|
|
{
|
|
"type": "Literal",
|
|
"start": 3,
|
|
"end": 7,
|
|
"loc": {
|
|
"start": {
|
|
"line": 1,
|
|
"column": 3
|
|
},
|
|
"end": {
|
|
"line": 1,
|
|
"column": 7
|
|
}
|
|
},
|
|
"range": [
|
|
3,
|
|
7
|
|
],
|
|
"value": "foo ",
|
|
"rawValue": "foo ",
|
|
"raw": "foo "
|
|
},
|
|
{
|
|
"type": "JSXElement",
|
|
"start": 7,
|
|
"end": 30,
|
|
"loc": {
|
|
"start": {
|
|
"line": 1,
|
|
"column": 7
|
|
},
|
|
"end": {
|
|
"line": 1,
|
|
"column": 30
|
|
}
|
|
},
|
|
"range": [
|
|
7,
|
|
30
|
|
],
|
|
"openingElement": {
|
|
"type": "JSXOpeningElement",
|
|
"start": 7,
|
|
"end": 22,
|
|
"loc": {
|
|
"start": {
|
|
"line": 1,
|
|
"column": 7
|
|
},
|
|
"end": {
|
|
"line": 1,
|
|
"column": 22
|
|
}
|
|
},
|
|
"range": [
|
|
7,
|
|
22
|
|
],
|
|
"attributes": [
|
|
{
|
|
"type": "JSXAttribute",
|
|
"start": 10,
|
|
"end": 21,
|
|
"loc": {
|
|
"start": {
|
|
"line": 1,
|
|
"column": 10
|
|
},
|
|
"end": {
|
|
"line": 1,
|
|
"column": 21
|
|
}
|
|
},
|
|
"range": [
|
|
10,
|
|
21
|
|
],
|
|
"name": {
|
|
"type": "JSXIdentifier",
|
|
"start": 10,
|
|
"end": 14,
|
|
"loc": {
|
|
"start": {
|
|
"line": 1,
|
|
"column": 10
|
|
},
|
|
"end": {
|
|
"line": 1,
|
|
"column": 14
|
|
}
|
|
},
|
|
"range": [
|
|
10,
|
|
14
|
|
],
|
|
"name": "href"
|
|
},
|
|
"value": {
|
|
"type": "Literal",
|
|
"start": 15,
|
|
"end": 21,
|
|
"loc": {
|
|
"start": {
|
|
"line": 1,
|
|
"column": 15
|
|
},
|
|
"end": {
|
|
"line": 1,
|
|
"column": 21
|
|
}
|
|
},
|
|
"range": [
|
|
15,
|
|
21
|
|
],
|
|
"value": "test",
|
|
"rawValue": "test",
|
|
"raw": "\"test\""
|
|
}
|
|
}
|
|
],
|
|
"name": {
|
|
"type": "JSXIdentifier",
|
|
"start": 8,
|
|
"end": 9,
|
|
"loc": {
|
|
"start": {
|
|
"line": 1,
|
|
"column": 8
|
|
},
|
|
"end": {
|
|
"line": 1,
|
|
"column": 9
|
|
}
|
|
},
|
|
"range": [
|
|
8,
|
|
9
|
|
],
|
|
"name": "a"
|
|
},
|
|
"selfClosing": false
|
|
},
|
|
"closingElement": {
|
|
"type": "JSXClosingElement",
|
|
"start": 26,
|
|
"end": 30,
|
|
"loc": {
|
|
"start": {
|
|
"line": 1,
|
|
"column": 26
|
|
},
|
|
"end": {
|
|
"line": 1,
|
|
"column": 30
|
|
}
|
|
},
|
|
"range": [
|
|
26,
|
|
30
|
|
],
|
|
"name": {
|
|
"type": "JSXIdentifier",
|
|
"start": 28,
|
|
"end": 29,
|
|
"loc": {
|
|
"start": {
|
|
"line": 1,
|
|
"column": 28
|
|
},
|
|
"end": {
|
|
"line": 1,
|
|
"column": 29
|
|
}
|
|
},
|
|
"range": [
|
|
28,
|
|
29
|
|
],
|
|
"name": "a"
|
|
}
|
|
},
|
|
"children": [
|
|
{
|
|
"type": "Literal",
|
|
"start": 22,
|
|
"end": 26,
|
|
"loc": {
|
|
"start": {
|
|
"line": 1,
|
|
"column": 22
|
|
},
|
|
"end": {
|
|
"line": 1,
|
|
"column": 26
|
|
}
|
|
},
|
|
"range": [
|
|
22,
|
|
26
|
|
],
|
|
"value": " bar",
|
|
"rawValue": " bar",
|
|
"raw": " bar"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type": "Literal",
|
|
"start": 30,
|
|
"end": 34,
|
|
"loc": {
|
|
"start": {
|
|
"line": 1,
|
|
"column": 30
|
|
},
|
|
"end": {
|
|
"line": 1,
|
|
"column": 34
|
|
}
|
|
},
|
|
"range": [
|
|
30,
|
|
34
|
|
],
|
|
"value": " baz",
|
|
"rawValue": " baz",
|
|
"raw": " baz"
|
|
}
|
|
]
|
|
}
|
|
}
|
|
]
|
|
}
|
|
} |