Example #1
0
        protected bool AcceptPar(char start, IExpr list, char end, IExpr?parent)
        {
            this.Builder.Append(start);
            list.Accept(this, parent);
            this.Builder.Append(end);

            return(true);
        }
Example #2
0
        public string ToSql(IExpr expr)
        {
            var sqlExporter = new TSqlBuilder(this._builderOptions);

            if (expr.Accept(sqlExporter, null))
            {
                return(sqlExporter.ToString());
            }

            throw new SqExpressException("Could not build Sql");
        }