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

Represents an macro expression, which is invocable like lambdas, but they are reduced into another expression in pre-evaluate time.
상속: YacqExpression
파일 보기 프로젝트 열기: takeshik/yacq 1 사용 예제들

공개 메소드들

메소드 설명
Evaluate ( ) : Expression

Evaluates this macro expression.

Evaluate ( IEnumerable arguments ) : Expression

Evaluates this macro expression.

Evaluate ( SymbolTable symbols ) : Expression

Evaluates this macro expression.

Evaluate ( SymbolTable symbols, IEnumerable arguments ) : Expression

Evaluates this macro expression.

보호된 메소드들

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

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

비공개 메소드들

메소드 설명
MacroExpression ( SymbolTable symbols, Expression body, IList parameters ) : System

메소드 상세

Evaluate() 공개 메소드

Evaluates this macro expression.
public Evaluate ( ) : Expression
리턴 System.Linq.Expressions.Expression

Evaluate() 공개 메소드

Evaluates this macro expression.
public Evaluate ( IEnumerable arguments ) : Expression
arguments IEnumerable The arguments of this macro expression.
리턴 System.Linq.Expressions.Expression

Evaluate() 공개 메소드

Evaluates this macro expression.
public Evaluate ( SymbolTable symbols ) : Expression
symbols XSpect.Yacq.Symbols.SymbolTable The additional symbol table for reducing.
리턴 System.Linq.Expressions.Expression

Evaluate() 공개 메소드

Evaluates this macro expression.
public Evaluate ( SymbolTable symbols, IEnumerable arguments ) : Expression
symbols XSpect.Yacq.Symbols.SymbolTable The additional symbol table for reducing.
arguments IEnumerable The arguments of this macro expression.
리턴 System.Linq.Expressions.Expression

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