예제 #1
0
 /// <summary>
 /// Evaluates a table declaration.
 /// </summary>
 /// <param name="expr"></param>
 /// <returns></returns>
 public object VisitTable(TableExpr expr)
 {
     var table = new LTable(new List<object>());
     table.Fields = expr.Fields;
     return table;
 }
예제 #2
0
파일: Exprs.cs 프로젝트: GHLabs/SambaPOS-3
 /// <summary>
 /// Creates an array expression from the parameters supplied.
 /// </summary>
 /// <param name="fields"></param>
 /// <param name="token"></param>
 /// <returns></returns>
 public static Expr Table(List<string> fields, TokenData token)
 {
     var exp = new TableExpr();
     exp.Fields = fields;
     SetupContext(exp, token);
     return exp;
 }
예제 #3
0
 /// <summary>
 /// Evaluates a table declaration.
 /// </summary>
 /// <param name="expr"></param>
 /// <returns></returns>
 public object VisitTable(TableExpr expr)
 {
     return null;
 }