@adobe/acc-xtk-parser
Advanced tools
Comparing version 1.0.3 to 1.0.4
@@ -1138,7 +1138,8 @@ import { ATN, CharStream, DFA, Lexer, ParseTreeListener, ParseTreeVisitor, FailedPredicateException, Parser, ParserRuleContext, TerminalNode, TokenStream } from "antlr4"; | ||
* Run the XTK parser on the provided expression and returns the parsing tree | ||
* @param expr The expression | ||
* @param {string} expr The expression | ||
* @param {boolean} exceptionOnError If false, no exception on syntax errors - maybe result in an incomplete tree | ||
* @returns A parsing tree | ||
* @throws {SyntaxErrorException} Raised at the first error of syntax | ||
*/ | ||
export const runXtkParser: (expr: string) => UnitContext; | ||
export const runXtkParser: (expr: string, exceptionOnError?: boolean) => UnitContext; | ||
type Literal = string | number; | ||
@@ -1145,0 +1146,0 @@ type ExecEvaluateXPath = (xpath: string) => Literal; |
{ | ||
"name": "@adobe/acc-xtk-parser", | ||
"version": "1.0.3", | ||
"version": "1.0.4", | ||
"description": "Adobe Campaign XTK expression parser", | ||
@@ -36,2 +36,9 @@ "source": "src/index.ts", | ||
}, | ||
"targets": { | ||
"main": { | ||
"includeNodeModules": [ | ||
"antlr4" | ||
] | ||
} | ||
}, | ||
"files": [ | ||
@@ -38,0 +45,0 @@ "lib/*" |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
678283
26864