예제 #1
0
        public override void ExitAddArgument(QueryLanguageParser.AddArgumentContext context)
        {
            processingObjectTypeStack.Pop();
            var preparedArgumentNode = processingQueryNodeStack.Pop();

            CurrentProcessingQueryNode.Arguments.Add(preparedArgumentNode);

            base.ExitAddArgument(context);
        }
예제 #2
0
        public override void EnterAddArgument(QueryLanguageParser.AddArgumentContext context)
        {
            processingObjectTypeStack.Push(ProcessingObjectType.MethodArgument);

            var newQueryNode = new QueryNode
            {
                Type = QueryNodeType.MethodArgument,
            };

            processingQueryNodeStack.Push(newQueryNode);

            base.EnterAddArgument(context);
        }