Example #1
0
    public override void EnterUpdate_elem(TSqlParser.Update_elemContext context)
    {
        if (IsStatementUpdate())
        {
            var statement = GetStatementAsUpdate();
            var element   = new UpdateStatementElement();
            element.RawString = context.GetText();
            element.RawStringWithWhitespace = GetWhiteSpaceFormat(context);
            statement.Elements.Add(element);
        }

        Debug.WriteLine(context.GetText());
    }
Example #2
0
        public override void EnterUpdate_elem(TSqlParser.Update_elemContext context)
        {
            string debug = context.GetText();

            Console.WriteLine("EnterUpdate_elem:");
            Console.WriteLine(debug);
            Console.WriteLine("---");
        }