getLocalDeclarations method
Returns variable declarations for all locals used in this scope.
Implementation
@override
List<o.Statement> getLocalDeclarations() {
final declarations = <o.Statement>[];
for (final name in _localsInScope) {
declarations.add(_state.localDeclarations[name]!);
}
return declarations;
}