C# Class XSpect.Yacq.Expressions.YacqSequenceExpression

Provides the base class from which the classes that represent YACQ sequence expression tree nodes are derived. This is an abstract class.
Sequence expressions are YACQ expression that can contain 0 or more expressions as its elements.
Inheritance: YacqExpression
Datei anzeigen Open project: takeshik/yacq

Public Methods

Method Description
AsLambdaList ( ) : LambdaListExpression

Creates LambdaListExpression from the symbol table and elements of this expression.

AsList ( ) : ListExpression

Creates ListExpression from the symbol table and elements of this expression.

AsVector ( ) : VectorExpression

Creates VectorExpression from the symbol table and elements of this expression.

this ( Int32 index ) : Expression

Gets the element at the specified index in this sequence expression.

Protected Methods

Method Description
YacqSequenceExpression ( SymbolTable symbols, YacqList elements ) : System

Constructs a new instance of YacqSequenceExpression.

Method Details

AsLambdaList() public method

Creates LambdaListExpression from the symbol table and elements of this expression.
public AsLambdaList ( ) : LambdaListExpression
return LambdaListExpression

AsList() public method

Creates ListExpression from the symbol table and elements of this expression.
public AsList ( ) : ListExpression
return ListExpression

AsVector() public method

Creates VectorExpression from the symbol table and elements of this expression.
public AsVector ( ) : VectorExpression
return VectorExpression

YacqSequenceExpression() protected method

Constructs a new instance of YacqSequenceExpression.
protected YacqSequenceExpression ( SymbolTable symbols, YacqList elements ) : System
symbols XSpect.Yacq.Symbols.SymbolTable The symbol table linked with this expression.
elements YacqList A object that represents the elements of the expression.
return System

this() public method

Gets the element at the specified index in this sequence expression.
public this ( Int32 index ) : Expression
index System.Int32 The zero-based index of the element to get.
return System.Linq.Expressions.Expression