Beispiel #1
0
        public UnaryOperatorInfo Parse(SelectAtomContext ctx)
        {
            var rslt = new UnaryOperatorInfo();
            if (Operator.Equals("~"))
                rslt.IsNegate = true;
            if ( Table_field_atom != null )
                rslt.FieldInfo = Table_field_atom.Parse(ctx);

            return rslt;
        }
Beispiel #2
0
        public UnaryOperatorInfo Parse(SelectAtomContext ctx)
        {
            var rslt = new UnaryOperatorInfo();

            if (Operator.Equals("~"))
            {
                rslt.IsNegate = true;
            }
            if (Table_field_atom != null)
            {
                rslt.FieldInfo = Table_field_atom.Parse(ctx);
            }

            return(rslt);
        }