@adobe/acc-xtk-parser
Advanced tools
Comparing version 1.0.5 to 1.0.6
@@ -126,2 +126,12 @@ import { ATN, CharStream, DFA, Lexer, ParseTreeListener, ParseTreeVisitor, FailedPredicateException, Parser, ParserRuleContext, TerminalNode, TokenStream } from "antlr4"; | ||
/** | ||
* Enter a parse tree produced by `XtkParser.singleExpression`. | ||
* @param ctx the parse tree | ||
*/ | ||
enterSingleExpression?: (ctx: SingleExpressionContext) => void; | ||
/** | ||
* Exit a parse tree produced by `XtkParser.singleExpression`. | ||
* @param ctx the parse tree | ||
*/ | ||
exitSingleExpression?: (ctx: SingleExpressionContext) => void; | ||
/** | ||
* Enter a parse tree produced by `XtkParser.andOperator`. | ||
@@ -440,2 +450,8 @@ * @param ctx the parse tree | ||
/** | ||
* Visit a parse tree produced by `XtkParser.singleExpression`. | ||
* @param ctx the parse tree | ||
* @return the visitor result | ||
*/ | ||
visitSingleExpression?: (ctx: SingleExpressionContext) => Result; | ||
/** | ||
* Visit a parse tree produced by `XtkParser.andOperator`. | ||
@@ -673,30 +689,31 @@ * @param ctx the parse tree | ||
static readonly RULE_andExpression = 3; | ||
static readonly RULE_andOperator = 4; | ||
static readonly RULE_functionCall = 5; | ||
static readonly RULE_addingExpression = 6; | ||
static readonly RULE_multiplyingExpression = 7; | ||
static readonly RULE_addingOperator = 8; | ||
static readonly RULE_comparisonOperator = 9; | ||
static readonly RULE_multiplyOperator = 10; | ||
static readonly RULE_relationalExpression = 11; | ||
static readonly RULE_unaryOperator = 12; | ||
static readonly RULE_unaryExpression = 13; | ||
static readonly RULE_likeOperator = 14; | ||
static readonly RULE_likeExpression = 15; | ||
static readonly RULE_includedInExpression = 16; | ||
static readonly RULE_xpath = 17; | ||
static readonly RULE_xpath_schema = 18; | ||
static readonly RULE_xpath_locationPath = 19; | ||
static readonly RULE_xpath_step = 20; | ||
static readonly RULE_xpath_qname = 21; | ||
static readonly RULE_xpath_predicate = 22; | ||
static readonly RULE_xpath_expr = 23; | ||
static readonly RULE_list = 24; | ||
static readonly RULE_parameters = 25; | ||
static readonly RULE_variablePath = 26; | ||
static readonly RULE_variableIdentifier = 27; | ||
static readonly RULE_variable = 28; | ||
static readonly RULE_castVariable = 29; | ||
static readonly RULE_literal = 30; | ||
static readonly RULE_computableAtom = 31; | ||
static readonly RULE_singleExpression = 4; | ||
static readonly RULE_andOperator = 5; | ||
static readonly RULE_functionCall = 6; | ||
static readonly RULE_addingExpression = 7; | ||
static readonly RULE_multiplyingExpression = 8; | ||
static readonly RULE_addingOperator = 9; | ||
static readonly RULE_comparisonOperator = 10; | ||
static readonly RULE_multiplyOperator = 11; | ||
static readonly RULE_relationalExpression = 12; | ||
static readonly RULE_unaryOperator = 13; | ||
static readonly RULE_unaryExpression = 14; | ||
static readonly RULE_likeOperator = 15; | ||
static readonly RULE_likeExpression = 16; | ||
static readonly RULE_includedInExpression = 17; | ||
static readonly RULE_xpath = 18; | ||
static readonly RULE_xpath_schema = 19; | ||
static readonly RULE_xpath_locationPath = 20; | ||
static readonly RULE_xpath_step = 21; | ||
static readonly RULE_xpath_qname = 22; | ||
static readonly RULE_xpath_predicate = 23; | ||
static readonly RULE_xpath_expr = 24; | ||
static readonly RULE_list = 25; | ||
static readonly RULE_parameters = 26; | ||
static readonly RULE_variablePath = 27; | ||
static readonly RULE_variableIdentifier = 28; | ||
static readonly RULE_variable = 29; | ||
static readonly RULE_castVariable = 30; | ||
static readonly RULE_literal = 31; | ||
static readonly RULE_computableAtom = 32; | ||
static readonly literalNames: (string | null)[]; | ||
@@ -716,2 +733,3 @@ static readonly symbolicNames: (string | null)[]; | ||
andExpression(): AndExpressionContext; | ||
singleExpression(): SingleExpressionContext; | ||
andOperator(): AndOperatorContext; | ||
@@ -785,20 +803,6 @@ functionCall(): FunctionCallContext; | ||
constructor(parser?: XtkParser, parent?: ParserRuleContext, invokingState?: number); | ||
computableAtom_list(): ComputableAtomContext[]; | ||
computableAtom(i: number): ComputableAtomContext; | ||
relationalExpression_list(): RelationalExpressionContext[]; | ||
relationalExpression(i: number): RelationalExpressionContext; | ||
unaryExpression_list(): UnaryExpressionContext[]; | ||
unaryExpression(i: number): UnaryExpressionContext; | ||
likeExpression_list(): LikeExpressionContext[]; | ||
likeExpression(i: number): LikeExpressionContext; | ||
includedInExpression_list(): IncludedInExpressionContext[]; | ||
includedInExpression(i: number): IncludedInExpressionContext; | ||
singleExpression_list(): SingleExpressionContext[]; | ||
singleExpression(i: number): SingleExpressionContext; | ||
andOperator_list(): AndOperatorContext[]; | ||
andOperator(i: number): AndOperatorContext; | ||
PAR_OPEN_list(): TerminalNode[]; | ||
PAR_OPEN(i: number): TerminalNode; | ||
orExpression_list(): OrExpressionContext[]; | ||
orExpression(i: number): OrExpressionContext; | ||
PAR_CLOSE_list(): TerminalNode[]; | ||
PAR_CLOSE(i: number): TerminalNode; | ||
get ruleIndex(): number; | ||
@@ -809,2 +813,17 @@ enterRule(listener: XtkParserListener): void; | ||
} | ||
declare class SingleExpressionContext extends ParserRuleContext { | ||
constructor(parser?: XtkParser, parent?: ParserRuleContext, invokingState?: number); | ||
computableAtom(): ComputableAtomContext; | ||
relationalExpression(): RelationalExpressionContext; | ||
unaryExpression(): UnaryExpressionContext; | ||
likeExpression(): LikeExpressionContext; | ||
includedInExpression(): IncludedInExpressionContext; | ||
PAR_OPEN(): TerminalNode; | ||
orExpression(): OrExpressionContext; | ||
PAR_CLOSE(): TerminalNode; | ||
get ruleIndex(): number; | ||
enterRule(listener: XtkParserListener): void; | ||
exitRule(listener: XtkParserListener): void; | ||
accept<Result>(visitor: XtkParserVisitor<Result>): Result; | ||
} | ||
declare class AndOperatorContext extends ParserRuleContext { | ||
@@ -811,0 +830,0 @@ constructor(parser?: XtkParser, parent?: ParserRuleContext, invokingState?: number); |
{ | ||
"name": "@adobe/acc-xtk-parser", | ||
"version": "1.0.5", | ||
"version": "1.0.6", | ||
"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
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
861598
31124