mongoose-data-seed
Version:
Seed mongodb with data using mongoose models
2,016 lines • 63.5 kB
JSON
{
"type": "File",
"start": 0,
"end": 308,
"loc": {
"start": {
"line": 1,
"column": 0
},
"end": {
"line": 16,
"column": 0
}
},
"program": {
"type": "Program",
"start": 0,
"end": 308,
"loc": {
"start": {
"line": 1,
"column": 0
},
"end": {
"line": 16,
"column": 0
}
},
"sourceType": "module",
"body": [
{
"type": "ImportDeclaration",
"start": 0,
"end": 23,
"loc": {
"start": {
"line": 1,
"column": 0
},
"end": {
"line": 1,
"column": 23
}
},
"specifiers": [
{
"type": "ImportDefaultSpecifier",
"start": 7,
"end": 11,
"loc": {
"start": {
"line": 1,
"column": 7
},
"end": {
"line": 1,
"column": 11
}
},
"local": {
"type": "Identifier",
"start": 7,
"end": 11,
"loc": {
"start": {
"line": 1,
"column": 7
},
"end": {
"line": 1,
"column": 11
},
"identifierName": "test"
},
"name": "test"
}
}
],
"source": {
"type": "StringLiteral",
"start": 17,
"end": 22,
"loc": {
"start": {
"line": 1,
"column": 17
},
"end": {
"line": 1,
"column": 22
}
},
"extra": {
"rawValue": "ava",
"raw": "'ava'"
},
"value": "ava"
}
},
{
"type": "ImportDeclaration",
"start": 24,
"end": 50,
"loc": {
"start": {
"line": 2,
"column": 0
},
"end": {
"line": 2,
"column": 26
}
},
"specifiers": [
{
"type": "ImportDefaultSpecifier",
"start": 31,
"end": 36,
"loc": {
"start": {
"line": 2,
"column": 7
},
"end": {
"line": 2,
"column": 12
}
},
"local": {
"type": "Identifier",
"start": 31,
"end": 36,
"loc": {
"start": {
"line": 2,
"column": 7
},
"end": {
"line": 2,
"column": 12
},
"identifierName": "sinon"
},
"name": "sinon"
}
}
],
"source": {
"type": "StringLiteral",
"start": 42,
"end": 49,
"loc": {
"start": {
"line": 2,
"column": 18
},
"end": {
"line": 2,
"column": 25
}
},
"extra": {
"rawValue": "sinon",
"raw": "'sinon'"
},
"value": "sinon"
}
},
{
"type": "ImportDeclaration",
"start": 52,
"end": 91,
"loc": {
"start": {
"line": 4,
"column": 0
},
"end": {
"line": 4,
"column": 39
}
},
"specifiers": [
{
"type": "ImportDefaultSpecifier",
"start": 59,
"end": 69,
"loc": {
"start": {
"line": 4,
"column": 7
},
"end": {
"line": 4,
"column": 17
}
},
"local": {
"type": "Identifier",
"start": 59,
"end": 69,
"loc": {
"start": {
"line": 4,
"column": 7
},
"end": {
"line": 4,
"column": 17
},
"identifierName": "usageGuide"
},
"name": "usageGuide"
}
}
],
"source": {
"type": "StringLiteral",
"start": 75,
"end": 90,
"loc": {
"start": {
"line": 4,
"column": 23
},
"end": {
"line": 4,
"column": 38
}
},
"extra": {
"rawValue": "./usage-guide",
"raw": "'./usage-guide'"
},
"value": "./usage-guide"
}
},
{
"type": "ImportDeclaration",
"start": 92,
"end": 119,
"loc": {
"start": {
"line": 5,
"column": 0
},
"end": {
"line": 5,
"column": 27
}
},
"specifiers": [
{
"type": "ImportDefaultSpecifier",
"start": 99,
"end": 103,
"loc": {
"start": {
"line": 5,
"column": 7
},
"end": {
"line": 5,
"column": 11
}
},
"local": {
"type": "Identifier",
"start": 99,
"end": 103,
"loc": {
"start": {
"line": 5,
"column": 7
},
"end": {
"line": 5,
"column": 11
},
"identifierName": "help"
},
"name": "help"
}
}
],
"source": {
"type": "StringLiteral",
"start": 109,
"end": 118,
"loc": {
"start": {
"line": 5,
"column": 17
},
"end": {
"line": 5,
"column": 26
}
},
"extra": {
"rawValue": "./index",
"raw": "'./index'"
},
"value": "./index"
}
},
{
"type": "ExpressionStatement",
"start": 121,
"end": 307,
"loc": {
"start": {
"line": 7,
"column": 0
},
"end": {
"line": 15,
"column": 3
}
},
"expression": {
"type": "CallExpression",
"start": 121,
"end": 306,
"loc": {
"start": {
"line": 7,
"column": 0
},
"end": {
"line": 15,
"column": 2
}
},
"callee": {
"type": "Identifier",
"start": 121,
"end": 125,
"loc": {
"start": {
"line": 7,
"column": 0
},
"end": {
"line": 7,
"column": 4
},
"identifierName": "test"
},
"name": "test"
},
"arguments": [
{
"type": "StringLiteral",
"start": 126,
"end": 169,
"loc": {
"start": {
"line": 7,
"column": 5
},
"end": {
"line": 7,
"column": 48
}
},
"extra": {
"rawValue": "help command should print the usage guide",
"raw": "'help command should print the usage guide'"
},
"value": "help command should print the usage guide"
},
{
"type": "ArrowFunctionExpression",
"start": 171,
"end": 305,
"loc": {
"start": {
"line": 7,
"column": 50
},
"end": {
"line": 15,
"column": 1
}
},
"id": null,
"generator": false,
"expression": false,
"async": true,
"params": [
{
"type": "Identifier",
"start": 177,
"end": 178,
"loc": {
"start": {
"line": 7,
"column": 56
},
"end": {
"line": 7,
"column": 57
},
"identifierName": "t"
},
"name": "t"
}
],
"body": {
"type": "BlockStatement",
"start": 182,
"end": 305,
"loc": {
"start": {
"line": 7,
"column": 61
},
"end": {
"line": 15,
"column": 1
}
},
"body": [
{
"type": "ExpressionStatement",
"start": 186,
"end": 213,
"loc": {
"start": {
"line": 8,
"column": 2
},
"end": {
"line": 8,
"column": 29
}
},
"expression": {
"type": "CallExpression",
"start": 186,
"end": 212,
"loc": {
"start": {
"line": 8,
"column": 2
},
"end": {
"line": 8,
"column": 28
}
},
"callee": {
"type": "MemberExpression",
"start": 186,
"end": 196,
"loc": {
"start": {
"line": 8,
"column": 2
},
"end": {
"line": 8,
"column": 12
}
},
"object": {
"type": "Identifier",
"start": 186,
"end": 191,
"loc": {
"start": {
"line": 8,
"column": 2
},
"end": {
"line": 8,
"column": 7
},
"identifierName": "sinon"
},
"name": "sinon"
},
"property": {
"type": "Identifier",
"start": 192,
"end": 196,
"loc": {
"start": {
"line": 8,
"column": 8
},
"end": {
"line": 8,
"column": 12
},
"identifierName": "stub"
},
"name": "stub"
},
"computed": false
},
"arguments": [
{
"type": "Identifier",
"start": 197,
"end": 204,
"loc": {
"start": {
"line": 8,
"column": 13
},
"end": {
"line": 8,
"column": 20
},
"identifierName": "console"
},
"name": "console"
},
{
"type": "StringLiteral",
"start": 206,
"end": 211,
"loc": {
"start": {
"line": 8,
"column": 22
},
"end": {
"line": 8,
"column": 27
}
},
"extra": {
"rawValue": "log",
"raw": "'log'"
},
"value": "log"
}
]
}
},
{
"type": "ExpressionStatement",
"start": 217,
"end": 230,
"loc": {
"start": {
"line": 10,
"column": 2
},
"end": {
"line": 10,
"column": 15
}
},
"expression": {
"type": "AwaitExpression",
"start": 217,
"end": 229,
"loc": {
"start": {
"line": 10,
"column": 2
},
"end": {
"line": 10,
"column": 14
}
},
"argument": {
"type": "CallExpression",
"start": 223,
"end": 229,
"loc": {
"start": {
"line": 10,
"column": 8
},
"end": {
"line": 10,
"column": 14
}
},
"callee": {
"type": "Identifier",
"start": 223,
"end": 227,
"loc": {
"start": {
"line": 10,
"column": 8
},
"end": {
"line": 10,
"column": 12
},
"identifierName": "help"
},
"name": "help"
},
"arguments": []
}
}
},
{
"type": "ExpressionStatement",
"start": 234,
"end": 277,
"loc": {
"start": {
"line": 12,
"column": 2
},
"end": {
"line": 12,
"column": 45
}
},
"expression": {
"type": "CallExpression",
"start": 234,
"end": 276,
"loc": {
"start": {
"line": 12,
"column": 2
},
"end": {
"line": 12,
"column": 44
}
},
"callee": {
"type": "MemberExpression",
"start": 234,
"end": 240,
"loc": {
"start": {
"line": 12,
"column": 2
},
"end": {
"line": 12,
"column": 8
}
},
"object": {
"type": "Identifier",
"start": 234,
"end": 235,
"loc": {
"start": {
"line": 12,
"column": 2
},
"end": {
"line": 12,
"column": 3
},
"identifierName": "t"
},
"name": "t"
},
"property": {
"type": "Identifier",
"start": 236,
"end": 240,
"loc": {
"start": {
"line": 12,
"column": 4
},
"end": {
"line": 12,
"column": 8
},
"identifierName": "true"
},
"name": "true"
},
"computed": false
},
"arguments": [
{
"type": "CallExpression",
"start": 241,
"end": 275,
"loc": {
"start": {
"line": 12,
"column": 9
},
"end": {
"line": 12,
"column": 43
}
},
"callee": {
"type": "MemberExpression",
"start": 241,
"end": 263,
"loc": {
"start": {
"line": 12,
"column": 9
},
"end": {
"line": 12,
"column": 31
}
},
"object": {
"type": "MemberExpression",
"start": 241,
"end": 252,
"loc": {
"start": {
"line": 12,
"column": 9
},
"end": {
"line": 12,
"column": 20
}
},
"object": {
"type": "Identifier",
"start": 241,
"end": 248,
"loc": {
"start": {
"line": 12,
"column": 9
},
"end": {
"line": 12,
"column": 16
},
"identifierName": "console"
},
"name": "console"
},
"property": {
"type": "Identifier",
"start": 249,
"end": 252,
"loc": {
"start": {
"line": 12,
"column": 17
},
"end": {
"line": 12,
"column": 20
},
"identifierName": "log"
},
"name": "log"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 253,
"end": 263,
"loc": {
"start": {
"line": 12,
"column": 21
},
"end": {
"line": 12,
"column": 31
},
"identifierName": "calledWith"
},
"name": "calledWith"
},
"computed": false
},
"arguments": [
{
"type": "Identifier",
"start": 264,
"end": 274,
"loc": {
"start": {
"line": 12,
"column": 32
},
"end": {
"line": 12,
"column": 42
},
"identifierName": "usageGuide"
},
"name": "usageGuide"
}
]
}
]
}
},
{
"type": "ExpressionStatement",
"start": 281,
"end": 303,
"loc": {
"start": {
"line": 14,
"column": 2
},
"end": {
"line": 14,
"column": 24
}
},
"expression": {
"type": "CallExpression",
"start": 281,
"end": 302,
"loc": {
"start": {
"line": 14,
"column": 2
},
"end": {
"line": 14,
"column": 23
}
},
"callee": {
"type": "MemberExpression",
"start": 281,
"end": 300,
"loc": {
"start": {
"line": 14,
"column": 2
},
"end": {
"line": 14,
"column": 21
}
},
"object": {
"type": "MemberExpression",
"start": 281,
"end": 292,
"loc": {
"start": {
"line": 14,
"column": 2
},
"end": {
"line": 14,
"column": 13
}
},
"object": {
"type": "Identifier",
"start": 281,
"end": 288,
"loc": {
"start": {
"line": 14,
"column": 2
},
"end": {
"line": 14,
"column": 9
},
"identifierName": "console"
},
"name": "console"
},
"property": {
"type": "Identifier",
"start": 289,
"end": 292,
"loc": {
"start": {
"line": 14,
"column": 10
},
"end": {
"line": 14,
"column": 13
},
"identifierName": "log"
},
"name": "log"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 293,
"end": 300,
"loc": {
"start": {
"line": 14,
"column": 14
},
"end": {
"line": 14,
"column": 21
},
"identifierName": "restore"
},
"name": "restore"
},
"computed": false
},
"arguments": []
}
}
],
"directives": []
}
}
]
}
}
],
"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": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "test",
"start": 7,
"end": 11,
"loc": {
"start": {
"line": 1,
"column": 7
},
"end": {
"line": 1,
"column": 11
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "from",
"start": 12,
"end": 16,
"loc": {
"start": {
"line": 1,
"column": 12
},
"end": {
"line": 1,
"column": 16
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "ava",
"start": 17,
"end": 22,
"loc": {
"start": {
"line": 1,
"column": 17
},
"end": {
"line": 1,
"column": 22
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 22,
"end": 23,
"loc": {
"start": {
"line": 1,
"column": 22
},
"end": {
"line": 1,
"column": 23
}
}
},
{
"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": 24,
"end": 30,
"loc": {
"start": {
"line": 2,
"column": 0
},
"end": {
"line": 2,
"column": 6
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "sinon",
"start": 31,
"end": 36,
"loc": {
"start": {
"line": 2,
"column": 7
},
"end": {
"line": 2,
"column": 12
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "from",
"start": 37,
"end": 41,
"loc": {
"start": {
"line": 2,
"column": 13
},
"end": {
"line": 2,
"column": 17
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "sinon",
"start": 42,
"end": 49,
"loc": {
"start": {
"line": 2,
"column": 18
},
"end": {
"line": 2,
"column": 25
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 49,
"end": 50,
"loc": {
"start": {
"line": 2,
"column": 25
},
"end": {
"line": 2,
"column": 26
}
}
},
{
"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": 52,
"end": 58,
"loc": {
"start": {
"line": 4,
"column": 0
},
"end": {
"line": 4,
"column": 6
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "usageGuide",
"start": 59,
"end": 69,
"loc": {
"start": {
"line": 4,
"column": 7
},
"end": {
"line": 4,
"column": 17
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "from",
"start": 70,
"end": 74,
"loc": {
"start": {
"line": 4,
"column": 18
},
"end": {
"line": 4,
"column": 22
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "./usage-guide",
"start": 75,
"end": 90,
"loc": {
"start": {
"line": 4,
"column": 23
},
"end": {
"line": 4,
"column": 38
}
}
},
{
"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": 4,
"column": 38
},
"end": {
"line": 4,
"column": 39
}
}
},
{
"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": 92,
"end": 98,
"loc": {
"start": {
"line": 5,
"column": 0
},
"end": {
"line": 5,
"column": 6
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "help",
"start": 99,
"end": 103,
"loc": {
"start": {
"line": 5,
"column": 7
},
"end": {
"line": 5,
"column": 11
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "from",
"start": 104,
"end": 108,
"loc": {
"start": {
"line": 5,
"column": 12
},
"end": {
"line": 5,
"column": 16
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "./index",
"start": 109,
"end": 118,
"loc": {
"start": {
"line": 5,
"column": 17
},
"end": {
"line": 5,
"column": 26
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 118,
"end": 119,
"loc": {
"start": {
"line": 5,
"column": 26
},
"end": {
"line": 5,
"column": 27
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "test",
"start": 121,
"end": 125,
"loc": {
"start": {
"line": 7,
"column": 0
},
"end": {
"line": 7,
"column": 4
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 125,
"end": 126,
"loc": {
"start": {
"line": 7,
"column": 4
},
"end": {
"line": 7,
"column": 5
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "help command should print the usage guide",
"start": 126,
"end": 169,
"loc": {
"start": {
"line": 7,
"column": 5
},
"end": {
"line": 7,
"column": 48
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 169,
"end": 170,
"loc": {
"start": {
"line": 7,
"column": 48
},
"end": {
"line": 7,
"column": 49
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "async",
"start": 171,
"end": 176,
"loc": {
"start": {
"line": 7,
"column": 50
},
"end": {
"line": 7,
"column": 55
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "t",
"start": 177,
"end": 178,
"loc": {
"start": {
"line": 7,
"column": 56
},
"end": {
"line": 7,
"column": 57
}
}
},
{
"type": {
"label": "=>",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 179,
"end": 181,
"loc": {
"start": {
"line": 7,
"column": 58
},
"end": {
"line": 7,
"column": 60
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 182,
"end": 183,
"loc": {
"start": {
"line": 7,
"column": 61
},
"end": {
"line": 7,
"column": 62
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "sinon",
"start": 186,
"end": 191,
"loc": {
"start": {
"line": 8,
"column": 2
},
"end": {
"line": 8,
"column": 7
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 191,
"end": 192,
"loc": {
"start": {
"line": 8,
"column": 7
},
"end": {
"line": 8,
"column": 8
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "stub",
"start": 192,
"end": 196,
"loc": {
"start": {
"line": 8,
"column": 8
},
"end": {
"line": 8,
"column": 12
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 196,
"end": 197,
"loc": {
"start": {
"line": 8,
"column": 12
},
"end": {
"line": 8,
"column": 13
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "console",
"start": 197,
"end": 204,
"loc": {
"start": {
"line": 8,
"column": 13
},
"end": {
"line": 8,
"column": 20
}
}
},
{
"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": 8,
"column": 20
},
"end": {
"line": 8,
"column": 21
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "log",
"start": 206,
"end": 211,
"loc": {
"start": {
"line": 8,
"column": 22
},
"end": {
"line": 8,
"column": 27
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 211,
"end": 212,
"loc": {
"start": {
"line": 8,
"column": 27
},
"end": {
"line": 8,
"column": 28
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 212,
"end": 213,
"loc": {
"start": {
"line": 8,
"column": 28
},
"end": {
"line": 8,
"column": 29
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "await",
"start": 217,
"end": 222,
"loc": {
"start": {
"line": 10,
"column": 2
},
"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": "help",
"start": 223,
"end": 227,
"loc": {
"start": {
"line": 10,
"column": 8
},
"end": {
"line": 10,
"column": 12
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 227,
"end": 228,
"loc": {
"start": {
"line": 10,
"column": 12
},
"end": {
"line": 10,
"column": 13
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 228,
"end": 229,
"loc": {
"start": {
"line": 10,
"column": 13
},
"end": {
"line": 10,
"column": 14
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop"