예제 #1
0
        public object ToTable(BindingCallExpr expr)
        {
            var fields     = expr.ParamList[0] as List <object>;
            var fieldNames = new List <string>();

            foreach (var obj in fields)
            {
                fieldNames.Add(Convert.ToString(obj));
            }
            var start = expr.ParamList[1] as TokenData;
            var exp   = Exprs.Table(fieldNames, start);

            return(exp);
        }