• Recursively iterates over each statement in an ASTNode and applies a callback to each statement.

    Parameters

    • node: AstNode

      The node to traverse.

    • callback: ((stmt: AstStatement) => void)

      The callback function to apply to each statement.

    Returns void