{ "type": "File", "start": 0, "end": 284, "loc": { "start": { "line": 1, "column": 0 }, "end": { "line": 11, "column": 0 } }, "program": { "type": "Program", "start": 0, "end": 284, "loc": { "start": { "line": 1, "column": 0 }, "end": { "line": 11, "column": 0 } }, "sourceType": "module", "body": [ { "type": "ImportDeclaration", "start": 0, "end": 47, "loc": { "start": { "line": 1, "column": 0 }, "end": { "line": 1, "column": 47 } }, "specifiers": [ { "type": "ImportSpecifier", "start": 9, "end": 20, "loc": { "start": { "line": 1, "column": 9 }, "end": { "line": 1, "column": 20 } }, "imported": { "type": "Identifier", "start": 9, "end": 20, "loc": { "start": { "line": 1, "column": 9 }, "end": { "line": 1, "column": 20 }, "identifierName": "BaseHUDPart" }, "name": "BaseHUDPart" }, "local": { "type": "Identifier", "start": 9, "end": 20, "loc": { "start": { "line": 1, "column": 9 }, "end": { "line": 1, "column": 20 }, "identifierName": "BaseHUDPart" }, "name": "BaseHUDPart" } } ], "source": { "type": "StringLiteral", "start": 28, "end": 46, "loc": { "start": { "line": 1, "column": 28 }, "end": { "line": 1, "column": 46 } }, "extra": { "rawValue": "../base_hud_part", "raw": "\"../base_hud_part\"" }, "value": "../base_hud_part" } }, { "type": "ImportDeclaration", "start": 49, "end": 95, "loc": { "start": { "line": 2, "column": 0 }, "end": { "line": 2, "column": 46 } }, "specifiers": [ { "type": "ImportSpecifier", "start": 58, "end": 65, "loc": { "start": { "line": 2, "column": 9 }, "end": { "line": 2, "column": 16 } }, "imported": { "type": "Identifier", "start": 58, "end": 65, "loc": { "start": { "line": 2, "column": 9 }, "end": { "line": 2, "column": 16 }, "identifierName": "makeDiv" }, "name": "makeDiv" }, "local": { "type": "Identifier", "start": 58, "end": 65, "loc": { "start": { "line": 2, "column": 9 }, "end": { "line": 2, "column": 16 }, "identifierName": "makeDiv" }, "name": "makeDiv" } } ], "source": { "type": "StringLiteral", "start": 73, "end": 94, "loc": { "start": { "line": 2, "column": 24 }, "end": { "line": 2, "column": 45 } }, "extra": { "rawValue": "../../../core/utils", "raw": "\"../../../core/utils\"" }, "value": "../../../core/utils" } }, { "type": "ExportNamedDeclaration", "start": 99, "end": 282, "loc": { "start": { "line": 4, "column": 0 }, "end": { "line": 10, "column": 1 } }, "specifiers": [], "source": null, "declaration": { "type": "ClassDeclaration", "start": 106, "end": 282, "loc": { "start": { "line": 4, "column": 7 }, "end": { "line": 10, "column": 1 } }, "id": { "type": "Identifier", "start": 112, "end": 130, "loc": { "start": { "line": 4, "column": 13 }, "end": { "line": 4, "column": 31 }, "identifierName": "HUDVignetteOverlay" }, "name": "HUDVignetteOverlay" }, "superClass": { "type": "Identifier", "start": 139, "end": 150, "loc": { "start": { "line": 4, "column": 40 }, "end": { "line": 4, "column": 51 }, "identifierName": "BaseHUDPart" }, "name": "BaseHUDPart" }, "body": { "type": "ClassBody", "start": 151, "end": 282, "loc": { "start": { "line": 4, "column": 52 }, "end": { "line": 10, "column": 1 } }, "body": [ { "type": "ClassMethod", "start": 158, "end": 256, "loc": { "start": { "line": 5, "column": 4 }, "end": { "line": 7, "column": 5 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 158, "end": 172, "loc": { "start": { "line": 5, "column": 4 }, "end": { "line": 5, "column": 18 }, "identifierName": "createElements" }, "name": "createElements" }, "kind": "method", "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 173, "end": 179, "loc": { "start": { "line": 5, "column": 19 }, "end": { "line": 5, "column": 25 }, "identifierName": "parent" }, "name": "parent" } ], "body": { "type": "BlockStatement", "start": 181, "end": 256, "loc": { "start": { "line": 5, "column": 27 }, "end": { "line": 7, "column": 5 } }, "body": [ { "type": "ExpressionStatement", "start": 192, "end": 249, "loc": { "start": { "line": 6, "column": 8 }, "end": { "line": 6, "column": 65 } }, "expression": { "type": "AssignmentExpression", "start": 192, "end": 248, "loc": { "start": { "line": 6, "column": 8 }, "end": { "line": 6, "column": 64 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 192, "end": 204, "loc": { "start": { "line": 6, "column": 8 }, "end": { "line": 6, "column": 20 } }, "object": { "type": "ThisExpression", "start": 192, "end": 196, "loc": { "start": { "line": 6, "column": 8 }, "end": { "line": 6, "column": 12 } } }, "property": { "type": "Identifier", "start": 197, "end": 204, "loc": { "start": { "line": 6, "column": 13 }, "end": { "line": 6, "column": 20 }, "identifierName": "element" }, "name": "element" }, "computed": false }, "right": { "type": "CallExpression", "start": 207, "end": 248, "loc": { "start": { "line": 6, "column": 23 }, "end": { "line": 6, "column": 64 } }, "callee": { "type": "Identifier", "start": 207, "end": 214, "loc": { "start": { "line": 6, "column": 23 }, "end": { "line": 6, "column": 30 }, "identifierName": "makeDiv" }, "name": "makeDiv" }, "arguments": [ { "type": "Identifier", "start": 215, "end": 221, "loc": { "start": { "line": 6, "column": 31 }, "end": { "line": 6, "column": 37 }, "identifierName": "parent" }, "name": "parent" }, { "type": "StringLiteral", "start": 223, "end": 247, "loc": { "start": { "line": 6, "column": 39 }, "end": { "line": 6, "column": 63 } }, "extra": { "rawValue": "ingame_VignetteOverlay", "raw": "\"ingame_VignetteOverlay\"" }, "value": "ingame_VignetteOverlay" } ] } } } ], "directives": [] } }, { "type": "ClassMethod", "start": 264, "end": 279, "loc": { "start": { "line": 9, "column": 4 }, "end": { "line": 9, "column": 19 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 264, "end": 274, "loc": { "start": { "line": 9, "column": 4 }, "end": { "line": 9, "column": 14 }, "identifierName": "initialize" }, "name": "initialize" }, "kind": "method", "id": null, "generator": false, "expression": false, "async": false, "params": [], "body": { "type": "BlockStatement", "start": 277, "end": 279, "loc": { "start": { "line": 9, "column": 17 }, "end": { "line": 9, "column": 19 } }, "body": [], "directives": [] } } ] }, "leadingComments": [], "trailingComments": [] } } ], "directives": [] }, "comments": [], "tokens": [ { "type": { "label": "import", "keyword": "import", "beforeExpr": false, "startsExpr": true, "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": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7, "end": 8, "loc": { "start": { "line": 1, "column": 7 }, "end": { "line": 1, "column": 8 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "BaseHUDPart", "start": 9, "end": 20, "loc": { "start": { "line": 1, "column": 9 }, "end": { "line": 1, "column": 20 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 21, "end": 22, "loc": { "start": { "line": 1, "column": 21 }, "end": { "line": 1, "column": 22 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "from", "start": 23, "end": 27, "loc": { "start": { "line": 1, "column": 23 }, "end": { "line": 1, "column": 27 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "../base_hud_part", "start": 28, "end": 46, "loc": { "start": { "line": 1, "column": 28 }, "end": { "line": 1, "column": 46 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 46, "end": 47, "loc": { "start": { "line": 1, "column": 46 }, "end": { "line": 1, "column": 47 } } }, { "type": { "label": "import", "keyword": "import", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "import", "start": 49, "end": 55, "loc": { "start": { "line": 2, "column": 0 }, "end": { "line": 2, "column": 6 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 56, "end": 57, "loc": { "start": { "line": 2, "column": 7 }, "end": { "line": 2, "column": 8 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "makeDiv", "start": 58, "end": 65, "loc": { "start": { "line": 2, "column": 9 }, "end": { "line": 2, "column": 16 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 66, "end": 67, "loc": { "start": { "line": 2, "column": 17 }, "end": { "line": 2, "column": 18 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "from", "start": 68, "end": 72, "loc": { "start": { "line": 2, "column": 19 }, "end": { "line": 2, "column": 23 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "../../../core/utils", "start": 73, "end": 94, "loc": { "start": { "line": 2, "column": 24 }, "end": { "line": 2, "column": 45 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 94, "end": 95, "loc": { "start": { "line": 2, "column": 45 }, "end": { "line": 2, "column": 46 } } }, { "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": 99, "end": 105, "loc": { "start": { "line": 4, "column": 0 }, "end": { "line": 4, "column": 6 } } }, { "type": { "label": "class", "keyword": "class", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "class", "start": 106, "end": 111, "loc": { "start": { "line": 4, "column": 7 }, "end": { "line": 4, "column": 12 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "HUDVignetteOverlay", "start": 112, "end": 130, "loc": { "start": { "line": 4, "column": 13 }, "end": { "line": 4, "column": 31 } } }, { "type": { "label": "extends", "keyword": "extends", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "extends", "start": 131, "end": 138, "loc": { "start": { "line": 4, "column": 32 }, "end": { "line": 4, "column": 39 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "BaseHUDPart", "start": 139, "end": 150, "loc": { "start": { "line": 4, "column": 40 }, "end": { "line": 4, "column": 51 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 151, "end": 152, "loc": { "start": { "line": 4, "column": 52 }, "end": { "line": 4, "column": 53 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "createElements", "start": 158, "end": 172, "loc": { "start": { "line": 5, "column": 4 }, "end": { "line": 5, "column": 18 } } }, { "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": 5, "column": 18 }, "end": { "line": 5, "column": 19 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "parent", "start": 173, "end": 179, "loc": { "start": { "line": 5, "column": 19 }, "end": { "line": 5, "column": 25 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 179, "end": 180, "loc": { "start": { "line": 5, "column": 25 }, "end": { "line": 5, "column": 26 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 181, "end": 182, "loc": { "start": { "line": 5, "column": 27 }, "end": { "line": 5, "column": 28 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 192, "end": 196, "loc": { "start": { "line": 6, "column": 8 }, "end": { "line": 6, "column": 12 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 196, "end": 197, "loc": { "start": { "line": 6, "column": 12 }, "end": { "line": 6, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "element", "start": 197, "end": 204, "loc": { "start": { "line": 6, "column": 13 }, "end": { "line": 6, "column": 20 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 205, "end": 206, "loc": { "start": { "line": 6, "column": 21 }, "end": { "line": 6, "column": 22 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "makeDiv", "start": 207, "end": 214, "loc": { "start": { "line": 6, "column": 23 }, "end": { "line": 6, "column": 30 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 214, "end": 215, "loc": { "start": { "line": 6, "column": 30 }, "end": { "line": 6, "column": 31 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "parent", "start": 215, "end": 221, "loc": { "start": { "line": 6, "column": 31 }, "end": { "line": 6, "column": 37 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 221, "end": 222, "loc": { "start": { "line": 6, "column": 37 }, "end": { "line": 6, "column": 38 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "ingame_VignetteOverlay", "start": 223, "end": 247, "loc": { "start": { "line": 6, "column": 39 }, "end": { "line": 6, "column": 63 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 247, "end": 248, "loc": { "start": { "line": 6, "column": 63 }, "end": { "line": 6, "column": 64 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 248, "end": 249, "loc": { "start": { "line": 6, "column": 64 }, "end": { "line": 6, "column": 65 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 255, "end": 256, "loc": { "start": { "line": 7, "column": 4 }, "end": { "line": 7, "column": 5 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "initialize", "start": 264, "end": 274, "loc": { "start": { "line": 9, "column": 4 }, "end": { "line": 9, "column": 14 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 274, "end": 275, "loc": { "start": { "line": 9, "column": 14 }, "end": { "line": 9, "column": 15 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 275, "end": 276, "loc": { "start": { "line": 9, "column": 15 }, "end": { "line": 9, "column": 16 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 277, "end": 278, "loc": { "start": { "line": 9, "column": 17 }, "end": { "line": 9, "column": 18 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 278, "end": 279, "loc": { "start": { "line": 9, "column": 18 }, "end": { "line": 9, "column": 19 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 281, "end": 282, "loc": { "start": { "line": 10, "column": 0 }, "end": { "line": 10, "column": 1 } } }, { "type": { "label": "eof", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 284, "end": 284, "loc": { "start": { "line": 11, "column": 0 }, "end": { "line": 11, "column": 0 } } } ] }