astn-sealed 0.1.0
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/globals.d.ts +26 -0
- package/dist/globals.js +2 -0
- package/dist/implementation/parse/astn_parse_generic.d.ts +18 -0
- package/dist/implementation/parse/astn_parse_generic.js +42 -0
- package/dist/implementation/parse/token.d.ts +13 -0
- package/dist/implementation/parse/token.js +551 -0
- package/dist/implementation/schemas/astn_source/deserializers.d.ts +9 -0
- package/dist/implementation/schemas/astn_source/deserializers.js +53 -0
- package/dist/implementation/schemas/astn_target/serializers.d.ts +4 -0
- package/dist/implementation/schemas/astn_target/serializers.js +93 -0
- package/dist/implementation/schemas/deserialize_resolved_model/serializers.d.ts +2 -0
- package/dist/implementation/schemas/deserialize_resolved_model/serializers.js +39 -0
- package/dist/implementation/schemas/deserialize_unresolved_model/serializers.d.ts +2 -0
- package/dist/implementation/schemas/deserialize_unresolved_model/serializers.js +39 -0
- package/dist/implementation/schemas/parse_astn_source/serializers.d.ts +4 -0
- package/dist/implementation/schemas/parse_astn_source/serializers.js +82 -0
- package/dist/implementation/schemas/sealed_astn_source/productions/annotated_token.d.ts +10 -0
- package/dist/implementation/schemas/sealed_astn_source/productions/annotated_token.js +247 -0
- package/dist/implementation/temp/string_iterator.d.ts +42 -0
- package/dist/implementation/temp/string_iterator.js +112 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.js +5 -0
- package/dist/interface/to_be_generated/astn_source.d.ts +124 -0
- package/dist/interface/to_be_generated/astn_source.js +3 -0
- package/dist/interface/to_be_generated/astn_target.d.ts +101 -0
- package/dist/interface/to_be_generated/astn_target.js +3 -0
- package/dist/interface/to_be_generated/deserialize_resolved_model.d.ts +3 -0
- package/dist/interface/to_be_generated/deserialize_resolved_model.js +3 -0
- package/dist/interface/to_be_generated/deserialize_unresolved_model.d.ts +3 -0
- package/dist/interface/to_be_generated/deserialize_unresolved_model.js +3 -0
- package/dist/interface/to_be_generated/parse_astn_source.d.ts +21 -0
- package/dist/interface/to_be_generated/parse_astn_source.js +3 -0
- package/dist/interface/to_be_generated/resolve.d.ts +11 -0
- package/dist/interface/to_be_generated/resolve.js +3 -0
- package/dist/interface/to_be_generated/resolved.d.ts +25 -0
- package/dist/interface/to_be_generated/resolved.js +3 -0
- package/dist/interface/to_be_generated/token.d.ts +51 -0
- package/dist/interface/to_be_generated/token.js +3 -0
- package/dist/interface/to_be_generated/unconstrained.d.ts +4 -0
- package/dist/interface/to_be_generated/unconstrained.js +3 -0
- package/dist/interface/to_be_generated/unresolved.d.ts +39 -0
- package/dist/interface/to_be_generated/unresolved.js +3 -0
- package/package.json +34 -0
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import * as _et from 'pareto-core-interface';
|
|
2
|
+
export type Location = {
|
|
3
|
+
'absolute': number;
|
|
4
|
+
'relative': {
|
|
5
|
+
'line': number;
|
|
6
|
+
'column': number;
|
|
7
|
+
};
|
|
8
|
+
};
|
|
9
|
+
export type Deprecated_String_Iterator = {
|
|
10
|
+
'consume character': () => void;
|
|
11
|
+
'consume string': ($: string) => void;
|
|
12
|
+
/**
|
|
13
|
+
* returns the current character, or null if the end of the string has been reached.
|
|
14
|
+
* equivalent to `look ahead(0)`
|
|
15
|
+
*/
|
|
16
|
+
'get current character': () => number | null;
|
|
17
|
+
'look ahead': ($: number) => number | null;
|
|
18
|
+
'create offset location info': (subtract: number) => Location;
|
|
19
|
+
'create location info': () => Location;
|
|
20
|
+
'get uri': () => string;
|
|
21
|
+
'create location info string': () => string;
|
|
22
|
+
/**
|
|
23
|
+
* if no non-whitespace character has been found yet on the current line,
|
|
24
|
+
* this will return the current column,
|
|
25
|
+
* otherwise it will return the offset of that first non-whitespace character
|
|
26
|
+
* (which is the indentation of the line)
|
|
27
|
+
*/
|
|
28
|
+
'get line indentation': () => number;
|
|
29
|
+
};
|
|
30
|
+
export declare const is_control_character: ($: number) => boolean;
|
|
31
|
+
/**
|
|
32
|
+
* Creates a string iterator that allows iterating over characters in a string,
|
|
33
|
+
* while keeping track of line numbers, columns, and line indentation.
|
|
34
|
+
*/
|
|
35
|
+
export declare const create_string_iterator: ($: string, $p: {
|
|
36
|
+
"tab size": number;
|
|
37
|
+
"uri": string;
|
|
38
|
+
}) => Deprecated_String_Iterator;
|
|
39
|
+
export type Token_Iterator<Expected, Token> = {
|
|
40
|
+
'get required token': (expected: _et.List<Expected>) => Token;
|
|
41
|
+
'consume token': () => void;
|
|
42
|
+
};
|
|
@@ -0,0 +1,112 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.create_string_iterator = exports.is_control_character = void 0;
|
|
4
|
+
const pareto_core_internals_1 = require("pareto-core-internals");
|
|
5
|
+
const WhitespaceChars = {
|
|
6
|
+
tab: 0x09, // \t
|
|
7
|
+
line_feed: 0x0A, // \n
|
|
8
|
+
carriage_return: 0x0D, // \r
|
|
9
|
+
space: 0x20, //
|
|
10
|
+
};
|
|
11
|
+
const is_control_character = ($) => {
|
|
12
|
+
return ($ < 0x20 && $ !== WhitespaceChars.tab && $ !== WhitespaceChars.line_feed && $ !== WhitespaceChars.carriage_return);
|
|
13
|
+
};
|
|
14
|
+
exports.is_control_character = is_control_character;
|
|
15
|
+
/**
|
|
16
|
+
* Creates a string iterator that allows iterating over characters in a string,
|
|
17
|
+
* while keeping track of line numbers, columns, and line indentation.
|
|
18
|
+
*/
|
|
19
|
+
const create_string_iterator = ($, $p) => {
|
|
20
|
+
const source = $;
|
|
21
|
+
const characters = (0, pareto_core_internals_1.text_to_character_list)($);
|
|
22
|
+
const length = characters.get_number_of_elements();
|
|
23
|
+
let found_carriage_return_before = false;
|
|
24
|
+
let position = 0;
|
|
25
|
+
let relative_position = {
|
|
26
|
+
'line': 0,
|
|
27
|
+
'column': 0,
|
|
28
|
+
'line indentation': null
|
|
29
|
+
};
|
|
30
|
+
const consume_character = () => {
|
|
31
|
+
const c = characters.__get_element_at(position);
|
|
32
|
+
const start = relative_position;
|
|
33
|
+
relative_position = c.transform(($) => {
|
|
34
|
+
return $ === WhitespaceChars.line_feed
|
|
35
|
+
? {
|
|
36
|
+
'line': relative_position.line + 1,
|
|
37
|
+
'column': 0,
|
|
38
|
+
'line indentation': null,
|
|
39
|
+
}
|
|
40
|
+
: found_carriage_return_before
|
|
41
|
+
? {
|
|
42
|
+
'line': relative_position.line + 1,
|
|
43
|
+
'column': 0,
|
|
44
|
+
'line indentation': null,
|
|
45
|
+
}
|
|
46
|
+
: {
|
|
47
|
+
'line': relative_position.line,
|
|
48
|
+
'column': relative_position['column'] + ($ === WhitespaceChars.tab
|
|
49
|
+
? $p['tab size']
|
|
50
|
+
: 1),
|
|
51
|
+
'line indentation': relative_position['line indentation'] !== null
|
|
52
|
+
? relative_position['line indentation']
|
|
53
|
+
: $ === WhitespaceChars.space || $ === WhitespaceChars.tab
|
|
54
|
+
? null
|
|
55
|
+
: relative_position['column'],
|
|
56
|
+
};
|
|
57
|
+
}, () => relative_position //this is weird, we were already at the end of the list
|
|
58
|
+
);
|
|
59
|
+
found_carriage_return_before = c.transform(($) => $ === WhitespaceChars.carriage_return, () => false);
|
|
60
|
+
position += 1;
|
|
61
|
+
};
|
|
62
|
+
return {
|
|
63
|
+
'consume string': ($) => {
|
|
64
|
+
(0, pareto_core_internals_1.text_to_character_list)($).__for_each(() => {
|
|
65
|
+
consume_character();
|
|
66
|
+
});
|
|
67
|
+
},
|
|
68
|
+
'consume character': consume_character,
|
|
69
|
+
'get current character': () => {
|
|
70
|
+
if (position === length) {
|
|
71
|
+
return null;
|
|
72
|
+
}
|
|
73
|
+
return characters.__get_element_at(position).transform(($) => $, () => null);
|
|
74
|
+
},
|
|
75
|
+
'look ahead': ($) => {
|
|
76
|
+
const next_position = position + $;
|
|
77
|
+
if (next_position >= length) {
|
|
78
|
+
return null;
|
|
79
|
+
}
|
|
80
|
+
return characters.__get_element_at(next_position).transform(($) => $, () => null);
|
|
81
|
+
},
|
|
82
|
+
'create location info': () => {
|
|
83
|
+
return {
|
|
84
|
+
'absolute': position,
|
|
85
|
+
'relative': {
|
|
86
|
+
'line': relative_position.line,
|
|
87
|
+
'column': relative_position['column'],
|
|
88
|
+
}
|
|
89
|
+
};
|
|
90
|
+
},
|
|
91
|
+
'create offset location info': (subtract) => {
|
|
92
|
+
return {
|
|
93
|
+
'absolute': position - subtract,
|
|
94
|
+
'relative': {
|
|
95
|
+
'line': relative_position.line,
|
|
96
|
+
'column': relative_position['column'] - subtract,
|
|
97
|
+
}
|
|
98
|
+
};
|
|
99
|
+
},
|
|
100
|
+
'create location info string': () => `${relative_position.line}:${relative_position['column']}`,
|
|
101
|
+
'get line indentation': () => {
|
|
102
|
+
return relative_position['line indentation'] !== null
|
|
103
|
+
? relative_position['line indentation']
|
|
104
|
+
: relative_position['column'];
|
|
105
|
+
},
|
|
106
|
+
'get uri': () => {
|
|
107
|
+
return $p.uri;
|
|
108
|
+
}
|
|
109
|
+
};
|
|
110
|
+
};
|
|
111
|
+
exports.create_string_iterator = create_string_iterator;
|
|
112
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic3RyaW5nX2l0ZXJhdG9yLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vc3JjL2ltcGxlbWVudGF0aW9uL3RlbXAvc3RyaW5nX2l0ZXJhdG9yLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7OztBQW9DQSxpRUFBc0Y7QUFFdEYsTUFBTSxlQUFlLEdBQUc7SUFDcEIsR0FBRyxFQUFFLElBQUksRUFBbUIsS0FBSztJQUNqQyxTQUFTLEVBQUUsSUFBSSxFQUFhLEtBQUs7SUFDakMsZUFBZSxFQUFFLElBQUksRUFBTyxLQUFLO0lBQ2pDLEtBQUssRUFBRSxJQUFJLEVBQWlCLEVBQUU7Q0FDakMsQ0FBQTtBQUVNLE1BQU0sb0JBQW9CLEdBQUcsQ0FBQ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
|
package/dist/index.d.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const dont_import_the_root_of_this_package_but_the_specific_file_or_files_needed = 42;
|
package/dist/index.js
ADDED
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.dont_import_the_root_of_this_package_but_the_specific_file_or_files_needed = void 0;
|
|
4
|
+
exports.dont_import_the_root_of_this_package_but_the_specific_file_or_files_needed = 42;
|
|
5
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi9zcmMvaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7O0FBQWEsUUFBQSwwRUFBMEUsR0FBRyxFQUFFLENBQUEifQ==
|
|
@@ -0,0 +1,124 @@
|
|
|
1
|
+
import * as _pi from 'pareto-core-interface';
|
|
2
|
+
export type Value = readonly [
|
|
3
|
+
'indexed collection',
|
|
4
|
+
readonly [
|
|
5
|
+
'dictionary',
|
|
6
|
+
{
|
|
7
|
+
readonly 'entries': Key_Value_Pairs;
|
|
8
|
+
readonly '{': Structural_Token;
|
|
9
|
+
readonly '}': Structural_Token;
|
|
10
|
+
}
|
|
11
|
+
] | readonly [
|
|
12
|
+
'verbose group',
|
|
13
|
+
{
|
|
14
|
+
readonly '(': Structural_Token;
|
|
15
|
+
readonly ')': Structural_Token;
|
|
16
|
+
readonly 'entries': Key_Value_Pairs;
|
|
17
|
+
}
|
|
18
|
+
]
|
|
19
|
+
] | readonly [
|
|
20
|
+
'not set',
|
|
21
|
+
{
|
|
22
|
+
readonly '~': Structural_Token;
|
|
23
|
+
}
|
|
24
|
+
] | readonly [
|
|
25
|
+
'ordered collection',
|
|
26
|
+
readonly [
|
|
27
|
+
'concise group',
|
|
28
|
+
{
|
|
29
|
+
readonly '<': Structural_Token;
|
|
30
|
+
readonly '>': Structural_Token;
|
|
31
|
+
readonly 'elements': Elements;
|
|
32
|
+
}
|
|
33
|
+
] | readonly [
|
|
34
|
+
'list',
|
|
35
|
+
{
|
|
36
|
+
readonly '[': Structural_Token;
|
|
37
|
+
readonly ']': Structural_Token;
|
|
38
|
+
readonly 'elements': Elements;
|
|
39
|
+
}
|
|
40
|
+
]
|
|
41
|
+
] | readonly [
|
|
42
|
+
'set optional value',
|
|
43
|
+
{
|
|
44
|
+
readonly '*': Structural_Token;
|
|
45
|
+
readonly 'value': Value;
|
|
46
|
+
}
|
|
47
|
+
] | readonly ['string', String] | readonly [
|
|
48
|
+
'tagged value',
|
|
49
|
+
{
|
|
50
|
+
readonly 'state': String;
|
|
51
|
+
readonly 'value': Value;
|
|
52
|
+
readonly '|': Structural_Token;
|
|
53
|
+
}
|
|
54
|
+
];
|
|
55
|
+
export type Document = {
|
|
56
|
+
readonly 'content': Value;
|
|
57
|
+
readonly 'header': _pi.Optional_Value<{
|
|
58
|
+
readonly '!': Structural_Token;
|
|
59
|
+
readonly 'value': Value;
|
|
60
|
+
}>;
|
|
61
|
+
};
|
|
62
|
+
export type Elements = _pi.List<{
|
|
63
|
+
readonly 'value': Value;
|
|
64
|
+
}>;
|
|
65
|
+
export declare namespace Elements {
|
|
66
|
+
type L = {
|
|
67
|
+
readonly 'value': Value;
|
|
68
|
+
};
|
|
69
|
+
}
|
|
70
|
+
export type Key_Value_Pairs = _pi.List<{
|
|
71
|
+
readonly ',': _pi.Optional_Value<Structural_Token>;
|
|
72
|
+
readonly 'key': String;
|
|
73
|
+
readonly 'value': _pi.Optional_Value<{
|
|
74
|
+
readonly ':': Structural_Token;
|
|
75
|
+
readonly 'value': Value;
|
|
76
|
+
}>;
|
|
77
|
+
}>;
|
|
78
|
+
export declare namespace Key_Value_Pairs {
|
|
79
|
+
type L = {
|
|
80
|
+
readonly ',': _pi.Optional_Value<Structural_Token>;
|
|
81
|
+
readonly 'key': String;
|
|
82
|
+
readonly 'value': _pi.Optional_Value<{
|
|
83
|
+
readonly ':': Structural_Token;
|
|
84
|
+
readonly 'value': Value;
|
|
85
|
+
}>;
|
|
86
|
+
};
|
|
87
|
+
}
|
|
88
|
+
export type String = {
|
|
89
|
+
readonly 'range': Range;
|
|
90
|
+
readonly 'trailing trivia': Trivia;
|
|
91
|
+
readonly 'type': String_Type;
|
|
92
|
+
readonly 'value': string;
|
|
93
|
+
};
|
|
94
|
+
export type Structural_Token = {
|
|
95
|
+
readonly 'range': Range;
|
|
96
|
+
readonly 'trailing trivia': Trivia;
|
|
97
|
+
};
|
|
98
|
+
export type Range = {
|
|
99
|
+
readonly 'uri': string;
|
|
100
|
+
readonly 'end': Location;
|
|
101
|
+
readonly 'start': Location;
|
|
102
|
+
};
|
|
103
|
+
export type Location = {
|
|
104
|
+
readonly 'absolute': number;
|
|
105
|
+
readonly 'relative': Relative_Location;
|
|
106
|
+
};
|
|
107
|
+
export type Relative_Location = {
|
|
108
|
+
readonly 'column': number;
|
|
109
|
+
readonly 'line': number;
|
|
110
|
+
};
|
|
111
|
+
export type Trivia = {
|
|
112
|
+
readonly 'comments': _pi.List<{
|
|
113
|
+
readonly 'content': string;
|
|
114
|
+
readonly 'range': Range;
|
|
115
|
+
readonly 'trailing whitespace': Whitespace;
|
|
116
|
+
readonly 'type': readonly ['block', null] | readonly ['line', null];
|
|
117
|
+
}>;
|
|
118
|
+
readonly 'leading whitespace': Whitespace;
|
|
119
|
+
};
|
|
120
|
+
export type Whitespace = {
|
|
121
|
+
readonly 'range': Range;
|
|
122
|
+
readonly 'value': string;
|
|
123
|
+
};
|
|
124
|
+
export type String_Type = readonly ['apostrophed', null] | readonly ['backticked', null] | readonly ['quoted', null] | readonly ['undelimited', null];
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYXN0bl9zb3VyY2UuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi9zcmMvaW50ZXJmYWNlL3RvX2JlX2dlbmVyYXRlZC9hc3RuX3NvdXJjZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiIn0=
|
|
@@ -0,0 +1,101 @@
|
|
|
1
|
+
import * as _pi from 'pareto-core-interface';
|
|
2
|
+
export type Document = Value;
|
|
3
|
+
export type Value = readonly ['dictionary', _pi.Dictionary<Value>] | readonly ['list', _pi.List<Value>] | readonly ['nothing', null] | readonly [
|
|
4
|
+
'optional',
|
|
5
|
+
readonly ['not set', null] | readonly ['set', Value]
|
|
6
|
+
] | readonly [
|
|
7
|
+
'state',
|
|
8
|
+
{
|
|
9
|
+
readonly 'state': string;
|
|
10
|
+
readonly 'value': Value;
|
|
11
|
+
}
|
|
12
|
+
] | readonly [
|
|
13
|
+
'text',
|
|
14
|
+
{
|
|
15
|
+
readonly 'delimiter': readonly ['backtick', null] | readonly ['none', null] | readonly ['quote', null];
|
|
16
|
+
readonly 'value': string;
|
|
17
|
+
}
|
|
18
|
+
] | readonly ['verbose group', _pi.Dictionary<Value>];
|
|
19
|
+
export declare namespace Document {
|
|
20
|
+
}
|
|
21
|
+
export declare namespace Value {
|
|
22
|
+
namespace SG {
|
|
23
|
+
namespace concise_group {
|
|
24
|
+
namespace L {
|
|
25
|
+
}
|
|
26
|
+
type L = Value;
|
|
27
|
+
}
|
|
28
|
+
type concise_group = _pi.List<Value>;
|
|
29
|
+
namespace dictionary {
|
|
30
|
+
namespace D {
|
|
31
|
+
}
|
|
32
|
+
type D = Value;
|
|
33
|
+
}
|
|
34
|
+
type dictionary = _pi.Dictionary<Value>;
|
|
35
|
+
namespace list {
|
|
36
|
+
namespace L {
|
|
37
|
+
}
|
|
38
|
+
type L = Value;
|
|
39
|
+
}
|
|
40
|
+
type list = _pi.List<Value>;
|
|
41
|
+
type nothing = null;
|
|
42
|
+
namespace optional {
|
|
43
|
+
namespace SG {
|
|
44
|
+
type not_set = null;
|
|
45
|
+
namespace _set {
|
|
46
|
+
}
|
|
47
|
+
type _set = Value;
|
|
48
|
+
}
|
|
49
|
+
type SG = readonly ['not set', null] | readonly ['set', Value];
|
|
50
|
+
}
|
|
51
|
+
type optional = readonly ['not set', null] | readonly ['set', Value];
|
|
52
|
+
namespace state {
|
|
53
|
+
type state = string;
|
|
54
|
+
namespace value {
|
|
55
|
+
}
|
|
56
|
+
type value = Value;
|
|
57
|
+
}
|
|
58
|
+
type state = {
|
|
59
|
+
readonly 'state': string;
|
|
60
|
+
readonly 'value': Value;
|
|
61
|
+
};
|
|
62
|
+
namespace text {
|
|
63
|
+
namespace delimiter {
|
|
64
|
+
namespace SG {
|
|
65
|
+
type backtick = null;
|
|
66
|
+
type none = null;
|
|
67
|
+
type quote = null;
|
|
68
|
+
}
|
|
69
|
+
type SG = readonly ['backtick', null] | readonly ['none', null] | readonly ['quote', null];
|
|
70
|
+
}
|
|
71
|
+
type delimiter = readonly ['backtick', null] | readonly ['none', null] | readonly ['quote', null];
|
|
72
|
+
type value = string;
|
|
73
|
+
}
|
|
74
|
+
type text = {
|
|
75
|
+
readonly 'delimiter': readonly ['backtick', null] | readonly ['none', null] | readonly ['quote', null];
|
|
76
|
+
readonly 'value': string;
|
|
77
|
+
};
|
|
78
|
+
namespace verbose_group {
|
|
79
|
+
namespace D {
|
|
80
|
+
}
|
|
81
|
+
type D = Value;
|
|
82
|
+
}
|
|
83
|
+
type verbose_group = _pi.Dictionary<Value>;
|
|
84
|
+
}
|
|
85
|
+
type SG = readonly ['concise group', _pi.List<Value>] | readonly ['dictionary', _pi.Dictionary<Value>] | readonly ['list', _pi.List<Value>] | readonly ['nothing', null] | readonly [
|
|
86
|
+
'optional',
|
|
87
|
+
readonly ['not set', null] | readonly ['set', Value]
|
|
88
|
+
] | readonly [
|
|
89
|
+
'state',
|
|
90
|
+
{
|
|
91
|
+
readonly 'state': string;
|
|
92
|
+
readonly 'value': Value;
|
|
93
|
+
}
|
|
94
|
+
] | readonly [
|
|
95
|
+
'text',
|
|
96
|
+
{
|
|
97
|
+
readonly 'delimiter': readonly ['backtick', null] | readonly ['none', null] | readonly ['quote', null];
|
|
98
|
+
readonly 'value': string;
|
|
99
|
+
}
|
|
100
|
+
] | readonly ['verbose group', _pi.Dictionary<Value>];
|
|
101
|
+
}
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYXN0bl90YXJnZXQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi9zcmMvaW50ZXJmYWNlL3RvX2JlX2dlbmVyYXRlZC9hc3RuX3RhcmdldC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiIn0=
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZGVzZXJpYWxpemVfcmVzb2x2ZWRfbW9kZWwuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi9zcmMvaW50ZXJmYWNlL3RvX2JlX2dlbmVyYXRlZC9kZXNlcmlhbGl6ZV9yZXNvbHZlZF9tb2RlbC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiIn0=
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZGVzZXJpYWxpemVfdW5yZXNvbHZlZF9tb2RlbC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uL3NyYy9pbnRlcmZhY2UvdG9fYmVfZ2VuZXJhdGVkL2Rlc2VyaWFsaXplX3VucmVzb2x2ZWRfbW9kZWwudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiJ9
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import * as _pi from 'pareto-core-interface';
|
|
2
|
+
import * as d_in from "./token";
|
|
3
|
+
export type Parameters = {
|
|
4
|
+
'uri': string;
|
|
5
|
+
};
|
|
6
|
+
export type Error = {
|
|
7
|
+
readonly 'range': d_in.Range;
|
|
8
|
+
readonly 'type': Error__type;
|
|
9
|
+
};
|
|
10
|
+
export type Error__type = readonly ['lexical', Lexical_Error] | readonly ['syntactical', Syntactical_Error];
|
|
11
|
+
export type Lexical_Error = readonly ['dangling slash', null] | readonly ['invalid unicode escape sequence', null] | readonly ['missing character after escape', null] | readonly ['unexpected character', number] | readonly ['unexpected control character', number] | readonly ['unexpected end of input', null] | readonly ['unexpected end of line in delimited string', null] | readonly ['unknown escape character', null] | readonly ['unterminated block comment', null] | readonly ['unterminated string', null] | readonly ['unterminated unicode escape sequence', null];
|
|
12
|
+
export type Syntactical_Error = {
|
|
13
|
+
readonly 'cause': readonly ['missing token', null] | readonly [
|
|
14
|
+
'unexpected token',
|
|
15
|
+
{
|
|
16
|
+
readonly 'found': d_in.Token_Type;
|
|
17
|
+
}
|
|
18
|
+
];
|
|
19
|
+
readonly 'expected': _pi.List<Expected>;
|
|
20
|
+
};
|
|
21
|
+
export type Expected = readonly ['!', null] | readonly ['#', null] | readonly [')', null] | readonly [',', null] | readonly [':', null] | readonly ['>', null] | readonly ['@', null] | readonly [']', null] | readonly ['a text value', null] | readonly ['a value', null] | readonly ['}', null];
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicGFyc2VfYXN0bl9zb3VyY2UuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi9zcmMvaW50ZXJmYWNlL3RvX2JlX2dlbmVyYXRlZC9wYXJzZV9hc3RuX3NvdXJjZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiIn0=
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import * as _pi from 'pareto-core-interface';
|
|
2
|
+
export type Location_to_String<Source> = ($: Source) => string;
|
|
3
|
+
export type Location_2_String<Source> = Location_to_String<Source>;
|
|
4
|
+
export type Non_Circular_Result<T> = ['error', ['circular', _pi.List<string>]] | ['resolved', T];
|
|
5
|
+
export type Lookup<T> = {
|
|
6
|
+
get_entry: (key: string) => _pi.Optional_Value<T>;
|
|
7
|
+
};
|
|
8
|
+
export type Acyclic_Lookup<T> = _pi.Optional_Value<Lookup<Non_Circular_Result<T>>>;
|
|
9
|
+
export type Possibly_Circular_Result<T> = _pi.Circular_Dependency<T>;
|
|
10
|
+
export type Cyclic_Lookup<T> = _pi.Optional_Value<Lookup<Possibly_Circular_Result<T>>>;
|
|
11
|
+
export type Lookup_Stack<T> = _pi.List<Acyclic_Lookup<T>>;
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicmVzb2x2ZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uL3NyYy9pbnRlcmZhY2UvdG9fYmVfZ2VuZXJhdGVkL3Jlc29sdmUudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiJ9
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import * as _pi from 'pareto-core-interface';
|
|
2
|
+
export type Derived_Reference<M_Source, T_Type> = T_Type;
|
|
3
|
+
export type Dictionary<M_Source, T_D> = _pi.Dictionary<T_D>;
|
|
4
|
+
export type List<M_Source, T_L> = _pi.List<T_L>;
|
|
5
|
+
export type Ordered_Dictionary<M_Source, T_D> = {
|
|
6
|
+
readonly 'dictionary': _pi.Dictionary<T_D>;
|
|
7
|
+
readonly 'ordered list': _pi.List<{
|
|
8
|
+
readonly 'key': string;
|
|
9
|
+
readonly 'value': T_D;
|
|
10
|
+
}>;
|
|
11
|
+
};
|
|
12
|
+
export type Reference_To_Circular_Dependent_Sibling<M_Source, T_Dictionary_Entry> = {
|
|
13
|
+
readonly 'entry': _pi.Circular_Dependency<T_Dictionary_Entry>;
|
|
14
|
+
readonly 'key': string;
|
|
15
|
+
};
|
|
16
|
+
export type Reference_To_Normal_Dictionary_Entry<M_Source, T_Dictionary_Entry> = {
|
|
17
|
+
readonly 'entry': T_Dictionary_Entry;
|
|
18
|
+
readonly 'key': string;
|
|
19
|
+
};
|
|
20
|
+
export type Reference_To_Stacked_Dictionary_Entry<M_Source, T_Dictionary_Entry> = {
|
|
21
|
+
readonly 'entry': T_Dictionary_Entry;
|
|
22
|
+
readonly 'key': string;
|
|
23
|
+
readonly 'up steps': number;
|
|
24
|
+
};
|
|
25
|
+
export type State_Group<M_Source, T_SG> = T_SG;
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicmVzb2x2ZWQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi9zcmMvaW50ZXJmYWNlL3RvX2JlX2dlbmVyYXRlZC9yZXNvbHZlZC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiIn0=
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
import * as _pi from 'pareto-core-interface';
|
|
2
|
+
export type Annotated_Token = {
|
|
3
|
+
readonly 'uri': string;
|
|
4
|
+
readonly 'end': Location;
|
|
5
|
+
readonly 'start': Location;
|
|
6
|
+
readonly 'trailing trivia': Trivia;
|
|
7
|
+
readonly 'type': Token_Type;
|
|
8
|
+
};
|
|
9
|
+
export type Delimited_String = string;
|
|
10
|
+
export type Location = {
|
|
11
|
+
readonly 'absolute': number;
|
|
12
|
+
readonly 'relative': Relative_Location;
|
|
13
|
+
};
|
|
14
|
+
export type Range = {
|
|
15
|
+
readonly 'uri': string;
|
|
16
|
+
readonly 'end': Location;
|
|
17
|
+
readonly 'start': Location;
|
|
18
|
+
};
|
|
19
|
+
export type Relative_Location = {
|
|
20
|
+
readonly 'column': number;
|
|
21
|
+
readonly 'line': number;
|
|
22
|
+
};
|
|
23
|
+
export type String_Type = readonly ['apostrophed', null] | readonly ['backticked', null] | readonly ['quoted', null] | readonly ['undelimited', null];
|
|
24
|
+
export type Token_Type = readonly ['!', null] | readonly ['#', null] | readonly ['(', null] | readonly [')', null] | readonly ['*', null] | readonly [':', null] | readonly ['<', null] | readonly ['>', null] | readonly ['@', null] | readonly ['[', null] | readonly [']', null] | readonly [
|
|
25
|
+
'string',
|
|
26
|
+
{
|
|
27
|
+
readonly 'type': String_Type;
|
|
28
|
+
readonly 'value': Delimited_String;
|
|
29
|
+
}
|
|
30
|
+
] | readonly ['{', null] | readonly ['|', null] | readonly ['}', null] | readonly ['~', null];
|
|
31
|
+
export type Tokenizer_Result = {
|
|
32
|
+
readonly 'end': Location;
|
|
33
|
+
readonly 'leading trivia': Trivia;
|
|
34
|
+
readonly 'tokens': _pi.List<Annotated_Token>;
|
|
35
|
+
};
|
|
36
|
+
export declare namespace Tokenizer_Result {
|
|
37
|
+
type tokens = _pi.List<Annotated_Token>;
|
|
38
|
+
}
|
|
39
|
+
export type Trivia = {
|
|
40
|
+
readonly 'comments': _pi.List<{
|
|
41
|
+
readonly 'content': string;
|
|
42
|
+
readonly 'range': Range;
|
|
43
|
+
readonly 'trailing whitespace': Whitespace;
|
|
44
|
+
readonly 'type': readonly ['block', null] | readonly ['line', null];
|
|
45
|
+
}>;
|
|
46
|
+
readonly 'leading whitespace': Whitespace;
|
|
47
|
+
};
|
|
48
|
+
export type Whitespace = {
|
|
49
|
+
readonly 'range': Range;
|
|
50
|
+
readonly 'value': string;
|
|
51
|
+
};
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidG9rZW4uanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi9zcmMvaW50ZXJmYWNlL3RvX2JlX2dlbmVyYXRlZC90b2tlbi50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiIn0=
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidW5jb25zdHJhaW5lZC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uL3NyYy9pbnRlcmZhY2UvdG9fYmVfZ2VuZXJhdGVkL3VuY29uc3RyYWluZWQudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiJ9
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import * as _pi from 'pareto-core-interface';
|
|
2
|
+
export type Derived_Reference<M_Source, T_Type> = null;
|
|
3
|
+
export type Dictionary<M_Source, T_D> = {
|
|
4
|
+
readonly 'dictionary': _pi.Dictionary<{
|
|
5
|
+
readonly 'entry': T_D;
|
|
6
|
+
readonly 'location': M_Source;
|
|
7
|
+
}>;
|
|
8
|
+
readonly 'location': M_Source;
|
|
9
|
+
};
|
|
10
|
+
export type List<M_Source, T_L> = {
|
|
11
|
+
readonly 'list': _pi.List<{
|
|
12
|
+
readonly 'element': T_L;
|
|
13
|
+
readonly 'location': M_Source;
|
|
14
|
+
}>;
|
|
15
|
+
readonly 'location': M_Source;
|
|
16
|
+
};
|
|
17
|
+
export type Ordered_Dictionary<M_Source, T_D> = {
|
|
18
|
+
readonly 'dictionary': _pi.Dictionary<{
|
|
19
|
+
readonly 'entry': T_D;
|
|
20
|
+
readonly 'location': M_Source;
|
|
21
|
+
}>;
|
|
22
|
+
readonly 'location': M_Source;
|
|
23
|
+
};
|
|
24
|
+
export type Reference_To_Circular_Dependent_Sibling<M_Source, T_Dictionary_Entry> = {
|
|
25
|
+
readonly 'key': string;
|
|
26
|
+
readonly 'location': M_Source;
|
|
27
|
+
};
|
|
28
|
+
export type Reference_To_Normal_Dictionary_Entry<M_Source, T_Dictionary_Entry> = {
|
|
29
|
+
readonly 'key': string;
|
|
30
|
+
readonly 'location': M_Source;
|
|
31
|
+
};
|
|
32
|
+
export type Reference_To_Stacked_Dictionary_Entry<M_Source, T_Dictionary_Entry> = {
|
|
33
|
+
readonly 'key': string;
|
|
34
|
+
readonly 'location': M_Source;
|
|
35
|
+
};
|
|
36
|
+
export type State_Group<M_Source, T_SG> = {
|
|
37
|
+
readonly 'location': M_Source;
|
|
38
|
+
readonly 'state group': T_SG;
|
|
39
|
+
};
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidW5yZXNvbHZlZC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uL3NyYy9pbnRlcmZhY2UvdG9fYmVfZ2VuZXJhdGVkL3VucmVzb2x2ZWQudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiJ9
|
package/package.json
ADDED
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "astn-sealed",
|
|
3
|
+
"version": "0.1.0",
|
|
4
|
+
"description": "",
|
|
5
|
+
"main": "./dist/index.js",
|
|
6
|
+
"types": "dist/index.d.ts",
|
|
7
|
+
"module": "./dist/index.js",
|
|
8
|
+
"bin": {},
|
|
9
|
+
"files": [
|
|
10
|
+
"dist",
|
|
11
|
+
"README.md",
|
|
12
|
+
"LICENSE",
|
|
13
|
+
"documentation"
|
|
14
|
+
],
|
|
15
|
+
"keywords": [],
|
|
16
|
+
"author": "Corno",
|
|
17
|
+
"license": "Apache-2.0",
|
|
18
|
+
"repository": {
|
|
19
|
+
"type": "git",
|
|
20
|
+
"url": "https://github.com/corno/astn-sealed.git"
|
|
21
|
+
},
|
|
22
|
+
"bugs": {
|
|
23
|
+
"url": "https://github.com/corno/astn-sealed/issues"
|
|
24
|
+
},
|
|
25
|
+
"homepage": "https://github.com/corno/astn-sealed#readme",
|
|
26
|
+
"engines": {
|
|
27
|
+
"node": ">=14.0.0"
|
|
28
|
+
},
|
|
29
|
+
"dependencies": {
|
|
30
|
+
"pareto-core-interface": "^0.1.10",
|
|
31
|
+
"pareto-core-refiner": "^0.1.6",
|
|
32
|
+
"pareto-standard-operations": "^0.3.33"
|
|
33
|
+
}
|
|
34
|
+
}
|