Class ExpressionContextExtensions
Extension methods for ExpressionContext.
Inheritance
System.Object
ExpressionContextExtensions
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: ZptSharp.Expressions
Assembly: ZptSharp.dll
Syntax
public static class ExpressionContextExtensions
Methods
| Improve this Doc View SourceCreateChildren(ExpressionContext, IList<INode>)
Creates a collection of child contexts, from the specified nodes
.
See also: CreateChild(INode).
Declaration
public static IList<ExpressionContext> CreateChildren(this ExpressionContext context, IList<INode> nodes)
Parameters
Type | Name | Description |
---|---|---|
ExpressionContext | context | Context. |
System.Collections.Generic.IList<INode> | nodes | Nodes. |
Returns
Type | Description |
---|---|
System.Collections.Generic.IList<ExpressionContext> | The child contexts. |
CreateChildren(ExpressionContext, IReadOnlyList<INode>)
Creates a collection of child contexts, from the specified nodes
.
See also: CreateChild(INode).
Declaration
public static IList<ExpressionContext> CreateChildren(this ExpressionContext context, IReadOnlyList<INode> nodes)
Parameters
Type | Name | Description |
---|---|---|
ExpressionContext | context | Context. |
System.Collections.Generic.IReadOnlyList<INode> | nodes | Nodes. |
Returns
Type | Description |
---|---|
System.Collections.Generic.IList<ExpressionContext> | The child contexts. |