XSpect.Yacq.Expressions.QuotedExpression.ReduceImpl C# (CSharp) 메소드

ReduceImpl() 보호된 메소드

Reduces this node to a simpler expression with additional symbol tables.
protected ReduceImpl ( SymbolTable symbols, Type expectedType ) : Expression
symbols XSpect.Yacq.Symbols.SymbolTable The additional symbol table for reducing.
expectedType System.Type The type which is expected as the type of reduced expression.
리턴 System.Linq.Expressions.Expression
        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);
        }