sequelize
Version:
Multi dialect ORM for Node.JS/io.js
2,109 lines (2,108 loc) • 56.6 kB
JSON
{
"type": "File",
"start": 0,
"end": 260,
"loc": {
"start": {
"line": 1,
"column": 0
},
"end": {
"line": 13,
"column": 0
}
},
"program": {
"type": "Program",
"start": 0,
"end": 260,
"loc": {
"start": {
"line": 1,
"column": 0
},
"end": {
"line": 13,
"column": 0
}
},
"sourceType": "module",
"body": [
{
"type": "ClassDeclaration",
"start": 15,
"end": 156,
"loc": {
"start": {
"line": 3,
"column": 0
},
"end": {
"line": 8,
"column": 1
}
},
"id": {
"type": "Identifier",
"start": 21,
"end": 30,
"loc": {
"start": {
"line": 3,
"column": 6
},
"end": {
"line": 3,
"column": 15
},
"identifierName": "Attribute"
},
"name": "Attribute"
},
"superClass": null,
"body": {
"type": "ClassBody",
"start": 31,
"end": 156,
"loc": {
"start": {
"line": 3,
"column": 16
},
"end": {
"line": 8,
"column": 1
}
},
"body": [
{
"type": "ClassMethod",
"start": 35,
"end": 154,
"loc": {
"start": {
"line": 4,
"column": 2
},
"end": {
"line": 7,
"column": 3
}
},
"computed": false,
"key": {
"type": "Identifier",
"start": 35,
"end": 46,
"loc": {
"start": {
"line": 4,
"column": 2
},
"end": {
"line": 4,
"column": 13
},
"identifierName": "constructor"
},
"name": "constructor"
},
"static": false,
"kind": "constructor",
"id": null,
"generator": false,
"expression": false,
"async": false,
"params": [
{
"type": "Identifier",
"start": 47,
"end": 54,
"loc": {
"start": {
"line": 4,
"column": 14
},
"end": {
"line": 4,
"column": 21
},
"identifierName": "options"
},
"name": "options"
}
],
"body": {
"type": "BlockStatement",
"start": 56,
"end": 154,
"loc": {
"start": {
"line": 4,
"column": 23
},
"end": {
"line": 7,
"column": 3
}
},
"body": [
{
"type": "IfStatement",
"start": 62,
"end": 120,
"loc": {
"start": {
"line": 5,
"column": 4
},
"end": {
"line": 5,
"column": 62
}
},
"test": {
"type": "BinaryExpression",
"start": 66,
"end": 92,
"loc": {
"start": {
"line": 5,
"column": 8
},
"end": {
"line": 5,
"column": 34
}
},
"left": {
"type": "MemberExpression",
"start": 66,
"end": 78,
"loc": {
"start": {
"line": 5,
"column": 8
},
"end": {
"line": 5,
"column": 20
}
},
"object": {
"type": "Identifier",
"start": 66,
"end": 73,
"loc": {
"start": {
"line": 5,
"column": 8
},
"end": {
"line": 5,
"column": 15
},
"identifierName": "options"
},
"name": "options"
},
"property": {
"type": "Identifier",
"start": 74,
"end": 78,
"loc": {
"start": {
"line": 5,
"column": 16
},
"end": {
"line": 5,
"column": 20
},
"identifierName": "type"
},
"name": "type"
},
"computed": false
},
"operator": "===",
"right": {
"type": "Identifier",
"start": 83,
"end": 92,
"loc": {
"start": {
"line": 5,
"column": 25
},
"end": {
"line": 5,
"column": 34
},
"identifierName": "undefined"
},
"name": "undefined"
}
},
"consequent": {
"type": "ExpressionStatement",
"start": 94,
"end": 120,
"loc": {
"start": {
"line": 5,
"column": 36
},
"end": {
"line": 5,
"column": 62
}
},
"expression": {
"type": "AssignmentExpression",
"start": 94,
"end": 119,
"loc": {
"start": {
"line": 5,
"column": 36
},
"end": {
"line": 5,
"column": 61
}
},
"operator": "=",
"left": {
"type": "Identifier",
"start": 94,
"end": 101,
"loc": {
"start": {
"line": 5,
"column": 36
},
"end": {
"line": 5,
"column": 43
},
"identifierName": "options"
},
"name": "options"
},
"right": {
"type": "ObjectExpression",
"start": 104,
"end": 119,
"loc": {
"start": {
"line": 5,
"column": 46
},
"end": {
"line": 5,
"column": 61
}
},
"properties": [
{
"type": "ObjectProperty",
"start": 105,
"end": 118,
"loc": {
"start": {
"line": 5,
"column": 47
},
"end": {
"line": 5,
"column": 60
}
},
"method": false,
"shorthand": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 105,
"end": 109,
"loc": {
"start": {
"line": 5,
"column": 47
},
"end": {
"line": 5,
"column": 51
},
"identifierName": "type"
},
"name": "type"
},
"value": {
"type": "Identifier",
"start": 111,
"end": 118,
"loc": {
"start": {
"line": 5,
"column": 53
},
"end": {
"line": 5,
"column": 60
},
"identifierName": "options"
},
"name": "options"
}
}
]
}
}
},
"alternate": null
},
{
"type": "ExpressionStatement",
"start": 125,
"end": 150,
"loc": {
"start": {
"line": 6,
"column": 4
},
"end": {
"line": 6,
"column": 29
}
},
"expression": {
"type": "AssignmentExpression",
"start": 125,
"end": 149,
"loc": {
"start": {
"line": 6,
"column": 4
},
"end": {
"line": 6,
"column": 28
}
},
"operator": "=",
"left": {
"type": "MemberExpression",
"start": 125,
"end": 134,
"loc": {
"start": {
"line": 6,
"column": 4
},
"end": {
"line": 6,
"column": 13
}
},
"object": {
"type": "ThisExpression",
"start": 125,
"end": 129,
"loc": {
"start": {
"line": 6,
"column": 4
},
"end": {
"line": 6,
"column": 8
}
}
},
"property": {
"type": "Identifier",
"start": 130,
"end": 134,
"loc": {
"start": {
"line": 6,
"column": 9
},
"end": {
"line": 6,
"column": 13
},
"identifierName": "type"
},
"name": "type"
},
"computed": false
},
"right": {
"type": "MemberExpression",
"start": 137,
"end": 149,
"loc": {
"start": {
"line": 6,
"column": 16
},
"end": {
"line": 6,
"column": 28
}
},
"object": {
"type": "Identifier",
"start": 137,
"end": 144,
"loc": {
"start": {
"line": 6,
"column": 16
},
"end": {
"line": 6,
"column": 23
},
"identifierName": "options"
},
"name": "options"
},
"property": {
"type": "Identifier",
"start": 145,
"end": 149,
"loc": {
"start": {
"line": 6,
"column": 24
},
"end": {
"line": 6,
"column": 28
},
"identifierName": "type"
},
"name": "type"
},
"computed": false
}
}
}
],
"directives": []
}
}
]
}
},
{
"type": "ExpressionStatement",
"start": 158,
"end": 185,
"loc": {
"start": {
"line": 10,
"column": 0
},
"end": {
"line": 10,
"column": 27
}
},
"expression": {
"type": "AssignmentExpression",
"start": 158,
"end": 184,
"loc": {
"start": {
"line": 10,
"column": 0
},
"end": {
"line": 10,
"column": 26
}
},
"operator": "=",
"left": {
"type": "MemberExpression",
"start": 158,
"end": 172,
"loc": {
"start": {
"line": 10,
"column": 0
},
"end": {
"line": 10,
"column": 14
}
},
"object": {
"type": "Identifier",
"start": 158,
"end": 164,
"loc": {
"start": {
"line": 10,
"column": 0
},
"end": {
"line": 10,
"column": 6
},
"identifierName": "module"
},
"name": "module"
},
"property": {
"type": "Identifier",
"start": 165,
"end": 172,
"loc": {
"start": {
"line": 10,
"column": 7
},
"end": {
"line": 10,
"column": 14
},
"identifierName": "exports"
},
"name": "exports"
},
"computed": false
},
"right": {
"type": "Identifier",
"start": 175,
"end": 184,
"loc": {
"start": {
"line": 10,
"column": 17
},
"end": {
"line": 10,
"column": 26
},
"identifierName": "Attribute"
},
"name": "Attribute"
}
}
},
{
"type": "ExpressionStatement",
"start": 186,
"end": 223,
"loc": {
"start": {
"line": 11,
"column": 0
},
"end": {
"line": 11,
"column": 37
}
},
"expression": {
"type": "AssignmentExpression",
"start": 186,
"end": 222,
"loc": {
"start": {
"line": 11,
"column": 0
},
"end": {
"line": 11,
"column": 36
}
},
"operator": "=",
"left": {
"type": "MemberExpression",
"start": 186,
"end": 210,
"loc": {
"start": {
"line": 11,
"column": 0
},
"end": {
"line": 11,
"column": 24
}
},
"object": {
"type": "MemberExpression",
"start": 186,
"end": 200,
"loc": {
"start": {
"line": 11,
"column": 0
},
"end": {
"line": 11,
"column": 14
}
},
"object": {
"type": "Identifier",
"start": 186,
"end": 192,
"loc": {
"start": {
"line": 11,
"column": 0
},
"end": {
"line": 11,
"column": 6
},
"identifierName": "module"
},
"name": "module"
},
"property": {
"type": "Identifier",
"start": 193,
"end": 200,
"loc": {
"start": {
"line": 11,
"column": 7
},
"end": {
"line": 11,
"column": 14
},
"identifierName": "exports"
},
"name": "exports"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 201,
"end": 210,
"loc": {
"start": {
"line": 11,
"column": 15
},
"end": {
"line": 11,
"column": 24
},
"identifierName": "Attribute"
},
"name": "Attribute"
},
"computed": false
},
"right": {
"type": "Identifier",
"start": 213,
"end": 222,
"loc": {
"start": {
"line": 11,
"column": 27
},
"end": {
"line": 11,
"column": 36
},
"identifierName": "Attribute"
},
"name": "Attribute"
}
}
},
{
"type": "ExpressionStatement",
"start": 224,
"end": 259,
"loc": {
"start": {
"line": 12,
"column": 0
},
"end": {
"line": 12,
"column": 35
}
},
"expression": {
"type": "AssignmentExpression",
"start": 224,
"end": 258,
"loc": {
"start": {
"line": 12,
"column": 0
},
"end": {
"line": 12,
"column": 34
}
},
"operator": "=",
"left": {
"type": "MemberExpression",
"start": 224,
"end": 246,
"loc": {
"start": {
"line": 12,
"column": 0
},
"end": {
"line": 12,
"column": 22
}
},
"object": {
"type": "MemberExpression",
"start": 224,
"end": 238,
"loc": {
"start": {
"line": 12,
"column": 0
},
"end": {
"line": 12,
"column": 14
}
},
"object": {
"type": "Identifier",
"start": 224,
"end": 230,
"loc": {
"start": {
"line": 12,
"column": 0
},
"end": {
"line": 12,
"column": 6
},
"identifierName": "module"
},
"name": "module"
},
"property": {
"type": "Identifier",
"start": 231,
"end": 238,
"loc": {
"start": {
"line": 12,
"column": 7
},
"end": {
"line": 12,
"column": 14
},
"identifierName": "exports"
},
"name": "exports"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 239,
"end": 246,
"loc": {
"start": {
"line": 12,
"column": 15
},
"end": {
"line": 12,
"column": 22
},
"identifierName": "default"
},
"name": "default"
},
"computed": false
},
"right": {
"type": "Identifier",
"start": 249,
"end": 258,
"loc": {
"start": {
"line": 12,
"column": 25
},
"end": {
"line": 12,
"column": 34
},
"identifierName": "Attribute"
},
"name": "Attribute"
}
}
}
],
"directives": [
{
"type": "Directive",
"start": 0,
"end": 13,
"loc": {
"start": {
"line": 1,
"column": 0
},
"end": {
"line": 1,
"column": 13
}
},
"value": {
"type": "DirectiveLiteral",
"start": 0,
"end": 12,
"loc": {
"start": {
"line": 1,
"column": 0
},
"end": {
"line": 1,
"column": 12
}
},
"value": "use strict",
"extra": {
"raw": "'use strict'",
"rawValue": "use strict"
}
}
}
]
},
"comments": [],
"tokens": [
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "use strict",
"start": 0,
"end": 12,
"loc": {
"start": {
"line": 1,
"column": 0
},
"end": {
"line": 1,
"column": 12
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 12,
"end": 13,
"loc": {
"start": {
"line": 1,
"column": 12
},
"end": {
"line": 1,
"column": 13
}
}
},
{
"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": 15,
"end": 20,
"loc": {
"start": {
"line": 3,
"column": 0
},
"end": {
"line": 3,
"column": 5
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "Attribute",
"start": 21,
"end": 30,
"loc": {
"start": {
"line": 3,
"column": 6
},
"end": {
"line": 3,
"column": 15
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 31,
"end": 32,
"loc": {
"start": {
"line": 3,
"column": 16
},
"end": {
"line": 3,
"column": 17
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "constructor",
"start": 35,
"end": 46,
"loc": {
"start": {
"line": 4,
"column": 2
},
"end": {
"line": 4,
"column": 13
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 46,
"end": 47,
"loc": {
"start": {
"line": 4,
"column": 13
},
"end": {
"line": 4,
"column": 14
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "options",
"start": 47,
"end": 54,
"loc": {
"start": {
"line": 4,
"column": 14
},
"end": {
"line": 4,
"column": 21
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 54,
"end": 55,
"loc": {
"start": {
"line": 4,
"column": 21
},
"end": {
"line": 4,
"column": 22
}
}
},
{
"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": 4,
"column": 23
},
"end": {
"line": 4,
"column": 24
}
}
},
{
"type": {
"label": "if",
"keyword": "if",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "if",
"start": 62,
"end": 64,
"loc": {
"start": {
"line": 5,
"column": 4
},
"end": {
"line": 5,
"column": 6
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 65,
"end": 66,
"loc": {
"start": {
"line": 5,
"column": 7
},
"end": {
"line": 5,
"column": 8
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "options",
"start": 66,
"end": 73,
"loc": {
"start": {
"line": 5,
"column": 8
},
"end": {
"line": 5,
"column": 15
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 73,
"end": 74,
"loc": {
"start": {
"line": 5,
"column": 15
},
"end": {
"line": 5,
"column": 16
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "type",
"start": 74,
"end": 78,
"loc": {
"start": {
"line": 5,
"column": 16
},
"end": {
"line": 5,
"column": 20
}
}
},
{
"type": {
"label": "==/!=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 6,
"updateContext": null
},
"value": "===",
"start": 79,
"end": 82,
"loc": {
"start": {
"line": 5,
"column": 21
},
"end": {
"line": 5,
"column": 24
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "undefined",
"start": 83,
"end": 92,
"loc": {
"start": {
"line": 5,
"column": 25
},
"end": {
"line": 5,
"column": 34
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 92,
"end": 93,
"loc": {
"start": {
"line": 5,
"column": 34
},
"end": {
"line": 5,
"column": 35
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "options",
"start": 94,
"end": 101,
"loc": {
"start": {
"line": 5,
"column": 36
},
"end": {
"line": 5,
"column": 43
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 102,
"end": 103,
"loc": {
"start": {
"line": 5,
"column": 44
},
"end": {
"line": 5,
"column": 45
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 104,
"end": 105,
"loc": {
"start": {
"line": 5,
"column": 46
},
"end": {
"line": 5,
"column": 47
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "type",
"start": 105,
"end": 109,
"loc": {
"start": {
"line": 5,
"column": 47
},
"end": {
"line": 5,
"column": 51
}
}
},
{
"type": {
"label": ":",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 109,
"end": 110,
"loc": {
"start": {
"line": 5,
"column": 51
},
"end": {
"line": 5,
"column": 52
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "options",
"start": 111,
"end": 118,
"loc": {
"start": {
"line": 5,
"column": 53
},
"end": {
"line": 5,
"column": 60
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 118,
"end": 119,
"loc": {
"start": {
"line": 5,
"column": 60
},
"end": {
"line": 5,
"column": 61
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 119,
"end": 120,
"loc": {
"start": {
"line": 5,
"column": 61
},
"end": {
"line": 5,
"column": 62
}
}
},
{
"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": 125,
"end": 129,
"loc": {
"start": {
"line": 6,
"column": 4
},
"end": {
"line": 6,
"column": 8
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 129,
"end": 130,
"loc": {
"start": {
"line": 6,
"column": 8
},
"end": {
"line": 6,
"column": 9
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "type",
"start": 130,
"end": 134,
"loc": {
"start": {
"line": 6,
"column": 9
},
"end": {
"line": 6,
"column": 13
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 135,
"end": 136,
"loc": {
"start": {
"line": 6,
"column": 14
},
"end": {
"line": 6,
"column": 15
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "options",
"start": 137,
"end": 144,
"loc": {
"start": {
"line": 6,
"column": 16
},
"end": {
"line": 6,
"column": 23
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 144,
"end": 145,
"loc": {
"start": {
"line": 6,
"column": 23
},
"end": {
"line": 6,
"column": 24
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "type",
"start": 145,
"end": 149,
"loc": {
"start": {
"line": 6,
"column": 24
},
"end": {
"line": 6,
"column": 28
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 149,
"end": 150,
"loc": {
"start": {
"line": 6,
"column": 28
},
"end": {
"line": 6,
"column": 29
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 153,
"end": 154,
"loc": {
"start": {
"line": 7,
"column": 2
},
"end": {
"line": 7,
"column": 3
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 155,
"end": 156,
"loc": {
"start": {
"line": 8,
"column": 0
},
"end": {
"line": 8,
"column": 1
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "module",
"start": 158,
"end": 164,
"loc": {
"start": {
"line": 10,
"column": 0
},
"end": {
"line": 10,
"column": 6
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 164,
"end": 165,
"loc": {
"start": {
"line": 10,
"column": 6
},
"end": {
"line": 10,
"column": 7
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "exports",
"start": 165,
"end": 172,
"loc": {
"start": {
"line": 10,
"column": 7
},
"end": {
"line": 10,
"column": 14
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 173,
"end": 174,
"loc": {
"start": {
"line": 10,
"column": 15
},
"end": {
"line": 10,
"column": 16
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "Attribute",
"start": 175,
"end": 184,
"loc": {
"start": {
"line": 10,
"column": 17
},
"end": {
"line": 10,
"column": 26
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 184,
"end": 185,
"loc": {
"start": {
"line": 10,
"column": 26
},
"end": {
"line": 10,
"column": 27
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "module",
"start": 186,
"end": 192,
"loc": {
"start": {
"line": 11,
"column": 0
},
"end": {
"line": 11,
"column": 6
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 192,
"end": 193,
"loc": {
"start": {
"line": 11,
"column": 6
},
"end": {
"line": 11,
"column": 7
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "exports",
"start": 193,
"end": 200,
"loc": {
"start": {
"line": 11,
"column": 7
},
"end": {
"line": 11,
"column": 14
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 200,
"end": 201,
"loc": {
"start": {
"line": 11,
"column": 14
},
"end": {
"line": 11,
"column": 15
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,