astn 0.113.32 → 0.113.34
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/implementation/manual/schemas/ide/refiners/parse_tree.js +18 -18
- package/dist/modules/common_tool_signatures/implementation/manual/command_creators/create_file_to_file_command.js +2 -2
- package/dist/modules/common_tool_signatures/implementation/manual/schemas/file_in_file_out/serializers.js +2 -2
- package/dist/modules/common_tool_signatures/implementation/manual/schemas/transform_file/serializers.d.ts +1 -1
- package/dist/modules/common_tool_signatures/implementation/manual/schemas/transform_file/serializers.js +5 -5
- package/package.json +8 -7
- package/dist/implementation/manual/primitives/text/serializers/apostrophed.d.ts +0 -6
- package/dist/implementation/manual/primitives/text/serializers/apostrophed.js +0 -12
- package/dist/implementation/manual/primitives/text/serializers/backticked.d.ts +0 -6
- package/dist/implementation/manual/primitives/text/serializers/backticked.js +0 -12
- package/dist/implementation/manual/primitives/text/serializers/quoted.d.ts +0 -6
- package/dist/implementation/manual/primitives/text/serializers/quoted.js +0 -12
- package/dist/implementation/manual/schemas/annotated_characters/deserializers.d.ts +0 -14
- package/dist/implementation/manual/schemas/annotated_characters/deserializers.js +0 -185
- package/dist/implementation/manual/schemas/deserialize_parse_tree/serializers.d.ts +0 -5
- package/dist/implementation/manual/schemas/deserialize_parse_tree/serializers.js +0 -35
- package/dist/implementation/manual/schemas/deserialize_parse_tree/transformers/fountain_pen.d.ts +0 -10
- package/dist/implementation/manual/schemas/deserialize_parse_tree/transformers/fountain_pen.js +0 -114
- package/dist/implementation/manual/schemas/parse_tree/deserializers.d.ts +0 -10
- package/dist/implementation/manual/schemas/parse_tree/deserializers.js +0 -61
- package/dist/implementation/manual/schemas/parse_tree/productions/new_interface_signatures.d.ts +0 -8
- package/dist/implementation/manual/schemas/parse_tree/productions/new_interface_signatures.js +0 -3
- package/dist/implementation/manual/schemas/parse_tree/productions/temp.d.ts +0 -3
- package/dist/implementation/manual/schemas/parse_tree/productions/temp.js +0 -55
- package/dist/implementation/manual/schemas/parse_tree/productions/token.d.ts +0 -27
- package/dist/implementation/manual/schemas/parse_tree/productions/token.js +0 -184
- package/dist/implementation/manual/schemas/parse_tree/transformers/ide.d.ts +0 -9
- package/dist/implementation/manual/schemas/parse_tree/transformers/ide.js +0 -140
- package/dist/implementation/manual/schemas/sealed_target/serializers.d.ts +0 -4
- package/dist/implementation/manual/schemas/sealed_target/serializers.js +0 -35
- package/dist/implementation/manual/schemas/sealed_target/transformers/fountain_pen_block.d.ts +0 -4
- package/dist/implementation/manual/schemas/sealed_target/transformers/fountain_pen_block.js +0 -125
- package/dist/implementation/manual/schemas/token/productions/annotated_character.d.ts +0 -17
- package/dist/implementation/manual/schemas/token/productions/annotated_character.js +0 -547
- package/dist/implementation/manual/schemas/token/transformers/fountain_pen.d.ts +0 -13
- package/dist/implementation/manual/schemas/token/transformers/fountain_pen.js +0 -53
- package/dist/interface/generated/pareto/schemas/deserialize_parse_tree/data.d.ts +0 -116
- package/dist/interface/generated/pareto/schemas/deserialize_parse_tree/data.js +0 -3
- package/dist/interface/generated/pareto/schemas/deserialize_parse_tree/migrate_boilerplate.d.ts +0 -31
- package/dist/interface/generated/pareto/schemas/deserialize_parse_tree/migrate_boilerplate.js +0 -3
- package/dist/interface/generated/pareto/schemas/parse_tree/data.d.ts +0 -182
- package/dist/interface/generated/pareto/schemas/parse_tree/data.js +0 -3
- package/dist/interface/generated/pareto/schemas/parse_tree/migrate_boilerplate.d.ts +0 -52
- package/dist/interface/generated/pareto/schemas/parse_tree/migrate_boilerplate.js +0 -3
- package/dist/interface/generated/pareto/schemas/sealed_target/data.d.ts +0 -48
- package/dist/interface/generated/pareto/schemas/sealed_target/data.js +0 -3
- package/dist/interface/generated/pareto/schemas/sealed_target/migrate_boilerplate.d.ts +0 -17
- package/dist/interface/generated/pareto/schemas/sealed_target/migrate_boilerplate.js +0 -3
- package/dist/interface/generated/pareto/schemas/token/data.d.ts +0 -121
- package/dist/interface/generated/pareto/schemas/token/data.js +0 -3
- package/dist/interface/generated/pareto/schemas/token/migrate_boilerplate.d.ts +0 -73
- package/dist/interface/generated/pareto/schemas/token/migrate_boilerplate.js +0 -3
- package/dist/interface/signatures/refiners/ide/refiners.d.ts +0 -17
- package/dist/interface/signatures/refiners/ide/refiners.js +0 -3
- package/dist/interface/signatures/transformers/parse_tree/ide.d.ts +0 -17
- package/dist/interface/signatures/transformers/parse_tree/ide.js +0 -3
- package/dist/interface/to_be_generated/annotated_characters.d.ts +0 -14
- package/dist/interface/to_be_generated/annotated_characters.js +0 -3
|
@@ -1,53 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
-
if (k2 === undefined) k2 = k;
|
|
4
|
-
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
-
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
-
}
|
|
8
|
-
Object.defineProperty(o, k2, desc);
|
|
9
|
-
}) : (function(o, m, k, k2) {
|
|
10
|
-
if (k2 === undefined) k2 = k;
|
|
11
|
-
o[k2] = m[k];
|
|
12
|
-
}));
|
|
13
|
-
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
14
|
-
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
15
|
-
}) : function(o, v) {
|
|
16
|
-
o["default"] = v;
|
|
17
|
-
});
|
|
18
|
-
var __importStar = (this && this.__importStar) || function (mod) {
|
|
19
|
-
if (mod && mod.__esModule) return mod;
|
|
20
|
-
var result = {};
|
|
21
|
-
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
22
|
-
__setModuleDefault(result, mod);
|
|
23
|
-
return result;
|
|
24
|
-
};
|
|
25
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
26
|
-
exports.Location = exports.Range = void 0;
|
|
27
|
-
const _p = __importStar(require("pareto-core-transformer"));
|
|
28
|
-
const sh = __importStar(require("pareto-fountain-pen/dist/shorthands/block"));
|
|
29
|
-
const Range = ($, $p) => sh.b.sub([
|
|
30
|
-
$p['with @'] ? sh.b.snippet(`@ `) : sh.b.nothing(),
|
|
31
|
-
sh.b.snippet($.start.relative.uri),
|
|
32
|
-
sh.b.snippet(`:`),
|
|
33
|
-
sh.b.snippet("" + $.start.relative.line + _p.sg($p['position info'], ($) => ($[0] === 'zero based' ? 0 : 1))),
|
|
34
|
-
sh.b.snippet(`:`),
|
|
35
|
-
sh.b.snippet("" + ($.start.relative.column + _p.sg($p['position info'], ($) => ($[0] === 'zero based' ? 0 : 1)))),
|
|
36
|
-
sh.b.snippet(`-`),
|
|
37
|
-
sh.b.snippet("" + $.end.relative.line + _p.sg($p['position info'], ($) => ($[0] === 'zero based' ? 0 : 1))),
|
|
38
|
-
sh.b.snippet(`:`),
|
|
39
|
-
sh.b.snippet("" + ($.end.relative.column + _p.sg($p['position info'], ($) => ($[0] === 'zero based' ? 0 : 1))))
|
|
40
|
-
]);
|
|
41
|
-
exports.Range = Range;
|
|
42
|
-
const Location = ($, $p) => {
|
|
43
|
-
return sh.b.sub([
|
|
44
|
-
$p['with @'] ? sh.b.snippet(`@ `) : sh.b.nothing(),
|
|
45
|
-
sh.b.snippet($.relative.uri),
|
|
46
|
-
sh.b.snippet(`:`),
|
|
47
|
-
sh.b.snippet("" + $.relative.line + _p.sg($p['position info'], ($) => ($[0] === 'zero based' ? 0 : 1))),
|
|
48
|
-
sh.b.snippet(`:`),
|
|
49
|
-
sh.b.snippet("" + ($.relative.column + _p.sg($p['position info'], ($) => ($[0] === 'zero based' ? 0 : 1)))),
|
|
50
|
-
]);
|
|
51
|
-
};
|
|
52
|
-
exports.Location = Location;
|
|
53
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZm91bnR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QixFQUFFLENBQUMsQ0FBQyxDQUFDLE9BQU8sQ0FBQyxFQUFFLEdBQUcsQ0FBQyxDQUFDLENBQUMsUUFBUSxDQUFDLE1BQU0sR0FBRyxFQUFFLENBQUMsRUFBRSxDQUFDLEVBQUUsQ0FBQyxlQUFlLENBQUMsRUFBRSxDQUFDLENBQUMsRUFBRSxFQUFFLENBQUMsQ0FBQyxDQUFDLENBQUMsQ0FBQyxDQUFDLEtBQUssWUFBWSxDQUFDLENBQUMsQ0FBQyxDQUFDLENBQUMsQ0FBQyxDQUFDLENBQUMsQ0FBQyxDQUFDLENBQUMsQ0FBQztLQUM5RyxDQUFDLENBQUE7QUFDTixDQUFDLENBQUE7QUFUWSxRQUFBLFFBQVEsWUFTcEIifQ==
|
|
@@ -1,116 +0,0 @@
|
|
|
1
|
-
import * as _pi from "pareto-core-interface";
|
|
2
|
-
import * as i__imports_token from "../token/data";
|
|
3
|
-
export declare namespace Lexer_Error_ {
|
|
4
|
-
namespace unexpected_control_character {
|
|
5
|
-
type character = number;
|
|
6
|
-
type location = i__imports_token.Location;
|
|
7
|
-
}
|
|
8
|
-
type unexpected_control_character = {
|
|
9
|
-
readonly 'character': unexpected_control_character.character;
|
|
10
|
-
readonly 'location': unexpected_control_character.location;
|
|
11
|
-
};
|
|
12
|
-
namespace missing_character_after_escape {
|
|
13
|
-
type character = number;
|
|
14
|
-
type location = i__imports_token.Location;
|
|
15
|
-
}
|
|
16
|
-
type missing_character_after_escape = {
|
|
17
|
-
readonly 'character': missing_character_after_escape.character;
|
|
18
|
-
readonly 'location': missing_character_after_escape.location;
|
|
19
|
-
};
|
|
20
|
-
namespace unexpected_end_of_line_in_delimited_text {
|
|
21
|
-
type range = i__imports_token.Range;
|
|
22
|
-
}
|
|
23
|
-
type unexpected_end_of_line_in_delimited_text = {
|
|
24
|
-
readonly 'range': unexpected_end_of_line_in_delimited_text.range;
|
|
25
|
-
};
|
|
26
|
-
namespace unexpected_character {
|
|
27
|
-
type character = number;
|
|
28
|
-
type location = i__imports_token.Location;
|
|
29
|
-
}
|
|
30
|
-
type unexpected_character = {
|
|
31
|
-
readonly 'character': unexpected_character.character;
|
|
32
|
-
readonly 'location': unexpected_character.location;
|
|
33
|
-
};
|
|
34
|
-
namespace unterminated_text {
|
|
35
|
-
type range = i__imports_token.Range;
|
|
36
|
-
}
|
|
37
|
-
type unterminated_text = {
|
|
38
|
-
readonly 'range': unterminated_text.range;
|
|
39
|
-
};
|
|
40
|
-
namespace unterminated_block_comment {
|
|
41
|
-
type range = i__imports_token.Range;
|
|
42
|
-
}
|
|
43
|
-
type unterminated_block_comment = {
|
|
44
|
-
readonly 'range': unterminated_block_comment.range;
|
|
45
|
-
};
|
|
46
|
-
namespace unterminated_unicode_escape_sequence {
|
|
47
|
-
type range = i__imports_token.Range;
|
|
48
|
-
}
|
|
49
|
-
type unterminated_unicode_escape_sequence = {
|
|
50
|
-
readonly 'range': unterminated_unicode_escape_sequence.range;
|
|
51
|
-
};
|
|
52
|
-
namespace invalid_unicode_escape_sequence {
|
|
53
|
-
type range = i__imports_token.Range;
|
|
54
|
-
}
|
|
55
|
-
type invalid_unicode_escape_sequence = {
|
|
56
|
-
readonly 'range': invalid_unicode_escape_sequence.range;
|
|
57
|
-
};
|
|
58
|
-
namespace unknown_escape_character {
|
|
59
|
-
type range = i__imports_token.Range;
|
|
60
|
-
}
|
|
61
|
-
type unknown_escape_character = {
|
|
62
|
-
readonly 'range': unknown_escape_character.range;
|
|
63
|
-
};
|
|
64
|
-
namespace dangling_slash {
|
|
65
|
-
type location = i__imports_token.Location;
|
|
66
|
-
}
|
|
67
|
-
type dangling_slash = {
|
|
68
|
-
readonly 'location': dangling_slash.location;
|
|
69
|
-
};
|
|
70
|
-
}
|
|
71
|
-
export type Lexer_Error_ = readonly ['unexpected control character', Lexer_Error_.unexpected_control_character] | readonly ['missing character after escape', Lexer_Error_.missing_character_after_escape] | readonly ['unexpected end of line in delimited text', Lexer_Error_.unexpected_end_of_line_in_delimited_text] | readonly ['unexpected character', Lexer_Error_.unexpected_character] | readonly ['unterminated text', Lexer_Error_.unterminated_text] | readonly ['unterminated block comment', Lexer_Error_.unterminated_block_comment] | readonly ['unterminated unicode escape sequence', Lexer_Error_.unterminated_unicode_escape_sequence] | readonly ['invalid unicode escape sequence', Lexer_Error_.invalid_unicode_escape_sequence] | readonly ['unknown escape character', Lexer_Error_.unknown_escape_character] | readonly ['dangling slash', Lexer_Error_.dangling_slash];
|
|
72
|
-
export declare namespace Expected_ {
|
|
73
|
-
type a_text_value = null;
|
|
74
|
-
type any_value = null;
|
|
75
|
-
type $ex_ = null;
|
|
76
|
-
type $gt_ = null;
|
|
77
|
-
type $cc_ = null;
|
|
78
|
-
type $at_ = null;
|
|
79
|
-
type $cm_ = null;
|
|
80
|
-
type $cl_ = null;
|
|
81
|
-
type $pc_ = null;
|
|
82
|
-
type $bc_ = null;
|
|
83
|
-
type $ha_ = null;
|
|
84
|
-
}
|
|
85
|
-
export type Expected_ = readonly ['a text value', Expected_.a_text_value] | readonly ['any value', Expected_.any_value] | readonly ['!', Expected_.$ex_] | readonly ['>', Expected_.$gt_] | readonly ['}', Expected_.$cc_] | readonly ['@', Expected_.$at_] | readonly [',', Expected_.$cm_] | readonly [':', Expected_.$cl_] | readonly [')', Expected_.$pc_] | readonly [']', Expected_.$bc_] | readonly ['#', Expected_.$ha_];
|
|
86
|
-
export declare namespace Parser_Error_ {
|
|
87
|
-
namespace expected {
|
|
88
|
-
type L = Expected_;
|
|
89
|
-
}
|
|
90
|
-
type expected = _pi.List<expected.L>;
|
|
91
|
-
namespace cause {
|
|
92
|
-
type missing_token = null;
|
|
93
|
-
namespace unexpected_token {
|
|
94
|
-
type found = i__imports_token.Annotated_Token;
|
|
95
|
-
}
|
|
96
|
-
type unexpected_token = {
|
|
97
|
-
readonly 'found': unexpected_token.found;
|
|
98
|
-
};
|
|
99
|
-
}
|
|
100
|
-
type cause = readonly ['missing token', cause.missing_token] | readonly ['unexpected token', cause.unexpected_token];
|
|
101
|
-
}
|
|
102
|
-
export type Parser_Error_ = {
|
|
103
|
-
readonly 'expected': Parser_Error_.expected;
|
|
104
|
-
readonly 'cause': Parser_Error_.cause;
|
|
105
|
-
};
|
|
106
|
-
export declare namespace Error_ {
|
|
107
|
-
namespace _type {
|
|
108
|
-
type lexer = Lexer_Error_;
|
|
109
|
-
type parser = Parser_Error_;
|
|
110
|
-
}
|
|
111
|
-
type _type = readonly ['lexer', _type.lexer] | readonly ['parser', _type.parser];
|
|
112
|
-
}
|
|
113
|
-
export type Error_ = {
|
|
114
|
-
readonly 'type': Error_._type;
|
|
115
|
-
};
|
|
116
|
-
export { Lexer_Error_ as Lexer_Error, Expected_ as Expected, Parser_Error_ as Parser_Error, Error_ as Error, };
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZGF0YS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL3NyYy9pbnRlcmZhY2UvZ2VuZXJhdGVkL3BhcmV0by9zY2hlbWFzL2Rlc2VyaWFsaXplX3BhcnNlX3RyZWUvZGF0YS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiIn0=
|
package/dist/interface/generated/pareto/schemas/deserialize_parse_tree/migrate_boilerplate.d.ts
DELETED
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
import * as i_out from "./data";
|
|
2
|
-
import * as i_in from "./data";
|
|
3
|
-
export declare namespace Lexer_Error_ {
|
|
4
|
-
type I = i_in.Lexer_Error;
|
|
5
|
-
type O = i_out.Lexer_Error;
|
|
6
|
-
namespace P {
|
|
7
|
-
}
|
|
8
|
-
}
|
|
9
|
-
export type Lexer_Error_ = ($$_: Lexer_Error_.I) => Lexer_Error_.O;
|
|
10
|
-
export declare namespace Expected_ {
|
|
11
|
-
type I = i_in.Expected;
|
|
12
|
-
type O = i_out.Expected;
|
|
13
|
-
namespace P {
|
|
14
|
-
}
|
|
15
|
-
}
|
|
16
|
-
export type Expected_ = ($$_: Expected_.I) => Expected_.O;
|
|
17
|
-
export declare namespace Parser_Error_ {
|
|
18
|
-
type I = i_in.Parser_Error;
|
|
19
|
-
type O = i_out.Parser_Error;
|
|
20
|
-
namespace P {
|
|
21
|
-
}
|
|
22
|
-
}
|
|
23
|
-
export type Parser_Error_ = ($$_: Parser_Error_.I) => Parser_Error_.O;
|
|
24
|
-
export declare namespace Error_ {
|
|
25
|
-
type I = i_in.Error;
|
|
26
|
-
type O = i_out.Error;
|
|
27
|
-
namespace P {
|
|
28
|
-
}
|
|
29
|
-
}
|
|
30
|
-
export type Error_ = ($$_: Error_.I) => Error_.O;
|
|
31
|
-
export { Lexer_Error_ as Lexer_Error, Expected_ as Expected, Parser_Error_ as Parser_Error, Error_ as Error, };
|
package/dist/interface/generated/pareto/schemas/deserialize_parse_tree/migrate_boilerplate.js
DELETED
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibWlncmF0ZV9ib2lsZXJwbGF0ZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL3NyYy9pbnRlcmZhY2UvZ2VuZXJhdGVkL3BhcmV0by9zY2hlbWFzL2Rlc2VyaWFsaXplX3BhcnNlX3RyZWUvbWlncmF0ZV9ib2lsZXJwbGF0ZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiIn0=
|
|
@@ -1,182 +0,0 @@
|
|
|
1
|
-
import * as _pi from "pareto-core-interface";
|
|
2
|
-
import * as i__imports_token from "../token/data";
|
|
3
|
-
export declare namespace Structural_Token_ {
|
|
4
|
-
type trailing_trivia = i__imports_token.Trivia;
|
|
5
|
-
type range = i__imports_token.Range;
|
|
6
|
-
}
|
|
7
|
-
export type Structural_Token_ = {
|
|
8
|
-
readonly 'trailing trivia': Structural_Token_.trailing_trivia;
|
|
9
|
-
readonly 'range': Structural_Token_.range;
|
|
10
|
-
};
|
|
11
|
-
export declare namespace Text_ {
|
|
12
|
-
type trailing_trivia = i__imports_token.Trivia;
|
|
13
|
-
type range = i__imports_token.Range;
|
|
14
|
-
type value = string;
|
|
15
|
-
type _type = i__imports_token.Text_Type;
|
|
16
|
-
}
|
|
17
|
-
export type Text_ = {
|
|
18
|
-
readonly 'trailing trivia': Text_.trailing_trivia;
|
|
19
|
-
readonly 'range': Text_.range;
|
|
20
|
-
readonly 'value': Text_.value;
|
|
21
|
-
readonly 'type': Text_._type;
|
|
22
|
-
};
|
|
23
|
-
export declare namespace Key_Value_Pairs_ {
|
|
24
|
-
namespace L {
|
|
25
|
-
type key = Text_;
|
|
26
|
-
namespace value {
|
|
27
|
-
namespace O {
|
|
28
|
-
type $cl_ = Structural_Token_;
|
|
29
|
-
type value = Value_;
|
|
30
|
-
}
|
|
31
|
-
type O = {
|
|
32
|
-
readonly ':': O.$cl_;
|
|
33
|
-
readonly 'value': O.value;
|
|
34
|
-
};
|
|
35
|
-
}
|
|
36
|
-
type value = _pi.Optional_Value<value.O>;
|
|
37
|
-
}
|
|
38
|
-
type L = {
|
|
39
|
-
readonly 'key': L.key;
|
|
40
|
-
readonly 'value': L.value;
|
|
41
|
-
};
|
|
42
|
-
}
|
|
43
|
-
export type Key_Value_Pairs_ = _pi.List<Key_Value_Pairs_.L>;
|
|
44
|
-
export declare namespace Elements_ {
|
|
45
|
-
namespace L {
|
|
46
|
-
type value = Value_;
|
|
47
|
-
}
|
|
48
|
-
type L = {
|
|
49
|
-
readonly 'value': L.value;
|
|
50
|
-
};
|
|
51
|
-
}
|
|
52
|
-
export type Elements_ = _pi.List<Elements_.L>;
|
|
53
|
-
export declare namespace Value_ {
|
|
54
|
-
namespace _type {
|
|
55
|
-
namespace concrete {
|
|
56
|
-
namespace dictionary {
|
|
57
|
-
type $co_ = Structural_Token_;
|
|
58
|
-
type entries = Key_Value_Pairs_;
|
|
59
|
-
type $cc_ = Structural_Token_;
|
|
60
|
-
}
|
|
61
|
-
type dictionary = {
|
|
62
|
-
readonly '{': dictionary.$co_;
|
|
63
|
-
readonly 'entries': dictionary.entries;
|
|
64
|
-
readonly '}': dictionary.$cc_;
|
|
65
|
-
};
|
|
66
|
-
namespace group {
|
|
67
|
-
namespace concise {
|
|
68
|
-
type $st_ = Structural_Token_;
|
|
69
|
-
type elements = Elements_;
|
|
70
|
-
type $gt_ = Structural_Token_;
|
|
71
|
-
}
|
|
72
|
-
type concise = {
|
|
73
|
-
readonly '<': concise.$st_;
|
|
74
|
-
readonly 'elements': concise.elements;
|
|
75
|
-
readonly '>': concise.$gt_;
|
|
76
|
-
};
|
|
77
|
-
namespace verbose {
|
|
78
|
-
type $po_ = Structural_Token_;
|
|
79
|
-
type entries = Key_Value_Pairs_;
|
|
80
|
-
type $pc_ = Structural_Token_;
|
|
81
|
-
}
|
|
82
|
-
type verbose = {
|
|
83
|
-
readonly '(': verbose.$po_;
|
|
84
|
-
readonly 'entries': verbose.entries;
|
|
85
|
-
readonly ')': verbose.$pc_;
|
|
86
|
-
};
|
|
87
|
-
}
|
|
88
|
-
type group = readonly ['concise', group.concise] | readonly ['verbose', group.verbose];
|
|
89
|
-
namespace list {
|
|
90
|
-
type $bo_ = Structural_Token_;
|
|
91
|
-
type elements = Elements_;
|
|
92
|
-
type $bc_ = Structural_Token_;
|
|
93
|
-
}
|
|
94
|
-
type list = {
|
|
95
|
-
readonly '[': list.$bo_;
|
|
96
|
-
readonly 'elements': list.elements;
|
|
97
|
-
readonly ']': list.$bc_;
|
|
98
|
-
};
|
|
99
|
-
namespace nothing {
|
|
100
|
-
type $ti_ = Structural_Token_;
|
|
101
|
-
}
|
|
102
|
-
type nothing = {
|
|
103
|
-
readonly '~': nothing.$ti_;
|
|
104
|
-
};
|
|
105
|
-
namespace optional {
|
|
106
|
-
namespace _set {
|
|
107
|
-
type $sr_ = Structural_Token_;
|
|
108
|
-
type value = Value_;
|
|
109
|
-
}
|
|
110
|
-
type _set = {
|
|
111
|
-
readonly '*': _set.$sr_;
|
|
112
|
-
readonly 'value': _set.value;
|
|
113
|
-
};
|
|
114
|
-
}
|
|
115
|
-
type optional = readonly ['set', optional._set];
|
|
116
|
-
namespace state_group {
|
|
117
|
-
type $vb_ = Structural_Token_;
|
|
118
|
-
namespace status {
|
|
119
|
-
namespace missing_data {
|
|
120
|
-
type $ha_ = Structural_Token_;
|
|
121
|
-
}
|
|
122
|
-
type missing_data = {
|
|
123
|
-
readonly '#': missing_data.$ha_;
|
|
124
|
-
};
|
|
125
|
-
namespace _set {
|
|
126
|
-
type state = Text_;
|
|
127
|
-
type value = Value_;
|
|
128
|
-
}
|
|
129
|
-
type _set = {
|
|
130
|
-
readonly 'state': _set.state;
|
|
131
|
-
readonly 'value': _set.value;
|
|
132
|
-
};
|
|
133
|
-
}
|
|
134
|
-
type status = readonly ['missing data', status.missing_data] | readonly ['set', status._set];
|
|
135
|
-
}
|
|
136
|
-
type state_group = {
|
|
137
|
-
readonly '|': state_group.$vb_;
|
|
138
|
-
readonly 'status': state_group.status;
|
|
139
|
-
};
|
|
140
|
-
type text = Text_;
|
|
141
|
-
}
|
|
142
|
-
type concrete = readonly ['dictionary', concrete.dictionary] | readonly ['group', concrete.group] | readonly ['list', concrete.list] | readonly ['nothing', concrete.nothing] | readonly ['optional', concrete.optional] | readonly ['state group', concrete.state_group] | readonly ['text', concrete.text];
|
|
143
|
-
namespace include {
|
|
144
|
-
type $at_ = Structural_Token_;
|
|
145
|
-
type path = Text_;
|
|
146
|
-
}
|
|
147
|
-
type include = {
|
|
148
|
-
readonly '@': include.$at_;
|
|
149
|
-
readonly 'path': include.path;
|
|
150
|
-
};
|
|
151
|
-
namespace missing_data {
|
|
152
|
-
type $ha_ = Structural_Token_;
|
|
153
|
-
}
|
|
154
|
-
type missing_data = {
|
|
155
|
-
readonly '#': missing_data.$ha_;
|
|
156
|
-
};
|
|
157
|
-
}
|
|
158
|
-
type _type = readonly ['concrete', _type.concrete] | readonly ['include', _type.include] | readonly ['missing data', _type.missing_data];
|
|
159
|
-
}
|
|
160
|
-
export type Value_ = {
|
|
161
|
-
readonly 'type': Value_._type;
|
|
162
|
-
};
|
|
163
|
-
export type Content_ = Value_;
|
|
164
|
-
export declare namespace Document_ {
|
|
165
|
-
namespace header {
|
|
166
|
-
namespace O {
|
|
167
|
-
type $ex_ = Structural_Token_;
|
|
168
|
-
type value = Value_;
|
|
169
|
-
}
|
|
170
|
-
type O = {
|
|
171
|
-
readonly '!': O.$ex_;
|
|
172
|
-
readonly 'value': O.value;
|
|
173
|
-
};
|
|
174
|
-
}
|
|
175
|
-
type header = _pi.Optional_Value<header.O>;
|
|
176
|
-
type content = Content_;
|
|
177
|
-
}
|
|
178
|
-
export type Document_ = {
|
|
179
|
-
readonly 'header': Document_.header;
|
|
180
|
-
readonly 'content': Document_.content;
|
|
181
|
-
};
|
|
182
|
-
export { Structural_Token_ as Structural_Token, Text_ as Text, Key_Value_Pairs_ as Key_Value_Pairs, Elements_ as Elements, Value_ as Value, Content_ as Content, Document_ as Document, };
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZGF0YS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL3NyYy9pbnRlcmZhY2UvZ2VuZXJhdGVkL3BhcmV0by9zY2hlbWFzL3BhcnNlX3RyZWUvZGF0YS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiIn0=
|
|
@@ -1,52 +0,0 @@
|
|
|
1
|
-
import * as i_out from "./data";
|
|
2
|
-
import * as i_in from "./data";
|
|
3
|
-
export declare namespace Structural_Token_ {
|
|
4
|
-
type I = i_in.Structural_Token;
|
|
5
|
-
type O = i_out.Structural_Token;
|
|
6
|
-
namespace P {
|
|
7
|
-
}
|
|
8
|
-
}
|
|
9
|
-
export type Structural_Token_ = ($$_: Structural_Token_.I) => Structural_Token_.O;
|
|
10
|
-
export declare namespace Text_ {
|
|
11
|
-
type I = i_in.Text;
|
|
12
|
-
type O = i_out.Text;
|
|
13
|
-
namespace P {
|
|
14
|
-
}
|
|
15
|
-
}
|
|
16
|
-
export type Text_ = ($$_: Text_.I) => Text_.O;
|
|
17
|
-
export declare namespace Key_Value_Pairs_ {
|
|
18
|
-
type I = i_in.Key_Value_Pairs;
|
|
19
|
-
type O = i_out.Key_Value_Pairs;
|
|
20
|
-
namespace P {
|
|
21
|
-
}
|
|
22
|
-
}
|
|
23
|
-
export type Key_Value_Pairs_ = ($$_: Key_Value_Pairs_.I) => Key_Value_Pairs_.O;
|
|
24
|
-
export declare namespace Elements_ {
|
|
25
|
-
type I = i_in.Elements;
|
|
26
|
-
type O = i_out.Elements;
|
|
27
|
-
namespace P {
|
|
28
|
-
}
|
|
29
|
-
}
|
|
30
|
-
export type Elements_ = ($$_: Elements_.I) => Elements_.O;
|
|
31
|
-
export declare namespace Value_ {
|
|
32
|
-
type I = i_in.Value;
|
|
33
|
-
type O = i_out.Value;
|
|
34
|
-
namespace P {
|
|
35
|
-
}
|
|
36
|
-
}
|
|
37
|
-
export type Value_ = ($$_: Value_.I) => Value_.O;
|
|
38
|
-
export declare namespace Content_ {
|
|
39
|
-
type I = i_in.Content;
|
|
40
|
-
type O = i_out.Content;
|
|
41
|
-
namespace P {
|
|
42
|
-
}
|
|
43
|
-
}
|
|
44
|
-
export type Content_ = ($$_: Content_.I) => Content_.O;
|
|
45
|
-
export declare namespace Document_ {
|
|
46
|
-
type I = i_in.Document;
|
|
47
|
-
type O = i_out.Document;
|
|
48
|
-
namespace P {
|
|
49
|
-
}
|
|
50
|
-
}
|
|
51
|
-
export type Document_ = ($$_: Document_.I) => Document_.O;
|
|
52
|
-
export { Structural_Token_ as Structural_Token, Text_ as Text, Key_Value_Pairs_ as Key_Value_Pairs, Elements_ as Elements, Value_ as Value, Content_ as Content, Document_ as Document, };
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibWlncmF0ZV9ib2lsZXJwbGF0ZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL3NyYy9pbnRlcmZhY2UvZ2VuZXJhdGVkL3BhcmV0by9zY2hlbWFzL3BhcnNlX3RyZWUvbWlncmF0ZV9ib2lsZXJwbGF0ZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiIn0=
|
|
@@ -1,48 +0,0 @@
|
|
|
1
|
-
import * as _pi from "pareto-core-interface";
|
|
2
|
-
export declare namespace Value_ {
|
|
3
|
-
namespace list {
|
|
4
|
-
type L = Value_;
|
|
5
|
-
}
|
|
6
|
-
type list = _pi.List<list.L>;
|
|
7
|
-
namespace dictionary {
|
|
8
|
-
type D = Value_;
|
|
9
|
-
}
|
|
10
|
-
type dictionary = _pi.Dictionary<dictionary.D>;
|
|
11
|
-
namespace group {
|
|
12
|
-
namespace verbose {
|
|
13
|
-
type D = Value_;
|
|
14
|
-
}
|
|
15
|
-
type verbose = _pi.Dictionary<verbose.D>;
|
|
16
|
-
}
|
|
17
|
-
type group = readonly ['verbose', group.verbose];
|
|
18
|
-
type nothing = null;
|
|
19
|
-
namespace optional {
|
|
20
|
-
type not_set = null;
|
|
21
|
-
type _set = Value_;
|
|
22
|
-
}
|
|
23
|
-
type optional = readonly ['not set', optional.not_set] | readonly ['set', optional._set];
|
|
24
|
-
namespace state_group {
|
|
25
|
-
type state = string;
|
|
26
|
-
type value = Value_;
|
|
27
|
-
}
|
|
28
|
-
type state_group = {
|
|
29
|
-
readonly 'state': state_group.state;
|
|
30
|
-
readonly 'value': state_group.value;
|
|
31
|
-
};
|
|
32
|
-
namespace text {
|
|
33
|
-
type value = string;
|
|
34
|
-
namespace delimiter {
|
|
35
|
-
type none = null;
|
|
36
|
-
type quote = null;
|
|
37
|
-
type backtick = null;
|
|
38
|
-
}
|
|
39
|
-
type delimiter = readonly ['none', delimiter.none] | readonly ['quote', delimiter.quote] | readonly ['backtick', delimiter.backtick];
|
|
40
|
-
}
|
|
41
|
-
type text = {
|
|
42
|
-
readonly 'value': text.value;
|
|
43
|
-
readonly 'delimiter': text.delimiter;
|
|
44
|
-
};
|
|
45
|
-
}
|
|
46
|
-
export type Value_ = readonly ['list', Value_.list] | readonly ['dictionary', Value_.dictionary] | readonly ['group', Value_.group] | readonly ['nothing', Value_.nothing] | readonly ['optional', Value_.optional] | readonly ['state group', Value_.state_group] | readonly ['text', Value_.text];
|
|
47
|
-
export type Document_ = Value_;
|
|
48
|
-
export { Value_ as Value, Document_ as Document, };
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZGF0YS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL3NyYy9pbnRlcmZhY2UvZ2VuZXJhdGVkL3BhcmV0by9zY2hlbWFzL3NlYWxlZF90YXJnZXQvZGF0YS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiIn0=
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import * as i_out from "./data";
|
|
2
|
-
import * as i_in from "./data";
|
|
3
|
-
export declare namespace Value_ {
|
|
4
|
-
type I = i_in.Value;
|
|
5
|
-
type O = i_out.Value;
|
|
6
|
-
namespace P {
|
|
7
|
-
}
|
|
8
|
-
}
|
|
9
|
-
export type Value_ = ($$_: Value_.I) => Value_.O;
|
|
10
|
-
export declare namespace Document_ {
|
|
11
|
-
type I = i_in.Document;
|
|
12
|
-
type O = i_out.Document;
|
|
13
|
-
namespace P {
|
|
14
|
-
}
|
|
15
|
-
}
|
|
16
|
-
export type Document_ = ($$_: Document_.I) => Document_.O;
|
|
17
|
-
export { Value_ as Value, Document_ as Document, };
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibWlncmF0ZV9ib2lsZXJwbGF0ZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL3NyYy9pbnRlcmZhY2UvZ2VuZXJhdGVkL3BhcmV0by9zY2hlbWFzL3NlYWxlZF90YXJnZXQvbWlncmF0ZV9ib2lsZXJwbGF0ZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiIn0=
|
|
@@ -1,121 +0,0 @@
|
|
|
1
|
-
import * as _pi from "pareto-core-interface";
|
|
2
|
-
export declare namespace Relative_Location_ {
|
|
3
|
-
type uri = string;
|
|
4
|
-
type line = number;
|
|
5
|
-
type column = number;
|
|
6
|
-
}
|
|
7
|
-
export type Relative_Location_ = {
|
|
8
|
-
readonly 'uri': Relative_Location_.uri;
|
|
9
|
-
readonly 'line': Relative_Location_.line;
|
|
10
|
-
readonly 'column': Relative_Location_.column;
|
|
11
|
-
};
|
|
12
|
-
export declare namespace Location_ {
|
|
13
|
-
type relative = Relative_Location_;
|
|
14
|
-
type absolute = number;
|
|
15
|
-
}
|
|
16
|
-
export type Location_ = {
|
|
17
|
-
readonly 'relative': Location_.relative;
|
|
18
|
-
readonly 'absolute': Location_.absolute;
|
|
19
|
-
};
|
|
20
|
-
export declare namespace Range_ {
|
|
21
|
-
type start = Location_;
|
|
22
|
-
type end = Location_;
|
|
23
|
-
}
|
|
24
|
-
export type Range_ = {
|
|
25
|
-
readonly 'start': Range_.start;
|
|
26
|
-
readonly 'end': Range_.end;
|
|
27
|
-
};
|
|
28
|
-
export declare namespace Whitespace_ {
|
|
29
|
-
type range = Range_;
|
|
30
|
-
type value = string;
|
|
31
|
-
}
|
|
32
|
-
export type Whitespace_ = {
|
|
33
|
-
readonly 'range': Whitespace_.range;
|
|
34
|
-
readonly 'value': Whitespace_.value;
|
|
35
|
-
};
|
|
36
|
-
export declare namespace Trivia_ {
|
|
37
|
-
type leading_whitespace = Whitespace_;
|
|
38
|
-
namespace comments {
|
|
39
|
-
namespace L {
|
|
40
|
-
namespace _type {
|
|
41
|
-
type line = null;
|
|
42
|
-
type block = null;
|
|
43
|
-
}
|
|
44
|
-
type _type = readonly ['line', _type.line] | readonly ['block', _type.block];
|
|
45
|
-
type content = string;
|
|
46
|
-
type range = Range_;
|
|
47
|
-
type trailing_whitespace = Whitespace_;
|
|
48
|
-
}
|
|
49
|
-
type L = {
|
|
50
|
-
readonly 'type': L._type;
|
|
51
|
-
readonly 'content': L.content;
|
|
52
|
-
readonly 'range': L.range;
|
|
53
|
-
readonly 'trailing whitespace': L.trailing_whitespace;
|
|
54
|
-
};
|
|
55
|
-
}
|
|
56
|
-
type comments = _pi.List<comments.L>;
|
|
57
|
-
}
|
|
58
|
-
export type Trivia_ = {
|
|
59
|
-
readonly 'leading whitespace': Trivia_.leading_whitespace;
|
|
60
|
-
readonly 'comments': Trivia_.comments;
|
|
61
|
-
};
|
|
62
|
-
export type Delimited_Text_ = string;
|
|
63
|
-
export declare namespace Text_Type_ {
|
|
64
|
-
type quoted = null;
|
|
65
|
-
type apostrophed = null;
|
|
66
|
-
type undelimited = null;
|
|
67
|
-
type backticked = null;
|
|
68
|
-
}
|
|
69
|
-
export type Text_Type_ = readonly ['quoted', Text_Type_.quoted] | readonly ['apostrophed', Text_Type_.apostrophed] | readonly ['undelimited', Text_Type_.undelimited] | readonly ['backticked', Text_Type_.backticked];
|
|
70
|
-
export declare namespace Token_Type_ {
|
|
71
|
-
type $ex_ = null;
|
|
72
|
-
type $at_ = null;
|
|
73
|
-
type $cl_ = null;
|
|
74
|
-
type $ha_ = null;
|
|
75
|
-
type $co_ = null;
|
|
76
|
-
type $cc_ = null;
|
|
77
|
-
type $bo_ = null;
|
|
78
|
-
type $bc_ = null;
|
|
79
|
-
type $po_ = null;
|
|
80
|
-
type $pc_ = null;
|
|
81
|
-
type $st_ = null;
|
|
82
|
-
type $gt_ = null;
|
|
83
|
-
type $ti_ = null;
|
|
84
|
-
type $sr_ = null;
|
|
85
|
-
type $vb_ = null;
|
|
86
|
-
namespace text {
|
|
87
|
-
type value = Delimited_Text_;
|
|
88
|
-
type _type = Text_Type_;
|
|
89
|
-
}
|
|
90
|
-
type text = {
|
|
91
|
-
readonly 'value': text.value;
|
|
92
|
-
readonly 'type': text._type;
|
|
93
|
-
};
|
|
94
|
-
}
|
|
95
|
-
export type Token_Type_ = readonly ['!', Token_Type_.$ex_] | readonly ['@', Token_Type_.$at_] | readonly [':', Token_Type_.$cl_] | readonly ['#', Token_Type_.$ha_] | readonly ['{', Token_Type_.$co_] | readonly ['}', Token_Type_.$cc_] | readonly ['[', Token_Type_.$bo_] | readonly [']', Token_Type_.$bc_] | readonly ['(', Token_Type_.$po_] | readonly [')', Token_Type_.$pc_] | readonly ['<', Token_Type_.$st_] | readonly ['>', Token_Type_.$gt_] | readonly ['~', Token_Type_.$ti_] | readonly ['*', Token_Type_.$sr_] | readonly ['|', Token_Type_.$vb_] | readonly ['text', Token_Type_.text];
|
|
96
|
-
export declare namespace Annotated_Token_ {
|
|
97
|
-
type start = Location_;
|
|
98
|
-
type _type = Token_Type_;
|
|
99
|
-
type end = Location_;
|
|
100
|
-
type trailing_trivia = Trivia_;
|
|
101
|
-
}
|
|
102
|
-
export type Annotated_Token_ = {
|
|
103
|
-
readonly 'start': Annotated_Token_.start;
|
|
104
|
-
readonly 'type': Annotated_Token_._type;
|
|
105
|
-
readonly 'end': Annotated_Token_.end;
|
|
106
|
-
readonly 'trailing trivia': Annotated_Token_.trailing_trivia;
|
|
107
|
-
};
|
|
108
|
-
export declare namespace Tokenizer_Result_ {
|
|
109
|
-
type leading_trivia = Trivia_;
|
|
110
|
-
namespace tokens {
|
|
111
|
-
type L = Annotated_Token_;
|
|
112
|
-
}
|
|
113
|
-
type tokens = _pi.List<tokens.L>;
|
|
114
|
-
type end = Location_;
|
|
115
|
-
}
|
|
116
|
-
export type Tokenizer_Result_ = {
|
|
117
|
-
readonly 'leading trivia': Tokenizer_Result_.leading_trivia;
|
|
118
|
-
readonly 'tokens': Tokenizer_Result_.tokens;
|
|
119
|
-
readonly 'end': Tokenizer_Result_.end;
|
|
120
|
-
};
|
|
121
|
-
export { Relative_Location_ as Relative_Location, Location_ as Location, Range_ as Range, Whitespace_ as Whitespace, Trivia_ as Trivia, Delimited_Text_ as Delimited_Text, Text_Type_ as Text_Type, Token_Type_ as Token_Type, Annotated_Token_ as Annotated_Token, Tokenizer_Result_ as Tokenizer_Result, };
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZGF0YS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL3NyYy9pbnRlcmZhY2UvZ2VuZXJhdGVkL3BhcmV0by9zY2hlbWFzL3Rva2VuL2RhdGEudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiJ9
|