Diego Ferreiro Val 01da62283c Modify grammar to support Private Fields proposal: (#260)
* Modify grammar to support Private Fields proposal:
- Adding optional plugin `classPrivateProperties`
- Adding PrivateName type identifier
- Adding ClassPrivateProperty to ClassBody
- Allow PrivateName in MemberExpression
- Allow PrivateName as a reference
- Adding tests

* Remove unnecesary liberal parameter

* Guarding for plugin dependecy for future versioning

* update spec.md [skip ci]

* move comment [skip ci]

* remove unused param [skip ci]

* Refactor PrivateName to contain Identifier in name property
2017-05-22 11:33:48 -04:00

1875 lines
61 KiB
JSON

{
"type": "File",
"start": 0,
"end": 369,
"loc": {
"start": {
"line": 1,
"column": 0
},
"end": {
"line": 19,
"column": 1
}
},
"program": {
"type": "Program",
"start": 0,
"end": 369,
"loc": {
"start": {
"line": 1,
"column": 0
},
"end": {
"line": 19,
"column": 1
}
},
"sourceType": "script",
"body": [
{
"type": "ClassDeclaration",
"start": 0,
"end": 369,
"loc": {
"start": {
"line": 1,
"column": 0
},
"end": {
"line": 19,
"column": 1
}
},
"id": {
"type": "Identifier",
"start": 6,
"end": 11,
"loc": {
"start": {
"line": 1,
"column": 6
},
"end": {
"line": 1,
"column": 11
},
"identifierName": "Point"
},
"name": "Point"
},
"superClass": null,
"body": {
"type": "ClassBody",
"start": 12,
"end": 369,
"loc": {
"start": {
"line": 1,
"column": 12
},
"end": {
"line": 19,
"column": 1
}
},
"body": [
{
"type": "ClassPrivateProperty",
"start": 18,
"end": 21,
"loc": {
"start": {
"line": 2,
"column": 4
},
"end": {
"line": 2,
"column": 7
}
},
"computed": false,
"key": {
"type": "Identifier",
"start": 19,
"end": 20,
"loc": {
"start": {
"line": 2,
"column": 5
},
"end": {
"line": 2,
"column": 6
},
"identifierName": "x"
},
"name": "x"
},
"value": null
},
{
"type": "ClassPrivateProperty",
"start": 26,
"end": 29,
"loc": {
"start": {
"line": 3,
"column": 4
},
"end": {
"line": 3,
"column": 7
}
},
"computed": false,
"key": {
"type": "Identifier",
"start": 27,
"end": 28,
"loc": {
"start": {
"line": 3,
"column": 5
},
"end": {
"line": 3,
"column": 6
},
"identifierName": "y"
},
"name": "y"
},
"value": null
},
{
"type": "ClassMethod",
"start": 35,
"end": 102,
"loc": {
"start": {
"line": 5,
"column": 4
},
"end": {
"line": 8,
"column": 5
}
},
"static": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 35,
"end": 46,
"loc": {
"start": {
"line": 5,
"column": 4
},
"end": {
"line": 5,
"column": 15
},
"identifierName": "constructor"
},
"name": "constructor"
},
"kind": "constructor",
"id": null,
"generator": false,
"expression": false,
"async": false,
"params": [
{
"type": "AssignmentPattern",
"start": 47,
"end": 52,
"loc": {
"start": {
"line": 5,
"column": 16
},
"end": {
"line": 5,
"column": 21
}
},
"left": {
"type": "Identifier",
"start": 47,
"end": 48,
"loc": {
"start": {
"line": 5,
"column": 16
},
"end": {
"line": 5,
"column": 17
},
"identifierName": "x"
},
"name": "x"
},
"right": {
"type": "NumericLiteral",
"start": 51,
"end": 52,
"loc": {
"start": {
"line": 5,
"column": 20
},
"end": {
"line": 5,
"column": 21
}
},
"extra": {
"rawValue": 0,
"raw": "0"
},
"value": 0
}
},
{
"type": "AssignmentPattern",
"start": 54,
"end": 59,
"loc": {
"start": {
"line": 5,
"column": 23
},
"end": {
"line": 5,
"column": 28
}
},
"left": {
"type": "Identifier",
"start": 54,
"end": 55,
"loc": {
"start": {
"line": 5,
"column": 23
},
"end": {
"line": 5,
"column": 24
},
"identifierName": "y"
},
"name": "y"
},
"right": {
"type": "NumericLiteral",
"start": 58,
"end": 59,
"loc": {
"start": {
"line": 5,
"column": 27
},
"end": {
"line": 5,
"column": 28
}
},
"extra": {
"rawValue": 0,
"raw": "0"
},
"value": 0
}
}
],
"body": {
"type": "BlockStatement",
"start": 61,
"end": 102,
"loc": {
"start": {
"line": 5,
"column": 30
},
"end": {
"line": 8,
"column": 5
}
},
"body": [
{
"type": "ExpressionStatement",
"start": 71,
"end": 79,
"loc": {
"start": {
"line": 6,
"column": 8
},
"end": {
"line": 6,
"column": 16
}
},
"expression": {
"type": "AssignmentExpression",
"start": 71,
"end": 78,
"loc": {
"start": {
"line": 6,
"column": 8
},
"end": {
"line": 6,
"column": 15
}
},
"operator": "=",
"left": {
"type": "PrivateName",
"start": 72,
"end": 73,
"loc": {
"start": {
"line": 6,
"column": 9
},
"end": {
"line": 6,
"column": 10
}
},
"name": {
"type": "Identifier",
"start": 72,
"end": 73,
"loc": {
"start": {
"line": 6,
"column": 9
},
"end": {
"line": 6,
"column": 10
},
"identifierName": "x"
},
"name": "x"
}
},
"right": {
"type": "UnaryExpression",
"start": 76,
"end": 78,
"loc": {
"start": {
"line": 6,
"column": 13
},
"end": {
"line": 6,
"column": 15
}
},
"operator": "+",
"prefix": true,
"argument": {
"type": "Identifier",
"start": 77,
"end": 78,
"loc": {
"start": {
"line": 6,
"column": 14
},
"end": {
"line": 6,
"column": 15
},
"identifierName": "x"
},
"name": "x"
},
"extra": {
"parenthesizedArgument": false
}
}
}
},
{
"type": "ExpressionStatement",
"start": 88,
"end": 96,
"loc": {
"start": {
"line": 7,
"column": 8
},
"end": {
"line": 7,
"column": 16
}
},
"expression": {
"type": "AssignmentExpression",
"start": 88,
"end": 95,
"loc": {
"start": {
"line": 7,
"column": 8
},
"end": {
"line": 7,
"column": 15
}
},
"operator": "=",
"left": {
"type": "PrivateName",
"start": 89,
"end": 90,
"loc": {
"start": {
"line": 7,
"column": 9
},
"end": {
"line": 7,
"column": 10
}
},
"name": {
"type": "Identifier",
"start": 89,
"end": 90,
"loc": {
"start": {
"line": 7,
"column": 9
},
"end": {
"line": 7,
"column": 10
},
"identifierName": "y"
},
"name": "y"
}
},
"right": {
"type": "UnaryExpression",
"start": 93,
"end": 95,
"loc": {
"start": {
"line": 7,
"column": 13
},
"end": {
"line": 7,
"column": 15
}
},
"operator": "+",
"prefix": true,
"argument": {
"type": "Identifier",
"start": 94,
"end": 95,
"loc": {
"start": {
"line": 7,
"column": 14
},
"end": {
"line": 7,
"column": 15
},
"identifierName": "y"
},
"name": "y"
},
"extra": {
"parenthesizedArgument": false
}
}
}
}
],
"directives": []
}
},
{
"type": "ClassMethod",
"start": 108,
"end": 134,
"loc": {
"start": {
"line": 10,
"column": 4
},
"end": {
"line": 10,
"column": 30
}
},
"static": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 112,
"end": 113,
"loc": {
"start": {
"line": 10,
"column": 8
},
"end": {
"line": 10,
"column": 9
},
"identifierName": "x"
},
"name": "x"
},
"kind": "get",
"id": null,
"generator": false,
"expression": false,
"async": false,
"params": [],
"body": {
"type": "BlockStatement",
"start": 116,
"end": 134,
"loc": {
"start": {
"line": 10,
"column": 12
},
"end": {
"line": 10,
"column": 30
}
},
"body": [
{
"type": "ReturnStatement",
"start": 118,
"end": 132,
"loc": {
"start": {
"line": 10,
"column": 14
},
"end": {
"line": 10,
"column": 28
}
},
"argument": {
"type": "MemberExpression",
"start": 125,
"end": 132,
"loc": {
"start": {
"line": 10,
"column": 21
},
"end": {
"line": 10,
"column": 28
}
},
"object": {
"type": "ThisExpression",
"start": 125,
"end": 129,
"loc": {
"start": {
"line": 10,
"column": 21
},
"end": {
"line": 10,
"column": 25
}
}
},
"property": {
"type": "PrivateName",
"start": 131,
"end": 132,
"loc": {
"start": {
"line": 10,
"column": 27
},
"end": {
"line": 10,
"column": 28
}
},
"name": {
"type": "Identifier",
"start": 131,
"end": 132,
"loc": {
"start": {
"line": 10,
"column": 27
},
"end": {
"line": 10,
"column": 28
},
"identifierName": "x"
},
"name": "x"
}
},
"computed": false
}
}
],
"directives": []
}
},
{
"type": "ClassMethod",
"start": 139,
"end": 172,
"loc": {
"start": {
"line": 11,
"column": 4
},
"end": {
"line": 11,
"column": 37
}
},
"static": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 143,
"end": 144,
"loc": {
"start": {
"line": 11,
"column": 8
},
"end": {
"line": 11,
"column": 9
},
"identifierName": "x"
},
"name": "x"
},
"kind": "set",
"id": null,
"generator": false,
"expression": false,
"async": false,
"params": [
{
"type": "Identifier",
"start": 145,
"end": 150,
"loc": {
"start": {
"line": 11,
"column": 10
},
"end": {
"line": 11,
"column": 15
},
"identifierName": "value"
},
"name": "value"
}
],
"body": {
"type": "BlockStatement",
"start": 152,
"end": 172,
"loc": {
"start": {
"line": 11,
"column": 17
},
"end": {
"line": 11,
"column": 37
}
},
"body": [
{
"type": "ExpressionStatement",
"start": 154,
"end": 170,
"loc": {
"start": {
"line": 11,
"column": 19
},
"end": {
"line": 11,
"column": 35
}
},
"expression": {
"type": "AssignmentExpression",
"start": 154,
"end": 170,
"loc": {
"start": {
"line": 11,
"column": 19
},
"end": {
"line": 11,
"column": 35
}
},
"operator": "=",
"left": {
"type": "MemberExpression",
"start": 154,
"end": 161,
"loc": {
"start": {
"line": 11,
"column": 19
},
"end": {
"line": 11,
"column": 26
}
},
"object": {
"type": "ThisExpression",
"start": 154,
"end": 158,
"loc": {
"start": {
"line": 11,
"column": 19
},
"end": {
"line": 11,
"column": 23
}
}
},
"property": {
"type": "PrivateName",
"start": 160,
"end": 161,
"loc": {
"start": {
"line": 11,
"column": 25
},
"end": {
"line": 11,
"column": 26
}
},
"name": {
"type": "Identifier",
"start": 160,
"end": 161,
"loc": {
"start": {
"line": 11,
"column": 25
},
"end": {
"line": 11,
"column": 26
},
"identifierName": "x"
},
"name": "x"
}
},
"computed": false
},
"right": {
"type": "UnaryExpression",
"start": 164,
"end": 170,
"loc": {
"start": {
"line": 11,
"column": 29
},
"end": {
"line": 11,
"column": 35
}
},
"operator": "+",
"prefix": true,
"argument": {
"type": "Identifier",
"start": 165,
"end": 170,
"loc": {
"start": {
"line": 11,
"column": 30
},
"end": {
"line": 11,
"column": 35
},
"identifierName": "value"
},
"name": "value"
},
"extra": {
"parenthesizedArgument": false
}
}
}
}
],
"directives": []
}
},
{
"type": "ClassMethod",
"start": 178,
"end": 204,
"loc": {
"start": {
"line": 13,
"column": 4
},
"end": {
"line": 13,
"column": 30
}
},
"static": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 182,
"end": 183,
"loc": {
"start": {
"line": 13,
"column": 8
},
"end": {
"line": 13,
"column": 9
},
"identifierName": "y"
},
"name": "y"
},
"kind": "get",
"id": null,
"generator": false,
"expression": false,
"async": false,
"params": [],
"body": {
"type": "BlockStatement",
"start": 186,
"end": 204,
"loc": {
"start": {
"line": 13,
"column": 12
},
"end": {
"line": 13,
"column": 30
}
},
"body": [
{
"type": "ReturnStatement",
"start": 188,
"end": 202,
"loc": {
"start": {
"line": 13,
"column": 14
},
"end": {
"line": 13,
"column": 28
}
},
"argument": {
"type": "MemberExpression",
"start": 195,
"end": 202,
"loc": {
"start": {
"line": 13,
"column": 21
},
"end": {
"line": 13,
"column": 28
}
},
"object": {
"type": "ThisExpression",
"start": 195,
"end": 199,
"loc": {
"start": {
"line": 13,
"column": 21
},
"end": {
"line": 13,
"column": 25
}
}
},
"property": {
"type": "PrivateName",
"start": 201,
"end": 202,
"loc": {
"start": {
"line": 13,
"column": 27
},
"end": {
"line": 13,
"column": 28
}
},
"name": {
"type": "Identifier",
"start": 201,
"end": 202,
"loc": {
"start": {
"line": 13,
"column": 27
},
"end": {
"line": 13,
"column": 28
},
"identifierName": "y"
},
"name": "y"
}
},
"computed": false
}
}
],
"directives": []
}
},
{
"type": "ClassMethod",
"start": 209,
"end": 242,
"loc": {
"start": {
"line": 14,
"column": 4
},
"end": {
"line": 14,
"column": 37
}
},
"static": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 213,
"end": 214,
"loc": {
"start": {
"line": 14,
"column": 8
},
"end": {
"line": 14,
"column": 9
},
"identifierName": "y"
},
"name": "y"
},
"kind": "set",
"id": null,
"generator": false,
"expression": false,
"async": false,
"params": [
{
"type": "Identifier",
"start": 215,
"end": 220,
"loc": {
"start": {
"line": 14,
"column": 10
},
"end": {
"line": 14,
"column": 15
},
"identifierName": "value"
},
"name": "value"
}
],
"body": {
"type": "BlockStatement",
"start": 222,
"end": 242,
"loc": {
"start": {
"line": 14,
"column": 17
},
"end": {
"line": 14,
"column": 37
}
},
"body": [
{
"type": "ExpressionStatement",
"start": 224,
"end": 240,
"loc": {
"start": {
"line": 14,
"column": 19
},
"end": {
"line": 14,
"column": 35
}
},
"expression": {
"type": "AssignmentExpression",
"start": 224,
"end": 240,
"loc": {
"start": {
"line": 14,
"column": 19
},
"end": {
"line": 14,
"column": 35
}
},
"operator": "=",
"left": {
"type": "MemberExpression",
"start": 224,
"end": 231,
"loc": {
"start": {
"line": 14,
"column": 19
},
"end": {
"line": 14,
"column": 26
}
},
"object": {
"type": "ThisExpression",
"start": 224,
"end": 228,
"loc": {
"start": {
"line": 14,
"column": 19
},
"end": {
"line": 14,
"column": 23
}
}
},
"property": {
"type": "PrivateName",
"start": 230,
"end": 231,
"loc": {
"start": {
"line": 14,
"column": 25
},
"end": {
"line": 14,
"column": 26
}
},
"name": {
"type": "Identifier",
"start": 230,
"end": 231,
"loc": {
"start": {
"line": 14,
"column": 25
},
"end": {
"line": 14,
"column": 26
},
"identifierName": "y"
},
"name": "y"
}
},
"computed": false
},
"right": {
"type": "UnaryExpression",
"start": 234,
"end": 240,
"loc": {
"start": {
"line": 14,
"column": 29
},
"end": {
"line": 14,
"column": 35
}
},
"operator": "+",
"prefix": true,
"argument": {
"type": "Identifier",
"start": 235,
"end": 240,
"loc": {
"start": {
"line": 14,
"column": 30
},
"end": {
"line": 14,
"column": 35
},
"identifierName": "value"
},
"name": "value"
},
"extra": {
"parenthesizedArgument": false
}
}
}
}
],
"directives": []
}
},
{
"type": "ClassMethod",
"start": 248,
"end": 305,
"loc": {
"start": {
"line": 16,
"column": 4
},
"end": {
"line": 16,
"column": 61
}
},
"static": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 248,
"end": 254,
"loc": {
"start": {
"line": 16,
"column": 4
},
"end": {
"line": 16,
"column": 10
},
"identifierName": "equals"
},
"name": "equals"
},
"kind": "method",
"id": null,
"generator": false,
"expression": false,
"async": false,
"params": [
{
"type": "Identifier",
"start": 255,
"end": 256,
"loc": {
"start": {
"line": 16,
"column": 11
},
"end": {
"line": 16,
"column": 12
},
"identifierName": "p"
},
"name": "p"
}
],
"body": {
"type": "BlockStatement",
"start": 258,
"end": 305,
"loc": {
"start": {
"line": 16,
"column": 14
},
"end": {
"line": 16,
"column": 61
}
},
"body": [
{
"type": "ReturnStatement",
"start": 260,
"end": 303,
"loc": {
"start": {
"line": 16,
"column": 16
},
"end": {
"line": 16,
"column": 59
}
},
"argument": {
"type": "LogicalExpression",
"start": 267,
"end": 303,
"loc": {
"start": {
"line": 16,
"column": 23
},
"end": {
"line": 16,
"column": 59
}
},
"left": {
"type": "BinaryExpression",
"start": 267,
"end": 283,
"loc": {
"start": {
"line": 16,
"column": 23
},
"end": {
"line": 16,
"column": 39
}
},
"left": {
"type": "MemberExpression",
"start": 267,
"end": 274,
"loc": {
"start": {
"line": 16,
"column": 23
},
"end": {
"line": 16,
"column": 30
}
},
"object": {
"type": "ThisExpression",
"start": 267,
"end": 271,
"loc": {
"start": {
"line": 16,
"column": 23
},
"end": {
"line": 16,
"column": 27
}
}
},
"property": {
"type": "PrivateName",
"start": 273,
"end": 274,
"loc": {
"start": {
"line": 16,
"column": 29
},
"end": {
"line": 16,
"column": 30
}
},
"name": {
"type": "Identifier",
"start": 273,
"end": 274,
"loc": {
"start": {
"line": 16,
"column": 29
},
"end": {
"line": 16,
"column": 30
},
"identifierName": "x"
},
"name": "x"
}
},
"computed": false
},
"operator": "===",
"right": {
"type": "MemberExpression",
"start": 279,
"end": 283,
"loc": {
"start": {
"line": 16,
"column": 35
},
"end": {
"line": 16,
"column": 39
}
},
"object": {
"type": "Identifier",
"start": 279,
"end": 280,
"loc": {
"start": {
"line": 16,
"column": 35
},
"end": {
"line": 16,
"column": 36
},
"identifierName": "p"
},
"name": "p"
},
"property": {
"type": "PrivateName",
"start": 282,
"end": 283,
"loc": {
"start": {
"line": 16,
"column": 38
},
"end": {
"line": 16,
"column": 39
}
},
"name": {
"type": "Identifier",
"start": 282,
"end": 283,
"loc": {
"start": {
"line": 16,
"column": 38
},
"end": {
"line": 16,
"column": 39
},
"identifierName": "x"
},
"name": "x"
}
},
"computed": false
}
},
"operator": "&&",
"right": {
"type": "BinaryExpression",
"start": 287,
"end": 303,
"loc": {
"start": {
"line": 16,
"column": 43
},
"end": {
"line": 16,
"column": 59
}
},
"left": {
"type": "MemberExpression",
"start": 287,
"end": 294,
"loc": {
"start": {
"line": 16,
"column": 43
},
"end": {
"line": 16,
"column": 50
}
},
"object": {
"type": "ThisExpression",
"start": 287,
"end": 291,
"loc": {
"start": {
"line": 16,
"column": 43
},
"end": {
"line": 16,
"column": 47
}
}
},
"property": {
"type": "PrivateName",
"start": 293,
"end": 294,
"loc": {
"start": {
"line": 16,
"column": 49
},
"end": {
"line": 16,
"column": 50
}
},
"name": {
"type": "Identifier",
"start": 293,
"end": 294,
"loc": {
"start": {
"line": 16,
"column": 49
},
"end": {
"line": 16,
"column": 50
},
"identifierName": "y"
},
"name": "y"
}
},
"computed": false
},
"operator": "===",
"right": {
"type": "MemberExpression",
"start": 299,
"end": 303,
"loc": {
"start": {
"line": 16,
"column": 55
},
"end": {
"line": 16,
"column": 59
}
},
"object": {
"type": "Identifier",
"start": 299,
"end": 300,
"loc": {
"start": {
"line": 16,
"column": 55
},
"end": {
"line": 16,
"column": 56
},
"identifierName": "p"
},
"name": "p"
},
"property": {
"type": "PrivateName",
"start": 302,
"end": 303,
"loc": {
"start": {
"line": 16,
"column": 58
},
"end": {
"line": 16,
"column": 59
}
},
"name": {
"type": "Identifier",
"start": 302,
"end": 303,
"loc": {
"start": {
"line": 16,
"column": 58
},
"end": {
"line": 16,
"column": 59
},
"identifierName": "y"
},
"name": "y"
}
},
"computed": false
}
}
}
}
],
"directives": []
}
},
{
"type": "ClassMethod",
"start": 311,
"end": 367,
"loc": {
"start": {
"line": 18,
"column": 4
},
"end": {
"line": 18,
"column": 60
}
},
"static": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 311,
"end": 319,
"loc": {
"start": {
"line": 18,
"column": 4
},
"end": {
"line": 18,
"column": 12
},
"identifierName": "toString"
},
"name": "toString"
},
"kind": "method",
"id": null,
"generator": false,
"expression": false,
"async": false,
"params": [],
"body": {
"type": "BlockStatement",
"start": 322,
"end": 367,
"loc": {
"start": {
"line": 18,
"column": 15
},
"end": {
"line": 18,
"column": 60
}
},
"body": [
{
"type": "ReturnStatement",
"start": 324,
"end": 365,
"loc": {
"start": {
"line": 18,
"column": 17
},
"end": {
"line": 18,
"column": 58
}
},
"argument": {
"type": "TemplateLiteral",
"start": 331,
"end": 365,
"loc": {
"start": {
"line": 18,
"column": 24
},
"end": {
"line": 18,
"column": 58
}
},
"expressions": [
{
"type": "MemberExpression",
"start": 341,
"end": 348,
"loc": {
"start": {
"line": 18,
"column": 34
},
"end": {
"line": 18,
"column": 41
}
},
"object": {
"type": "ThisExpression",
"start": 341,
"end": 345,
"loc": {
"start": {
"line": 18,
"column": 34
},
"end": {
"line": 18,
"column": 38
}
}
},
"property": {
"type": "PrivateName",
"start": 347,
"end": 348,
"loc": {
"start": {
"line": 18,
"column": 40
},
"end": {
"line": 18,
"column": 41
}
},
"name": {
"type": "Identifier",
"start": 347,
"end": 348,
"loc": {
"start": {
"line": 18,
"column": 40
},
"end": {
"line": 18,
"column": 41
},
"identifierName": "x"
},
"name": "x"
}
},
"computed": false
},
{
"type": "MemberExpression",
"start": 354,
"end": 361,
"loc": {
"start": {
"line": 18,
"column": 47
},
"end": {
"line": 18,
"column": 54
}
},
"object": {
"type": "ThisExpression",
"start": 354,
"end": 358,
"loc": {
"start": {
"line": 18,
"column": 47
},
"end": {
"line": 18,
"column": 51
}
}
},
"property": {
"type": "PrivateName",
"start": 360,
"end": 361,
"loc": {
"start": {
"line": 18,
"column": 53
},
"end": {
"line": 18,
"column": 54
}
},
"name": {
"type": "Identifier",
"start": 360,
"end": 361,
"loc": {
"start": {
"line": 18,
"column": 53
},
"end": {
"line": 18,
"column": 54
},
"identifierName": "y"
},
"name": "y"
}
},
"computed": false
}
],
"quasis": [
{
"type": "TemplateElement",
"start": 332,
"end": 338,
"loc": {
"start": {
"line": 18,
"column": 25
},
"end": {
"line": 18,
"column": 31
}
},
"value": {
"raw": "Point<",
"cooked": "Point<"
},
"tail": false
},
{
"type": "TemplateElement",
"start": 350,
"end": 351,
"loc": {
"start": {
"line": 18,
"column": 43
},
"end": {
"line": 18,
"column": 44
}
},
"value": {
"raw": ",",
"cooked": ","
},
"tail": false
},
{
"type": "TemplateElement",
"start": 363,
"end": 364,
"loc": {
"start": {
"line": 18,
"column": 56
},
"end": {
"line": 18,
"column": 57
}
},
"value": {
"raw": ">",
"cooked": ">"
},
"tail": true
}
]
}
}
],
"directives": []
}
}
]
}
}
],
"directives": []
}
}