C# Class XSpect.Yacq.Expressions.AmbiguousLambdaExpression

Represents an ambiguous lambda expression, a lambda expression with AmbiguousParameterExpression.
Inheritance: YacqExpression
Datei anzeigen Open project: takeshik/yacq Class Usage Examples

Public Methods

Method Description
ApplyTypeArguments ( Type>.IDictionary typeArgumentMap ) : AmbiguousLambdaExpression

Creates new AmbiguousLambdaExpression with specified type argument map.

ApplyTypeArguments ( IEnumerable parameters ) : AmbiguousLambdaExpression

Creates new AmbiguousLambdaExpression with specified parameter types.

ApplyTypeArguments ( IEnumerable types ) : AmbiguousLambdaExpression

Creates new AmbiguousLambdaExpression with specified parameter types.

ApplyTypeArguments ( Type delegateType ) : AmbiguousLambdaExpression

Creates new AmbiguousLambdaExpression to match specified delegate type.

ToString ( ) : String

Returns a String that represents this expression.

Protected Methods

Method Description
ReduceImpl ( SymbolTable symbols, Type expectedType ) : Expression

Reduces this node to a simpler expression with additional symbol tables.

Private Methods

Method Description
AmbiguousLambdaExpression ( SymbolTable symbols, Type returnType, IList bodies, IList parameters ) : System

Method Details

ApplyTypeArguments() public method

Creates new AmbiguousLambdaExpression with specified type argument map.
public ApplyTypeArguments ( Type>.IDictionary typeArgumentMap ) : AmbiguousLambdaExpression
typeArgumentMap Type>.IDictionary The type argument map for parameters of new .
return AmbiguousLambdaExpression

ApplyTypeArguments() public method

Creates new AmbiguousLambdaExpression with specified parameter types.
public ApplyTypeArguments ( IEnumerable parameters ) : AmbiguousLambdaExpression
parameters IEnumerable The types for paramaters of new .
return AmbiguousLambdaExpression

ApplyTypeArguments() public method

Creates new AmbiguousLambdaExpression with specified parameter types.
public ApplyTypeArguments ( IEnumerable types ) : AmbiguousLambdaExpression
types IEnumerable The types for paramaters of new .
return AmbiguousLambdaExpression

ApplyTypeArguments() public method

Creates new AmbiguousLambdaExpression to match specified delegate type.
public ApplyTypeArguments ( Type delegateType ) : AmbiguousLambdaExpression
delegateType System.Type The delegate type which is matched for new .
return AmbiguousLambdaExpression

ReduceImpl() protected method

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.
return System.Linq.Expressions.Expression

ToString() public method

Returns a String that represents this expression.
public ToString ( ) : String
return String