xslt-processor 3.0.0 → 3.0.2
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/README.md +2 -2
- package/constants.d.ts +12 -12
- package/constants.js +16 -16
- package/dom/functions.d.ts +14 -14
- package/dom/functions.js +56 -57
- package/dom/functions.js.map +1 -1
- package/dom/index.d.ts +6 -6
- package/dom/index.js +22 -22
- package/dom/util.d.ts +7 -7
- package/dom/util.js +42 -43
- package/dom/util.js.map +1 -1
- package/dom/xdocument.d.ts +16 -16
- package/dom/xdocument.js +73 -74
- package/dom/xdocument.js.map +1 -1
- package/dom/xml-functions.d.ts +58 -58
- package/dom/xml-functions.js +369 -370
- package/dom/xml-functions.js.map +1 -1
- package/dom/xml-output-options.d.ts +6 -6
- package/dom/xml-output-options.js +2 -2
- package/dom/xml-parser.d.ts +47 -47
- package/dom/xml-parser.js +307 -307
- package/dom/xml-parser.js.map +1 -1
- package/dom/xmltoken.d.ts +12 -12
- package/dom/xmltoken.js +101 -101
- package/dom/xnode.d.ts +73 -73
- package/dom/xnode.js +450 -450
- package/dom/xnode.js.map +1 -1
- package/index.d.ts +4 -4
- package/index.js +12 -12
- package/package.json +11 -11
- package/test-without-jest.d.ts +1 -0
- package/test-without-jest.js +63 -0
- package/test-without-jest.js.map +1 -0
- package/umd/constants.d.ts +12 -12
- package/umd/dom/functions.d.ts +14 -14
- package/umd/dom/index.d.ts +6 -6
- package/umd/dom/util.d.ts +7 -7
- package/umd/dom/xdocument.d.ts +16 -16
- package/umd/dom/xml-functions.d.ts +58 -58
- package/umd/dom/xml-output-options.d.ts +6 -6
- package/umd/dom/xml-parser.d.ts +47 -47
- package/umd/dom/xmltoken.d.ts +12 -12
- package/umd/dom/xnode.d.ts +73 -73
- package/umd/index.d.ts +4 -4
- package/umd/test-without-jest.d.ts +1 -0
- package/umd/xpath/common-function.d.ts +8 -8
- package/umd/xpath/expr-context.d.ts +111 -111
- package/umd/xpath/expressions/binary-expr.d.ts +11 -11
- package/umd/xpath/expressions/expression.d.ts +4 -4
- package/umd/xpath/expressions/filter-expr.d.ts +9 -9
- package/umd/xpath/expressions/function-call-expr.d.ts +12 -12
- package/umd/xpath/expressions/index.d.ts +13 -13
- package/umd/xpath/expressions/literal-expr.d.ts +7 -7
- package/umd/xpath/expressions/location-expr.d.ts +15 -15
- package/umd/xpath/expressions/number-expr.d.ts +7 -7
- package/umd/xpath/expressions/path-expr.d.ts +9 -9
- package/umd/xpath/expressions/predicate-expr.d.ts +8 -8
- package/umd/xpath/expressions/step-expr.d.ts +25 -25
- package/umd/xpath/expressions/token-expr.d.ts +7 -7
- package/umd/xpath/expressions/unary-minus-expr.d.ts +8 -8
- package/umd/xpath/expressions/union-expr.d.ts +9 -9
- package/umd/xpath/expressions/variable-expr.d.ts +7 -7
- package/umd/xpath/functions/index.d.ts +2 -2
- package/umd/xpath/functions/internal-functions.d.ts +2 -2
- package/umd/xpath/functions/non-standard.d.ts +12 -12
- package/umd/xpath/functions/standard-20.d.ts +5 -5
- package/umd/xpath/functions/standard.d.ts +40 -40
- package/umd/xpath/grammar-rule-candidate.d.ts +8 -8
- package/umd/xpath/index.d.ts +3 -3
- package/umd/xpath/match-resolver.d.ts +55 -55
- package/umd/xpath/node-tests/index.d.ts +8 -8
- package/umd/xpath/node-tests/node-test-any.d.ts +6 -6
- package/umd/xpath/node-tests/node-test-comment.d.ts +6 -6
- package/umd/xpath/node-tests/node-test-element-or-attribute.d.ts +6 -6
- package/umd/xpath/node-tests/node-test-name.d.ts +10 -10
- package/umd/xpath/node-tests/node-test-nc.d.ts +9 -9
- package/umd/xpath/node-tests/node-test-pi.d.ts +8 -8
- package/umd/xpath/node-tests/node-test-text.d.ts +6 -6
- package/umd/xpath/node-tests/node-test.d.ts +5 -5
- package/umd/xpath/tokens.d.ts +62 -62
- package/umd/xpath/values/boolean-value.d.ts +11 -11
- package/umd/xpath/values/index.d.ts +5 -5
- package/umd/xpath/values/node-set-value.d.ts +11 -11
- package/umd/xpath/values/node-value.d.ts +7 -7
- package/umd/xpath/values/number-value.d.ts +11 -11
- package/umd/xpath/values/string-value.d.ts +11 -11
- package/umd/xpath/xpath-grammar-rules.d.ts +68 -68
- package/umd/xpath/xpath-token-rule.d.ts +7 -7
- package/umd/xpath/xpath.d.ts +174 -170
- package/umd/xpathdebug.d.ts +2 -2
- package/umd/xslt/index.d.ts +3 -3
- package/umd/xslt/xslt-decimal-format-settings.d.ts +28 -28
- package/umd/xslt/xslt-options.d.ts +7 -7
- package/umd/xslt/xslt-parameter.d.ts +5 -5
- package/umd/xslt/xslt.d.ts +207 -190
- package/umd/xslt-processor.js +1 -15
- package/umd/xslt-processor.js.map +1 -1
- package/xpath/common-function.d.ts +8 -8
- package/xpath/common-function.js +31 -32
- package/xpath/common-function.js.map +1 -1
- package/xpath/expr-context.d.ts +111 -111
- package/xpath/expr-context.js +189 -189
- package/xpath/expr-context.js.map +1 -1
- package/xpath/expressions/binary-expr.d.ts +11 -11
- package/xpath/expressions/binary-expr.js +165 -165
- package/xpath/expressions/binary-expr.js.map +1 -1
- package/xpath/expressions/expression.d.ts +4 -4
- package/xpath/expressions/expression.js +9 -9
- package/xpath/expressions/filter-expr.d.ts +9 -9
- package/xpath/expressions/filter-expr.js +52 -52
- package/xpath/expressions/filter-expr.js.map +1 -1
- package/xpath/expressions/function-call-expr.d.ts +12 -12
- package/xpath/expressions/function-call-expr.js +95 -95
- package/xpath/expressions/function-call-expr.js.map +1 -1
- package/xpath/expressions/index.d.ts +13 -13
- package/xpath/expressions/index.js +29 -29
- package/xpath/expressions/literal-expr.d.ts +7 -7
- package/xpath/expressions/literal-expr.js +33 -33
- package/xpath/expressions/literal-expr.js.map +1 -1
- package/xpath/expressions/location-expr.d.ts +15 -15
- package/xpath/expressions/location-expr.js +98 -98
- package/xpath/expressions/location-expr.js.map +1 -1
- package/xpath/expressions/number-expr.d.ts +7 -7
- package/xpath/expressions/number-expr.js +33 -33
- package/xpath/expressions/number-expr.js.map +1 -1
- package/xpath/expressions/path-expr.d.ts +9 -9
- package/xpath/expressions/path-expr.js +51 -51
- package/xpath/expressions/path-expr.js.map +1 -1
- package/xpath/expressions/predicate-expr.d.ts +8 -8
- package/xpath/expressions/predicate-expr.js +40 -40
- package/xpath/expressions/predicate-expr.js.map +1 -1
- package/xpath/expressions/step-expr.d.ts +25 -25
- package/xpath/expressions/step-expr.js +280 -280
- package/xpath/expressions/step-expr.js.map +1 -1
- package/xpath/expressions/token-expr.d.ts +7 -7
- package/xpath/expressions/token-expr.js +33 -33
- package/xpath/expressions/token-expr.js.map +1 -1
- package/xpath/expressions/unary-minus-expr.d.ts +8 -8
- package/xpath/expressions/unary-minus-expr.js +33 -33
- package/xpath/expressions/unary-minus-expr.js.map +1 -1
- package/xpath/expressions/union-expr.d.ts +9 -9
- package/xpath/expressions/union-expr.js +50 -50
- package/xpath/expressions/union-expr.js.map +1 -1
- package/xpath/expressions/variable-expr.d.ts +7 -7
- package/xpath/expressions/variable-expr.js +32 -32
- package/xpath/expressions/variable-expr.js.map +1 -1
- package/xpath/functions/index.d.ts +2 -2
- package/xpath/functions/index.js +18 -18
- package/xpath/functions/internal-functions.d.ts +2 -2
- package/xpath/functions/internal-functions.js +21 -22
- package/xpath/functions/internal-functions.js.map +1 -1
- package/xpath/functions/non-standard.d.ts +12 -12
- package/xpath/functions/non-standard.js +44 -45
- package/xpath/functions/non-standard.js.map +1 -1
- package/xpath/functions/standard-20.d.ts +5 -5
- package/xpath/functions/standard-20.js +25 -26
- package/xpath/functions/standard-20.js.map +1 -1
- package/xpath/functions/standard.d.ts +40 -40
- package/xpath/functions/standard.js +441 -442
- package/xpath/functions/standard.js.map +1 -1
- package/xpath/grammar-rule-candidate.d.ts +8 -8
- package/xpath/grammar-rule-candidate.js +2 -2
- package/xpath/index.d.ts +3 -3
- package/xpath/index.js +19 -19
- package/xpath/match-resolver.d.ts +55 -55
- package/xpath/match-resolver.js +136 -136
- package/xpath/match-resolver.js.map +1 -1
- package/xpath/node-tests/index.d.ts +8 -8
- package/xpath/node-tests/index.js +17 -17
- package/xpath/node-tests/node-test-any.d.ts +6 -6
- package/xpath/node-tests/node-test-any.js +14 -14
- package/xpath/node-tests/node-test-comment.d.ts +6 -6
- package/xpath/node-tests/node-test-comment.js +14 -14
- package/xpath/node-tests/node-test-element-or-attribute.d.ts +6 -6
- package/xpath/node-tests/node-test-element-or-attribute.js +15 -15
- package/xpath/node-tests/node-test-name.d.ts +10 -10
- package/xpath/node-tests/node-test-name.js +38 -38
- package/xpath/node-tests/node-test-name.js.map +1 -1
- package/xpath/node-tests/node-test-nc.d.ts +9 -9
- package/xpath/node-tests/node-test-nc.js +16 -16
- package/xpath/node-tests/node-test-pi.d.ts +8 -8
- package/xpath/node-tests/node-test-pi.js +16 -16
- package/xpath/node-tests/node-test-pi.js.map +1 -1
- package/xpath/node-tests/node-test-text.d.ts +6 -6
- package/xpath/node-tests/node-test-text.js +14 -14
- package/xpath/node-tests/node-test.d.ts +5 -5
- package/xpath/node-tests/node-test.js +2 -2
- package/xpath/tokens.d.ts +62 -62
- package/xpath/tokens.js +300 -300
- package/xpath/tokens.js.map +1 -1
- package/xpath/values/boolean-value.d.ts +11 -11
- package/xpath/values/boolean-value.js +23 -23
- package/xpath/values/index.d.ts +5 -5
- package/xpath/values/index.js +46 -46
- package/xpath/values/node-set-value.d.ts +11 -11
- package/xpath/values/node-set-value.js +27 -27
- package/xpath/values/node-set-value.js.map +1 -1
- package/xpath/values/node-value.d.ts +7 -7
- package/xpath/values/node-value.js +2 -2
- package/xpath/values/number-value.d.ts +11 -11
- package/xpath/values/number-value.js +23 -23
- package/xpath/values/string-value.d.ts +11 -11
- package/xpath/values/string-value.js +23 -23
- package/xpath/xpath-grammar-rules.d.ts +68 -68
- package/xpath/xpath-grammar-rules.js +74 -74
- package/xpath/xpath-token-rule.d.ts +7 -7
- package/xpath/xpath-token-rule.js +2 -2
- package/xpath/xpath.d.ts +174 -170
- package/xpath/xpath.js +911 -909
- package/xpath/xpath.js.map +1 -1
- package/xpathdebug.d.ts +2 -2
- package/xpathdebug.js +187 -187
- package/xpathdebug.js.map +1 -1
- package/xslt/index.d.ts +3 -3
- package/xslt/index.js +19 -19
- package/xslt/xslt-decimal-format-settings.d.ts +28 -28
- package/xslt/xslt-decimal-format-settings.js +2 -2
- package/xslt/xslt-options.d.ts +7 -7
- package/xslt/xslt-options.js +2 -2
- package/xslt/xslt-parameter.d.ts +5 -5
- package/xslt/xslt-parameter.js +2 -2
- package/xslt/xslt.d.ts +207 -190
- package/xslt/xslt.js +1135 -1079
- package/xslt/xslt.js.map +1 -1
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { ExprContext } from "../expr-context";
|
|
2
|
-
import { BooleanValue } from "../values/boolean-value";
|
|
3
|
-
import { NodeTest } from "./node-test";
|
|
4
|
-
export declare class NodeTestPI implements NodeTest {
|
|
5
|
-
target: any;
|
|
6
|
-
constructor(target: any);
|
|
7
|
-
evaluate(
|
|
8
|
-
}
|
|
1
|
+
import { ExprContext } from "../expr-context";
|
|
2
|
+
import { BooleanValue } from "../values/boolean-value";
|
|
3
|
+
import { NodeTest } from "./node-test";
|
|
4
|
+
export declare class NodeTestPI implements NodeTest {
|
|
5
|
+
target: any;
|
|
6
|
+
constructor(target: any);
|
|
7
|
+
evaluate(context: ExprContext): BooleanValue;
|
|
8
|
+
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { ExprContext } from "../expr-context";
|
|
2
|
-
import { BooleanValue } from "../values/boolean-value";
|
|
3
|
-
import { NodeTest } from "./node-test";
|
|
4
|
-
export declare class NodeTestText implements NodeTest {
|
|
5
|
-
evaluate(ctx: ExprContext): BooleanValue;
|
|
6
|
-
}
|
|
1
|
+
import { ExprContext } from "../expr-context";
|
|
2
|
+
import { BooleanValue } from "../values/boolean-value";
|
|
3
|
+
import { NodeTest } from "./node-test";
|
|
4
|
+
export declare class NodeTestText implements NodeTest {
|
|
5
|
+
evaluate(ctx: ExprContext): BooleanValue;
|
|
6
|
+
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { ExprContext } from "../expr-context";
|
|
2
|
-
import { NodeValue } from "../values";
|
|
3
|
-
export interface NodeTest {
|
|
4
|
-
evaluate(_ctx: ExprContext): NodeValue;
|
|
5
|
-
}
|
|
1
|
+
import { ExprContext } from "../expr-context";
|
|
2
|
+
import { NodeValue } from "../values";
|
|
3
|
+
export interface NodeTest {
|
|
4
|
+
evaluate(_ctx: ExprContext): NodeValue;
|
|
5
|
+
}
|
package/umd/xpath/tokens.d.ts
CHANGED
|
@@ -1,62 +1,62 @@
|
|
|
1
|
-
import { XPathTokenRule } from "./xpath-token-rule";
|
|
2
|
-
export declare const xPathAxis: {
|
|
3
|
-
ANCESTOR_OR_SELF: string;
|
|
4
|
-
ANCESTOR: string;
|
|
5
|
-
ATTRIBUTE: string;
|
|
6
|
-
CHILD: string;
|
|
7
|
-
DESCENDANT_OR_SELF: string;
|
|
8
|
-
DESCENDANT: string;
|
|
9
|
-
FOLLOWING_SIBLING: string;
|
|
10
|
-
FOLLOWING: string;
|
|
11
|
-
NAMESPACE: string;
|
|
12
|
-
PARENT: string;
|
|
13
|
-
PRECEDING_SIBLING: string;
|
|
14
|
-
PRECEDING: string;
|
|
15
|
-
SELF: string;
|
|
16
|
-
SELF_AND_SIBLINGS: string;
|
|
17
|
-
};
|
|
18
|
-
export declare const TOK_PIPE: XPathTokenRule;
|
|
19
|
-
export declare const TOK_DSLASH: XPathTokenRule;
|
|
20
|
-
export declare const TOK_SLASH: XPathTokenRule;
|
|
21
|
-
export declare const TOK_AXIS: XPathTokenRule;
|
|
22
|
-
export declare const TOK_COLON: XPathTokenRule;
|
|
23
|
-
export declare const TOK_AXISNAME: XPathTokenRule;
|
|
24
|
-
export declare const TOK_PARENO: XPathTokenRule;
|
|
25
|
-
export declare const TOK_PARENC: XPathTokenRule;
|
|
26
|
-
export declare const TOK_DDOT: XPathTokenRule;
|
|
27
|
-
export declare const TOK_DOT: XPathTokenRule;
|
|
28
|
-
export declare const TOK_AT: XPathTokenRule;
|
|
29
|
-
export declare const TOK_COMMA: XPathTokenRule;
|
|
30
|
-
export declare const TOK_OR: XPathTokenRule;
|
|
31
|
-
export declare const TOK_AND: XPathTokenRule;
|
|
32
|
-
export declare const TOK_EQ: XPathTokenRule;
|
|
33
|
-
export declare const TOK_NEQ: XPathTokenRule;
|
|
34
|
-
export declare const TOK_GE: XPathTokenRule;
|
|
35
|
-
export declare const TOK_GT: XPathTokenRule;
|
|
36
|
-
export declare const TOK_LE: XPathTokenRule;
|
|
37
|
-
export declare const TOK_LT: XPathTokenRule;
|
|
38
|
-
export declare const TOK_PLUS: XPathTokenRule;
|
|
39
|
-
export declare const TOK_MINUS: XPathTokenRule;
|
|
40
|
-
export declare const TOK_DIV: XPathTokenRule;
|
|
41
|
-
export declare const TOK_MOD: XPathTokenRule;
|
|
42
|
-
export declare const TOK_BRACKO: XPathTokenRule;
|
|
43
|
-
export declare const TOK_BRACKC: XPathTokenRule;
|
|
44
|
-
export declare const TOK_DOLLAR: XPathTokenRule;
|
|
45
|
-
export declare const TOK_NCNAME: XPathTokenRule;
|
|
46
|
-
export declare const TOK_ASTERISK: XPathTokenRule;
|
|
47
|
-
export declare const TOK_LITERALQ: XPathTokenRule;
|
|
48
|
-
export declare const TOK_LITERALQQ: XPathTokenRule;
|
|
49
|
-
export declare const TOK_NUMBER: XPathTokenRule;
|
|
50
|
-
export declare const TOK_QNAME: XPathTokenRule;
|
|
51
|
-
export declare const TOK_NODEO: XPathTokenRule;
|
|
52
|
-
export declare const xPathTokenRules: XPathTokenRule[];
|
|
53
|
-
export declare const
|
|
54
|
-
label: string;
|
|
55
|
-
};
|
|
56
|
-
export declare const
|
|
57
|
-
label: string;
|
|
58
|
-
};
|
|
59
|
-
export declare const
|
|
60
|
-
label: string;
|
|
61
|
-
};
|
|
62
|
-
export declare const ASSOC_LEFT = true;
|
|
1
|
+
import { XPathTokenRule } from "./xpath-token-rule";
|
|
2
|
+
export declare const xPathAxis: {
|
|
3
|
+
ANCESTOR_OR_SELF: string;
|
|
4
|
+
ANCESTOR: string;
|
|
5
|
+
ATTRIBUTE: string;
|
|
6
|
+
CHILD: string;
|
|
7
|
+
DESCENDANT_OR_SELF: string;
|
|
8
|
+
DESCENDANT: string;
|
|
9
|
+
FOLLOWING_SIBLING: string;
|
|
10
|
+
FOLLOWING: string;
|
|
11
|
+
NAMESPACE: string;
|
|
12
|
+
PARENT: string;
|
|
13
|
+
PRECEDING_SIBLING: string;
|
|
14
|
+
PRECEDING: string;
|
|
15
|
+
SELF: string;
|
|
16
|
+
SELF_AND_SIBLINGS: string;
|
|
17
|
+
};
|
|
18
|
+
export declare const TOK_PIPE: XPathTokenRule;
|
|
19
|
+
export declare const TOK_DSLASH: XPathTokenRule;
|
|
20
|
+
export declare const TOK_SLASH: XPathTokenRule;
|
|
21
|
+
export declare const TOK_AXIS: XPathTokenRule;
|
|
22
|
+
export declare const TOK_COLON: XPathTokenRule;
|
|
23
|
+
export declare const TOK_AXISNAME: XPathTokenRule;
|
|
24
|
+
export declare const TOK_PARENO: XPathTokenRule;
|
|
25
|
+
export declare const TOK_PARENC: XPathTokenRule;
|
|
26
|
+
export declare const TOK_DDOT: XPathTokenRule;
|
|
27
|
+
export declare const TOK_DOT: XPathTokenRule;
|
|
28
|
+
export declare const TOK_AT: XPathTokenRule;
|
|
29
|
+
export declare const TOK_COMMA: XPathTokenRule;
|
|
30
|
+
export declare const TOK_OR: XPathTokenRule;
|
|
31
|
+
export declare const TOK_AND: XPathTokenRule;
|
|
32
|
+
export declare const TOK_EQ: XPathTokenRule;
|
|
33
|
+
export declare const TOK_NEQ: XPathTokenRule;
|
|
34
|
+
export declare const TOK_GE: XPathTokenRule;
|
|
35
|
+
export declare const TOK_GT: XPathTokenRule;
|
|
36
|
+
export declare const TOK_LE: XPathTokenRule;
|
|
37
|
+
export declare const TOK_LT: XPathTokenRule;
|
|
38
|
+
export declare const TOK_PLUS: XPathTokenRule;
|
|
39
|
+
export declare const TOK_MINUS: XPathTokenRule;
|
|
40
|
+
export declare const TOK_DIV: XPathTokenRule;
|
|
41
|
+
export declare const TOK_MOD: XPathTokenRule;
|
|
42
|
+
export declare const TOK_BRACKO: XPathTokenRule;
|
|
43
|
+
export declare const TOK_BRACKC: XPathTokenRule;
|
|
44
|
+
export declare const TOK_DOLLAR: XPathTokenRule;
|
|
45
|
+
export declare const TOK_NCNAME: XPathTokenRule;
|
|
46
|
+
export declare const TOK_ASTERISK: XPathTokenRule;
|
|
47
|
+
export declare const TOK_LITERALQ: XPathTokenRule;
|
|
48
|
+
export declare const TOK_LITERALQQ: XPathTokenRule;
|
|
49
|
+
export declare const TOK_NUMBER: XPathTokenRule;
|
|
50
|
+
export declare const TOK_QNAME: XPathTokenRule;
|
|
51
|
+
export declare const TOK_NODEO: XPathTokenRule;
|
|
52
|
+
export declare const xPathTokenRules: XPathTokenRule[];
|
|
53
|
+
export declare const Q_ZERO_OR_ONE: {
|
|
54
|
+
label: string;
|
|
55
|
+
};
|
|
56
|
+
export declare const Q_ZERO_OR_MULTIPLE: {
|
|
57
|
+
label: string;
|
|
58
|
+
};
|
|
59
|
+
export declare const Q_ONE_OR_MULTIPLE: {
|
|
60
|
+
label: string;
|
|
61
|
+
};
|
|
62
|
+
export declare const ASSOC_LEFT = true;
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { XNode } from "../../dom";
|
|
2
|
-
import { NodeValue } from "./node-value";
|
|
3
|
-
export declare class BooleanValue implements NodeValue {
|
|
4
|
-
value: any;
|
|
5
|
-
type: string;
|
|
6
|
-
constructor(value: any);
|
|
7
|
-
stringValue(): string;
|
|
8
|
-
booleanValue(): any;
|
|
9
|
-
numberValue(): 1 | 0;
|
|
10
|
-
nodeSetValue(): XNode[];
|
|
11
|
-
}
|
|
1
|
+
import { XNode } from "../../dom";
|
|
2
|
+
import { NodeValue } from "./node-value";
|
|
3
|
+
export declare class BooleanValue implements NodeValue {
|
|
4
|
+
value: any;
|
|
5
|
+
type: string;
|
|
6
|
+
constructor(value: any);
|
|
7
|
+
stringValue(): string;
|
|
8
|
+
booleanValue(): any;
|
|
9
|
+
numberValue(): 1 | 0;
|
|
10
|
+
nodeSetValue(): XNode[];
|
|
11
|
+
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export * from './boolean-value';
|
|
2
|
-
export * from './node-set-value';
|
|
3
|
-
export * from './node-value';
|
|
4
|
-
export * from './number-value';
|
|
5
|
-
export * from './string-value';
|
|
1
|
+
export * from './boolean-value';
|
|
2
|
+
export * from './node-set-value';
|
|
3
|
+
export * from './node-value';
|
|
4
|
+
export * from './number-value';
|
|
5
|
+
export * from './string-value';
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { XNode } from "../../dom";
|
|
2
|
-
import { NodeValue } from "./node-value";
|
|
3
|
-
export declare class NodeSetValue implements NodeValue {
|
|
4
|
-
value: XNode[];
|
|
5
|
-
type: string;
|
|
6
|
-
constructor(value: any);
|
|
7
|
-
stringValue(): string;
|
|
8
|
-
booleanValue(): boolean;
|
|
9
|
-
numberValue(): number;
|
|
10
|
-
nodeSetValue(): XNode[];
|
|
11
|
-
}
|
|
1
|
+
import { XNode } from "../../dom";
|
|
2
|
+
import { NodeValue } from "./node-value";
|
|
3
|
+
export declare class NodeSetValue implements NodeValue {
|
|
4
|
+
value: XNode[];
|
|
5
|
+
type: string;
|
|
6
|
+
constructor(value: any);
|
|
7
|
+
stringValue(): string;
|
|
8
|
+
booleanValue(): boolean;
|
|
9
|
+
numberValue(): number;
|
|
10
|
+
nodeSetValue(): XNode[];
|
|
11
|
+
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { XNode } from "../../dom";
|
|
2
|
-
export interface NodeValue {
|
|
3
|
-
stringValue(): string;
|
|
4
|
-
booleanValue(): boolean;
|
|
5
|
-
numberValue(): number;
|
|
6
|
-
nodeSetValue(): XNode[];
|
|
7
|
-
}
|
|
1
|
+
import { XNode } from "../../dom";
|
|
2
|
+
export interface NodeValue {
|
|
3
|
+
stringValue(): string;
|
|
4
|
+
booleanValue(): boolean;
|
|
5
|
+
numberValue(): number;
|
|
6
|
+
nodeSetValue(): XNode[];
|
|
7
|
+
}
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { XNode } from "../../dom";
|
|
2
|
-
import { NodeValue } from "./node-value";
|
|
3
|
-
export declare class NumberValue implements NodeValue {
|
|
4
|
-
value: any;
|
|
5
|
-
type: string;
|
|
6
|
-
constructor(value: any);
|
|
7
|
-
stringValue(): string;
|
|
8
|
-
booleanValue(): boolean;
|
|
9
|
-
numberValue(): number;
|
|
10
|
-
nodeSetValue(): XNode[];
|
|
11
|
-
}
|
|
1
|
+
import { XNode } from "../../dom";
|
|
2
|
+
import { NodeValue } from "./node-value";
|
|
3
|
+
export declare class NumberValue implements NodeValue {
|
|
4
|
+
value: any;
|
|
5
|
+
type: string;
|
|
6
|
+
constructor(value: any);
|
|
7
|
+
stringValue(): string;
|
|
8
|
+
booleanValue(): boolean;
|
|
9
|
+
numberValue(): number;
|
|
10
|
+
nodeSetValue(): XNode[];
|
|
11
|
+
}
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { XNode } from "../../dom";
|
|
2
|
-
import { NodeValue } from "./node-value";
|
|
3
|
-
export declare class StringValue implements NodeValue {
|
|
4
|
-
value: any;
|
|
5
|
-
type: string;
|
|
6
|
-
constructor(value: any);
|
|
7
|
-
stringValue(): string;
|
|
8
|
-
booleanValue(): boolean;
|
|
9
|
-
numberValue(): number;
|
|
10
|
-
nodeSetValue(): XNode[];
|
|
11
|
-
}
|
|
1
|
+
import { XNode } from "../../dom";
|
|
2
|
+
import { NodeValue } from "./node-value";
|
|
3
|
+
export declare class StringValue implements NodeValue {
|
|
4
|
+
value: any;
|
|
5
|
+
type: string;
|
|
6
|
+
constructor(value: any);
|
|
7
|
+
stringValue(): string;
|
|
8
|
+
booleanValue(): boolean;
|
|
9
|
+
numberValue(): number;
|
|
10
|
+
nodeSetValue(): XNode[];
|
|
11
|
+
}
|
|
@@ -1,68 +1,68 @@
|
|
|
1
|
-
export declare const XPathLocationPath: {
|
|
2
|
-
label: string;
|
|
3
|
-
key: any;
|
|
4
|
-
};
|
|
5
|
-
export declare const XPathRelativeLocationPath: {
|
|
6
|
-
label: string;
|
|
7
|
-
key: any;
|
|
8
|
-
};
|
|
9
|
-
export declare const XPathAbsoluteLocationPath: {
|
|
10
|
-
label: string;
|
|
11
|
-
key: any;
|
|
12
|
-
};
|
|
13
|
-
export declare const XPathStep: {
|
|
14
|
-
label: string;
|
|
15
|
-
key: any;
|
|
16
|
-
};
|
|
17
|
-
export declare const XPathNodeTest: {
|
|
18
|
-
label: string;
|
|
19
|
-
key: any;
|
|
20
|
-
};
|
|
21
|
-
export declare const XPathPredicate: {
|
|
22
|
-
label: string;
|
|
23
|
-
key: any;
|
|
24
|
-
};
|
|
25
|
-
export declare const XPathLiteral: {
|
|
26
|
-
label: string;
|
|
27
|
-
key: any;
|
|
28
|
-
};
|
|
29
|
-
export declare const XPathExpr: {
|
|
30
|
-
label: string;
|
|
31
|
-
key: any;
|
|
32
|
-
};
|
|
33
|
-
export declare const XPathPrimaryExpr: {
|
|
34
|
-
label: string;
|
|
35
|
-
key: any;
|
|
36
|
-
};
|
|
37
|
-
export declare const XPathVariableReference: {
|
|
38
|
-
label: string;
|
|
39
|
-
key: any;
|
|
40
|
-
};
|
|
41
|
-
export declare const XPathNumber: {
|
|
42
|
-
label: string;
|
|
43
|
-
key: any;
|
|
44
|
-
};
|
|
45
|
-
export declare const XPathFunctionCall: {
|
|
46
|
-
label: string;
|
|
47
|
-
key: any;
|
|
48
|
-
};
|
|
49
|
-
export declare const XPathArgumentRemainder: {
|
|
50
|
-
label: string;
|
|
51
|
-
key: any;
|
|
52
|
-
};
|
|
53
|
-
export declare const XPathPathExpr: {
|
|
54
|
-
label: string;
|
|
55
|
-
key: any;
|
|
56
|
-
};
|
|
57
|
-
export declare const XPathUnionExpr: {
|
|
58
|
-
label: string;
|
|
59
|
-
key: any;
|
|
60
|
-
};
|
|
61
|
-
export declare const XPathFilterExpr: {
|
|
62
|
-
label: string;
|
|
63
|
-
key: any;
|
|
64
|
-
};
|
|
65
|
-
export declare const XPathDigits: {
|
|
66
|
-
label: string;
|
|
67
|
-
key: any;
|
|
68
|
-
};
|
|
1
|
+
export declare const XPathLocationPath: {
|
|
2
|
+
label: string;
|
|
3
|
+
key: any;
|
|
4
|
+
};
|
|
5
|
+
export declare const XPathRelativeLocationPath: {
|
|
6
|
+
label: string;
|
|
7
|
+
key: any;
|
|
8
|
+
};
|
|
9
|
+
export declare const XPathAbsoluteLocationPath: {
|
|
10
|
+
label: string;
|
|
11
|
+
key: any;
|
|
12
|
+
};
|
|
13
|
+
export declare const XPathStep: {
|
|
14
|
+
label: string;
|
|
15
|
+
key: any;
|
|
16
|
+
};
|
|
17
|
+
export declare const XPathNodeTest: {
|
|
18
|
+
label: string;
|
|
19
|
+
key: any;
|
|
20
|
+
};
|
|
21
|
+
export declare const XPathPredicate: {
|
|
22
|
+
label: string;
|
|
23
|
+
key: any;
|
|
24
|
+
};
|
|
25
|
+
export declare const XPathLiteral: {
|
|
26
|
+
label: string;
|
|
27
|
+
key: any;
|
|
28
|
+
};
|
|
29
|
+
export declare const XPathExpr: {
|
|
30
|
+
label: string;
|
|
31
|
+
key: any;
|
|
32
|
+
};
|
|
33
|
+
export declare const XPathPrimaryExpr: {
|
|
34
|
+
label: string;
|
|
35
|
+
key: any;
|
|
36
|
+
};
|
|
37
|
+
export declare const XPathVariableReference: {
|
|
38
|
+
label: string;
|
|
39
|
+
key: any;
|
|
40
|
+
};
|
|
41
|
+
export declare const XPathNumber: {
|
|
42
|
+
label: string;
|
|
43
|
+
key: any;
|
|
44
|
+
};
|
|
45
|
+
export declare const XPathFunctionCall: {
|
|
46
|
+
label: string;
|
|
47
|
+
key: any;
|
|
48
|
+
};
|
|
49
|
+
export declare const XPathArgumentRemainder: {
|
|
50
|
+
label: string;
|
|
51
|
+
key: any;
|
|
52
|
+
};
|
|
53
|
+
export declare const XPathPathExpr: {
|
|
54
|
+
label: string;
|
|
55
|
+
key: any;
|
|
56
|
+
};
|
|
57
|
+
export declare const XPathUnionExpr: {
|
|
58
|
+
label: string;
|
|
59
|
+
key: any;
|
|
60
|
+
};
|
|
61
|
+
export declare const XPathFilterExpr: {
|
|
62
|
+
label: string;
|
|
63
|
+
key: any;
|
|
64
|
+
};
|
|
65
|
+
export declare const XPathDigits: {
|
|
66
|
+
label: string;
|
|
67
|
+
key: any;
|
|
68
|
+
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
export type XPathTokenRule = {
|
|
2
|
-
label: string;
|
|
3
|
-
prec?: number;
|
|
4
|
-
re: RegExp;
|
|
5
|
-
key?: any;
|
|
6
|
-
left?: boolean;
|
|
7
|
-
};
|
|
1
|
+
export type XPathTokenRule = {
|
|
2
|
+
label: string;
|
|
3
|
+
prec?: number;
|
|
4
|
+
re: RegExp;
|
|
5
|
+
key?: any;
|
|
6
|
+
left?: boolean;
|
|
7
|
+
};
|