xslt-processor 2.1.2 → 2.1.4

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "xslt-processor",
3
- "version": "2.1.2",
3
+ "version": "2.1.4",
4
4
  "description": "A JavaScript XSLT Processor",
5
5
  "main": "index.js",
6
6
  "module": "index.js",
@@ -52,13 +52,13 @@ export declare class Xslt {
52
52
  */
53
53
  protected xsltProcessContext(context: ExprContext, template: XNode, output?: XNode): void;
54
54
  /**
55
- * Implements xsl:choose and its child nodes xsl:when and
56
- * xsl:otherwise.
57
- * @param input The Expression Context.
55
+ * Implements `xsl:choose`, its child nodes `xsl:when`, and
56
+ * `xsl:otherwise`.
57
+ * @param context The Expression Context.
58
58
  * @param template The template.
59
59
  * @param output The output.
60
60
  */
61
- protected xsltChoose(input: ExprContext, template: any, output: any): void;
61
+ protected xsltChoose(context: ExprContext, template: XNode, output: any): void;
62
62
  /**
63
63
  * Implements `xsl:copy` for all node types.
64
64
  * @param {XNode} destination the node being copied to, part of output document.
@@ -103,14 +103,14 @@ export declare class Xslt {
103
103
  * Evaluates a variable or parameter and set it in the current input
104
104
  * context. Implements `xsl:variable`, `xsl:param`, and `xsl:with-param`.
105
105
  *
106
- * @param input TODO
107
- * @param template TODO
106
+ * @param context The expression context.
107
+ * @param template The template node.
108
108
  * @param override flag that defines if the value computed here
109
109
  * overrides the one already in the input context if that is the
110
110
  * case. I.e. decides if this is a default value or a local
111
111
  * value. `xsl:variable` and `xsl:with-param` override; `xsl:param` doesn't.
112
112
  */
113
- protected xsltVariable(input: ExprContext, template: any, override: boolean): void;
113
+ protected xsltVariable(context: ExprContext, template: XNode, override: boolean): void;
114
114
  /**
115
115
  * Traverses the template node tree. Calls the main processing
116
116
  * function with the current input context for every child node of the
@@ -174,9 +174,9 @@ export declare class Xslt {
174
174
  * current template node, in the current input context. This happens
175
175
  * before the operation specified by the current template node is
176
176
  * executed.
177
- * @param input TODO
178
- * @param template TODO
177
+ * @param context The Expression Context.
178
+ * @param template The template node.
179
179
  */
180
- protected xsltWithParam(input: ExprContext, template: any): void;
180
+ protected xsltWithParam(context: ExprContext, template: XNode): void;
181
181
  protected isXsltElement(element: any, opt_wantedName?: string): boolean;
182
182
  }