scope<T> method
Implementation
void scope<T>(Function(ScopeDSL) scopeSet) {
Qualifier qualifier = TypeQualifier(T);
ScopeDSL scopeDSL = ScopeDSL(qualifier, definitions);
scopeSet(scopeDSL);
scopes.add(qualifier);
}
void scope<T>(Function(ScopeDSL) scopeSet) {
Qualifier qualifier = TypeQualifier(T);
ScopeDSL scopeDSL = ScopeDSL(qualifier, definitions);
scopeSet(scopeDSL);
scopes.add(qualifier);
}