set method

void set(
  1. ASTBlock? other
)

Implementation

void set(ASTBlock? other) {
  if (other == null) return;

  _functions.clear();
  addAllFunctions(other._functions.values.expand((e) => e.functions));

  _statements.clear();
  addAllStatements(other._statements);
}