public override void EnterTable_alias([NotNull] TSqlParser.Table_aliasContext context) { base.EnterTable_alias(context); string debug = context.GetText(); Debug.WriteLine(debug); string fullText = GetWhiteSpaceFromCurrentContext(context); Debug.WriteLine(fullText); }
public override void EnterTable_alias(TSqlParser.Table_aliasContext context) { AddSpace(); if (beginSubQueryPos.Count == 0 || !isExistsQuery) { return; } var info = beginSubQueryPos.Pop(); sb.Insert(info.pos, "\r\n---------'" + context.GetText() + "'-------- " + beginSubQueryPos.Count + "\r\n"); base.EnterTable_alias(context); }
public override void EnterTable_alias([NotNull] TSqlParser.Table_aliasContext context) { AliasDic.Add(CurrentTable, context.GetText()); //Console.WriteLine($"{CurrentTable} {context.GetText()}"); }