Ejemplo n.º 1
0
        public override void ExitQuery_specification(TSqlParser.Query_specificationContext context)
        {
            isFirstGroupByItem = true;
            isFirstJoin        = true;

            if (prefix.Length != 0)
            {
                SubscribeNewLine();
            }

            base.ExitQuery_specification(context);
        }
Ejemplo n.º 2
0
        public override void EnterQuery_specification(TSqlParser.Query_specificationContext context)
        {
            if (isExistsQuery)
            {
                AddLine();
            }
            else
            {
                isExistsQuery = true;
            }

            if (prefix.Length != 0)
            {
                sb.Append(prefix);
            }

            base.EnterQuery_specification(context);
        }
Ejemplo n.º 3
0
 public override void EnterQuery_specification(TSqlParser.Query_specificationContext ctx)
 {
     mode = JoinMode.Undefined;
 }