allFunctions property

Iterable<FunctionIr> get allFunctions

All function IRs including those inside classes.

Implementation

Iterable<FunctionIr> get allFunctions sync* {
  yield* functions;
  for (final cls in classes) {
    yield* cls.methods;
  }
}