UNPKG

sequelize

Version:

Multi dialect ORM for Node.JS/io.js

521 lines 10.7 kB
{ "type": "File", "start": 0, "end": 62, "loc": { "start": { "line": 1, "column": 0 }, "end": { "line": 4, "column": 0 } }, "program": { "type": "Program", "start": 0, "end": 62, "loc": { "start": { "line": 1, "column": 0 }, "end": { "line": 4, "column": 0 } }, "sourceType": "module", "body": [ { "type": "ExpressionStatement", "start": 15, "end": 61, "loc": { "start": { "line": 3, "column": 0 }, "end": { "line": 3, "column": 46 } }, "expression": { "type": "AssignmentExpression", "start": 15, "end": 60, "loc": { "start": { "line": 3, "column": 0 }, "end": { "line": 3, "column": 45 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 15, "end": 29, "loc": { "start": { "line": 3, "column": 0 }, "end": { "line": 3, "column": 14 } }, "object": { "type": "Identifier", "start": 15, "end": 21, "loc": { "start": { "line": 3, "column": 0 }, "end": { "line": 3, "column": 6 }, "identifierName": "module" }, "name": "module" }, "property": { "type": "Identifier", "start": 22, "end": 29, "loc": { "start": { "line": 3, "column": 7 }, "end": { "line": 3, "column": 14 }, "identifierName": "exports" }, "name": "exports" }, "computed": false }, "right": { "type": "CallExpression", "start": 32, "end": 60, "loc": { "start": { "line": 3, "column": 17 }, "end": { "line": 3, "column": 45 } }, "callee": { "type": "Identifier", "start": 32, "end": 39, "loc": { "start": { "line": 3, "column": 17 }, "end": { "line": 3, "column": 24 }, "identifierName": "require" }, "name": "require" }, "arguments": [ { "type": "StringLiteral", "start": 40, "end": 59, "loc": { "start": { "line": 3, "column": 25 }, "end": { "line": 3, "column": 44 } }, "extra": { "rawValue": "./errors/index.js", "raw": "'./errors/index.js'" }, "value": "./errors/index.js" } ] } } } ], "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": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "module", "start": 15, "end": 21, "loc": { "start": { "line": 3, "column": 0 }, "end": { "line": 3, "column": 6 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 21, "end": 22, "loc": { "start": { "line": 3, "column": 6 }, "end": { "line": 3, "column": 7 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "exports", "start": 22, "end": 29, "loc": { "start": { "line": 3, "column": 7 }, "end": { "line": 3, "column": 14 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 30, "end": 31, "loc": { "start": { "line": 3, "column": 15 }, "end": { "line": 3, "column": 16 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "require", "start": 32, "end": 39, "loc": { "start": { "line": 3, "column": 17 }, "end": { "line": 3, "column": 24 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 39, "end": 40, "loc": { "start": { "line": 3, "column": 24 }, "end": { "line": 3, "column": 25 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "./errors/index.js", "start": 40, "end": 59, "loc": { "start": { "line": 3, "column": 25 }, "end": { "line": 3, "column": 44 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 59, "end": 60, "loc": { "start": { "line": 3, "column": 44 }, "end": { "line": 3, "column": 45 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 60, "end": 61, "loc": { "start": { "line": 3, "column": 45 }, "end": { "line": 3, "column": 46 } } }, { "type": { "label": "eof", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 62, "end": 62, "loc": { "start": { "line": 4, "column": 0 }, "end": { "line": 4, "column": 0 } } } ] }