summaryrefslogtreecommitdiff
path: root/docs/ast/source/internal/onlyOnce.js.json
diff options
context:
space:
mode:
Diffstat (limited to 'docs/ast/source/internal/onlyOnce.js.json')
-rw-r--r--docs/ast/source/internal/onlyOnce.js.json589
1 files changed, 0 insertions, 589 deletions
diff --git a/docs/ast/source/internal/onlyOnce.js.json b/docs/ast/source/internal/onlyOnce.js.json
deleted file mode 100644
index 3717c34..0000000
--- a/docs/ast/source/internal/onlyOnce.js.json
+++ /dev/null
@@ -1,589 +0,0 @@
-{
- "type": "Program",
- "body": [
- {
- "type": "ExportDefaultDeclaration",
- "declaration": {
- "type": "FunctionDeclaration",
- "id": {
- "type": "Identifier",
- "name": "onlyOnce",
- "range": [
- 24,
- 32
- ],
- "loc": {
- "start": {
- "line": 1,
- "column": 24
- },
- "end": {
- "line": 1,
- "column": 32
- }
- }
- },
- "params": [
- {
- "type": "Identifier",
- "name": "fn",
- "range": [
- 33,
- 35
- ],
- "loc": {
- "start": {
- "line": 1,
- "column": 33
- },
- "end": {
- "line": 1,
- "column": 35
- }
- }
- }
- ],
- "body": {
- "type": "BlockStatement",
- "body": [
- {
- "type": "ReturnStatement",
- "argument": {
- "type": "FunctionExpression",
- "id": null,
- "params": [],
- "body": {
- "type": "BlockStatement",
- "body": [
- {
- "type": "IfStatement",
- "test": {
- "type": "BinaryExpression",
- "operator": "===",
- "left": {
- "type": "Identifier",
- "name": "fn",
- "range": [
- 75,
- 77
- ],
- "loc": {
- "start": {
- "line": 3,
- "column": 12
- },
- "end": {
- "line": 3,
- "column": 14
- }
- }
- },
- "right": {
- "type": "Literal",
- "value": null,
- "raw": "null",
- "range": [
- 82,
- 86
- ],
- "loc": {
- "start": {
- "line": 3,
- "column": 19
- },
- "end": {
- "line": 3,
- "column": 23
- }
- }
- },
- "range": [
- 75,
- 86
- ],
- "loc": {
- "start": {
- "line": 3,
- "column": 12
- },
- "end": {
- "line": 3,
- "column": 23
- }
- }
- },
- "consequent": {
- "type": "ThrowStatement",
- "argument": {
- "type": "NewExpression",
- "callee": {
- "type": "Identifier",
- "name": "Error",
- "range": [
- 98,
- 103
- ],
- "loc": {
- "start": {
- "line": 3,
- "column": 35
- },
- "end": {
- "line": 3,
- "column": 40
- }
- }
- },
- "arguments": [
- {
- "type": "Literal",
- "value": "Callback was already called.",
- "raw": "\"Callback was already called.\"",
- "range": [
- 104,
- 134
- ],
- "loc": {
- "start": {
- "line": 3,
- "column": 41
- },
- "end": {
- "line": 3,
- "column": 71
- }
- }
- }
- ],
- "range": [
- 94,
- 135
- ],
- "loc": {
- "start": {
- "line": 3,
- "column": 31
- },
- "end": {
- "line": 3,
- "column": 72
- }
- }
- },
- "range": [
- 88,
- 136
- ],
- "loc": {
- "start": {
- "line": 3,
- "column": 25
- },
- "end": {
- "line": 3,
- "column": 73
- }
- }
- },
- "alternate": null,
- "range": [
- 71,
- 136
- ],
- "loc": {
- "start": {
- "line": 3,
- "column": 8
- },
- "end": {
- "line": 3,
- "column": 73
- }
- }
- },
- {
- "type": "VariableDeclaration",
- "declarations": [
- {
- "type": "VariableDeclarator",
- "id": {
- "type": "Identifier",
- "name": "callFn",
- "range": [
- 149,
- 155
- ],
- "loc": {
- "start": {
- "line": 4,
- "column": 12
- },
- "end": {
- "line": 4,
- "column": 18
- }
- }
- },
- "init": {
- "type": "Identifier",
- "name": "fn",
- "range": [
- 158,
- 160
- ],
- "loc": {
- "start": {
- "line": 4,
- "column": 21
- },
- "end": {
- "line": 4,
- "column": 23
- }
- }
- },
- "range": [
- 149,
- 160
- ],
- "loc": {
- "start": {
- "line": 4,
- "column": 12
- },
- "end": {
- "line": 4,
- "column": 23
- }
- }
- }
- ],
- "kind": "var",
- "range": [
- 145,
- 161
- ],
- "loc": {
- "start": {
- "line": 4,
- "column": 8
- },
- "end": {
- "line": 4,
- "column": 24
- }
- }
- },
- {
- "type": "ExpressionStatement",
- "expression": {
- "type": "AssignmentExpression",
- "operator": "=",
- "left": {
- "type": "Identifier",
- "name": "fn",
- "range": [
- 170,
- 172
- ],
- "loc": {
- "start": {
- "line": 5,
- "column": 8
- },
- "end": {
- "line": 5,
- "column": 10
- }
- }
- },
- "right": {
- "type": "Literal",
- "value": null,
- "raw": "null",
- "range": [
- 175,
- 179
- ],
- "loc": {
- "start": {
- "line": 5,
- "column": 13
- },
- "end": {
- "line": 5,
- "column": 17
- }
- }
- },
- "range": [
- 170,
- 179
- ],
- "loc": {
- "start": {
- "line": 5,
- "column": 8
- },
- "end": {
- "line": 5,
- "column": 17
- }
- }
- },
- "range": [
- 170,
- 180
- ],
- "loc": {
- "start": {
- "line": 5,
- "column": 8
- },
- "end": {
- "line": 5,
- "column": 18
- }
- }
- },
- {
- "type": "ExpressionStatement",
- "expression": {
- "type": "CallExpression",
- "callee": {
- "type": "MemberExpression",
- "computed": false,
- "object": {
- "type": "Identifier",
- "name": "callFn",
- "range": [
- 189,
- 195
- ],
- "loc": {
- "start": {
- "line": 6,
- "column": 8
- },
- "end": {
- "line": 6,
- "column": 14
- }
- }
- },
- "property": {
- "type": "Identifier",
- "name": "apply",
- "range": [
- 196,
- 201
- ],
- "loc": {
- "start": {
- "line": 6,
- "column": 15
- },
- "end": {
- "line": 6,
- "column": 20
- }
- }
- },
- "range": [
- 189,
- 201
- ],
- "loc": {
- "start": {
- "line": 6,
- "column": 8
- },
- "end": {
- "line": 6,
- "column": 20
- }
- }
- },
- "arguments": [
- {
- "type": "ThisExpression",
- "range": [
- 202,
- 206
- ],
- "loc": {
- "start": {
- "line": 6,
- "column": 21
- },
- "end": {
- "line": 6,
- "column": 25
- }
- }
- },
- {
- "type": "Identifier",
- "name": "arguments",
- "range": [
- 208,
- 217
- ],
- "loc": {
- "start": {
- "line": 6,
- "column": 27
- },
- "end": {
- "line": 6,
- "column": 36
- }
- }
- }
- ],
- "range": [
- 189,
- 218
- ],
- "loc": {
- "start": {
- "line": 6,
- "column": 8
- },
- "end": {
- "line": 6,
- "column": 37
- }
- }
- },
- "range": [
- 189,
- 219
- ],
- "loc": {
- "start": {
- "line": 6,
- "column": 8
- },
- "end": {
- "line": 6,
- "column": 38
- }
- }
- }
- ],
- "range": [
- 61,
- 225
- ],
- "loc": {
- "start": {
- "line": 2,
- "column": 22
- },
- "end": {
- "line": 7,
- "column": 5
- }
- }
- },
- "generator": false,
- "expression": false,
- "range": [
- 50,
- 225
- ],
- "loc": {
- "start": {
- "line": 2,
- "column": 11
- },
- "end": {
- "line": 7,
- "column": 5
- }
- }
- },
- "range": [
- 43,
- 226
- ],
- "loc": {
- "start": {
- "line": 2,
- "column": 4
- },
- "end": {
- "line": 7,
- "column": 6
- }
- }
- }
- ],
- "range": [
- 37,
- 228
- ],
- "loc": {
- "start": {
- "line": 1,
- "column": 37
- },
- "end": {
- "line": 8,
- "column": 1
- }
- }
- },
- "generator": false,
- "expression": false,
- "range": [
- 15,
- 228
- ],
- "loc": {
- "start": {
- "line": 1,
- "column": 15
- },
- "end": {
- "line": 8,
- "column": 1
- }
- },
- "leadingComments": [],
- "trailingComments": []
- },
- "range": [
- 0,
- 228
- ],
- "loc": {
- "start": {
- "line": 1,
- "column": 0
- },
- "end": {
- "line": 8,
- "column": 1
- }
- }
- }
- ],
- "sourceType": "module",
- "range": [
- 0,
- 228
- ],
- "loc": {
- "start": {
- "line": 1,
- "column": 0
- },
- "end": {
- "line": 8,
- "column": 1
- }
- },
- "comments": []
-} \ No newline at end of file