@traqula/rules-sparql-1-1 1.0.6 → 1.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/esm/lib/astFactory.d.ts +9 -9
- package/dist/esm/lib/factoryMixins/ContextFactory.d.ts +1 -1
- package/dist/esm/lib/factoryMixins/ExpressionFactory.d.ts +1 -1
- package/dist/esm/lib/factoryMixins/GraphRefFactory.d.ts +1 -1
- package/dist/esm/lib/factoryMixins/PathFactory.d.ts +1 -1
- package/dist/esm/lib/factoryMixins/Patternfactory.d.ts +1 -1
- package/dist/esm/lib/factoryMixins/QueryFactory.d.ts +1 -1
- package/dist/esm/lib/factoryMixins/SolutionModifiersFactory.d.ts +1 -1
- package/dist/esm/lib/factoryMixins/TermFactory.d.ts +1 -1
- package/dist/esm/lib/factoryMixins/UpdateOperationFactory.d.ts +1 -1
- package/dist/esm/lib/grammar/builtIn.d.ts +1 -1
- package/dist/esm/lib/grammar/propertyPaths.d.ts +2 -2
- package/dist/esm/lib/grammar/tripleBlock.d.ts +6 -6
- package/dist/esm/lib/lexer/graph.d.ts +1 -1
- package/dist/esm/lib/lexer/lexer.d.ts +2 -2
- package/dist/esm/lib/lexer/symbols.d.ts +1 -1
- package/dist/esm/lib/lexer/terminals.d.ts +1 -1
- package/package.json +4 -4
|
@@ -40,7 +40,7 @@ declare const AstFactory_base: {
|
|
|
40
40
|
tracksSourceLocation: boolean;
|
|
41
41
|
wrap<T>(val: T, loc: SourceLocation): import("@traqula/core").Wrap<T>;
|
|
42
42
|
isLocalized(obj: unknown): obj is import("@traqula/core").Localized;
|
|
43
|
-
sourceLocation(...elements: (undefined | import("chevrotain").IToken | import("@traqula/core").Localized)[]): SourceLocation;
|
|
43
|
+
sourceLocation(...elements: (undefined | import("@traqula/chevrotain").IToken | import("@traqula/core").Localized)[]): SourceLocation;
|
|
44
44
|
sourceLocationNoMaterialize(): SourceLocation;
|
|
45
45
|
dematerialized<T extends import("@traqula/core").Node>(arg: T): T;
|
|
46
46
|
safeObjectTransform(value: unknown, mapper: (some: object) => any): any;
|
|
@@ -97,7 +97,7 @@ declare const AstFactory_base: {
|
|
|
97
97
|
tracksSourceLocation: boolean;
|
|
98
98
|
wrap<T>(val: T, loc: SourceLocation): import("@traqula/core").Wrap<T>;
|
|
99
99
|
isLocalized(obj: unknown): obj is import("@traqula/core").Localized;
|
|
100
|
-
sourceLocation(...elements: (undefined | import("chevrotain").IToken | import("@traqula/core").Localized)[]): SourceLocation;
|
|
100
|
+
sourceLocation(...elements: (undefined | import("@traqula/chevrotain").IToken | import("@traqula/core").Localized)[]): SourceLocation;
|
|
101
101
|
sourceLocationNoMaterialize(): SourceLocation;
|
|
102
102
|
dematerialized<T extends import("@traqula/core").Node>(arg: T): T;
|
|
103
103
|
safeObjectTransform(value: unknown, mapper: (some: object) => any): any;
|
|
@@ -136,7 +136,7 @@ declare const AstFactory_base: {
|
|
|
136
136
|
tracksSourceLocation: boolean;
|
|
137
137
|
wrap<T>(val: T, loc: SourceLocation): import("@traqula/core").Wrap<T>;
|
|
138
138
|
isLocalized(obj: unknown): obj is import("@traqula/core").Localized;
|
|
139
|
-
sourceLocation(...elements: (undefined | import("chevrotain").IToken | import("@traqula/core").Localized)[]): SourceLocation;
|
|
139
|
+
sourceLocation(...elements: (undefined | import("@traqula/chevrotain").IToken | import("@traqula/core").Localized)[]): SourceLocation;
|
|
140
140
|
sourceLocationNoMaterialize(): SourceLocation;
|
|
141
141
|
dematerialized<T extends import("@traqula/core").Node>(arg: T): T;
|
|
142
142
|
safeObjectTransform(value: unknown, mapper: (some: object) => any): any;
|
|
@@ -173,7 +173,7 @@ declare const AstFactory_base: {
|
|
|
173
173
|
tracksSourceLocation: boolean;
|
|
174
174
|
wrap<T>(val: T, loc: SourceLocation): import("@traqula/core").Wrap<T>;
|
|
175
175
|
isLocalized(obj: unknown): obj is import("@traqula/core").Localized;
|
|
176
|
-
sourceLocation(...elements: (undefined | import("chevrotain").IToken | import("@traqula/core").Localized)[]): SourceLocation;
|
|
176
|
+
sourceLocation(...elements: (undefined | import("@traqula/chevrotain").IToken | import("@traqula/core").Localized)[]): SourceLocation;
|
|
177
177
|
sourceLocationNoMaterialize(): SourceLocation;
|
|
178
178
|
dematerialized<T extends import("@traqula/core").Node>(arg: T): T;
|
|
179
179
|
safeObjectTransform(value: unknown, mapper: (some: object) => any): any;
|
|
@@ -224,7 +224,7 @@ declare const AstFactory_base: {
|
|
|
224
224
|
tracksSourceLocation: boolean;
|
|
225
225
|
wrap<T>(val: T, loc: SourceLocation): import("@traqula/core").Wrap<T>;
|
|
226
226
|
isLocalized(obj: unknown): obj is import("@traqula/core").Localized;
|
|
227
|
-
sourceLocation(...elements: (undefined | import("chevrotain").IToken | import("@traqula/core").Localized)[]): SourceLocation;
|
|
227
|
+
sourceLocation(...elements: (undefined | import("@traqula/chevrotain").IToken | import("@traqula/core").Localized)[]): SourceLocation;
|
|
228
228
|
sourceLocationNoMaterialize(): SourceLocation;
|
|
229
229
|
dematerialized<T extends import("@traqula/core").Node>(arg: T): T;
|
|
230
230
|
safeObjectTransform(value: unknown, mapper: (some: object) => any): any;
|
|
@@ -272,7 +272,7 @@ declare const AstFactory_base: {
|
|
|
272
272
|
tracksSourceLocation: boolean;
|
|
273
273
|
wrap<T>(val: T, loc: SourceLocation): import("@traqula/core").Wrap<T>;
|
|
274
274
|
isLocalized(obj: unknown): obj is import("@traqula/core").Localized;
|
|
275
|
-
sourceLocation(...elements: (undefined | import("chevrotain").IToken | import("@traqula/core").Localized)[]): SourceLocation;
|
|
275
|
+
sourceLocation(...elements: (undefined | import("@traqula/chevrotain").IToken | import("@traqula/core").Localized)[]): SourceLocation;
|
|
276
276
|
sourceLocationNoMaterialize(): SourceLocation;
|
|
277
277
|
dematerialized<T extends import("@traqula/core").Node>(arg: T): T;
|
|
278
278
|
safeObjectTransform(value: unknown, mapper: (some: object) => any): any;
|
|
@@ -311,7 +311,7 @@ declare const AstFactory_base: {
|
|
|
311
311
|
tracksSourceLocation: boolean;
|
|
312
312
|
wrap<T>(val: T, loc: SourceLocation): import("@traqula/core").Wrap<T>;
|
|
313
313
|
isLocalized(obj: unknown): obj is import("@traqula/core").Localized;
|
|
314
|
-
sourceLocation(...elements: (undefined | import("chevrotain").IToken | import("@traqula/core").Localized)[]): SourceLocation;
|
|
314
|
+
sourceLocation(...elements: (undefined | import("@traqula/chevrotain").IToken | import("@traqula/core").Localized)[]): SourceLocation;
|
|
315
315
|
sourceLocationNoMaterialize(): SourceLocation;
|
|
316
316
|
dematerialized<T extends import("@traqula/core").Node>(arg: T): T;
|
|
317
317
|
safeObjectTransform(value: unknown, mapper: (some: object) => any): any;
|
|
@@ -382,7 +382,7 @@ declare const AstFactory_base: {
|
|
|
382
382
|
tracksSourceLocation: boolean;
|
|
383
383
|
wrap<T>(val: T, loc: SourceLocation): import("@traqula/core").Wrap<T>;
|
|
384
384
|
isLocalized(obj: unknown): obj is import("@traqula/core").Localized;
|
|
385
|
-
sourceLocation(...elements: (undefined | import("chevrotain").IToken | import("@traqula/core").Localized)[]): SourceLocation;
|
|
385
|
+
sourceLocation(...elements: (undefined | import("@traqula/chevrotain").IToken | import("@traqula/core").Localized)[]): SourceLocation;
|
|
386
386
|
sourceLocationNoMaterialize(): SourceLocation;
|
|
387
387
|
dematerialized<T extends import("@traqula/core").Node>(arg: T): T;
|
|
388
388
|
safeObjectTransform(value: unknown, mapper: (some: object) => any): any;
|
|
@@ -416,7 +416,7 @@ declare const AstFactory_base: {
|
|
|
416
416
|
tracksSourceLocation: boolean;
|
|
417
417
|
wrap<T>(val: T, loc: SourceLocation): import("@traqula/core").Wrap<T>;
|
|
418
418
|
isLocalized(obj: unknown): obj is import("@traqula/core").Localized;
|
|
419
|
-
sourceLocation(...elements: (undefined | import("chevrotain").IToken | import("@traqula/core").Localized)[]): SourceLocation;
|
|
419
|
+
sourceLocation(...elements: (undefined | import("@traqula/chevrotain").IToken | import("@traqula/core").Localized)[]): SourceLocation;
|
|
420
420
|
sourceLocationNoMaterialize(): SourceLocation;
|
|
421
421
|
dematerialized<T extends import("@traqula/core").Node>(arg: T): T;
|
|
422
422
|
safeObjectTransform(value: unknown, mapper: (some: object) => any): any;
|
|
@@ -11,7 +11,7 @@ export declare function ContextFactoryMixin<TBase extends Constructor<AstCoreFac
|
|
|
11
11
|
tracksSourceLocation: boolean;
|
|
12
12
|
wrap<T>(val: T, loc: SourceLocation): import("@traqula/core").Wrap<T>;
|
|
13
13
|
isLocalized(obj: unknown): obj is import("@traqula/core").Localized;
|
|
14
|
-
sourceLocation(...elements: (undefined | import("chevrotain").IToken | import("@traqula/core").Localized)[]): SourceLocation;
|
|
14
|
+
sourceLocation(...elements: (undefined | import("@traqula/chevrotain").IToken | import("@traqula/core").Localized)[]): SourceLocation;
|
|
15
15
|
sourceLocationNoMaterialize(): SourceLocation;
|
|
16
16
|
dematerialized<T extends import("@traqula/core").Node>(arg: T): T;
|
|
17
17
|
safeObjectTransform(value: unknown, mapper: (some: object) => any): any;
|
|
@@ -33,7 +33,7 @@ export declare function ExpressionFactoryMixin<TBase extends Constructor<AstCore
|
|
|
33
33
|
tracksSourceLocation: boolean;
|
|
34
34
|
wrap<T>(val: T, loc: SourceLocation): import("@traqula/core").Wrap<T>;
|
|
35
35
|
isLocalized(obj: unknown): obj is import("@traqula/core").Localized;
|
|
36
|
-
sourceLocation(...elements: (undefined | import("chevrotain").IToken | import("@traqula/core").Localized)[]): SourceLocation;
|
|
36
|
+
sourceLocation(...elements: (undefined | import("@traqula/chevrotain").IToken | import("@traqula/core").Localized)[]): SourceLocation;
|
|
37
37
|
sourceLocationNoMaterialize(): SourceLocation;
|
|
38
38
|
dematerialized<T extends import("@traqula/core").Node>(arg: T): T;
|
|
39
39
|
safeObjectTransform(value: unknown, mapper: (some: object) => any): any;
|
|
@@ -16,7 +16,7 @@ export declare function GraphRefFactoryMixin<TBase extends Constructor<AstCoreFa
|
|
|
16
16
|
tracksSourceLocation: boolean;
|
|
17
17
|
wrap<T>(val: T, loc: SourceLocation): import("@traqula/core").Wrap<T>;
|
|
18
18
|
isLocalized(obj: unknown): obj is import("@traqula/core").Localized;
|
|
19
|
-
sourceLocation(...elements: (undefined | import("chevrotain").IToken | import("@traqula/core").Localized)[]): SourceLocation;
|
|
19
|
+
sourceLocation(...elements: (undefined | import("@traqula/chevrotain").IToken | import("@traqula/core").Localized)[]): SourceLocation;
|
|
20
20
|
sourceLocationNoMaterialize(): SourceLocation;
|
|
21
21
|
dematerialized<T extends import("@traqula/core").Node>(arg: T): T;
|
|
22
22
|
safeObjectTransform(value: unknown, mapper: (some: object) => any): any;
|
|
@@ -24,7 +24,7 @@ export declare function PathFactoryMixin<TBase extends Constructor<AstCoreFactor
|
|
|
24
24
|
tracksSourceLocation: boolean;
|
|
25
25
|
wrap<T>(val: T, loc: SourceLocation): import("@traqula/core").Wrap<T>;
|
|
26
26
|
isLocalized(obj: unknown): obj is import("@traqula/core").Localized;
|
|
27
|
-
sourceLocation(...elements: (undefined | import("chevrotain").IToken | import("@traqula/core").Localized)[]): SourceLocation;
|
|
27
|
+
sourceLocation(...elements: (undefined | import("@traqula/chevrotain").IToken | import("@traqula/core").Localized)[]): SourceLocation;
|
|
28
28
|
sourceLocationNoMaterialize(): SourceLocation;
|
|
29
29
|
dematerialized<T extends import("@traqula/core").Node>(arg: T): T;
|
|
30
30
|
safeObjectTransform(value: unknown, mapper: (some: object) => any): any;
|
|
@@ -28,7 +28,7 @@ export declare function PatternFactoryMixin<TBase extends Constructor<AstCoreFac
|
|
|
28
28
|
tracksSourceLocation: boolean;
|
|
29
29
|
wrap<T>(val: T, loc: SourceLocation): import("@traqula/core").Wrap<T>;
|
|
30
30
|
isLocalized(obj: unknown): obj is import("@traqula/core").Localized;
|
|
31
|
-
sourceLocation(...elements: (undefined | import("chevrotain").IToken | import("@traqula/core").Localized)[]): SourceLocation;
|
|
31
|
+
sourceLocation(...elements: (undefined | import("@traqula/chevrotain").IToken | import("@traqula/core").Localized)[]): SourceLocation;
|
|
32
32
|
sourceLocationNoMaterialize(): SourceLocation;
|
|
33
33
|
dematerialized<T extends import("@traqula/core").Node>(arg: T): T;
|
|
34
34
|
safeObjectTransform(value: unknown, mapper: (some: object) => any): any;
|
|
@@ -14,7 +14,7 @@ export declare function QueryFactoryMixin<TBase extends Constructor<AstCoreFacto
|
|
|
14
14
|
tracksSourceLocation: boolean;
|
|
15
15
|
wrap<T>(val: T, loc: SourceLocation): import("@traqula/core").Wrap<T>;
|
|
16
16
|
isLocalized(obj: unknown): obj is import("@traqula/core").Localized;
|
|
17
|
-
sourceLocation(...elements: (undefined | import("chevrotain").IToken | import("@traqula/core").Localized)[]): SourceLocation;
|
|
17
|
+
sourceLocation(...elements: (undefined | import("@traqula/chevrotain").IToken | import("@traqula/core").Localized)[]): SourceLocation;
|
|
18
18
|
sourceLocationNoMaterialize(): SourceLocation;
|
|
19
19
|
dematerialized<T extends import("@traqula/core").Node>(arg: T): T;
|
|
20
20
|
safeObjectTransform(value: unknown, mapper: (some: object) => any): any;
|
|
@@ -16,7 +16,7 @@ export declare function SolutionModifiersFactoryMixin<TBase extends Constructor<
|
|
|
16
16
|
tracksSourceLocation: boolean;
|
|
17
17
|
wrap<T>(val: T, loc: SourceLocation): import("@traqula/core").Wrap<T>;
|
|
18
18
|
isLocalized(obj: unknown): obj is import("@traqula/core").Localized;
|
|
19
|
-
sourceLocation(...elements: (undefined | import("chevrotain").IToken | import("@traqula/core").Localized)[]): SourceLocation;
|
|
19
|
+
sourceLocation(...elements: (undefined | import("@traqula/chevrotain").IToken | import("@traqula/core").Localized)[]): SourceLocation;
|
|
20
20
|
sourceLocationNoMaterialize(): SourceLocation;
|
|
21
21
|
dematerialized<T extends import("@traqula/core").Node>(arg: T): T;
|
|
22
22
|
safeObjectTransform(value: unknown, mapper: (some: object) => any): any;
|
|
@@ -49,7 +49,7 @@ export declare function TermFactoryMixin<TBase extends Constructor<AstCoreFactor
|
|
|
49
49
|
tracksSourceLocation: boolean;
|
|
50
50
|
wrap<T>(val: T, loc: SourceLocation): import("@traqula/core").Wrap<T>;
|
|
51
51
|
isLocalized(obj: unknown): obj is import("@traqula/core").Localized;
|
|
52
|
-
sourceLocation(...elements: (undefined | import("chevrotain").IToken | import("@traqula/core").Localized)[]): SourceLocation;
|
|
52
|
+
sourceLocation(...elements: (undefined | import("@traqula/chevrotain").IToken | import("@traqula/core").Localized)[]): SourceLocation;
|
|
53
53
|
sourceLocationNoMaterialize(): SourceLocation;
|
|
54
54
|
dematerialized<T extends import("@traqula/core").Node>(arg: T): T;
|
|
55
55
|
safeObjectTransform(value: unknown, mapper: (some: object) => any): any;
|
|
@@ -41,7 +41,7 @@ export declare function UpdateOperationFactoryMixin<TBase extends Constructor<As
|
|
|
41
41
|
tracksSourceLocation: boolean;
|
|
42
42
|
wrap<T>(val: T, loc: SourceLocation): import("@traqula/core").Wrap<T>;
|
|
43
43
|
isLocalized(obj: unknown): obj is import("@traqula/core").Localized;
|
|
44
|
-
sourceLocation(...elements: (undefined | import("chevrotain").IToken | import("@traqula/core").Localized)[]): SourceLocation;
|
|
44
|
+
sourceLocation(...elements: (undefined | import("@traqula/chevrotain").IToken | import("@traqula/core").Localized)[]): SourceLocation;
|
|
45
45
|
sourceLocationNoMaterialize(): SourceLocation;
|
|
46
46
|
dematerialized<T extends import("@traqula/core").Node>(arg: T): T;
|
|
47
47
|
safeObjectTransform(value: unknown, mapper: (some: object) => any): any;
|
|
@@ -9,7 +9,7 @@ export declare const builtInDatatype: import("../expressionHelpers.js").RuleDefE
|
|
|
9
9
|
export declare const builtInBound: import("../expressionHelpers.js").RuleDefExpressionFunctionX<"builtInBound", [import("../Sparql11types.js").TermVariable]>;
|
|
10
10
|
export declare const builtInIri: import("../expressionHelpers.js").RuleDefExpressionFunctionX<"builtInIri", [Expression]>;
|
|
11
11
|
export declare const builtInUri: import("../expressionHelpers.js").RuleDefExpressionFunctionX<"builtInUri", [Expression]>;
|
|
12
|
-
export declare const builtInBnodeSparqlJs: import("../expressionHelpers.js").RuleDefExpressionFunctionX<"builtInBnode", [] | [
|
|
12
|
+
export declare const builtInBnodeSparqlJs: import("../expressionHelpers.js").RuleDefExpressionFunctionX<"builtInBnode", [Expression] | []>;
|
|
13
13
|
export declare const builtInRand: import("../expressionHelpers.js").RuleDefExpressionFunctionX<"builtInRand", []>;
|
|
14
14
|
export declare const builtInAbs: import("../expressionHelpers.js").RuleDefExpressionFunctionX<"builtInAbs", [Expression]>;
|
|
15
15
|
export declare const builtInCeil: import("../expressionHelpers.js").RuleDefExpressionFunctionX<"builtInCeil", [Expression]>;
|
|
@@ -14,11 +14,11 @@ export declare const pathEltOrInverse: SparqlGrammarRule<'pathEltOrInverse', Pat
|
|
|
14
14
|
/**
|
|
15
15
|
* [[90]](https://www.w3.org/TR/sparql11-query/#rPathSequence)
|
|
16
16
|
*/
|
|
17
|
-
export declare const pathSequence: SparqlGrammarRule<"pathSequence", import("../Sparql11types.js").TermIriFull | import("../Sparql11types.js").TermIriPrefixed |
|
|
17
|
+
export declare const pathSequence: SparqlGrammarRule<"pathSequence", import("../Sparql11types.js").TermIriFull | import("../Sparql11types.js").TermIriPrefixed | import("../Sparql11types.js").PropertyPathChain | PathModified | PathNegated>;
|
|
18
18
|
/**
|
|
19
19
|
* [[89]](https://www.w3.org/TR/sparql11-query/#rPathAlternative)
|
|
20
20
|
*/
|
|
21
|
-
export declare const pathAlternative: SparqlGrammarRule<"pathAlternative", import("../Sparql11types.js").TermIriFull | import("../Sparql11types.js").TermIriPrefixed |
|
|
21
|
+
export declare const pathAlternative: SparqlGrammarRule<"pathAlternative", import("../Sparql11types.js").TermIriFull | import("../Sparql11types.js").TermIriPrefixed | import("../Sparql11types.js").PropertyPathChain | PathModified | PathNegated>;
|
|
22
22
|
/**
|
|
23
23
|
* [[91]](https://www.w3.org/TR/sparql11-query/#rPathElt)
|
|
24
24
|
*/
|
|
@@ -22,15 +22,15 @@ export declare const verbPath: SparqlGrammarRule<'verbPath', Path>;
|
|
|
22
22
|
* [[85]](https://www.w3.org/TR/sparql11-query/#rVerbSimple)
|
|
23
23
|
*/
|
|
24
24
|
export declare const verbSimple: SparqlGrammarRule<'verbSimple', TermVariable>;
|
|
25
|
-
export declare const objectList: SparqlGrammarRule<"objectList", TripleNesting[], [GraphNode, import("../Sparql11types.js").TermIriFull | import("../Sparql11types.js").TermIriPrefixed | import("../Sparql11types.js").
|
|
26
|
-
export declare const objectListPath: SparqlGrammarRule<"objectListPath", TripleNesting[], [GraphNode, import("../Sparql11types.js").TermIriFull | import("../Sparql11types.js").TermIriPrefixed | import("../Sparql11types.js").
|
|
27
|
-
export declare const object: SparqlGrammarRule<"object", TripleNesting, [GraphNode, import("../Sparql11types.js").TermIriFull | import("../Sparql11types.js").TermIriPrefixed | import("../Sparql11types.js").
|
|
28
|
-
export declare const objectPath: SparqlGrammarRule<"objectPath", TripleNesting, [GraphNode, import("../Sparql11types.js").TermIriFull | import("../Sparql11types.js").TermIriPrefixed | import("../Sparql11types.js").
|
|
25
|
+
export declare const objectList: SparqlGrammarRule<"objectList", TripleNesting[], [GraphNode, import("../Sparql11types.js").TermIriFull | import("../Sparql11types.js").TermIriPrefixed | TermVariable | import("../Sparql11types.js").PropertyPathChain | import("../Sparql11types.js").PathModified | import("../Sparql11types.js").PathNegated]>;
|
|
26
|
+
export declare const objectListPath: SparqlGrammarRule<"objectListPath", TripleNesting[], [GraphNode, import("../Sparql11types.js").TermIriFull | import("../Sparql11types.js").TermIriPrefixed | TermVariable | import("../Sparql11types.js").PropertyPathChain | import("../Sparql11types.js").PathModified | import("../Sparql11types.js").PathNegated]>;
|
|
27
|
+
export declare const object: SparqlGrammarRule<"object", TripleNesting, [GraphNode, import("../Sparql11types.js").TermIriFull | import("../Sparql11types.js").TermIriPrefixed | TermVariable | import("../Sparql11types.js").PropertyPathChain | import("../Sparql11types.js").PathModified | import("../Sparql11types.js").PathNegated]>;
|
|
28
|
+
export declare const objectPath: SparqlGrammarRule<"objectPath", TripleNesting, [GraphNode, import("../Sparql11types.js").TermIriFull | import("../Sparql11types.js").TermIriPrefixed | TermVariable | import("../Sparql11types.js").PropertyPathChain | import("../Sparql11types.js").PathModified | import("../Sparql11types.js").PathNegated]>;
|
|
29
29
|
export declare const collection: SparqlRule<"collection", TripleCollectionList>;
|
|
30
30
|
export declare const collectionPath: SparqlRule<"collectionPath", TripleCollectionList>;
|
|
31
31
|
export declare const triplesNode: SparqlRule<"triplesNode", TripleCollection>;
|
|
32
32
|
export declare const triplesNodePath: SparqlRule<"triplesNodePath", TripleCollection>;
|
|
33
33
|
export declare const blankNodePropertyList: SparqlRule<"blankNodePropertyList", TripleCollectionBlankNodeProperties>;
|
|
34
34
|
export declare const blankNodePropertyListPath: SparqlRule<"blankNodePropertyListPath", TripleCollectionBlankNodeProperties>;
|
|
35
|
-
export declare const graphNode: SparqlRule<"graphNode",
|
|
36
|
-
export declare const graphNodePath: SparqlRule<"graphNodePath",
|
|
35
|
+
export declare const graphNode: SparqlRule<"graphNode", TripleCollection | Term>;
|
|
36
|
+
export declare const graphNodePath: SparqlRule<"graphNodePath", TripleCollection | Term>;
|
|
@@ -3,4 +3,4 @@ export declare const named: import("@traqula/core").NamedToken<"NamedGraph">;
|
|
|
3
3
|
export declare const default_: import("@traqula/core").NamedToken<"DefaultGraph">;
|
|
4
4
|
export declare const graph: import("@traqula/core").NamedToken<"Graph">;
|
|
5
5
|
export declare const graphAll: import("@traqula/core").NamedToken<"GraphAll">;
|
|
6
|
-
export declare const allGraphTokens: LexerBuilder<"
|
|
6
|
+
export declare const allGraphTokens: LexerBuilder<"NamedGraph" | "DefaultGraph" | "Graph" | "GraphAll">;
|
|
@@ -49,8 +49,8 @@ export declare const false_: import("@traqula/core").NamedToken<"False">;
|
|
|
49
49
|
export declare const in_: import("@traqula/core").NamedToken<"In">;
|
|
50
50
|
export declare const notIn: import("@traqula/core").NamedToken<"NotIn">;
|
|
51
51
|
export declare const separator: import("@traqula/core").NamedToken<"Separator">;
|
|
52
|
-
export declare const allBaseTokens: LexerBuilder<"
|
|
52
|
+
export declare const allBaseTokens: LexerBuilder<"BaseDecl" | "PrefixDecl" | "Select" | "Distinct" | "Reduced" | "As" | "Construct" | "Describe" | "Ask" | "From" | "Where" | "GroupByGroup" | "By" | "Having" | "Order" | "OrderAsc" | "OrderDesc" | "Limit" | "Offset" | "Values" | "Load" | "Silent" | "LoadInto" | "Clear" | "Drop" | "Create" | "Add" | "To" | "Move" | "Copy" | "ModifyWith" | "DeleteDataClause" | "DeleteWhereClause" | "DeleteClause" | "InsertDataClause" | "InsertClause" | "UsingClause" | "Optional" | "Service" | "Bind" | "Undef" | "Minus" | "Union" | "Filter" | "a" | "True" | "False" | "In" | "NotIn" | "Separator">;
|
|
53
53
|
/**
|
|
54
54
|
* [!!!ORDER MATTERS!!!](https://chevrotain.io/docs/tutorial/step1_lexing.html#creating-the-lexer)
|
|
55
55
|
*/
|
|
56
|
-
export declare const sparql11LexerBuilder: LexerBuilder<"
|
|
56
|
+
export declare const sparql11LexerBuilder: LexerBuilder<"BuiltInStr" | "BuiltInLang" | "BuiltInLangmatches" | "BuiltInDatatype" | "BuiltInBound" | "BuiltInIri" | "BuiltInUri" | "BuiltInBnode" | "BuiltInRand" | "BuiltInAbs" | "BuiltInCeil" | "BuiltInFloor" | "BuiltInRound" | "BuiltInConcat" | "BuiltInStrlen" | "BuiltInUcase" | "BuiltInLcase" | "BuiltInEncode_for_uri" | "BuiltInContains" | "BuiltInStrstarts" | "BuiltInStrends" | "BuiltInStrbefore" | "BuiltInStrafter" | "BuiltInYear" | "BuiltInMonth" | "BuiltInDay" | "BuiltInHours" | "BuiltInMinutes" | "BuiltInSeconds" | "BuiltInTimezone" | "BuiltInTz" | "BuiltInNow" | "BuiltInUuid" | "BuiltInStruuid" | "BuiltInMd5" | "BuiltInSha1" | "BuiltInSha256" | "BuiltInSha384" | "BuiltInSha512" | "BuiltInCoalesce" | "BuiltInIf" | "BuiltInStrlang" | "BuiltInStrdt" | "BuiltInSameterm" | "BuiltInIsiri" | "BuiltInIsuri" | "BuiltInIsblank" | "BuiltInIsliteral" | "BuiltInIsnumeric" | "BuiltInRegex" | "BuiltInSubstr" | "BuiltInReplace" | "BuiltInExists" | "BuiltInNotexists" | "BuiltInCount" | "BuiltInSum" | "BuiltInMin" | "BuiltInMax" | "BuiltInAvg" | "BuiltInSample" | "BuiltInGroup_concat" | "NamedGraph" | "DefaultGraph" | "Graph" | "GraphAll" | "LCurly" | "RCurly" | "Dot" | "Comma" | "Semi" | "LParen" | "RParen" | "LSquare" | "RSquare" | "Pipe" | "Slash" | "Hat" | "Question" | "Star" | "OpPlus" | "OpMinus" | "Exclamation" | "LogicAnd" | "LogicOr" | "Equal" | "NotEqual" | "LessThan" | "GreaterThan" | "LessThanEqual" | "GreaterThanEqual" | "Hathat" | "IriRef" | "PNameLn" | "PNameNs" | "BlankNodeLabel" | "Var1" | "Var2" | "LangTag" | "Integer" | "Decimal" | "Double" | "IntegerPositive" | "DecimalPositive" | "DoublePositive" | "IntegerNegative" | "DecimalNegative" | "DoubleNegative" | "StringLiteral1" | "StringLiteral2" | "StringLiteralLong1" | "StringLiteralLong2" | "Ws" | "Comment" | "Nil" | "Anon" | "BaseDecl" | "PrefixDecl" | "Select" | "Distinct" | "Reduced" | "As" | "Construct" | "Describe" | "Ask" | "From" | "Where" | "GroupByGroup" | "By" | "Having" | "Order" | "OrderAsc" | "OrderDesc" | "Limit" | "Offset" | "Values" | "Load" | "Silent" | "LoadInto" | "Clear" | "Drop" | "Create" | "Add" | "To" | "Move" | "Copy" | "ModifyWith" | "DeleteDataClause" | "DeleteWhereClause" | "DeleteClause" | "InsertDataClause" | "InsertClause" | "UsingClause" | "Optional" | "Service" | "Bind" | "Undef" | "Minus" | "Union" | "Filter" | "a" | "True" | "False" | "In" | "NotIn" | "Separator">;
|
|
@@ -25,4 +25,4 @@ export declare const greaterThan: import("@traqula/core").NamedToken<"GreaterTha
|
|
|
25
25
|
export declare const lessThanEqual: import("@traqula/core").NamedToken<"LessThanEqual">;
|
|
26
26
|
export declare const greaterThanEqual: import("@traqula/core").NamedToken<"GreaterThanEqual">;
|
|
27
27
|
export declare const hathat: import("@traqula/core").NamedToken<"Hathat">;
|
|
28
|
-
export declare const allSymbols: LexerBuilder<"
|
|
28
|
+
export declare const allSymbols: LexerBuilder<"LCurly" | "RCurly" | "Dot" | "Comma" | "Semi" | "LParen" | "RParen" | "LSquare" | "RSquare" | "Pipe" | "Slash" | "Hat" | "Question" | "Star" | "OpPlus" | "OpMinus" | "Exclamation" | "LogicAnd" | "LogicOr" | "Equal" | "NotEqual" | "LessThan" | "GreaterThan" | "LessThanEqual" | "GreaterThanEqual" | "Hathat">;
|
|
@@ -92,4 +92,4 @@ export declare const nil: import("@traqula/core").NamedToken<"Nil">;
|
|
|
92
92
|
* [[163]](https://www.w3.org/TR/sparql11-query/#rANON)
|
|
93
93
|
*/
|
|
94
94
|
export declare const anon: import("@traqula/core").NamedToken<"Anon">;
|
|
95
|
-
export declare const allTerminals: LexerBuilder<"
|
|
95
|
+
export declare const allTerminals: LexerBuilder<"IriRef" | "PNameLn" | "PNameNs" | "BlankNodeLabel" | "Var1" | "Var2" | "LangTag" | "Integer" | "Decimal" | "Double" | "IntegerPositive" | "DecimalPositive" | "DoublePositive" | "IntegerNegative" | "DecimalNegative" | "DoubleNegative" | "StringLiteral1" | "StringLiteral2" | "StringLiteralLong1" | "StringLiteralLong2" | "Ws" | "Comment" | "Nil" | "Anon">;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@traqula/rules-sparql-1-1",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "1.0
|
|
4
|
+
"version": "1.1.0",
|
|
5
5
|
"description": "TRAQULA Lexer and Grammar Rules for sparql 1.1",
|
|
6
6
|
"lsd:module": true,
|
|
7
7
|
"license": "MIT",
|
|
@@ -41,8 +41,8 @@
|
|
|
41
41
|
"build:cjs": "node \"../../node_modules/typescript/bin/tsc\" -b tsconfig.cjs.json"
|
|
42
42
|
},
|
|
43
43
|
"dependencies": {
|
|
44
|
-
"@traqula/chevrotain": "^1.0
|
|
45
|
-
"@traqula/core": "^1.0
|
|
44
|
+
"@traqula/chevrotain": "^1.1.0",
|
|
45
|
+
"@traqula/core": "^1.1.0"
|
|
46
46
|
},
|
|
47
|
-
"gitHead": "
|
|
47
|
+
"gitHead": "ecbed266b9247b7600d4d7185a98b2ead74e33b9"
|
|
48
48
|
}
|