public override void EnterMethod(QueryLanguageParser.MethodContext context) { var method = ParserHelper.GetQueryMethodType(context.methodType.Type); CurrentProcessingQueryNode.Type = QueryNodeType.Method; CurrentProcessingQueryNode.MethodType = method; // Fill specific data for Add method if (CurrentProcessingQueryNode.MethodType == QueryMethodType.Add) { var previousNode = CurrentQuery.NodesList.Last.Value; CurrentProcessingQueryNode.Name = previousNode.Name; CurrentProcessingQueryNode.PivotData = previousNode.PivotData; CurrentQuery.NodesList.RemoveLast(); } base.EnterMethod(context); }
public override void ExitMethod(QueryLanguageParser.MethodContext context) { base.ExitMethod(context); }