@xailabs/altx
Version:
Flux flavor based on alt.js
2,105 lines • 62.1 kB
JSON
{
"type": "File",
"start": 0,
"end": 403,
"loc": {
"start": {
"line": 1,
"column": 0
},
"end": {
"line": 17,
"column": 0
}
},
"program": {
"type": "Program",
"start": 0,
"end": 403,
"loc": {
"start": {
"line": 1,
"column": 0
},
"end": {
"line": 17,
"column": 0
}
},
"sourceType": "module",
"body": [
{
"type": "ImportDeclaration",
"start": 0,
"end": 35,
"loc": {
"start": {
"line": 1,
"column": 0
},
"end": {
"line": 1,
"column": 35
}
},
"specifiers": [
{
"type": "ImportDefaultSpecifier",
"start": 7,
"end": 15,
"loc": {
"start": {
"line": 1,
"column": 7
},
"end": {
"line": 1,
"column": 15
}
},
"local": {
"type": "Identifier",
"start": 7,
"end": 15,
"loc": {
"start": {
"line": 1,
"column": 7
},
"end": {
"line": 1,
"column": 15
},
"identifierName": "validate"
},
"name": "validate"
}
}
],
"source": {
"type": "StringLiteral",
"start": 21,
"end": 34,
"loc": {
"start": {
"line": 1,
"column": 21
},
"end": {
"line": 1,
"column": 34
}
},
"extra": {
"rawValue": "validate.js",
"raw": "'validate.js'"
},
"value": "validate.js"
}
},
{
"type": "ImportDeclaration",
"start": 39,
"end": 91,
"loc": {
"start": {
"line": 3,
"column": 0
},
"end": {
"line": 3,
"column": 52
}
},
"specifiers": [
{
"type": "ImportDefaultSpecifier",
"start": 46,
"end": 63,
"loc": {
"start": {
"line": 3,
"column": 7
},
"end": {
"line": 3,
"column": 24
}
},
"local": {
"type": "Identifier",
"start": 46,
"end": 63,
"loc": {
"start": {
"line": 3,
"column": 7
},
"end": {
"line": 3,
"column": 24
},
"identifierName": "loggerConstraints"
},
"name": "loggerConstraints"
}
}
],
"source": {
"type": "StringLiteral",
"start": 69,
"end": 90,
"loc": {
"start": {
"line": 3,
"column": 30
},
"end": {
"line": 3,
"column": 51
}
},
"extra": {
"rawValue": "./loggerConstraints",
"raw": "'./loggerConstraints'"
},
"value": "./loggerConstraints"
}
},
{
"type": "ExportNamedDeclaration",
"start": 95,
"end": 271,
"loc": {
"start": {
"line": 5,
"column": 0
},
"end": {
"line": 13,
"column": 3
}
},
"specifiers": [],
"source": null,
"declaration": {
"type": "VariableDeclaration",
"start": 102,
"end": 271,
"loc": {
"start": {
"line": 5,
"column": 7
},
"end": {
"line": 13,
"column": 3
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 108,
"end": 270,
"loc": {
"start": {
"line": 5,
"column": 13
},
"end": {
"line": 13,
"column": 2
}
},
"id": {
"type": "Identifier",
"start": 108,
"end": 126,
"loc": {
"start": {
"line": 5,
"column": 13
},
"end": {
"line": 5,
"column": 31
},
"identifierName": "creatorConstraints"
},
"name": "creatorConstraints"
},
"init": {
"type": "ArrowFunctionExpression",
"start": 129,
"end": 270,
"loc": {
"start": {
"line": 5,
"column": 34
},
"end": {
"line": 13,
"column": 2
}
},
"id": {
"type": "Identifier",
"start": 108,
"end": 126,
"loc": {
"start": {
"line": 5,
"column": 13
},
"end": {
"line": 5,
"column": 31
},
"identifierName": "creatorConstraints"
},
"name": "creatorConstraints"
},
"generator": false,
"expression": true,
"async": false,
"params": [],
"body": {
"type": "ObjectExpression",
"start": 144,
"end": 269,
"loc": {
"start": {
"line": 5,
"column": 49
},
"end": {
"line": 13,
"column": 1
}
},
"properties": [
{
"type": "ObjectProperty",
"start": 151,
"end": 190,
"loc": {
"start": {
"line": 6,
"column": 4
},
"end": {
"line": 8,
"column": 5
}
},
"method": false,
"shorthand": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 151,
"end": 155,
"loc": {
"start": {
"line": 6,
"column": 4
},
"end": {
"line": 6,
"column": 8
},
"identifierName": "name"
},
"name": "name",
"leadingComments": null
},
"value": {
"type": "ObjectExpression",
"start": 157,
"end": 190,
"loc": {
"start": {
"line": 6,
"column": 10
},
"end": {
"line": 8,
"column": 5
}
},
"properties": [
{
"type": "ObjectProperty",
"start": 168,
"end": 182,
"loc": {
"start": {
"line": 7,
"column": 8
},
"end": {
"line": 7,
"column": 22
}
},
"method": false,
"shorthand": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 168,
"end": 176,
"loc": {
"start": {
"line": 7,
"column": 8
},
"end": {
"line": 7,
"column": 16
},
"identifierName": "presence"
},
"name": "presence"
},
"value": {
"type": "BooleanLiteral",
"start": 178,
"end": 182,
"loc": {
"start": {
"line": 7,
"column": 18
},
"end": {
"line": 7,
"column": 22
}
},
"value": true
}
}
]
},
"leadingComments": null
},
{
"type": "ObjectProperty",
"start": 197,
"end": 239,
"loc": {
"start": {
"line": 9,
"column": 4
},
"end": {
"line": 11,
"column": 5
}
},
"method": false,
"shorthand": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 197,
"end": 204,
"loc": {
"start": {
"line": 9,
"column": 4
},
"end": {
"line": 9,
"column": 11
},
"identifierName": "actions"
},
"name": "actions"
},
"value": {
"type": "ObjectExpression",
"start": 206,
"end": 239,
"loc": {
"start": {
"line": 9,
"column": 13
},
"end": {
"line": 11,
"column": 5
}
},
"properties": [
{
"type": "ObjectProperty",
"start": 217,
"end": 231,
"loc": {
"start": {
"line": 10,
"column": 8
},
"end": {
"line": 10,
"column": 22
}
},
"method": false,
"shorthand": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 217,
"end": 225,
"loc": {
"start": {
"line": 10,
"column": 8
},
"end": {
"line": 10,
"column": 16
},
"identifierName": "presence"
},
"name": "presence"
},
"value": {
"type": "BooleanLiteral",
"start": 227,
"end": 231,
"loc": {
"start": {
"line": 10,
"column": 18
},
"end": {
"line": 10,
"column": 22
}
},
"value": true
}
}
]
}
},
{
"type": "SpreadProperty",
"start": 246,
"end": 266,
"loc": {
"start": {
"line": 12,
"column": 4
},
"end": {
"line": 12,
"column": 24
}
},
"argument": {
"type": "Identifier",
"start": 249,
"end": 266,
"loc": {
"start": {
"line": 12,
"column": 7
},
"end": {
"line": 12,
"column": 24
},
"identifierName": "loggerConstraints"
},
"name": "loggerConstraints"
}
}
],
"leadingComments": [
{
"type": "CommentBlock",
"value": "call",
"start": 130,
"end": 138,
"loc": {
"start": {
"line": 5,
"column": 35
},
"end": {
"line": 5,
"column": 43
}
}
}
],
"extra": {
"parenthesized": true,
"parenStart": 143
}
}
}
}
],
"kind": "const",
"leadingComments": [],
"trailingComments": []
}
},
{
"type": "ExportDefaultDeclaration",
"start": 273,
"end": 400,
"loc": {
"start": {
"line": 14,
"column": 0
},
"end": {
"line": 16,
"column": 1
}
},
"declaration": {
"type": "FunctionDeclaration",
"start": 288,
"end": 400,
"loc": {
"start": {
"line": 14,
"column": 15
},
"end": {
"line": 16,
"column": 1
}
},
"id": {
"type": "Identifier",
"start": 297,
"end": 312,
"loc": {
"start": {
"line": 14,
"column": 24
},
"end": {
"line": 14,
"column": 39
},
"identifierName": "validateCreator"
},
"name": "validateCreator"
},
"generator": false,
"expression": false,
"async": false,
"params": [
{
"type": "Identifier",
"start": 313,
"end": 317,
"loc": {
"start": {
"line": 14,
"column": 40
},
"end": {
"line": 14,
"column": 44
},
"identifierName": "call"
},
"name": "call"
},
{
"type": "AssignmentPattern",
"start": 319,
"end": 340,
"loc": {
"start": {
"line": 14,
"column": 46
},
"end": {
"line": 14,
"column": 67
}
},
"left": {
"type": "Identifier",
"start": 319,
"end": 325,
"loc": {
"start": {
"line": 14,
"column": 46
},
"end": {
"line": 14,
"column": 52
},
"identifierName": "logger"
},
"name": "logger"
},
"right": {
"type": "MemberExpression",
"start": 326,
"end": 340,
"loc": {
"start": {
"line": 14,
"column": 53
},
"end": {
"line": 14,
"column": 67
}
},
"object": {
"type": "Identifier",
"start": 326,
"end": 332,
"loc": {
"start": {
"line": 14,
"column": 53
},
"end": {
"line": 14,
"column": 59
},
"identifierName": "window"
},
"name": "window"
},
"property": {
"type": "Identifier",
"start": 333,
"end": 340,
"loc": {
"start": {
"line": 14,
"column": 60
},
"end": {
"line": 14,
"column": 67
},
"identifierName": "console"
},
"name": "console"
},
"computed": false
}
}
],
"body": {
"type": "BlockStatement",
"start": 342,
"end": 400,
"loc": {
"start": {
"line": 14,
"column": 69
},
"end": {
"line": 16,
"column": 1
}
},
"body": [
{
"type": "ReturnStatement",
"start": 349,
"end": 397,
"loc": {
"start": {
"line": 15,
"column": 4
},
"end": {
"line": 15,
"column": 52
}
},
"argument": {
"type": "CallExpression",
"start": 356,
"end": 396,
"loc": {
"start": {
"line": 15,
"column": 11
},
"end": {
"line": 15,
"column": 51
}
},
"callee": {
"type": "Identifier",
"start": 356,
"end": 364,
"loc": {
"start": {
"line": 15,
"column": 11
},
"end": {
"line": 15,
"column": 19
},
"identifierName": "validate"
},
"name": "validate"
},
"arguments": [
{
"type": "Identifier",
"start": 365,
"end": 369,
"loc": {
"start": {
"line": 15,
"column": 20
},
"end": {
"line": 15,
"column": 24
},
"identifierName": "call"
},
"name": "call"
},
{
"type": "CallExpression",
"start": 371,
"end": 395,
"loc": {
"start": {
"line": 15,
"column": 26
},
"end": {
"line": 15,
"column": 50
}
},
"callee": {
"type": "Identifier",
"start": 371,
"end": 389,
"loc": {
"start": {
"line": 15,
"column": 26
},
"end": {
"line": 15,
"column": 44
},
"identifierName": "creatorConstraints"
},
"name": "creatorConstraints"
},
"arguments": [
{
"type": "Identifier",
"start": 390,
"end": 394,
"loc": {
"start": {
"line": 15,
"column": 45
},
"end": {
"line": 15,
"column": 49
},
"identifierName": "call"
},
"name": "call"
}
]
}
]
}
}
],
"directives": []
},
"leadingComments": [],
"trailingComments": []
}
},
{
"type": "EmptyStatement",
"start": 400,
"end": 401,
"loc": {
"start": {
"line": 16,
"column": 1
},
"end": {
"line": 16,
"column": 2
}
}
}
],
"directives": []
},
"comments": [
{
"type": "CommentBlock",
"value": "call",
"start": 130,
"end": 138,
"loc": {
"start": {
"line": 5,
"column": 35
},
"end": {
"line": 5,
"column": 43
}
}
}
],
"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": "validate",
"start": 7,
"end": 15,
"loc": {
"start": {
"line": 1,
"column": 7
},
"end": {
"line": 1,
"column": 15
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "from",
"start": 16,
"end": 20,
"loc": {
"start": {
"line": 1,
"column": 16
},
"end": {
"line": 1,
"column": 20
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "validate.js",
"start": 21,
"end": 34,
"loc": {
"start": {
"line": 1,
"column": 21
},
"end": {
"line": 1,
"column": 34
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 34,
"end": 35,
"loc": {
"start": {
"line": 1,
"column": 34
},
"end": {
"line": 1,
"column": 35
}
}
},
{
"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": 39,
"end": 45,
"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": "loggerConstraints",
"start": 46,
"end": 63,
"loc": {
"start": {
"line": 3,
"column": 7
},
"end": {
"line": 3,
"column": 24
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "from",
"start": 64,
"end": 68,
"loc": {
"start": {
"line": 3,
"column": 25
},
"end": {
"line": 3,
"column": 29
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "./loggerConstraints",
"start": 69,
"end": 90,
"loc": {
"start": {
"line": 3,
"column": 30
},
"end": {
"line": 3,
"column": 51
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 90,
"end": 91,
"loc": {
"start": {
"line": 3,
"column": 51
},
"end": {
"line": 3,
"column": 52
}
}
},
{
"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": 95,
"end": 101,
"loc": {
"start": {
"line": 5,
"column": 0
},
"end": {
"line": 5,
"column": 6
}
}
},
{
"type": {
"label": "const",
"keyword": "const",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "const",
"start": 102,
"end": 107,
"loc": {
"start": {
"line": 5,
"column": 7
},
"end": {
"line": 5,
"column": 12
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "creatorConstraints",
"start": 108,
"end": 126,
"loc": {
"start": {
"line": 5,
"column": 13
},
"end": {
"line": 5,
"column": 31
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 127,
"end": 128,
"loc": {
"start": {
"line": 5,
"column": 32
},
"end": {
"line": 5,
"column": 33
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 129,
"end": 130,
"loc": {
"start": {
"line": 5,
"column": 34
},
"end": {
"line": 5,
"column": 35
}
}
},
{
"type": "CommentBlock",
"value": "call",
"start": 130,
"end": 138,
"loc": {
"start": {
"line": 5,
"column": 35
},
"end": {
"line": 5,
"column": 43
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 138,
"end": 139,
"loc": {
"start": {
"line": 5,
"column": 43
},
"end": {
"line": 5,
"column": 44
}
}
},
{
"type": {
"label": "=>",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 140,
"end": 142,
"loc": {
"start": {
"line": 5,
"column": 45
},
"end": {
"line": 5,
"column": 47
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 143,
"end": 144,
"loc": {
"start": {
"line": 5,
"column": 48
},
"end": {
"line": 5,
"column": 49
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 144,
"end": 145,
"loc": {
"start": {
"line": 5,
"column": 49
},
"end": {
"line": 5,
"column": 50
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "name",
"start": 151,
"end": 155,
"loc": {
"start": {
"line": 6,
"column": 4
},
"end": {
"line": 6,
"column": 8
}
}
},
{
"type": {
"label": ":",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 155,
"end": 156,
"loc": {
"start": {
"line": 6,
"column": 8
},
"end": {
"line": 6,
"column": 9
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 157,
"end": 158,
"loc": {
"start": {
"line": 6,
"column": 10
},
"end": {
"line": 6,
"column": 11
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "presence",
"start": 168,
"end": 176,
"loc": {
"start": {
"line": 7,
"column": 8
},
"end": {
"line": 7,
"column": 16
}
}
},
{
"type": {
"label": ":",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 176,
"end": 177,
"loc": {
"start": {
"line": 7,
"column": 16
},
"end": {
"line": 7,
"column": 17
}
}
},
{
"type": {
"label": "true",
"keyword": "true",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "true",
"start": 178,
"end": 182,
"loc": {
"start": {
"line": 7,
"column": 18
},
"end": {
"line": 7,
"column": 22
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 182,
"end": 183,
"loc": {
"start": {
"line": 7,
"column": 22
},
"end": {
"line": 7,
"column": 23
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 189,
"end": 190,
"loc": {
"start": {
"line": 8,
"column": 4
},
"end": {
"line": 8,
"column": 5
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 190,
"end": 191,
"loc": {
"start": {
"line": 8,
"column": 5
},
"end": {
"line": 8,
"column": 6
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "actions",
"start": 197,
"end": 204,
"loc": {
"start": {
"line": 9,
"column": 4
},
"end": {
"line": 9,
"column": 11
}
}
},
{
"type": {
"label": ":",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 204,
"end": 205,
"loc": {
"start": {
"line": 9,
"column": 11
},
"end": {
"line": 9,
"column": 12
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 206,
"end": 207,
"loc": {
"start": {
"line": 9,
"column": 13
},
"end": {
"line": 9,
"column": 14
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "presence",
"start": 217,
"end": 225,
"loc": {
"start": {
"line": 10,
"column": 8
},
"end": {
"line": 10,
"column": 16
}
}
},
{
"type": {
"label": ":",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 225,
"end": 226,
"loc": {
"start": {
"line": 10,
"column": 16
},
"end": {
"line": 10,
"column": 17
}
}
},
{
"type": {
"label": "true",
"keyword": "true",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "true",
"start": 227,
"end": 231,
"loc": {
"start": {
"line": 10,
"column": 18
},
"end": {
"line": 10,
"column": 22
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 231,
"end": 232,
"loc": {
"start": {
"line": 10,
"column": 22
},
"end": {
"line": 10,
"column": 23
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 238,
"end": 239,
"loc": {
"start": {
"line": 11,
"column": 4
},
"end": {
"line": 11,
"column": 5
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 239,
"end": 240,
"loc": {
"start": {
"line": 11,
"column": 5
},
"end": {
"line": 11,
"column": 6
}
}
},
{
"type": {
"label": "...",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 246,
"end": 249,
"loc": {
"start": {
"line": 12,
"column": 4
},
"end": {
"line": 12,
"column": 7
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "loggerConstraints",
"start": 249,
"end": 266,
"loc": {
"start": {
"line": 12,
"column": 7
},
"end": {
"line": 12,
"column": 24
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 268,
"end": 269,
"loc": {
"start": {
"line": 13,
"column": 0
},
"end": {
"line": 13,
"column": 1
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 269,
"end": 270,
"loc": {
"start": {
"line": 13,
"column": 1
},
"end": {
"line": 13,
"column": 2
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 270,
"end": 271,
"loc": {
"start": {
"line": 13,
"column": 2
},
"end": {
"line": 13,
"column": 3
}
}
},
{
"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": 273,
"end": 279,
"loc": {
"start": {
"line": 14,
"column": 0
},
"end": {
"line": 14,
"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": 280,
"end": 287,
"loc": {
"start": {
"line": 14,
"column": 7
},
"end": {
"line": 14,
"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": 288,
"end": 296,
"loc": {
"start": {
"line": 14,
"column": 15
},
"end": {
"line": 14,
"column": 23
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "validateCreator",
"start": 297,
"end": 312,
"loc": {
"start": {
"line": 14,
"column": 24
},
"end": {
"line": 14,
"column": 39
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAs