referencesInScope method

List<int> referencesInScope(
  1. String scopeId,
  2. Type type
)

Returns references list for given scope and type

Implementation

List<int> referencesInScope(String scopeId, Type type) {
  if (_references[scopeId]?[type] == null) {
    return [];
  }

  return _references[scopeId]![type]!;
}