C# 클래스 XSpect.Yacq.Expressions.DispatchExpression

Represents an dispatch expression, an abstract layer to member references and method calls with SymbolTable.
상속: YacqExpression
파일 보기 프로젝트 열기: takeshik/yacq 1 사용 예제들

공개 메소드들

메소드 설명
DefaultMissing ( DispatchExpression e, SymbolTable s, Type t ) : Expression

Default definition method of SymbolTable.Missing.

GetMembers ( SymbolTable symbols ) : IEnumerable

Gets all members and extension methods in specified types.

GetMembers ( SymbolTable symbols, IEnumerable types ) : IEnumerable

Gets all members and extension methods in specified types.

ToString ( ) : String

Returns a String that represents this expression.

보호된 메소드들

메소드 설명
ReduceImpl ( SymbolTable symbols, Type expectedType ) : Expression

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

비공개 메소드들

메소드 설명
CreateCandidate ( MemberInfo member ) : Candidate
DispatchByDynamicBinder ( SymbolTable symbols, Type expectedType ) : Expression
DispatchByTypeSystem ( SymbolTable symbols, Type expectedType ) : Expression
DispatchExpression ( SymbolTable symbols, DispatchTypes dispatchType, Expression left, String name, IList typeArguments, IList arguments ) : System
DispatchFailback ( SymbolTable symbols ) : Expression
GetResultExpression ( SymbolTable symbols, Candidate c ) : Expression
GetTypes ( Expression expression ) : IEnumerable
GetTypes ( TypeCandidateExpression expression ) : IEnumerable
InferTypeArguments ( Candidate candidate, Type>.IDictionary typeArgumentMap, SymbolTable symbols ) : Candidate

메소드 상세

DefaultMissing() 공개 정적인 메소드

Default definition method of SymbolTable.Missing.
public static DefaultMissing ( DispatchExpression e, SymbolTable s, Type t ) : Expression
e DispatchExpression The expression to be reduced.
s XSpect.Yacq.Symbols.SymbolTable The symbol table which this symbol (value) belongs.
t System.Type The expected from the caller, or null if any type will be accepted.
리턴 System.Linq.Expressions.Expression

GetMembers() 공개 정적인 메소드

Gets all members and extension methods in specified types.
public static GetMembers ( SymbolTable symbols ) : IEnumerable
symbols XSpect.Yacq.Symbols.SymbolTable The symbol table for search extension methods.
리턴 IEnumerable

GetMembers() 공개 정적인 메소드

Gets all members and extension methods in specified types.
public static GetMembers ( SymbolTable symbols, IEnumerable types ) : IEnumerable
symbols XSpect.Yacq.Symbols.SymbolTable The symbol table for search extension methods.
types IEnumerable Types to get members.
리턴 IEnumerable

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

ToString() 공개 메소드

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