function dispatchNodeHandler
dispatchNodeHandler(
specification: Specification,
nodeHandler: NodeHandler,
): void

Dispatch a node handler to visit all nodes in the abstract syntax tree.

Parameters

specification: Specification

The specification to be traversed.

nodeHandler: NodeHandler

The handler to perform operations on each node.

Return Type

void

Usage

import { dispatchNodeHandler } from ".";