Files

326 lines
7.6 KiB
JSON

{
"type": "File",
"start": 0,
"end": 91,
"errors": [],
"loc": {
"start": {
"line": 1,
"column": 0,
"index": 0
},
"end": {
"line": 7,
"column": 0,
"index": 91
}
},
"program": {
"type": "Program",
"start": 0,
"end": 91,
"loc": {
"start": {
"line": 1,
"column": 0,
"index": 0
},
"end": {
"line": 7,
"column": 0,
"index": 91
}
},
"interpreter": null,
"sourceType": "module",
"body": [
{
"type": "ClassDeclaration",
"start": 0,
"end": 29,
"loc": {
"start": {
"line": 1,
"column": 0,
"index": 0
},
"end": {
"line": 2,
"column": 17,
"index": 29
}
},
"decorators": [
{
"type": "Decorator",
"start": 0,
"end": 11,
"loc": {
"start": {
"line": 1,
"column": 0,
"index": 0
},
"end": {
"line": 1,
"column": 11,
"index": 11
}
},
"expression": {
"type": "Identifier",
"start": 1,
"end": 11,
"loc": {
"start": {
"line": 1,
"column": 1,
"index": 1
},
"end": {
"line": 1,
"column": 11,
"index": 11
},
"identifierName": "annotation"
},
"name": "annotation"
}
}
],
"id": {
"type": "Identifier",
"start": 18,
"end": 25,
"loc": {
"start": {
"line": 2,
"column": 6,
"index": 18
},
"end": {
"line": 2,
"column": 13,
"index": 25
},
"identifierName": "MyClass"
},
"name": "MyClass"
},
"superClass": null,
"body": {
"type": "ClassBody",
"start": 26,
"end": 29,
"loc": {
"start": {
"line": 2,
"column": 14,
"index": 26
},
"end": {
"line": 2,
"column": 17,
"index": 29
}
},
"body": []
}
},
{
"type": "FunctionDeclaration",
"start": 31,
"end": 90,
"loc": {
"start": {
"line": 4,
"column": 0,
"index": 31
},
"end": {
"line": 6,
"column": 1,
"index": 90
}
},
"id": {
"type": "Identifier",
"start": 40,
"end": 50,
"loc": {
"start": {
"line": 4,
"column": 9,
"index": 40
},
"end": {
"line": 4,
"column": 19,
"index": 50
},
"identifierName": "annotation"
},
"name": "annotation"
},
"generator": false,
"async": false,
"params": [
{
"type": "Identifier",
"start": 51,
"end": 57,
"loc": {
"start": {
"line": 4,
"column": 20,
"index": 51
},
"end": {
"line": 4,
"column": 26,
"index": 57
},
"identifierName": "target"
},
"name": "target"
}
],
"body": {
"type": "BlockStatement",
"start": 59,
"end": 90,
"loc": {
"start": {
"line": 4,
"column": 28,
"index": 59
},
"end": {
"line": 6,
"column": 1,
"index": 90
}
},
"body": [
{
"type": "ExpressionStatement",
"start": 64,
"end": 88,
"loc": {
"start": {
"line": 5,
"column": 3,
"index": 64
},
"end": {
"line": 5,
"column": 27,
"index": 88
}
},
"expression": {
"type": "AssignmentExpression",
"start": 64,
"end": 87,
"loc": {
"start": {
"line": 5,
"column": 3,
"index": 64
},
"end": {
"line": 5,
"column": 26,
"index": 87
}
},
"operator": "=",
"left": {
"type": "MemberExpression",
"start": 64,
"end": 80,
"loc": {
"start": {
"line": 5,
"column": 3,
"index": 64
},
"end": {
"line": 5,
"column": 19,
"index": 80
}
},
"object": {
"type": "Identifier",
"start": 64,
"end": 70,
"loc": {
"start": {
"line": 5,
"column": 3,
"index": 64
},
"end": {
"line": 5,
"column": 9,
"index": 70
},
"identifierName": "target"
},
"name": "target"
},
"property": {
"type": "Identifier",
"start": 71,
"end": 80,
"loc": {
"start": {
"line": 5,
"column": 10,
"index": 71
},
"end": {
"line": 5,
"column": 19,
"index": 80
},
"identifierName": "annotated"
},
"name": "annotated"
},
"computed": false
},
"right": {
"type": "BooleanLiteral",
"start": 83,
"end": 87,
"loc": {
"start": {
"line": 5,
"column": 22,
"index": 83
},
"end": {
"line": 5,
"column": 26,
"index": 87
}
},
"value": true
}
}
}
],
"directives": []
}
}
],
"directives": [],
"extra": {
"topLevelAwait": false
}
},
"comments": []
}