Пример #1
0
 // AnalyzeQuoteExpr converts a list, literal, or id expr to a runtime quoted
 // literal and returns the Constant expression for it.
 //
 public static Expression AnalyzeQuoteExpr(SymplQuoteExpr expr,
                                             AnalysisScope scope) {
     return Expression.Constant(MakeQuoteConstant(
                                    expr.Expr, scope.GetRuntime()));
 }
Пример #2
0
 // AnalyzeQuoteExpr converts a list, literal, or id expr to a runtime quoted
 // literal and returns the Constant expression for it.
 //
 public static Expression AnalyzeQuoteExpr(SymplQuoteExpr expr,
                                           AnalysisScope scope)
 {
     return(Expression.Constant(MakeQuoteConstant(
                                    expr.Expr, scope.GetRuntime())));
 }