Exemplo n.º 1
0
 public override void EnterAggregateWindowedFunction(MySqlParser.AggregateWindowedFunctionContext context)
 {
     if (_isOtherListener == 1 && Rules.Count > 0)
     {
         Rules.Remove(Rules[Rules.Count - 1]);
     }
 }
Exemplo n.º 2
0
 public override void EnterAggregateWindowedFunction([NotNull] MySqlParser.AggregateWindowedFunctionContext context)
 {
     if (context.starArg != null)
     {
         _output = "*";
     }
 }
 public override void EnterAggregateWindowedFunction(MySqlParser.AggregateWindowedFunctionContext context)
 {
     if (_isOtherListener == 1)
     {
         AggregateWindowedFunction aggregateWindowedFunction =
             new AggregateWindowedFunction(context.SourceInterval, context, context.GetText());
         Rules.Remove(Rules[Rules.Count - 1]);
         Rules.Add(aggregateWindowedFunction);
     }
     _isOtherListener++;
 }
 public override void ExitAggregateWindowedFunction(MySqlParser.AggregateWindowedFunctionContext context)
 {
     _isOtherListener--;
 }