Class ExpressionTree
Represents an expression tree containing an expression.
Inheritance
Inherited Members
Namespace: System.Linq.Expressions
Assembly: Nuqleon.Linq.CompilerServices.dll
Syntax
public abstract class ExpressionTree : ExpressionTreeBase, ITree<ExpressionTreeNode>, ITree, IEquatable<ExpressionTreeBase>, ITyped
  Properties
Expression
Gets the expression contained in the expression tree.
Declaration
public Expression Expression { get; }
  Property Value
| Type | Description | 
|---|---|
| System.Linq.Expressions.Expression | 
Methods
GetTypeCore()
Gets the type of the expression tree node.
Declaration
protected override IType GetTypeCore()
  Returns
| Type | Description | 
|---|---|
| IType | Type of the expression tree node.  | 
      
Overrides
ToStringFormat()
Gets a format string with placeholders for the children. To be used with String.Format.
Declaration
public override string ToStringFormat()
  Returns
| Type | Description | 
|---|---|
| System.String | Format string that can be used to retrieve a string representation of the current node by supplying string representations of child nodes.  | 
      
Overrides
Update(IEnumerable<ExpressionTree>)
Updates the expression tree with the given children, returning a new immutable tree.
Declaration
public ExpressionTree Update(IEnumerable<ExpressionTree> children)
  Parameters
| Type | Name | Description | 
|---|---|---|
| System.Collections.Generic.IEnumerable<ExpressionTree> | children | Child nodes for the copy of the current node.  | 
      
Returns
| Type | Description | 
|---|---|
| ExpressionTree | New immutable tree based on the current node, but with the specified child nodes.  | 
      
Update(ExpressionTree[])
Updates the expression tree with the given children, returning a new immutable tree.
Declaration
public ExpressionTree Update(params ExpressionTree[] children)
  Parameters
| Type | Name | Description | 
|---|---|---|
| ExpressionTree[] | children | Child nodes for the copy of the current node.  | 
      
Returns
| Type | Description | 
|---|---|
| ExpressionTree | New immutable tree based on the current node, but with the specified child nodes.  | 
      
UpdateCore(IEnumerable<ITree<ExpressionTreeNode>>)
Updates the expression tree with the given children, returning a new immutable tree.
Declaration
protected override ITree<ExpressionTreeNode> UpdateCore(IEnumerable<ITree<ExpressionTreeNode>> children)
  Parameters
| Type | Name | Description | 
|---|---|---|
| System.Collections.Generic.IEnumerable<ITree<ExpressionTreeNode>> | children | Child nodes for the copy of the current node.  | 
      
Returns
| Type | Description | 
|---|---|
| ITree<ExpressionTreeNode> | New immutable tree based on the current node, but with the specified child nodes.  |