UNPKG

1.11 kBJavaScriptView Raw
1"use strict";
2Object.defineProperty(exports, "__esModule", { value: true });
3const codegen_1 = require("./codegen");
4const names = {
5 // validation function arguments
6 data: new codegen_1.Name("data"),
7 // args passed from referencing schema
8 valCxt: new codegen_1.Name("valCxt"),
9 instancePath: new codegen_1.Name("instancePath"),
10 parentData: new codegen_1.Name("parentData"),
11 parentDataProperty: new codegen_1.Name("parentDataProperty"),
12 rootData: new codegen_1.Name("rootData"),
13 dynamicAnchors: new codegen_1.Name("dynamicAnchors"),
14 // function scoped variables
15 vErrors: new codegen_1.Name("vErrors"),
16 errors: new codegen_1.Name("errors"),
17 this: new codegen_1.Name("this"),
18 // "globals"
19 self: new codegen_1.Name("self"),
20 scope: new codegen_1.Name("scope"),
21 // JTD serialize/parse name for JSON string and position
22 json: new codegen_1.Name("json"),
23 jsonPos: new codegen_1.Name("jsonPos"),
24 jsonLen: new codegen_1.Name("jsonLen"),
25 jsonPart: new codegen_1.Name("jsonPart"),
26};
27exports.default = names;
28//# sourceMappingURL=names.js.map
\No newline at end of file