contains method

  1. @override
bool contains(
  1. String varName
)
override

Implementation

@override
bool contains(String varName) {
  for (final space in _namespaces.values) {
    if (space.symbols.containsKey(varName) ||
        space.symbols.containsKey('${InternalIdentifier.getter}$varName') ||
        space.symbols.containsKey('${InternalIdentifier.setter}$varName')) {
      return true;
    }
  }
  return false;
}