Skip to content

Visitor<TContext, TNode, TResult>.VisitChildren Method ​

Definition ​

Visits all the children of the specified node in order and returns their results.

c#
protected TResult[] VisitChildren(TContext? context, TNode node);

View source

Parameters ​

NameTypeDescription
contextTContextThe context object.
nodeTNodeThe node whose children should be visited.

Returns ​

TResult[]

The results of visiting each child of node, in the same order as the children.