예제 #1
0
        public override void EnterUpdate_elem(TSqlParser.Update_elemContext context)
        {
            string debug = context.GetText();

            Console.WriteLine("EnterUpdate_elem:");
            Console.WriteLine(debug);
            Console.WriteLine("---");
        }
예제 #2
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());
    }