1 | import { IsolateModule } from './IsolateModule';
|
2 | import { Scope } from './isolate';
|
3 | export declare class ScopeChecker {
|
4 | readonly namespace: Array<Scope>;
|
5 | private isolateModule;
|
6 | readonly _namespace: Array<Scope>;
|
7 | constructor(namespace: Array<Scope>, isolateModule: IsolateModule);
|
8 | /**
|
9 | * Checks whether the given element is *directly* in the scope of this
|
10 | * scope checker. Being contained *indirectly* through other scopes
|
11 | * is not valid. This is crucial for implementing parent-child isolation,
|
12 | * so that the parent selectors don't search inside a child scope.
|
13 | */
|
14 | isDirectlyInScope(leaf: Element): boolean;
|
15 | }
|