protected ReduceImpl ( |
||
symbols | The additional symbol table for reducing. | |
expectedType | The type which is expected as the type of reduced expression. | |
return |
protected override Expression ReduceImpl(SymbolTable symbols, Type expectedType)
{
return this.QuoteType == QuoteType.Quasiquote
? ProcessQuasiquote(this.Expression, symbols, 1)
: this.Expression is LambdaExpression
? (Expression) Quote(this.Expression)
: Constant(this.Expression);
}