MrKWatkins.Ast Help

Children<TNode>.OfType Method

Definition

Lazily enumerates over all nodes in this collection of the specified type.

public IEnumerable<TChild> OfType<TChild>() where TChild : TNode;

Type Parameters

Name

Description

TChild

The type of the nodes to return.

Returns

IEnumerable<TChild>

A lazy enumeration of all nodes in this collection of type TChild.

Last modified: 09 September 2024