From f658784e84a41f59e1d0694cc51468f5fbef0090 Mon Sep 17 00:00:00 2001 From: Leonard Herold <92177433+LeonardHd@users.noreply.github.com> Date: Fri, 1 Dec 2023 11:05:16 +0100 Subject: [PATCH] style: move terminal in grammar --- .../functions/expression_evaluator.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/azure_data_factory_testing_framework/functions/expression_evaluator.py b/src/azure_data_factory_testing_framework/functions/expression_evaluator.py index 4658be35..ee9e052c 100644 --- a/src/azure_data_factory_testing_framework/functions/expression_evaluator.py +++ b/src/azure_data_factory_testing_framework/functions/expression_evaluator.py @@ -80,10 +80,8 @@ def __init__(self) -> None: base_grammar = """ ?start: ("@" expression_start) | (["@@"] literal_start) - // shared rules - ARRAY_INDEX: "[" /[0-9]+/ "]" - // shared custom basic data type rules: + ARRAY_INDEX: "[" /[0-9]+/ "]" NULL: "null" BOOLEAN: "true" | "false" SINGLE_QUOTED_STRING: "'" /([^']|'')*/ "'"