walk method

Iterator<AST> walk(
  1. AST node
)

Returns a flattened iterable of all the AST nodes in the tree.

Implementation

Iterator<AST> walk(AST node) => TypedIterator<
        PythonClassInterface<PythonFfiDelegate<Object?>, Object?>>.from(
      getFunction("walk").call(<Object?>[node]),
    ).transform(AST.from);