@adobe/acc-xtk-parser
Advanced tools
Comparing version 1.0.11 to 1.0.12
@@ -1165,3 +1165,3 @@ import { ATN, CharStream, DFA, Lexer, ParseTreeListener, ParseTreeVisitor, FailedPredicateException, Parser, ParserRuleContext, TerminalNode, TokenStream } from "antlr4"; | ||
export const runXtkParser: (expr: string, exceptionOnError?: boolean) => UnitContext; | ||
type Literal = string | number; | ||
type Literal = string | number | Date; | ||
type ExecEvaluateXPath = (xpath: string) => Literal; | ||
@@ -1179,3 +1179,3 @@ type ExecEvaluateFunction = (name: string, ...args: any[]) => Literal; | ||
* @param {EvaluatorOptions} options Evaluator options used to provide external values required for evaluation | ||
* @returns {string} A string | ||
* @returns {Literal} A literal value | ||
*/ | ||
@@ -1182,0 +1182,0 @@ export function evaluate(expr: string, options?: EvaluatorOptions): Literal; |
{ | ||
"name": "@adobe/acc-xtk-parser", | ||
"version": "1.0.11", | ||
"version": "1.0.12", | ||
"description": "Adobe Campaign XTK expression parser", | ||
@@ -5,0 +5,0 @@ "source": "src/index.ts", |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
868905
31460