C# Class XSpect.Yacq.Expressions.YacqExpression

Exibir arquivo Open project: takeshik/yacq Class Usage Examples

Public Methods

Method Description
AmbiguousLambda ( Expression body ) : AmbiguousLambdaExpression

Creates a AmbiguousLambdaExpression that represents the lambda expression with AmbiguousParameterExpression.

AmbiguousLambda ( Expression body, IEnumerable parameters ) : AmbiguousLambdaExpression

Creates a AmbiguousLambdaExpression that represents the lambda expression with AmbiguousParameterExpression.

AmbiguousLambda ( IEnumerable bodies ) : AmbiguousLambdaExpression

Creates a AmbiguousLambdaExpression that represents the lambda expression with AmbiguousParameterExpression.

AmbiguousLambda ( IEnumerable bodies, IEnumerable parameters ) : AmbiguousLambdaExpression

Creates a AmbiguousLambdaExpression that represents the lambda expression with AmbiguousParameterExpression.

AmbiguousLambda ( SymbolTable symbols, Expression body ) : AmbiguousLambdaExpression

Creates a AmbiguousLambdaExpression that represents the lambda expression with AmbiguousParameterExpression.

AmbiguousLambda ( SymbolTable symbols, Expression body, IEnumerable parameters ) : AmbiguousLambdaExpression

Creates a AmbiguousLambdaExpression that represents the lambda expression with AmbiguousParameterExpression.

AmbiguousLambda ( SymbolTable symbols, IEnumerable bodies ) : AmbiguousLambdaExpression

Creates a AmbiguousLambdaExpression that represents the lambda expression with AmbiguousParameterExpression.

AmbiguousLambda ( SymbolTable symbols, IEnumerable bodies, IEnumerable parameters ) : AmbiguousLambdaExpression

Creates a AmbiguousLambdaExpression that represents the lambda expression with AmbiguousParameterExpression.

AmbiguousLambda ( SymbolTable symbols, Type returnType, Expression body ) : AmbiguousLambdaExpression

Creates a AmbiguousLambdaExpression that represents the lambda expression with AmbiguousParameterExpression.

AmbiguousLambda ( SymbolTable symbols, Type returnType, Expression body, IEnumerable parameters ) : AmbiguousLambdaExpression

Creates a AmbiguousLambdaExpression that represents the lambda expression with AmbiguousParameterExpression.

AmbiguousLambda ( SymbolTable symbols, Type returnType, IEnumerable bodies ) : AmbiguousLambdaExpression

Creates a AmbiguousLambdaExpression that represents the lambda expression with AmbiguousParameterExpression.

AmbiguousLambda ( SymbolTable symbols, Type returnType, IEnumerable bodies, IEnumerable parameters ) : AmbiguousLambdaExpression

Creates a AmbiguousLambdaExpression that represents the lambda expression with AmbiguousParameterExpression.

AmbiguousLambda ( Type returnType, Expression body ) : AmbiguousLambdaExpression

Creates a AmbiguousLambdaExpression that represents the lambda expression with AmbiguousParameterExpression.

AmbiguousLambda ( Type returnType, Expression body, IEnumerable parameters ) : AmbiguousLambdaExpression

Creates a AmbiguousLambdaExpression that represents the lambda expression with AmbiguousParameterExpression.

AmbiguousLambda ( Type returnType, IEnumerable bodies ) : AmbiguousLambdaExpression

Creates a AmbiguousLambdaExpression that represents the lambda expression with AmbiguousParameterExpression.

AmbiguousLambda ( Type returnType, IEnumerable bodies, IEnumerable parameters ) : AmbiguousLambdaExpression

Creates a AmbiguousLambdaExpression that represents the lambda expression with AmbiguousParameterExpression.

AmbiguousParameter ( ) : AmbiguousParameterExpression

Creates a AmbiguousParameterExpression that represents the type-unfixed parameter expression.

AmbiguousParameter ( String name ) : AmbiguousParameterExpression

Creates a AmbiguousParameterExpression that represents the type-unfixed parameter expression.

AmbiguousParameter ( SymbolTable symbols ) : AmbiguousParameterExpression

Creates a AmbiguousParameterExpression that represents the type-unfixed parameter expression.

AmbiguousParameter ( SymbolTable symbols, String name ) : AmbiguousParameterExpression

Creates a AmbiguousParameterExpression that represents the type-unfixed parameter expression.

AmbiguousParameter ( SymbolTable symbols, Type type ) : AmbiguousParameterExpression

Creates a AmbiguousParameterExpression that represents the type-unfixed parameter expression.

AmbiguousParameter ( SymbolTable symbols, Type type, String name ) : AmbiguousParameterExpression

Creates a AmbiguousParameterExpression that represents the type-unfixed parameter expression.

AmbiguousParameter ( Type type ) : AmbiguousParameterExpression

Creates a AmbiguousParameterExpression that represents the type-unfixed parameter expression.

AmbiguousParameter ( Type type, String name ) : AmbiguousParameterExpression

Creates a AmbiguousParameterExpression that represents the type-unfixed parameter expression.

Contextful ( Expression expression, ContextType contextType ) : ContextfulExpression

Creates a ContextfulExpression that represents the expression which is evaluated on special context.

Contextful ( SymbolTable symbols, Expression expression, ContextType contextType ) : ContextfulExpression

Creates a ContextfulExpression that represents the expression which is evaluated on special context.

Dispatch ( DispatchTypes dispatchType, Expression left, String name ) : DispatchExpression

Creates a DispatchExpression that represents the dispatching, member reference or method calls.

Dispatch ( DispatchTypes dispatchType, Expression left, String name, IEnumerable arguments ) : DispatchExpression

Creates a DispatchExpression that represents the dispatching, member reference or method calls.

Dispatch ( DispatchTypes dispatchType, Expression left, String name, IEnumerable typeArguments ) : DispatchExpression

Creates a DispatchExpression that represents the dispatching, member reference or method calls.

Dispatch ( DispatchTypes dispatchType, Expression left, String name, IEnumerable typeArguments, IEnumerable arguments ) : DispatchExpression

Creates a DispatchExpression that represents the dispatching, member reference or method calls.

Dispatch ( DispatchTypes dispatchType, String name ) : DispatchExpression

Creates a DispatchExpression that represents the dispatching, member reference or method calls.

Dispatch ( DispatchTypes dispatchType, String name, IEnumerable arguments ) : DispatchExpression

Creates a DispatchExpression that represents the dispatching, member reference or method calls.

Dispatch ( DispatchTypes dispatchType, String name, IEnumerable typeArguments ) : DispatchExpression

Creates a DispatchExpression that represents the dispatching, member reference or method calls.

Dispatch ( DispatchTypes dispatchType, String name, IEnumerable typeArguments, IEnumerable arguments ) : DispatchExpression

Creates a DispatchExpression that represents the dispatching, member reference or method calls.

Dispatch ( SymbolTable symbols, DispatchTypes dispatchType, Expression left, String name ) : DispatchExpression

Creates a DispatchExpression that represents the dispatching, member reference or method calls.

Dispatch ( SymbolTable symbols, DispatchTypes dispatchType, Expression left, String name, IEnumerable arguments ) : DispatchExpression

Creates a DispatchExpression that represents the dispatching, member reference or method calls.

Dispatch ( SymbolTable symbols, DispatchTypes dispatchType, Expression left, String name, IEnumerable typeArguments ) : DispatchExpression

Creates a DispatchExpression that represents the dispatching, member reference or method calls.

Dispatch ( SymbolTable symbols, DispatchTypes dispatchType, Expression left, String name, IEnumerable typeArguments, IEnumerable arguments ) : DispatchExpression

Creates a DispatchExpression that represents the dispatching, member reference or method calls.

Dispatch ( SymbolTable symbols, DispatchTypes dispatchType, String name ) : DispatchExpression

Creates a DispatchExpression that represents the dispatching, member reference or method calls.

Dispatch ( SymbolTable symbols, DispatchTypes dispatchType, String name, IEnumerable arguments ) : DispatchExpression

Creates a DispatchExpression that represents the dispatching, member reference or method calls.

Dispatch ( SymbolTable symbols, DispatchTypes dispatchType, String name, IEnumerable typeArguments ) : DispatchExpression

Creates a DispatchExpression that represents the dispatching, member reference or method calls.

Dispatch ( SymbolTable symbols, DispatchTypes dispatchType, String name, IEnumerable typeArguments, IEnumerable arguments ) : DispatchExpression

Creates a DispatchExpression that represents the dispatching, member reference or method calls.

Function ( String name ) : DispatchExpression

Creates a DispatchExpression that represents the function-call dispatching, without the receiver.

Function ( String name, IEnumerable arguments ) : DispatchExpression

Creates a DispatchExpression that represents the function-call dispatching, without the receiver.

Function ( SymbolTable symbols, String name ) : DispatchExpression

Creates a DispatchExpression that represents the function-call dispatching, without the receiver.

Function ( SymbolTable symbols, String name, IEnumerable arguments ) : DispatchExpression

Creates a DispatchExpression that represents the function-call dispatching, without the receiver.

Identifier ( String name ) : IdentifierExpression

Creates a IdentifierExpression that represents identifier with specified name.

Identifier ( SymbolTable symbols, String name ) : IdentifierExpression

Creates a IdentifierExpression that represents identifier with specified name.

Ignore ( ) : IgnoredExpression

Creates a IgnoredExpression that is ignored in the results.

Ignore ( SymbolTable symbols ) : IgnoredExpression

Creates a IgnoredExpression that is ignored in the results.

LambdaList ( ) : LambdaListExpression

Creates a LambdaListExpression that represents the lambda list to be AmbiguousLambdaExpression.

LambdaList ( IEnumerable elements ) : LambdaListExpression

Creates a LambdaListExpression that represents the lambda list to be AmbiguousLambdaExpression.

LambdaList ( SymbolTable symbols ) : LambdaListExpression

Creates a LambdaListExpression that represents the lambda list to be AmbiguousLambdaExpression.

LambdaList ( SymbolTable symbols, IEnumerable elements ) : LambdaListExpression

Creates a LambdaListExpression that represents the lambda list to be AmbiguousLambdaExpression.

LambdaList ( SymbolTable symbols, YacqList elements ) : LambdaListExpression

Creates a LambdaListExpression that represents the lambda list to be AmbiguousLambdaExpression.

LambdaList ( YacqList elements ) : LambdaListExpression

Creates a LambdaListExpression that represents the lambda list to be AmbiguousLambdaExpression.

List ( ) : ListExpression

Creates a ListExpression that represents the list.

List ( IEnumerable elements ) : ListExpression

Creates a ListExpression that represents the list.

List ( SymbolTable symbols ) : ListExpression

Creates a ListExpression that represents the list.

List ( SymbolTable symbols, IEnumerable elements ) : ListExpression

Creates a ListExpression that represents the list.

List ( SymbolTable symbols, YacqList elements ) : ListExpression

Creates a ListExpression that represents the list.

List ( YacqList elements ) : ListExpression

Creates a ListExpression that represents the list.

Load ( SymbolTable symbols, XmlDictionaryReader reader ) : SerializedExpression

Loads the object graph and creates a SerializedExpression which represents an expression using the specified XmlDictionaryWriter.

Load ( XmlDictionaryReader reader ) : SerializedExpression

Loads the object graph and creates a SerializedExpression which represents an expression using the specified XmlDictionaryWriter.

LoadBinary ( Byte data ) : SerializedExpression

Loads the object graph as specified Data Contract binary data and creates a SerializedExpression which represents an expression.

LoadBinary ( FileInfo file ) : SerializedExpression

Loads the object graph as Data Contract binary data from specified file and creates a SerializedExpression which represents an expression.

LoadBinary ( System.Stream stream ) : SerializedExpression

Loads the object graph as Data Contract binary data into an output stream and creates a SerializedExpression which represents an expression.

LoadBinary ( SymbolTable symbols, Byte data ) : SerializedExpression

Loads the object graph as specified Data Contract binary data and creates a SerializedExpression which represents an expression.

LoadBinary ( SymbolTable symbols, FileInfo file ) : SerializedExpression

Loads the object graph as Data Contract binary data from specified file and creates a SerializedExpression which represents an expression.

LoadBinary ( SymbolTable symbols, System.Stream stream ) : SerializedExpression

Loads the object graph as Data Contract binary data into an output stream and creates a SerializedExpression which represents an expression.

LoadText ( FileInfo file ) : SerializedExpression

Loads the object graph as Data Contract XML data from specified file and creates a SerializedExpression which represents an expression.

LoadText ( System.Stream stream ) : SerializedExpression

Loads the object graph as Data Contract XML data from an input stream and creates a SerializedExpression which represents an expression.

LoadText ( String data ) : SerializedExpression

Loads the object graph as specified Data Contract XML data and creates a SerializedExpression which represents an expression.

LoadText ( SymbolTable symbols, FileInfo file ) : SerializedExpression

Loads the object graph as Data Contract XML data from specified file and creates a SerializedExpression which represents an expression.

LoadText ( SymbolTable symbols, System.Stream stream ) : SerializedExpression

Loads the object graph as Data Contract XML data from an input stream and creates a SerializedExpression which represents an expression.

LoadText ( SymbolTable symbols, String data ) : SerializedExpression

Loads the object graph as specified Data Contract XML data and creates a SerializedExpression which represents an expression.

Macro ( Expression body ) : MacroExpression

Creates a MacroExpression that represents the macro, a pre-evaluate time expression preprocessor.

Macro ( Expression body, IEnumerable parameters ) : MacroExpression

Creates a MacroExpression that represents the macro, a pre-evaluate time expression preprocessor.

Macro ( SymbolTable symbols, Expression body ) : MacroExpression

Creates a MacroExpression that represents the macro, a pre-evaluate time expression preprocessor.

Macro ( SymbolTable symbols, Expression body, IEnumerable parameters ) : MacroExpression

Creates a MacroExpression that represents the macro, a pre-evaluate time expression preprocessor.

Number ( String text ) : NumberExpression

Creates a NumberExpression that represents a number from specified source string.

Number ( SymbolTable symbols, String text ) : NumberExpression

Creates a NumberExpression that represents a number from specified source string.

Quasiquote ( Expression expression ) : QuotedExpression

Creates a QuotedExpression that returns specified expression with unquoting.

Quasiquote ( SymbolTable symbols, Expression expression ) : QuotedExpression

Creates a QuotedExpression that returns specified expression with unquoting.

Quote ( Expression expression ) : QuotedExpression

Creates a QuotedExpression that returns specified expression.

Quote ( SymbolTable symbols, Expression expression ) : QuotedExpression

Creates a QuotedExpression that returns specified expression.

Reduce ( ) : Expression

Reduces this node to a simpler expression. If CanReduce returns true, this should return a valid expression. This method can return another node which itself must be reduced.

Reduce ( SymbolTable symbols, Type expectedType = null ) : Expression

Reduces this node to a simpler expression with additional symbol tables. Reducing is continued while the reduced expression is not YacqExpression.

ReduceOnce ( SymbolTable symbols = null, Type expectedType = null ) : Expression

Reduces this node to a simpler expression with additional symbol tables. This method can return another node which itself must be reduced.

Serialize ( Expression expression ) : SerializedExpression

Creates a SerializedExpression to get object graph which represents specified expression.

Serialize ( Node node ) : SerializedExpression

Creates a SerializedExpression with specified object graph.

Serialize ( SymbolTable symbols, Expression expression ) : SerializedExpression

Creates a SerializedExpression to get object graph which represents specified expression.

Serialize ( SymbolTable symbols, Node node ) : SerializedExpression

Creates a SerializedExpression with specified object graph.

SymbolTable ( SymbolTable symbols ) : SymbolTableExpression

Creates a SymbolTableExpression that represents the reference to the specified symbol table.

Text ( Char quoteChar, String sourceText ) : TextExpression

Creates a TextExpression that represents a string or a character from specified source string.

Text ( String text ) : TextExpression

Creates a TextExpression that represents a string or a character from specified source string.

Text ( SymbolTable symbols, Char quoteChar, String sourceText ) : TextExpression

Creates a TextExpression that represents a string or a character from specified source string.

Text ( SymbolTable symbols, String text ) : TextExpression

Creates a TextExpression that represents a string or a character from specified source string.

TypeCandidate ( ) : TypeCandidateExpression

Creates a TypeCandidateExpression that represents the type candidates, a symbol of type(s).

TypeCandidate ( IEnumerable candidates ) : TypeCandidateExpression

Creates a TypeCandidateExpression that represents the type candidates, a symbol of type(s).

TypeCandidate ( SymbolTable symbols ) : TypeCandidateExpression

Creates a TypeCandidateExpression that represents the type candidates, a symbol of type(s).

TypeCandidate ( SymbolTable symbols, IEnumerable candidates ) : TypeCandidateExpression

Creates a TypeCandidateExpression that represents the type candidates, a symbol of type(s).

Variable ( String name ) : DispatchExpression

Creates a DispatchExpression that represents the member-reference dispatching, without the receiver.

Variable ( SymbolTable symbols, String name ) : DispatchExpression

Creates a DispatchExpression that represents the member-reference dispatching, without the receiver.

Vector ( ) : VectorExpression

Creates a VectorExpression that represents the vector.

Vector ( IEnumerable elements ) : VectorExpression

Creates a VectorExpression that represents the vector.

Vector ( SymbolTable symbols ) : VectorExpression

Creates a VectorExpression that represents the vector.

Vector ( SymbolTable symbols, IEnumerable elements ) : VectorExpression

Creates a VectorExpression that represents the vector.

Vector ( SymbolTable symbols, YacqList elements ) : VectorExpression

Creates a VectorExpression that represents the vector.

Vector ( YacqList elements ) : VectorExpression

Creates a VectorExpression that represents the vector.

Protected Methods

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

When implemented in a derived class, reduces this node to a simpler expression with additional symbol tables.

YacqExpression ( SymbolTable symbols ) : System

Constructs a new instance of YacqExpression.

Private Methods

Method Description
ClearCache ( ) : void
ConvertNumericType ( Type expressionType, Type expectedType ) : Type
ConvertNumericTypeForAlithmetics ( Type type, System.Boolean needsSigned ) : Type
ConvertNumericTypeForAlithmetics ( Type leftType, Type rightType ) : Type
CreateSymbolTable ( SymbolTable symbols ) : SymbolTable
ImplicitConvert ( Expression expression, Type expectedType ) : Expression
IsCached ( SymbolTable symbols, Type expectedType ) : System.Boolean
SetPosition ( ) : void
SetPosition ( IEnumerable expressions ) : void
SetPosition ( IEnumerable positions ) : void
SetPosition ( Position start, Position end ) : void

Method Details

AmbiguousLambda() public static method

Creates a AmbiguousLambdaExpression that represents the lambda expression with AmbiguousParameterExpression.
public static AmbiguousLambda ( Expression body ) : AmbiguousLambdaExpression
body System.Linq.Expressions.Expression >An that represents the body of this expression.
return AmbiguousLambdaExpression

AmbiguousLambda() public static method

Creates a AmbiguousLambdaExpression that represents the lambda expression with AmbiguousParameterExpression.
public static AmbiguousLambda ( Expression body, IEnumerable parameters ) : AmbiguousLambdaExpression
body System.Linq.Expressions.Expression >An that represents the body of this expression.
parameters IEnumerable A sequence that contains objects to use to populate the collection.
return AmbiguousLambdaExpression

AmbiguousLambda() public static method

Creates a AmbiguousLambdaExpression that represents the lambda expression with AmbiguousParameterExpression.
public static AmbiguousLambda ( IEnumerable bodies ) : AmbiguousLambdaExpression
bodies IEnumerable >A sequence of objects that represents the bodies of this expression.
return AmbiguousLambdaExpression

AmbiguousLambda() public static method

Creates a AmbiguousLambdaExpression that represents the lambda expression with AmbiguousParameterExpression.
public static AmbiguousLambda ( IEnumerable bodies, IEnumerable parameters ) : AmbiguousLambdaExpression
bodies IEnumerable >A sequence of objects that represents the bodies of this expression.
parameters IEnumerable A sequence that contains objects to use to populate the collection.
return AmbiguousLambdaExpression

AmbiguousLambda() public static method

Creates a AmbiguousLambdaExpression that represents the lambda expression with AmbiguousParameterExpression.
public static AmbiguousLambda ( SymbolTable symbols, Expression body ) : AmbiguousLambdaExpression
symbols XSpect.Yacq.Symbols.SymbolTable The symbol table for the expression.
body System.Linq.Expressions.Expression >An that represents the body of this expression.
return AmbiguousLambdaExpression

AmbiguousLambda() public static method

Creates a AmbiguousLambdaExpression that represents the lambda expression with AmbiguousParameterExpression.
public static AmbiguousLambda ( SymbolTable symbols, Expression body, IEnumerable parameters ) : AmbiguousLambdaExpression
symbols XSpect.Yacq.Symbols.SymbolTable The symbol table for the expression.
body System.Linq.Expressions.Expression >An that represents the body of this expression.
parameters IEnumerable A sequence that contains objects to use to populate the collection.
return AmbiguousLambdaExpression

AmbiguousLambda() public static method

Creates a AmbiguousLambdaExpression that represents the lambda expression with AmbiguousParameterExpression.
public static AmbiguousLambda ( SymbolTable symbols, IEnumerable bodies ) : AmbiguousLambdaExpression
symbols XSpect.Yacq.Symbols.SymbolTable The symbol table for the expression.
bodies IEnumerable >A sequence of objects that represents the bodies of this expression.
return AmbiguousLambdaExpression

AmbiguousLambda() public static method

Creates a AmbiguousLambdaExpression that represents the lambda expression with AmbiguousParameterExpression.
public static AmbiguousLambda ( SymbolTable symbols, IEnumerable bodies, IEnumerable parameters ) : AmbiguousLambdaExpression
symbols XSpect.Yacq.Symbols.SymbolTable The symbol table for the expression.
bodies IEnumerable >A sequence of objects that represents the bodies of this expression.
parameters IEnumerable A sequence that contains objects to use to populate the collection.
return AmbiguousLambdaExpression

AmbiguousLambda() public static method

Creates a AmbiguousLambdaExpression that represents the lambda expression with AmbiguousParameterExpression.
public static AmbiguousLambda ( SymbolTable symbols, Type returnType, Expression body ) : AmbiguousLambdaExpression
symbols XSpect.Yacq.Symbols.SymbolTable The symbol table for the expression.
returnType System.Type The return type of this expression; typeof() indicates this expression doesn't return value, or null if undetermined.
body System.Linq.Expressions.Expression >An that represents the body of this expression.
return AmbiguousLambdaExpression

AmbiguousLambda() public static method

Creates a AmbiguousLambdaExpression that represents the lambda expression with AmbiguousParameterExpression.
public static AmbiguousLambda ( SymbolTable symbols, Type returnType, Expression body, IEnumerable parameters ) : AmbiguousLambdaExpression
symbols XSpect.Yacq.Symbols.SymbolTable The symbol table for the expression.
returnType System.Type The return type of this expression; typeof() indicates this expression doesn't return value, or null if undetermined.
body System.Linq.Expressions.Expression >An that represents the body of this expression.
parameters IEnumerable A sequence that contains objects to use to populate the collection.
return AmbiguousLambdaExpression

AmbiguousLambda() public static method

Creates a AmbiguousLambdaExpression that represents the lambda expression with AmbiguousParameterExpression.
public static AmbiguousLambda ( SymbolTable symbols, Type returnType, IEnumerable bodies ) : AmbiguousLambdaExpression
symbols XSpect.Yacq.Symbols.SymbolTable The symbol table for the expression.
returnType System.Type The return type of this expression; typeof() indicates this expression doesn't return value, or null if undetermined.
bodies IEnumerable >A sequence of objects that represents the bodies of this expression.
return AmbiguousLambdaExpression

AmbiguousLambda() public static method

Creates a AmbiguousLambdaExpression that represents the lambda expression with AmbiguousParameterExpression.
public static AmbiguousLambda ( SymbolTable symbols, Type returnType, IEnumerable bodies, IEnumerable parameters ) : AmbiguousLambdaExpression
symbols XSpect.Yacq.Symbols.SymbolTable The symbol table for the expression.
returnType System.Type The return type of this expression; typeof() indicates this expression doesn't return value, or null if undetermined.
bodies IEnumerable >A sequence of objects that represents the bodies of this expression.
parameters IEnumerable A sequence that contains objects to use to populate the collection.
return AmbiguousLambdaExpression

AmbiguousLambda() public static method

Creates a AmbiguousLambdaExpression that represents the lambda expression with AmbiguousParameterExpression.
public static AmbiguousLambda ( Type returnType, Expression body ) : AmbiguousLambdaExpression
returnType System.Type The return type of this expression; typeof() indicates this expression doesn't return value, or null if undetermined.
body System.Linq.Expressions.Expression >An that represents the body of this expression.
return AmbiguousLambdaExpression

AmbiguousLambda() public static method

Creates a AmbiguousLambdaExpression that represents the lambda expression with AmbiguousParameterExpression.
public static AmbiguousLambda ( Type returnType, Expression body, IEnumerable parameters ) : AmbiguousLambdaExpression
returnType System.Type The return type of this expression; typeof() indicates this expression doesn't return value, or null if undetermined.
body System.Linq.Expressions.Expression >An that represents the body of this expression.
parameters IEnumerable A sequence that contains objects to use to populate the collection.
return AmbiguousLambdaExpression

AmbiguousLambda() public static method

Creates a AmbiguousLambdaExpression that represents the lambda expression with AmbiguousParameterExpression.
public static AmbiguousLambda ( Type returnType, IEnumerable bodies ) : AmbiguousLambdaExpression
returnType System.Type The return type of this expression; typeof() indicates this expression doesn't return value, or null if undetermined.
bodies IEnumerable >A sequence of objects that represents the bodies of this expression.
return AmbiguousLambdaExpression

AmbiguousLambda() public static method

Creates a AmbiguousLambdaExpression that represents the lambda expression with AmbiguousParameterExpression.
public static AmbiguousLambda ( Type returnType, IEnumerable bodies, IEnumerable parameters ) : AmbiguousLambdaExpression
returnType System.Type The return type of this expression; typeof() indicates this expression doesn't return value, or null if undetermined.
bodies IEnumerable >A sequence of objects that represents the bodies of this expression.
parameters IEnumerable A sequence that contains objects to use to populate the collection.
return AmbiguousLambdaExpression

AmbiguousParameter() public static method

Creates a AmbiguousParameterExpression that represents the type-unfixed parameter expression.
public static AmbiguousParameter ( ) : AmbiguousParameterExpression
return AmbiguousParameterExpression

AmbiguousParameter() public static method

Creates a AmbiguousParameterExpression that represents the type-unfixed parameter expression.
public static AmbiguousParameter ( String name ) : AmbiguousParameterExpression
name String The name of this parameter.
return AmbiguousParameterExpression

AmbiguousParameter() public static method

Creates a AmbiguousParameterExpression that represents the type-unfixed parameter expression.
public static AmbiguousParameter ( SymbolTable symbols ) : AmbiguousParameterExpression
symbols XSpect.Yacq.Symbols.SymbolTable The symbol table for the expression.
return AmbiguousParameterExpression

AmbiguousParameter() public static method

Creates a AmbiguousParameterExpression that represents the type-unfixed parameter expression.
public static AmbiguousParameter ( SymbolTable symbols, String name ) : AmbiguousParameterExpression
symbols XSpect.Yacq.Symbols.SymbolTable The symbol table for the expression.
name String The name of this parameter.
return AmbiguousParameterExpression

AmbiguousParameter() public static method

Creates a AmbiguousParameterExpression that represents the type-unfixed parameter expression.
public static AmbiguousParameter ( SymbolTable symbols, Type type ) : AmbiguousParameterExpression
symbols XSpect.Yacq.Symbols.SymbolTable The symbol table for the expression.
type System.Type >The type of the parameter.
return AmbiguousParameterExpression

AmbiguousParameter() public static method

Creates a AmbiguousParameterExpression that represents the type-unfixed parameter expression.
public static AmbiguousParameter ( SymbolTable symbols, Type type, String name ) : AmbiguousParameterExpression
symbols XSpect.Yacq.Symbols.SymbolTable The symbol table for the expression.
type System.Type >The type of the parameter.
name String The name of this parameter.
return AmbiguousParameterExpression

AmbiguousParameter() public static method

Creates a AmbiguousParameterExpression that represents the type-unfixed parameter expression.
public static AmbiguousParameter ( Type type ) : AmbiguousParameterExpression
type System.Type >The type of the parameter.
return AmbiguousParameterExpression

AmbiguousParameter() public static method

Creates a AmbiguousParameterExpression that represents the type-unfixed parameter expression.
public static AmbiguousParameter ( Type type, String name ) : AmbiguousParameterExpression
type System.Type >The type of the parameter.
name String The name of this parameter.
return AmbiguousParameterExpression

Contextful() public static method

Creates a ContextfulExpression that represents the expression which is evaluated on special context.
public static Contextful ( Expression expression, ContextType contextType ) : ContextfulExpression
expression System.Linq.Expressions.Expression The expression to evaluate on special context.
contextType ContextType The type of evaluating context.
return ContextfulExpression

Contextful() public static method

Creates a ContextfulExpression that represents the expression which is evaluated on special context.
public static Contextful ( SymbolTable symbols, Expression expression, ContextType contextType ) : ContextfulExpression
symbols XSpect.Yacq.Symbols.SymbolTable The symbol table for the expression.
expression System.Linq.Expressions.Expression The expression to evaluate on special context.
contextType ContextType The type of evaluating context.
return ContextfulExpression

Dispatch() public static method

Creates a DispatchExpression that represents the dispatching, member reference or method calls.
public static Dispatch ( DispatchTypes dispatchType, Expression left, String name ) : DispatchExpression
dispatchType DispatchTypes The dispatching type.
left System.Linq.Expressions.Expression An that representts the receiver or static reference for dispatching.
name String The name to use for dispatching.
return DispatchExpression

Dispatch() public static method

Creates a DispatchExpression that represents the dispatching, member reference or method calls.
public static Dispatch ( DispatchTypes dispatchType, Expression left, String name, IEnumerable arguments ) : DispatchExpression
dispatchType DispatchTypes The dispatching type.
left System.Linq.Expressions.Expression An that representts the receiver or static reference for dispatching.
name String The name to use for dispatching.
arguments IEnumerable A sequence of objects that represents the arguments for dispatching.
return DispatchExpression

Dispatch() public static method

Creates a DispatchExpression that represents the dispatching, member reference or method calls.
public static Dispatch ( DispatchTypes dispatchType, Expression left, String name, IEnumerable typeArguments ) : DispatchExpression
dispatchType DispatchTypes The dispatching type.
left System.Linq.Expressions.Expression An that representts the receiver or static reference for dispatching.
name String The name to use for dispatching.
typeArguments IEnumerable A sequence of objects that represents the type arguments for dispatching.
return DispatchExpression

Dispatch() public static method

Creates a DispatchExpression that represents the dispatching, member reference or method calls.
public static Dispatch ( DispatchTypes dispatchType, Expression left, String name, IEnumerable typeArguments, IEnumerable arguments ) : DispatchExpression
dispatchType DispatchTypes The dispatching type.
left System.Linq.Expressions.Expression An that representts the receiver or static reference for dispatching.
name String The name to use for dispatching.
typeArguments IEnumerable A sequence of objects that represents the type arguments for dispatching.
arguments IEnumerable A sequence of objects that represents the arguments for dispatching.
return DispatchExpression

Dispatch() public static method

Creates a DispatchExpression that represents the dispatching, member reference or method calls.
public static Dispatch ( DispatchTypes dispatchType, String name ) : DispatchExpression
dispatchType DispatchTypes The dispatching type.
name String The name to use for dispatching.
return DispatchExpression

Dispatch() public static method

Creates a DispatchExpression that represents the dispatching, member reference or method calls.
public static Dispatch ( DispatchTypes dispatchType, String name, IEnumerable arguments ) : DispatchExpression
dispatchType DispatchTypes The dispatching type.
name String The name to use for dispatching.
arguments IEnumerable A sequence of objects that represents the arguments for dispatching.
return DispatchExpression

Dispatch() public static method

Creates a DispatchExpression that represents the dispatching, member reference or method calls.
public static Dispatch ( DispatchTypes dispatchType, String name, IEnumerable typeArguments ) : DispatchExpression
dispatchType DispatchTypes The dispatching type.
name String The name to use for dispatching.
typeArguments IEnumerable A sequence of objects that represents the type arguments for dispatching.
return DispatchExpression

Dispatch() public static method

Creates a DispatchExpression that represents the dispatching, member reference or method calls.
public static Dispatch ( DispatchTypes dispatchType, String name, IEnumerable typeArguments, IEnumerable arguments ) : DispatchExpression
dispatchType DispatchTypes The dispatching type.
name String The name to use for dispatching.
typeArguments IEnumerable A sequence of objects that represents the type arguments for dispatching.
arguments IEnumerable A sequence of objects that represents the arguments for dispatching.
return DispatchExpression

Dispatch() public static method

Creates a DispatchExpression that represents the dispatching, member reference or method calls.
public static Dispatch ( SymbolTable symbols, DispatchTypes dispatchType, Expression left, String name ) : DispatchExpression
symbols XSpect.Yacq.Symbols.SymbolTable The symbol table for the expression.
dispatchType DispatchTypes The dispatching type.
left System.Linq.Expressions.Expression An that representts the receiver or static reference for dispatching.
name String The name to use for dispatching.
return DispatchExpression

Dispatch() public static method

Creates a DispatchExpression that represents the dispatching, member reference or method calls.
public static Dispatch ( SymbolTable symbols, DispatchTypes dispatchType, Expression left, String name, IEnumerable arguments ) : DispatchExpression
symbols XSpect.Yacq.Symbols.SymbolTable The symbol table for the expression.
dispatchType DispatchTypes The dispatching type.
left System.Linq.Expressions.Expression An that representts the receiver or static reference for dispatching.
name String The name to use for dispatching.
arguments IEnumerable A sequence of objects that represents the arguments for dispatching.
return DispatchExpression

Dispatch() public static method

Creates a DispatchExpression that represents the dispatching, member reference or method calls.
public static Dispatch ( SymbolTable symbols, DispatchTypes dispatchType, Expression left, String name, IEnumerable typeArguments ) : DispatchExpression
symbols XSpect.Yacq.Symbols.SymbolTable The symbol table for the expression.
dispatchType DispatchTypes The dispatching type.
left System.Linq.Expressions.Expression An that representts the receiver or static reference for dispatching.
name String The name to use for dispatching.
typeArguments IEnumerable A sequence of objects that represents the type arguments for dispatching.
return DispatchExpression

Dispatch() public static method

Creates a DispatchExpression that represents the dispatching, member reference or method calls.
public static Dispatch ( SymbolTable symbols, DispatchTypes dispatchType, Expression left, String name, IEnumerable typeArguments, IEnumerable arguments ) : DispatchExpression
symbols XSpect.Yacq.Symbols.SymbolTable The symbol table for the expression.
dispatchType DispatchTypes The dispatching type.
left System.Linq.Expressions.Expression An that representts the receiver or static reference for dispatching.
name String The name to use for dispatching.
typeArguments IEnumerable A sequence of objects that represents the type arguments for dispatching.
arguments IEnumerable A sequence of objects that represents the arguments for dispatching.
return DispatchExpression

Dispatch() public static method

Creates a DispatchExpression that represents the dispatching, member reference or method calls.
public static Dispatch ( SymbolTable symbols, DispatchTypes dispatchType, String name ) : DispatchExpression
symbols XSpect.Yacq.Symbols.SymbolTable The symbol table for the expression.
dispatchType DispatchTypes The dispatching type.
name String The name to use for dispatching.
return DispatchExpression

Dispatch() public static method

Creates a DispatchExpression that represents the dispatching, member reference or method calls.
public static Dispatch ( SymbolTable symbols, DispatchTypes dispatchType, String name, IEnumerable arguments ) : DispatchExpression
symbols XSpect.Yacq.Symbols.SymbolTable The symbol table for the expression.
dispatchType DispatchTypes The dispatching type.
name String The name to use for dispatching.
arguments IEnumerable A sequence of objects that represents the arguments for dispatching.
return DispatchExpression

Dispatch() public static method

Creates a DispatchExpression that represents the dispatching, member reference or method calls.
public static Dispatch ( SymbolTable symbols, DispatchTypes dispatchType, String name, IEnumerable typeArguments ) : DispatchExpression
symbols XSpect.Yacq.Symbols.SymbolTable The symbol table for the expression.
dispatchType DispatchTypes The dispatching type.
name String The name to use for dispatching.
typeArguments IEnumerable A sequence of objects that represents the type arguments for dispatching.
return DispatchExpression

Dispatch() public static method

Creates a DispatchExpression that represents the dispatching, member reference or method calls.
public static Dispatch ( SymbolTable symbols, DispatchTypes dispatchType, String name, IEnumerable typeArguments, IEnumerable arguments ) : DispatchExpression
symbols XSpect.Yacq.Symbols.SymbolTable The symbol table for the expression.
dispatchType DispatchTypes The dispatching type.
name String The name to use for dispatching.
typeArguments IEnumerable A sequence of objects that represents the type arguments for dispatching.
arguments IEnumerable A sequence of objects that represents the arguments for dispatching.
return DispatchExpression

Function() public static method

Creates a DispatchExpression that represents the function-call dispatching, without the receiver.
public static Function ( String name ) : DispatchExpression
name String The name to use for dispatching.
return DispatchExpression

Function() public static method

Creates a DispatchExpression that represents the function-call dispatching, without the receiver.
public static Function ( String name, IEnumerable arguments ) : DispatchExpression
name String The name to use for dispatching.
arguments IEnumerable A sequence of objects that represents the arguments for dispatching.
return DispatchExpression

Function() public static method

Creates a DispatchExpression that represents the function-call dispatching, without the receiver.
public static Function ( SymbolTable symbols, String name ) : DispatchExpression
symbols XSpect.Yacq.Symbols.SymbolTable The symbol table for the expression.
name String The name to use for dispatching.
return DispatchExpression

Function() public static method

Creates a DispatchExpression that represents the function-call dispatching, without the receiver.
public static Function ( SymbolTable symbols, String name, IEnumerable arguments ) : DispatchExpression
symbols XSpect.Yacq.Symbols.SymbolTable The symbol table for the expression.
name String The name to use for dispatching.
arguments IEnumerable A sequence of objects that represents the arguments for dispatching.
return DispatchExpression

Identifier() public static method

Creates a IdentifierExpression that represents identifier with specified name.
public static Identifier ( String name ) : IdentifierExpression
name String The name of this expression.
return IdentifierExpression

Identifier() public static method

Creates a IdentifierExpression that represents identifier with specified name.
public static Identifier ( SymbolTable symbols, String name ) : IdentifierExpression
symbols XSpect.Yacq.Symbols.SymbolTable The symbol table for the expression.
name String The name of this expression.
return IdentifierExpression

Ignore() public static method

Creates a IgnoredExpression that is ignored in the results.
public static Ignore ( ) : IgnoredExpression
return IgnoredExpression

Ignore() public static method

Creates a IgnoredExpression that is ignored in the results.
public static Ignore ( SymbolTable symbols ) : IgnoredExpression
symbols XSpect.Yacq.Symbols.SymbolTable
return IgnoredExpression

LambdaList() public static method

Creates a LambdaListExpression that represents the lambda list to be AmbiguousLambdaExpression.
public static LambdaList ( ) : LambdaListExpression
return LambdaListExpression

LambdaList() public static method

Creates a LambdaListExpression that represents the lambda list to be AmbiguousLambdaExpression.
public static LambdaList ( IEnumerable elements ) : LambdaListExpression
elements IEnumerable A sequence of objects that represents the elements of the expression.
return LambdaListExpression

LambdaList() public static method

Creates a LambdaListExpression that represents the lambda list to be AmbiguousLambdaExpression.
public static LambdaList ( SymbolTable symbols ) : LambdaListExpression
symbols XSpect.Yacq.Symbols.SymbolTable The symbol table for the expression.
return LambdaListExpression

LambdaList() public static method

Creates a LambdaListExpression that represents the lambda list to be AmbiguousLambdaExpression.
public static LambdaList ( SymbolTable symbols, IEnumerable elements ) : LambdaListExpression
symbols XSpect.Yacq.Symbols.SymbolTable The symbol table for the expression.
elements IEnumerable A sequence of objects that represents the elements of the expression.
return LambdaListExpression

LambdaList() public static method

Creates a LambdaListExpression that represents the lambda list to be AmbiguousLambdaExpression.
public static LambdaList ( SymbolTable symbols, YacqList elements ) : LambdaListExpression
symbols XSpect.Yacq.Symbols.SymbolTable The symbol table for the expression.
elements YacqList A sequence of objects that represents the elements of the expression.
return LambdaListExpression

LambdaList() public static method

Creates a LambdaListExpression that represents the lambda list to be AmbiguousLambdaExpression.
public static LambdaList ( YacqList elements ) : LambdaListExpression
elements YacqList A sequence of objects that represents the elements of the expression.
return LambdaListExpression

List() public static method

Creates a ListExpression that represents the list.
public static List ( ) : ListExpression
return ListExpression

List() public static method

Creates a ListExpression that represents the list.
public static List ( IEnumerable elements ) : ListExpression
elements IEnumerable A sequence of objects that represents the elements of the expression.
return ListExpression

List() public static method

Creates a ListExpression that represents the list.
public static List ( SymbolTable symbols ) : ListExpression
symbols XSpect.Yacq.Symbols.SymbolTable The symbol table for the expression.
return ListExpression

List() public static method

Creates a ListExpression that represents the list.
public static List ( SymbolTable symbols, IEnumerable elements ) : ListExpression
symbols XSpect.Yacq.Symbols.SymbolTable The symbol table for the expression.
elements IEnumerable An array of objects that represents the elements of the expression.
return ListExpression

List() public static method

Creates a ListExpression that represents the list.
public static List ( SymbolTable symbols, YacqList elements ) : ListExpression
symbols XSpect.Yacq.Symbols.SymbolTable The symbol table for the expression.
elements YacqList A sequence of objects that represents the elements of the expression.
return ListExpression

List() public static method

Creates a ListExpression that represents the list.
public static List ( YacqList elements ) : ListExpression
elements YacqList A sequence of objects that represents the elements of the expression.
return ListExpression

Load() public static method

Loads the object graph and creates a SerializedExpression which represents an expression using the specified XmlDictionaryWriter.
public static Load ( SymbolTable symbols, XmlDictionaryReader reader ) : SerializedExpression
symbols XSpect.Yacq.Symbols.SymbolTable The symbol table for the expression.
reader XmlDictionaryReader An used to read the object graph.
return SerializedExpression

Load() public static method

Loads the object graph and creates a SerializedExpression which represents an expression using the specified XmlDictionaryWriter.
public static Load ( XmlDictionaryReader reader ) : SerializedExpression
reader XmlDictionaryReader An used to read the object graph.
return SerializedExpression

LoadBinary() public static method

Loads the object graph as specified Data Contract binary data and creates a SerializedExpression which represents an expression.
public static LoadBinary ( Byte data ) : SerializedExpression
data Byte The Data Contract binary data to use as source.
return SerializedExpression

LoadBinary() public static method

Loads the object graph as Data Contract binary data from specified file and creates a SerializedExpression which represents an expression.
public static LoadBinary ( FileInfo file ) : SerializedExpression
file FileInfo The file to load and use as source.
return SerializedExpression

LoadBinary() public static method

Loads the object graph as Data Contract binary data into an output stream and creates a SerializedExpression which represents an expression.
public static LoadBinary ( System.Stream stream ) : SerializedExpression
stream System.Stream The stream to load as input.
return SerializedExpression

LoadBinary() public static method

Loads the object graph as specified Data Contract binary data and creates a SerializedExpression which represents an expression.
public static LoadBinary ( SymbolTable symbols, Byte data ) : SerializedExpression
symbols XSpect.Yacq.Symbols.SymbolTable The symbol table for the expression.
data Byte The Data Contract binary data to use as source.
return SerializedExpression

LoadBinary() public static method

Loads the object graph as Data Contract binary data from specified file and creates a SerializedExpression which represents an expression.
public static LoadBinary ( SymbolTable symbols, FileInfo file ) : SerializedExpression
symbols XSpect.Yacq.Symbols.SymbolTable The symbol table for the expression.
file FileInfo The file to load and use as source.
return SerializedExpression

LoadBinary() public static method

Loads the object graph as Data Contract binary data into an output stream and creates a SerializedExpression which represents an expression.
public static LoadBinary ( SymbolTable symbols, System.Stream stream ) : SerializedExpression
symbols XSpect.Yacq.Symbols.SymbolTable The symbol table for the expression.
stream System.Stream The stream to load as input.
return SerializedExpression

LoadText() public static method

Loads the object graph as Data Contract XML data from specified file and creates a SerializedExpression which represents an expression.
public static LoadText ( FileInfo file ) : SerializedExpression
file FileInfo The file to load and use as source.
return SerializedExpression

LoadText() public static method

Loads the object graph as Data Contract XML data from an input stream and creates a SerializedExpression which represents an expression.
public static LoadText ( System.Stream stream ) : SerializedExpression
stream System.Stream The stream to load as input.
return SerializedExpression

LoadText() public static method

Loads the object graph as specified Data Contract XML data and creates a SerializedExpression which represents an expression.
public static LoadText ( String data ) : SerializedExpression
data String The Data Contract XML data to use as source.
return SerializedExpression

LoadText() public static method

Loads the object graph as Data Contract XML data from specified file and creates a SerializedExpression which represents an expression.
public static LoadText ( SymbolTable symbols, FileInfo file ) : SerializedExpression
symbols XSpect.Yacq.Symbols.SymbolTable The symbol table for the expression.
file FileInfo The file to load and use as source.
return SerializedExpression

LoadText() public static method

Loads the object graph as Data Contract XML data from an input stream and creates a SerializedExpression which represents an expression.
public static LoadText ( SymbolTable symbols, System.Stream stream ) : SerializedExpression
symbols XSpect.Yacq.Symbols.SymbolTable The symbol table for the expression.
stream System.Stream The stream to load as input.
return SerializedExpression

LoadText() public static method

Loads the object graph as specified Data Contract XML data and creates a SerializedExpression which represents an expression.
public static LoadText ( SymbolTable symbols, String data ) : SerializedExpression
symbols XSpect.Yacq.Symbols.SymbolTable The symbol table for the expression.
data String The Data Contract XML data to use as source.
return SerializedExpression

Macro() public static method

Creates a MacroExpression that represents the macro, a pre-evaluate time expression preprocessor.
public static Macro ( Expression body ) : MacroExpression
body System.Linq.Expressions.Expression >An that represents the body of this expression.
return MacroExpression

Macro() public static method

Creates a MacroExpression that represents the macro, a pre-evaluate time expression preprocessor.
public static Macro ( Expression body, IEnumerable parameters ) : MacroExpression
body System.Linq.Expressions.Expression >An that represents the body of this expression.
parameters IEnumerable A sequence that contains objects to use to populate the collection.
return MacroExpression

Macro() public static method

Creates a MacroExpression that represents the macro, a pre-evaluate time expression preprocessor.
public static Macro ( SymbolTable symbols, Expression body ) : MacroExpression
symbols XSpect.Yacq.Symbols.SymbolTable The symbol table for the expression.
body System.Linq.Expressions.Expression >An that represents the body of this expression.
return MacroExpression

Macro() public static method

Creates a MacroExpression that represents the macro, a pre-evaluate time expression preprocessor.
public static Macro ( SymbolTable symbols, Expression body, IEnumerable parameters ) : MacroExpression
symbols XSpect.Yacq.Symbols.SymbolTable The symbol table for the expression.
body System.Linq.Expressions.Expression >An that represents the body of this expression.
parameters IEnumerable A sequence that contains objects to use to populate the collection.
return MacroExpression

Number() public static method

Creates a NumberExpression that represents a number from specified source string.
public static Number ( String text ) : NumberExpression
text String The source string of this expression.
return NumberExpression

Number() public static method

Creates a NumberExpression that represents a number from specified source string.
public static Number ( SymbolTable symbols, String text ) : NumberExpression
symbols XSpect.Yacq.Symbols.SymbolTable The symbol table for the expression.
text String The source string of this expression.
return NumberExpression

Quasiquote() public static method

Creates a QuotedExpression that returns specified expression with unquoting.
public static Quasiquote ( Expression expression ) : QuotedExpression
expression System.Linq.Expressions.Expression The expression to quasiquote.
return QuotedExpression

Quasiquote() public static method

Creates a QuotedExpression that returns specified expression with unquoting.
public static Quasiquote ( SymbolTable symbols, Expression expression ) : QuotedExpression
symbols XSpect.Yacq.Symbols.SymbolTable The symbol table for the expression.
expression System.Linq.Expressions.Expression The expression to quasiquote.
return QuotedExpression

Quote() public static method

Creates a QuotedExpression that returns specified expression.
public static Quote ( Expression expression ) : QuotedExpression
expression System.Linq.Expressions.Expression The expression to quote.
return QuotedExpression

Quote() public static method

Creates a QuotedExpression that returns specified expression.
public static Quote ( SymbolTable symbols, Expression expression ) : QuotedExpression
symbols XSpect.Yacq.Symbols.SymbolTable The symbol table for the expression.
expression System.Linq.Expressions.Expression The expression to quote.
return QuotedExpression

Reduce() public method

Reduces this node to a simpler expression. If CanReduce returns true, this should return a valid expression. This method can return another node which itself must be reduced.
public Reduce ( ) : Expression
return System.Linq.Expressions.Expression

Reduce() public method

Reduces this node to a simpler expression with additional symbol tables. Reducing is continued while the reduced expression is not YacqExpression.
public Reduce ( SymbolTable symbols, Type expectedType = null ) : 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

ReduceImpl() protected abstract method

When implemented in a derived class, reduces this node to a simpler expression with additional symbol tables.
protected abstract 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

ReduceOnce() public method

Reduces this node to a simpler expression with additional symbol tables. This method can return another node which itself must be reduced.
public ReduceOnce ( SymbolTable symbols = null, Type expectedType = null ) : 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

Serialize() public static method

Creates a SerializedExpression to get object graph which represents specified expression.
public static Serialize ( Expression expression ) : SerializedExpression
expression System.Linq.Expressions.Expression The expression to serialize.
return SerializedExpression

Serialize() public static method

Creates a SerializedExpression with specified object graph.
public static Serialize ( Node node ) : SerializedExpression
node Node The which represents expression.
return SerializedExpression

Serialize() public static method

Creates a SerializedExpression to get object graph which represents specified expression.
public static Serialize ( SymbolTable symbols, Expression expression ) : SerializedExpression
symbols XSpect.Yacq.Symbols.SymbolTable The symbol table for the expression.
expression System.Linq.Expressions.Expression The expression to serialize.
return SerializedExpression

Serialize() public static method

Creates a SerializedExpression with specified object graph.
public static Serialize ( SymbolTable symbols, Node node ) : SerializedExpression
symbols XSpect.Yacq.Symbols.SymbolTable The symbol table for the expression.
node Node The which represents expression.
return SerializedExpression

SymbolTable() public static method

Creates a SymbolTableExpression that represents the reference to the specified symbol table.
public static SymbolTable ( SymbolTable symbols ) : SymbolTableExpression
symbols XSpect.Yacq.Symbols.SymbolTable The symbol table for the expression.
return SymbolTableExpression

Text() public static method

Creates a TextExpression that represents a string or a character from specified source string.
public static Text ( Char quoteChar, String sourceText ) : TextExpression
quoteChar Char The character which is used for quoting the text.
sourceText String The quoted inner string.
return TextExpression

Text() public static method

Creates a TextExpression that represents a string or a character from specified source string.
public static Text ( String text ) : TextExpression
text String The string which contains quoting characters..
return TextExpression

Text() public static method

Creates a TextExpression that represents a string or a character from specified source string.
public static Text ( SymbolTable symbols, Char quoteChar, String sourceText ) : TextExpression
symbols XSpect.Yacq.Symbols.SymbolTable The symbol table for the expression.
quoteChar Char The character which is used for quoting the text.
sourceText String The quoted inner string.
return TextExpression

Text() public static method

Creates a TextExpression that represents a string or a character from specified source string.
public static Text ( SymbolTable symbols, String text ) : TextExpression
symbols XSpect.Yacq.Symbols.SymbolTable The symbol table for the expression.
text String The string which contains quoting characters..
return TextExpression

TypeCandidate() public static method

Creates a TypeCandidateExpression that represents the type candidates, a symbol of type(s).
public static TypeCandidate ( ) : TypeCandidateExpression
return TypeCandidateExpression

TypeCandidate() public static method

Creates a TypeCandidateExpression that represents the type candidates, a symbol of type(s).
public static TypeCandidate ( IEnumerable candidates ) : TypeCandidateExpression
candidates IEnumerable A sequence of objects that represents the candidate types of the expression.
return TypeCandidateExpression

TypeCandidate() public static method

Creates a TypeCandidateExpression that represents the type candidates, a symbol of type(s).
public static TypeCandidate ( SymbolTable symbols ) : TypeCandidateExpression
symbols XSpect.Yacq.Symbols.SymbolTable The symbol table for the expression.
return TypeCandidateExpression

TypeCandidate() public static method

Creates a TypeCandidateExpression that represents the type candidates, a symbol of type(s).
public static TypeCandidate ( SymbolTable symbols, IEnumerable candidates ) : TypeCandidateExpression
symbols XSpect.Yacq.Symbols.SymbolTable The symbol table for the expression.
candidates IEnumerable A sequence of objects that represents the candidate types of the expression.
return TypeCandidateExpression

Variable() public static method

Creates a DispatchExpression that represents the member-reference dispatching, without the receiver.
public static Variable ( String name ) : DispatchExpression
name String The name to use for dispatching.
return DispatchExpression

Variable() public static method

Creates a DispatchExpression that represents the member-reference dispatching, without the receiver.
public static Variable ( SymbolTable symbols, String name ) : DispatchExpression
symbols XSpect.Yacq.Symbols.SymbolTable The symbol table for the expression.
name String The name to use for dispatching.
return DispatchExpression

Vector() public static method

Creates a VectorExpression that represents the vector.
public static Vector ( ) : VectorExpression
return VectorExpression

Vector() public static method

Creates a VectorExpression that represents the vector.
public static Vector ( IEnumerable elements ) : VectorExpression
elements IEnumerable A sequence of objects that represents the elements of the expression.
return VectorExpression

Vector() public static method

Creates a VectorExpression that represents the vector.
public static Vector ( SymbolTable symbols ) : VectorExpression
symbols XSpect.Yacq.Symbols.SymbolTable The symbol table for the expression.
return VectorExpression

Vector() public static method

Creates a VectorExpression that represents the vector.
public static Vector ( SymbolTable symbols, IEnumerable elements ) : VectorExpression
symbols XSpect.Yacq.Symbols.SymbolTable The symbol table for the expression.
elements IEnumerable A sequence of objects that represents the elements of the expression.
return VectorExpression

Vector() public static method

Creates a VectorExpression that represents the vector.
public static Vector ( SymbolTable symbols, YacqList elements ) : VectorExpression
symbols XSpect.Yacq.Symbols.SymbolTable The symbol table for the expression.
elements YacqList A sequence of objects that represents the elements of the expression.
return VectorExpression

Vector() public static method

Creates a VectorExpression that represents the vector.
public static Vector ( YacqList elements ) : VectorExpression
elements YacqList A sequence of objects that represents the elements of the expression.
return VectorExpression

YacqExpression() protected method

Constructs a new instance of YacqExpression.
protected YacqExpression ( SymbolTable symbols ) : System
symbols XSpect.Yacq.Symbols.SymbolTable The symbol table linked with this expression.
return System