awv3
Version:
⚡ AWV3 embedded CAD
2,074 lines (2,073 loc) • 81.6 kB
JSON
{
"type": "File",
"start": 0,
"end": 468,
"loc": {
"start": {
"line": 1,
"column": 0
},
"end": {
"line": 18,
"column": 0
}
},
"program": {
"type": "Program",
"start": 0,
"end": 468,
"loc": {
"start": {
"line": 1,
"column": 0
},
"end": {
"line": 18,
"column": 0
}
},
"sourceType": "module",
"body": [
{
"type": "ImportDeclaration",
"start": 0,
"end": 28,
"loc": {
"start": {
"line": 1,
"column": 0
},
"end": {
"line": 1,
"column": 28
}
},
"specifiers": [
{
"type": "ImportDefaultSpecifier",
"start": 7,
"end": 12,
"loc": {
"start": {
"line": 1,
"column": 7
},
"end": {
"line": 1,
"column": 12
}
},
"local": {
"type": "Identifier",
"start": 7,
"end": 12,
"loc": {
"start": {
"line": 1,
"column": 7
},
"end": {
"line": 1,
"column": 12
},
"identifierName": "Point"
},
"name": "Point"
}
}
],
"source": {
"type": "StringLiteral",
"start": 18,
"end": 27,
"loc": {
"start": {
"line": 1,
"column": 18
},
"end": {
"line": 1,
"column": 27
}
},
"extra": {
"rawValue": "./point",
"raw": "'./point'"
},
"value": "./point"
}
},
{
"type": "ImportDeclaration",
"start": 29,
"end": 55,
"loc": {
"start": {
"line": 2,
"column": 0
},
"end": {
"line": 2,
"column": 26
}
},
"specifiers": [
{
"type": "ImportDefaultSpecifier",
"start": 36,
"end": 40,
"loc": {
"start": {
"line": 2,
"column": 7
},
"end": {
"line": 2,
"column": 11
}
},
"local": {
"type": "Identifier",
"start": 36,
"end": 40,
"loc": {
"start": {
"line": 2,
"column": 7
},
"end": {
"line": 2,
"column": 11
},
"identifierName": "Line"
},
"name": "Line"
}
}
],
"source": {
"type": "StringLiteral",
"start": 46,
"end": 54,
"loc": {
"start": {
"line": 2,
"column": 17
},
"end": {
"line": 2,
"column": 25
}
},
"extra": {
"rawValue": "./line",
"raw": "'./line'"
},
"value": "./line"
}
},
{
"type": "ImportDeclaration",
"start": 56,
"end": 80,
"loc": {
"start": {
"line": 3,
"column": 0
},
"end": {
"line": 3,
"column": 24
}
},
"specifiers": [
{
"type": "ImportDefaultSpecifier",
"start": 63,
"end": 66,
"loc": {
"start": {
"line": 3,
"column": 7
},
"end": {
"line": 3,
"column": 10
}
},
"local": {
"type": "Identifier",
"start": 63,
"end": 66,
"loc": {
"start": {
"line": 3,
"column": 7
},
"end": {
"line": 3,
"column": 10
},
"identifierName": "Arc"
},
"name": "Arc"
}
}
],
"source": {
"type": "StringLiteral",
"start": 72,
"end": 79,
"loc": {
"start": {
"line": 3,
"column": 16
},
"end": {
"line": 3,
"column": 23
}
},
"extra": {
"rawValue": "./arc",
"raw": "'./arc'"
},
"value": "./arc"
}
},
{
"type": "ImportDeclaration",
"start": 81,
"end": 111,
"loc": {
"start": {
"line": 4,
"column": 0
},
"end": {
"line": 4,
"column": 30
}
},
"specifiers": [
{
"type": "ImportDefaultSpecifier",
"start": 88,
"end": 94,
"loc": {
"start": {
"line": 4,
"column": 7
},
"end": {
"line": 4,
"column": 13
}
},
"local": {
"type": "Identifier",
"start": 88,
"end": 94,
"loc": {
"start": {
"line": 4,
"column": 7
},
"end": {
"line": 4,
"column": 13
},
"identifierName": "Sketch"
},
"name": "Sketch"
}
}
],
"source": {
"type": "StringLiteral",
"start": 100,
"end": 110,
"loc": {
"start": {
"line": 4,
"column": 19
},
"end": {
"line": 4,
"column": 29
}
},
"extra": {
"rawValue": "./sketch",
"raw": "'./sketch'"
},
"value": "./sketch"
}
},
{
"type": "ExportDefaultDeclaration",
"start": 113,
"end": 357,
"loc": {
"start": {
"line": 6,
"column": 0
},
"end": {
"line": 13,
"column": 1
}
},
"declaration": {
"type": "FunctionDeclaration",
"start": 128,
"end": 357,
"loc": {
"start": {
"line": 6,
"column": 15
},
"end": {
"line": 13,
"column": 1
}
},
"id": {
"type": "Identifier",
"start": 137,
"end": 145,
"loc": {
"start": {
"line": 6,
"column": 24
},
"end": {
"line": 6,
"column": 32
},
"identifierName": "Graphics"
},
"name": "Graphics"
},
"generator": false,
"expression": false,
"async": false,
"params": [
{
"type": "Identifier",
"start": 146,
"end": 150,
"loc": {
"start": {
"line": 6,
"column": 33
},
"end": {
"line": 6,
"column": 37
},
"identifierName": "name"
},
"name": "name"
}
],
"body": {
"type": "BlockStatement",
"start": 152,
"end": 357,
"loc": {
"start": {
"line": 6,
"column": 39
},
"end": {
"line": 13,
"column": 1
}
},
"body": [
{
"type": "SwitchStatement",
"start": 158,
"end": 355,
"loc": {
"start": {
"line": 7,
"column": 4
},
"end": {
"line": 12,
"column": 5
}
},
"discriminant": {
"type": "Identifier",
"start": 166,
"end": 170,
"loc": {
"start": {
"line": 7,
"column": 12
},
"end": {
"line": 7,
"column": 16
},
"identifierName": "name"
},
"name": "name"
},
"cases": [
{
"type": "SwitchCase",
"start": 182,
"end": 218,
"loc": {
"start": {
"line": 8,
"column": 8
},
"end": {
"line": 8,
"column": 44
}
},
"consequent": [
{
"type": "ReturnStatement",
"start": 199,
"end": 218,
"loc": {
"start": {
"line": 8,
"column": 25
},
"end": {
"line": 8,
"column": 44
}
},
"argument": {
"type": "NewExpression",
"start": 206,
"end": 217,
"loc": {
"start": {
"line": 8,
"column": 32
},
"end": {
"line": 8,
"column": 43
}
},
"callee": {
"type": "Identifier",
"start": 210,
"end": 215,
"loc": {
"start": {
"line": 8,
"column": 36
},
"end": {
"line": 8,
"column": 41
},
"identifierName": "Point"
},
"name": "Point"
},
"arguments": []
}
}
],
"test": {
"type": "StringLiteral",
"start": 187,
"end": 197,
"loc": {
"start": {
"line": 8,
"column": 13
},
"end": {
"line": 8,
"column": 23
}
},
"extra": {
"rawValue": "CC_Point",
"raw": "'CC_Point'"
},
"value": "CC_Point"
}
},
{
"type": "SwitchCase",
"start": 227,
"end": 261,
"loc": {
"start": {
"line": 9,
"column": 8
},
"end": {
"line": 9,
"column": 42
}
},
"consequent": [
{
"type": "ReturnStatement",
"start": 243,
"end": 261,
"loc": {
"start": {
"line": 9,
"column": 24
},
"end": {
"line": 9,
"column": 42
}
},
"argument": {
"type": "NewExpression",
"start": 250,
"end": 260,
"loc": {
"start": {
"line": 9,
"column": 31
},
"end": {
"line": 9,
"column": 41
}
},
"callee": {
"type": "Identifier",
"start": 254,
"end": 258,
"loc": {
"start": {
"line": 9,
"column": 35
},
"end": {
"line": 9,
"column": 39
},
"identifierName": "Line"
},
"name": "Line"
},
"arguments": []
}
}
],
"test": {
"type": "StringLiteral",
"start": 232,
"end": 241,
"loc": {
"start": {
"line": 9,
"column": 13
},
"end": {
"line": 9,
"column": 22
}
},
"extra": {
"rawValue": "CC_Line",
"raw": "'CC_Line'"
},
"value": "CC_Line"
}
},
{
"type": "SwitchCase",
"start": 270,
"end": 302,
"loc": {
"start": {
"line": 10,
"column": 8
},
"end": {
"line": 10,
"column": 40
}
},
"consequent": [
{
"type": "ReturnStatement",
"start": 285,
"end": 302,
"loc": {
"start": {
"line": 10,
"column": 23
},
"end": {
"line": 10,
"column": 40
}
},
"argument": {
"type": "NewExpression",
"start": 292,
"end": 301,
"loc": {
"start": {
"line": 10,
"column": 30
},
"end": {
"line": 10,
"column": 39
}
},
"callee": {
"type": "Identifier",
"start": 296,
"end": 299,
"loc": {
"start": {
"line": 10,
"column": 34
},
"end": {
"line": 10,
"column": 37
},
"identifierName": "Arc"
},
"name": "Arc"
},
"arguments": []
}
}
],
"test": {
"type": "StringLiteral",
"start": 275,
"end": 283,
"loc": {
"start": {
"line": 10,
"column": 13
},
"end": {
"line": 10,
"column": 21
}
},
"extra": {
"rawValue": "CC_Arc",
"raw": "'CC_Arc'"
},
"value": "CC_Arc"
}
},
{
"type": "SwitchCase",
"start": 311,
"end": 349,
"loc": {
"start": {
"line": 11,
"column": 8
},
"end": {
"line": 11,
"column": 46
}
},
"consequent": [
{
"type": "ReturnStatement",
"start": 329,
"end": 349,
"loc": {
"start": {
"line": 11,
"column": 26
},
"end": {
"line": 11,
"column": 46
}
},
"argument": {
"type": "NewExpression",
"start": 336,
"end": 348,
"loc": {
"start": {
"line": 11,
"column": 33
},
"end": {
"line": 11,
"column": 45
}
},
"callee": {
"type": "Identifier",
"start": 340,
"end": 346,
"loc": {
"start": {
"line": 11,
"column": 37
},
"end": {
"line": 11,
"column": 43
},
"identifierName": "Sketch"
},
"name": "Sketch"
},
"arguments": []
}
}
],
"test": {
"type": "StringLiteral",
"start": 316,
"end": 327,
"loc": {
"start": {
"line": 11,
"column": 13
},
"end": {
"line": 11,
"column": 24
}
},
"extra": {
"rawValue": "CC_Sketch",
"raw": "'CC_Sketch'"
},
"value": "CC_Sketch"
}
}
]
}
],
"directives": [],
"trailingComments": null
},
"trailingComments": [
{
"type": "CommentLine",
"value": " Support hot reloading",
"start": 359,
"end": 383,
"loc": {
"start": {
"line": 15,
"column": 0
},
"end": {
"line": 15,
"column": 24
}
}
}
],
"leadingComments": []
},
"trailingComments": [
{
"type": "CommentLine",
"value": " Support hot reloading",
"start": 359,
"end": 383,
"loc": {
"start": {
"line": 15,
"column": 0
},
"end": {
"line": 15,
"column": 24
}
}
}
]
},
{
"type": "IfStatement",
"start": 384,
"end": 467,
"loc": {
"start": {
"line": 16,
"column": 0
},
"end": {
"line": 17,
"column": 67
}
},
"test": {
"type": "MemberExpression",
"start": 388,
"end": 398,
"loc": {
"start": {
"line": 16,
"column": 4
},
"end": {
"line": 16,
"column": 14
}
},
"object": {
"type": "Identifier",
"start": 388,
"end": 394,
"loc": {
"start": {
"line": 16,
"column": 4
},
"end": {
"line": 16,
"column": 10
},
"identifierName": "module"
},
"name": "module",
"leadingComments": null
},
"property": {
"type": "Identifier",
"start": 395,
"end": 398,
"loc": {
"start": {
"line": 16,
"column": 11
},
"end": {
"line": 16,
"column": 14
},
"identifierName": "hot"
},
"name": "hot"
},
"computed": false,
"leadingComments": null
},
"consequent": {
"type": "ExpressionStatement",
"start": 404,
"end": 467,
"loc": {
"start": {
"line": 17,
"column": 4
},
"end": {
"line": 17,
"column": 67
}
},
"expression": {
"type": "CallExpression",
"start": 404,
"end": 466,
"loc": {
"start": {
"line": 17,
"column": 4
},
"end": {
"line": 17,
"column": 66
}
},
"callee": {
"type": "MemberExpression",
"start": 404,
"end": 421,
"loc": {
"start": {
"line": 17,
"column": 4
},
"end": {
"line": 17,
"column": 21
}
},
"object": {
"type": "MemberExpression",
"start": 404,
"end": 414,
"loc": {
"start": {
"line": 17,
"column": 4
},
"end": {
"line": 17,
"column": 14
}
},
"object": {
"type": "Identifier",
"start": 404,
"end": 410,
"loc": {
"start": {
"line": 17,
"column": 4
},
"end": {
"line": 17,
"column": 10
},
"identifierName": "module"
},
"name": "module"
},
"property": {
"type": "Identifier",
"start": 411,
"end": 414,
"loc": {
"start": {
"line": 17,
"column": 11
},
"end": {
"line": 17,
"column": 14
},
"identifierName": "hot"
},
"name": "hot"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 415,
"end": 421,
"loc": {
"start": {
"line": 17,
"column": 15
},
"end": {
"line": 17,
"column": 21
},
"identifierName": "accept"
},
"name": "accept"
},
"computed": false
},
"arguments": [
{
"type": "ArrayExpression",
"start": 422,
"end": 465,
"loc": {
"start": {
"line": 17,
"column": 22
},
"end": {
"line": 17,
"column": 65
}
},
"elements": [
{
"type": "StringLiteral",
"start": 423,
"end": 432,
"loc": {
"start": {
"line": 17,
"column": 23
},
"end": {
"line": 17,
"column": 32
}
},
"extra": {
"rawValue": "./point",
"raw": "'./point'"
},
"value": "./point"
},
{
"type": "StringLiteral",
"start": 434,
"end": 442,
"loc": {
"start": {
"line": 17,
"column": 34
},
"end": {
"line": 17,
"column": 42
}
},
"extra": {
"rawValue": "./line",
"raw": "'./line'"
},
"value": "./line"
},
{
"type": "StringLiteral",
"start": 444,
"end": 451,
"loc": {
"start": {
"line": 17,
"column": 44
},
"end": {
"line": 17,
"column": 51
}
},
"extra": {
"rawValue": "./arc",
"raw": "'./arc'"
},
"value": "./arc"
},
{
"type": "StringLiteral",
"start": 453,
"end": 463,
"loc": {
"start": {
"line": 17,
"column": 53
},
"end": {
"line": 17,
"column": 63
}
},
"extra": {
"rawValue": "./sketch",
"raw": "'./sketch'"
},
"value": "./sketch"
}
]
}
]
}
},
"alternate": null,
"leadingComments": [
{
"type": "CommentLine",
"value": " Support hot reloading",
"start": 359,
"end": 383,
"loc": {
"start": {
"line": 15,
"column": 0
},
"end": {
"line": 15,
"column": 24
}
}
}
]
}
],
"directives": []
},
"comments": [
{
"type": "CommentLine",
"value": " Support hot reloading",
"start": 359,
"end": 383,
"loc": {
"start": {
"line": 15,
"column": 0
},
"end": {
"line": 15,
"column": 24
}
}
}
],
"tokens": [
{
"type": {
"label": "import",
"keyword": "import",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "import",
"start": 0,
"end": 6,
"loc": {
"start": {
"line": 1,
"column": 0
},
"end": {
"line": 1,
"column": 6
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "Point",
"start": 7,
"end": 12,
"loc": {
"start": {
"line": 1,
"column": 7
},
"end": {
"line": 1,
"column": 12
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "from",
"start": 13,
"end": 17,
"loc": {
"start": {
"line": 1,
"column": 13
},
"end": {
"line": 1,
"column": 17
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "./point",
"start": 18,
"end": 27,
"loc": {
"start": {
"line": 1,
"column": 18
},
"end": {
"line": 1,
"column": 27
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 27,
"end": 28,
"loc": {
"start": {
"line": 1,
"column": 27
},
"end": {
"line": 1,
"column": 28
}
}
},
{
"type": {
"label": "import",
"keyword": "import",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "import",
"start": 29,
"end": 35,
"loc": {
"start": {
"line": 2,
"column": 0
},
"end": {
"line": 2,
"column": 6
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "Line",
"start": 36,
"end": 40,
"loc": {
"start": {
"line": 2,
"column": 7
},
"end": {
"line": 2,
"column": 11
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "from",
"start": 41,
"end": 45,
"loc": {
"start": {
"line": 2,
"column": 12
},
"end": {
"line": 2,
"column": 16
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "./line",
"start": 46,
"end": 54,
"loc": {
"start": {
"line": 2,
"column": 17
},
"end": {
"line": 2,
"column": 25
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 54,
"end": 55,
"loc": {
"start": {
"line": 2,
"column": 25
},
"end": {
"line": 2,
"column": 26
}
}
},
{
"type": {
"label": "import",
"keyword": "import",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "import",
"start": 56,
"end": 62,
"loc": {
"start": {
"line": 3,
"column": 0
},
"end": {
"line": 3,
"column": 6
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "Arc",
"start": 63,
"end": 66,
"loc": {
"start": {
"line": 3,
"column": 7
},
"end": {
"line": 3,
"column": 10
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "from",
"start": 67,
"end": 71,
"loc": {
"start": {
"line": 3,
"column": 11
},
"end": {
"line": 3,
"column": 15
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "./arc",
"start": 72,
"end": 79,
"loc": {
"start": {
"line": 3,
"column": 16
},
"end": {
"line": 3,
"column": 23
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 79,
"end": 80,
"loc": {
"start": {
"line": 3,
"column": 23
},
"end": {
"line": 3,
"column": 24
}
}
},
{
"type": {
"label": "import",
"keyword": "import",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "import",
"start": 81,
"end": 87,
"loc": {
"start": {
"line": 4,
"column": 0
},
"end": {
"line": 4,
"column": 6
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "Sketch",
"start": 88,
"end": 94,
"loc": {
"start": {
"line": 4,
"column": 7
},
"end": {
"line": 4,
"column": 13
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "from",
"start": 95,
"end": 99,
"loc": {
"start": {
"line": 4,
"column": 14
},
"end": {
"line": 4,
"column": 18
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "./sketch",
"start": 100,
"end": 110,
"loc": {
"start": {
"line": 4,
"column": 19
},
"end": {
"line": 4,
"column": 29
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 110,
"end": 111,
"loc": {
"start": {
"line": 4,
"column": 29
},
"end": {
"line": 4,
"column": 30
}
}
},
{
"type": {
"label": "export",
"keyword": "export",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "export",
"start": 113,
"end": 119,
"loc": {
"start": {
"line": 6,
"column": 0
},
"end": {
"line": 6,
"column": 6
}
}
},
{
"type": {
"label": "default",
"keyword": "default",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "default",
"start": 120,
"end": 127,
"loc": {
"start": {
"line": 6,
"column": 7
},
"end": {
"line": 6,
"column": 14
}
}
},
{
"type": {
"label": "function",
"keyword": "function",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "function",
"start": 128,
"end": 136,
"loc": {
"start": {
"line": 6,
"column": 15
},
"end": {
"line": 6,
"column": 23
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "Graphics",
"start": 137,
"end": 145,
"loc": {
"start": {
"line": 6,
"column": 24
},
"end": {
"line": 6,
"column": 32
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 145,
"end": 146,
"loc": {
"start": {
"line": 6,
"column": 32
},
"end": {
"line": 6,
"column": 33
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "name",
"start": 146,
"end": 150,
"loc": {
"start": {
"line": 6,
"column": 33
},
"end": {
"line": 6,
"column": 37
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 150,
"end": 151,
"loc": {
"start": {
"line": 6,
"column": 37
},
"end": {
"line": 6,
"column": 38
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 152,
"end": 153,
"loc": {
"start": {
"line": 6,
"column": 39
},
"end": {
"line": 6,
"column": 40
}
}
},
{
"type": {
"label": "switch",
"keyword": "switch",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "switch",
"start": 158,
"end": 164,
"loc": {
"start": {
"line": 7,
"column": 4
},
"end": {
"line": 7,
"column": 10
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 165,
"end": 166,
"loc": {
"start": {
"line": 7,
"column": 11
},
"end": {
"line": 7,
"column": 12
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "name",
"start": 166,
"end": 170,
"loc": {
"start": {
"line": 7,
"column": 12
},
"end": {
"line": 7,
"column": 16
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 170,
"end": 171,
"loc": {
"start": {
"line": 7,
"column": 16
},
"end": {
"line": 7,
"column": 17
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 172,
"end": 173,
"loc": {
"start": {
"line": 7,
"column": 18
},
"end": {
"line": 7,
"column": 19
}
}
},
{
"type": {
"label": "case",
"keyword": "case",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "case",
"start": 182,
"end": 186,
"loc": {
"start": {
"line": 8,
"column": 8
},
"end": {
"line": 8,
"column": 12
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "CC_Point",
"start": 187,
"end": 197,
"loc": {
"start": {
"line": 8,
"column": 13
},
"end": {
"line": 8,
"column": 23
}
}
},
{
"type": {
"label": ":",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 197,
"end": 198,
"loc": {
"start": {
"line": 8,
"column": 23
},
"end": {
"line": 8,