sequelize
Version:
Multi dialect ORM for Node.JS/io.js
2,217 lines (2,216 loc) • 66 kB
JSON
{
"type": "File",
"start": 0,
"end": 314,
"loc": {
"start": {
"line": 1,
"column": 0
},
"end": {
"line": 16,
"column": 0
}
},
"program": {
"type": "Program",
"start": 0,
"end": 314,
"loc": {
"start": {
"line": 1,
"column": 0
},
"end": {
"line": 16,
"column": 0
}
},
"sourceType": "module",
"body": [
{
"type": "VariableDeclaration",
"start": 15,
"end": 70,
"loc": {
"start": {
"line": 3,
"column": 0
},
"end": {
"line": 3,
"column": 55
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 21,
"end": 69,
"loc": {
"start": {
"line": 3,
"column": 6
},
"end": {
"line": 3,
"column": 54
}
},
"id": {
"type": "Identifier",
"start": 21,
"end": 27,
"loc": {
"start": {
"line": 3,
"column": 6
},
"end": {
"line": 3,
"column": 12
},
"identifierName": "hstore"
},
"name": "hstore"
},
"init": {
"type": "CallExpression",
"start": 30,
"end": 69,
"loc": {
"start": {
"line": 3,
"column": 15
},
"end": {
"line": 3,
"column": 54
}
},
"callee": {
"type": "CallExpression",
"start": 30,
"end": 50,
"loc": {
"start": {
"line": 3,
"column": 15
},
"end": {
"line": 3,
"column": 35
}
},
"callee": {
"type": "Identifier",
"start": 30,
"end": 37,
"loc": {
"start": {
"line": 3,
"column": 15
},
"end": {
"line": 3,
"column": 22
},
"identifierName": "require"
},
"name": "require"
},
"arguments": [
{
"type": "StringLiteral",
"start": 38,
"end": 49,
"loc": {
"start": {
"line": 3,
"column": 23
},
"end": {
"line": 3,
"column": 34
}
},
"extra": {
"rawValue": "pg-hstore",
"raw": "'pg-hstore'"
},
"value": "pg-hstore"
}
]
},
"arguments": [
{
"type": "ObjectExpression",
"start": 51,
"end": 68,
"loc": {
"start": {
"line": 3,
"column": 36
},
"end": {
"line": 3,
"column": 53
}
},
"properties": [
{
"type": "ObjectProperty",
"start": 52,
"end": 67,
"loc": {
"start": {
"line": 3,
"column": 37
},
"end": {
"line": 3,
"column": 52
}
},
"method": false,
"shorthand": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 52,
"end": 60,
"loc": {
"start": {
"line": 3,
"column": 37
},
"end": {
"line": 3,
"column": 45
},
"identifierName": "sanitize"
},
"name": "sanitize"
},
"value": {
"type": "BooleanLiteral",
"start": 63,
"end": 67,
"loc": {
"start": {
"line": 3,
"column": 48
},
"end": {
"line": 3,
"column": 52
}
},
"value": true
}
}
]
}
]
}
}
],
"kind": "const"
},
{
"type": "FunctionDeclaration",
"start": 72,
"end": 167,
"loc": {
"start": {
"line": 5,
"column": 0
},
"end": {
"line": 8,
"column": 1
}
},
"id": {
"type": "Identifier",
"start": 81,
"end": 90,
"loc": {
"start": {
"line": 5,
"column": 9
},
"end": {
"line": 5,
"column": 18
},
"identifierName": "stringify"
},
"name": "stringify"
},
"generator": false,
"expression": false,
"async": false,
"params": [
{
"type": "Identifier",
"start": 91,
"end": 95,
"loc": {
"start": {
"line": 5,
"column": 19
},
"end": {
"line": 5,
"column": 23
},
"identifierName": "data"
},
"name": "data"
}
],
"body": {
"type": "BlockStatement",
"start": 97,
"end": 167,
"loc": {
"start": {
"line": 5,
"column": 25
},
"end": {
"line": 8,
"column": 1
}
},
"body": [
{
"type": "IfStatement",
"start": 101,
"end": 132,
"loc": {
"start": {
"line": 6,
"column": 2
},
"end": {
"line": 6,
"column": 33
}
},
"test": {
"type": "BinaryExpression",
"start": 105,
"end": 118,
"loc": {
"start": {
"line": 6,
"column": 6
},
"end": {
"line": 6,
"column": 19
}
},
"left": {
"type": "Identifier",
"start": 105,
"end": 109,
"loc": {
"start": {
"line": 6,
"column": 6
},
"end": {
"line": 6,
"column": 10
},
"identifierName": "data"
},
"name": "data"
},
"operator": "===",
"right": {
"type": "NullLiteral",
"start": 114,
"end": 118,
"loc": {
"start": {
"line": 6,
"column": 15
},
"end": {
"line": 6,
"column": 19
}
}
}
},
"consequent": {
"type": "ReturnStatement",
"start": 120,
"end": 132,
"loc": {
"start": {
"line": 6,
"column": 21
},
"end": {
"line": 6,
"column": 33
}
},
"argument": {
"type": "NullLiteral",
"start": 127,
"end": 131,
"loc": {
"start": {
"line": 6,
"column": 28
},
"end": {
"line": 6,
"column": 32
}
}
}
},
"alternate": null
},
{
"type": "ReturnStatement",
"start": 135,
"end": 165,
"loc": {
"start": {
"line": 7,
"column": 2
},
"end": {
"line": 7,
"column": 32
}
},
"argument": {
"type": "CallExpression",
"start": 142,
"end": 164,
"loc": {
"start": {
"line": 7,
"column": 9
},
"end": {
"line": 7,
"column": 31
}
},
"callee": {
"type": "MemberExpression",
"start": 142,
"end": 158,
"loc": {
"start": {
"line": 7,
"column": 9
},
"end": {
"line": 7,
"column": 25
}
},
"object": {
"type": "Identifier",
"start": 142,
"end": 148,
"loc": {
"start": {
"line": 7,
"column": 9
},
"end": {
"line": 7,
"column": 15
},
"identifierName": "hstore"
},
"name": "hstore"
},
"property": {
"type": "Identifier",
"start": 149,
"end": 158,
"loc": {
"start": {
"line": 7,
"column": 16
},
"end": {
"line": 7,
"column": 25
},
"identifierName": "stringify"
},
"name": "stringify"
},
"computed": false
},
"arguments": [
{
"type": "Identifier",
"start": 159,
"end": 163,
"loc": {
"start": {
"line": 7,
"column": 26
},
"end": {
"line": 7,
"column": 30
},
"identifierName": "data"
},
"name": "data"
}
]
}
}
],
"directives": []
}
},
{
"type": "ExpressionStatement",
"start": 168,
"end": 198,
"loc": {
"start": {
"line": 9,
"column": 0
},
"end": {
"line": 9,
"column": 30
}
},
"expression": {
"type": "AssignmentExpression",
"start": 168,
"end": 197,
"loc": {
"start": {
"line": 9,
"column": 0
},
"end": {
"line": 9,
"column": 29
}
},
"operator": "=",
"left": {
"type": "MemberExpression",
"start": 168,
"end": 185,
"loc": {
"start": {
"line": 9,
"column": 0
},
"end": {
"line": 9,
"column": 17
}
},
"object": {
"type": "Identifier",
"start": 168,
"end": 175,
"loc": {
"start": {
"line": 9,
"column": 0
},
"end": {
"line": 9,
"column": 7
},
"identifierName": "exports"
},
"name": "exports"
},
"property": {
"type": "Identifier",
"start": 176,
"end": 185,
"loc": {
"start": {
"line": 9,
"column": 8
},
"end": {
"line": 9,
"column": 17
},
"identifierName": "stringify"
},
"name": "stringify"
},
"computed": false
},
"right": {
"type": "Identifier",
"start": 188,
"end": 197,
"loc": {
"start": {
"line": 9,
"column": 20
},
"end": {
"line": 9,
"column": 29
},
"identifierName": "stringify"
},
"name": "stringify"
}
}
},
{
"type": "FunctionDeclaration",
"start": 200,
"end": 290,
"loc": {
"start": {
"line": 11,
"column": 0
},
"end": {
"line": 14,
"column": 1
}
},
"id": {
"type": "Identifier",
"start": 209,
"end": 214,
"loc": {
"start": {
"line": 11,
"column": 9
},
"end": {
"line": 11,
"column": 14
},
"identifierName": "parse"
},
"name": "parse"
},
"generator": false,
"expression": false,
"async": false,
"params": [
{
"type": "Identifier",
"start": 215,
"end": 220,
"loc": {
"start": {
"line": 11,
"column": 15
},
"end": {
"line": 11,
"column": 20
},
"identifierName": "value"
},
"name": "value"
}
],
"body": {
"type": "BlockStatement",
"start": 222,
"end": 290,
"loc": {
"start": {
"line": 11,
"column": 22
},
"end": {
"line": 14,
"column": 1
}
},
"body": [
{
"type": "IfStatement",
"start": 226,
"end": 258,
"loc": {
"start": {
"line": 12,
"column": 2
},
"end": {
"line": 12,
"column": 34
}
},
"test": {
"type": "BinaryExpression",
"start": 230,
"end": 244,
"loc": {
"start": {
"line": 12,
"column": 6
},
"end": {
"line": 12,
"column": 20
}
},
"left": {
"type": "Identifier",
"start": 230,
"end": 235,
"loc": {
"start": {
"line": 12,
"column": 6
},
"end": {
"line": 12,
"column": 11
},
"identifierName": "value"
},
"name": "value"
},
"operator": "===",
"right": {
"type": "NullLiteral",
"start": 240,
"end": 244,
"loc": {
"start": {
"line": 12,
"column": 16
},
"end": {
"line": 12,
"column": 20
}
}
}
},
"consequent": {
"type": "ReturnStatement",
"start": 246,
"end": 258,
"loc": {
"start": {
"line": 12,
"column": 22
},
"end": {
"line": 12,
"column": 34
}
},
"argument": {
"type": "NullLiteral",
"start": 253,
"end": 257,
"loc": {
"start": {
"line": 12,
"column": 29
},
"end": {
"line": 12,
"column": 33
}
}
}
},
"alternate": null
},
{
"type": "ReturnStatement",
"start": 261,
"end": 288,
"loc": {
"start": {
"line": 13,
"column": 2
},
"end": {
"line": 13,
"column": 29
}
},
"argument": {
"type": "CallExpression",
"start": 268,
"end": 287,
"loc": {
"start": {
"line": 13,
"column": 9
},
"end": {
"line": 13,
"column": 28
}
},
"callee": {
"type": "MemberExpression",
"start": 268,
"end": 280,
"loc": {
"start": {
"line": 13,
"column": 9
},
"end": {
"line": 13,
"column": 21
}
},
"object": {
"type": "Identifier",
"start": 268,
"end": 274,
"loc": {
"start": {
"line": 13,
"column": 9
},
"end": {
"line": 13,
"column": 15
},
"identifierName": "hstore"
},
"name": "hstore"
},
"property": {
"type": "Identifier",
"start": 275,
"end": 280,
"loc": {
"start": {
"line": 13,
"column": 16
},
"end": {
"line": 13,
"column": 21
},
"identifierName": "parse"
},
"name": "parse"
},
"computed": false
},
"arguments": [
{
"type": "Identifier",
"start": 281,
"end": 286,
"loc": {
"start": {
"line": 13,
"column": 22
},
"end": {
"line": 13,
"column": 27
},
"identifierName": "value"
},
"name": "value"
}
]
}
}
],
"directives": []
}
},
{
"type": "ExpressionStatement",
"start": 291,
"end": 313,
"loc": {
"start": {
"line": 15,
"column": 0
},
"end": {
"line": 15,
"column": 22
}
},
"expression": {
"type": "AssignmentExpression",
"start": 291,
"end": 312,
"loc": {
"start": {
"line": 15,
"column": 0
},
"end": {
"line": 15,
"column": 21
}
},
"operator": "=",
"left": {
"type": "MemberExpression",
"start": 291,
"end": 304,
"loc": {
"start": {
"line": 15,
"column": 0
},
"end": {
"line": 15,
"column": 13
}
},
"object": {
"type": "Identifier",
"start": 291,
"end": 298,
"loc": {
"start": {
"line": 15,
"column": 0
},
"end": {
"line": 15,
"column": 7
},
"identifierName": "exports"
},
"name": "exports"
},
"property": {
"type": "Identifier",
"start": 299,
"end": 304,
"loc": {
"start": {
"line": 15,
"column": 8
},
"end": {
"line": 15,
"column": 13
},
"identifierName": "parse"
},
"name": "parse"
},
"computed": false
},
"right": {
"type": "Identifier",
"start": 307,
"end": 312,
"loc": {
"start": {
"line": 15,
"column": 16
},
"end": {
"line": 15,
"column": 21
},
"identifierName": "parse"
},
"name": "parse"
}
}
}
],
"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": "const",
"keyword": "const",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "const",
"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": "hstore",
"start": 21,
"end": 27,
"loc": {
"start": {
"line": 3,
"column": 6
},
"end": {
"line": 3,
"column": 12
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 28,
"end": 29,
"loc": {
"start": {
"line": 3,
"column": 13
},
"end": {
"line": 3,
"column": 14
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "require",
"start": 30,
"end": 37,
"loc": {
"start": {
"line": 3,
"column": 15
},
"end": {
"line": 3,
"column": 22
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 37,
"end": 38,
"loc": {
"start": {
"line": 3,
"column": 22
},
"end": {
"line": 3,
"column": 23
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "pg-hstore",
"start": 38,
"end": 49,
"loc": {
"start": {
"line": 3,
"column": 23
},
"end": {
"line": 3,
"column": 34
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 49,
"end": 50,
"loc": {
"start": {
"line": 3,
"column": 34
},
"end": {
"line": 3,
"column": 35
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 50,
"end": 51,
"loc": {
"start": {
"line": 3,
"column": 35
},
"end": {
"line": 3,
"column": 36
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 51,
"end": 52,
"loc": {
"start": {
"line": 3,
"column": 36
},
"end": {
"line": 3,
"column": 37
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "sanitize",
"start": 52,
"end": 60,
"loc": {
"start": {
"line": 3,
"column": 37
},
"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": 61,
"end": 62,
"loc": {
"start": {
"line": 3,
"column": 46
},
"end": {
"line": 3,
"column": 47
}
}
},
{
"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": 63,
"end": 67,
"loc": {
"start": {
"line": 3,
"column": 48
},
"end": {
"line": 3,
"column": 52
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 67,
"end": 68,
"loc": {
"start": {
"line": 3,
"column": 52
},
"end": {
"line": 3,
"column": 53
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 68,
"end": 69,
"loc": {
"start": {
"line": 3,
"column": 53
},
"end": {
"line": 3,
"column": 54
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 69,
"end": 70,
"loc": {
"start": {
"line": 3,
"column": 54
},
"end": {
"line": 3,
"column": 55
}
}
},
{
"type": {
"label": "function",
"keyword": "function",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "function",
"start": 72,
"end": 80,
"loc": {
"start": {
"line": 5,
"column": 0
},
"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": "stringify",
"start": 81,
"end": 90,
"loc": {
"start": {
"line": 5,
"column": 9
},
"end": {
"line": 5,
"column": 18
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 90,
"end": 91,
"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": "data",
"start": 91,
"end": 95,
"loc": {
"start": {
"line": 5,
"column": 19
},
"end": {
"line": 5,
"column": 23
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 95,
"end": 96,
"loc": {
"start": {
"line": 5,
"column": 23
},
"end": {
"line": 5,
"column": 24
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 97,
"end": 98,
"loc": {
"start": {
"line": 5,
"column": 25
},
"end": {
"line": 5,
"column": 26
}
}
},
{
"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": 101,
"end": 103,
"loc": {
"start": {
"line": 6,
"column": 2
},
"end": {
"line": 6,
"column": 4
}
}
},
{
"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": 6,
"column": 5
},
"end": {
"line": 6,
"column": 6
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "data",
"start": 105,
"end": 109,
"loc": {
"start": {
"line": 6,
"column": 6
},
"end": {
"line": 6,
"column": 10
}
}
},
{
"type": {
"label": "==/!=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 6,
"updateContext": null
},
"value": "===",
"start": 110,
"end": 113,
"loc": {
"start": {
"line": 6,
"column": 11
},
"end": {
"line": 6,
"column": 14
}
}
},
{
"type": {
"label": "null",
"keyword": "null",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "null",
"start": 114,
"end": 118,
"loc": {
"start": {
"line": 6,
"column": 15
},
"end": {
"line": 6,
"column": 19
}
}
},
{
"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": 6,
"column": 19
},
"end": {
"line": 6,
"column": 20
}
}
},
{
"type": {
"label": "return",
"keyword": "return",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "return",
"start": 120,
"end": 126,
"loc": {
"start": {
"line": 6,
"column": 21
},
"end": {
"line": 6,
"column": 27
}
}
},
{
"type": {
"label": "null",
"keyword": "null",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "null",
"start": 127,
"end": 131,
"loc": {
"start": {
"line": 6,
"column": 28
},
"end": {
"line": 6,
"column": 32
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 131,
"end": 132,
"loc": {
"start": {
"line": 6,
"column": 32
},
"end": {
"line": 6,
"column": 33
}
}
},
{
"type": {
"label": "return",
"keyword": "return",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "return",
"start": 135,
"end": 141,
"loc": {
"start": {
"line": 7,
"column": 2
},
"end": {
"line": 7,
"column": 8
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "hstore",
"start": 142,
"end": 148,
"loc": {
"start": {
"line": 7,
"column": 9
},
"end": {
"line": 7,
"column": 15
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 148,
"end": 149,
"loc": {
"start": {
"line": 7,
"column": 15
},
"end": {
"line": 7,
"column": 16
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "stringify",
"start": 149,
"end": 158,
"loc": {
"start": {
"line": 7,
"column": 16
},
"end": {
"line": 7,
"column": 25
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 158,
"end": 159,
"loc": {
"start": {
"line": 7,
"column": 25
},
"end": {
"line": 7,
"column": 26
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "data",
"start": 159,
"end": 163,
"loc": {
"start": {
"line": 7,
"column": 26
},
"end": {
"line": 7,
"column": 30
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 163,
"end": 164,
"loc": {
"start": {
"line": 7,
"column": 30
},
"end": {
"line": 7,
"column": 31
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 164,
"end": 165,
"loc": {
"start": {
"line": 7,
"column": 31
},
"end": {
"line": 7,
"column": 32
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 166,
"end": 167,
"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": "exports",
"start": 168,
"end": 175,
"loc": {
"start": {
"line": 9,
"column": 0
},
"end": {
"line": 9,
"column": 7
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 175,
"end": 176,
"loc": {
"start": {
"line": 9,
"column": 7
},
"end": {
"line": 9,
"column": 8
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "stringify",
"start": 176,
"end": 185,
"loc": {
"start": {
"line": 9,
"column": 8
},
"end": {
"line": 9,
"column": 17
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 186,
"end": 187,
"loc": {
"start": {
"line": 9,
"column": 18
},
"end": {
"line": 9,
"column": 19
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "stringify",
"start": 188,
"end": 197,
"loc": {
"start": {
"line": 9,
"column": 20
},
"end": {
"line": 9,
"column": 29
}
}
},
{
"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": 9,
"column": 29
},
"end": {
"line": 9,
"column": 30
}
}
},
{
"type": {