MCPcopy
hub / github.com/angular/angular / Visitor

Class Visitor

packages/compiler/test/expression_parser/ast_spec.ts:34–39  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

32});
33
34class Visitor extends RecursiveAstVisitor {
35 override visit(node: AST, path: AST[]) {
36 path.push(node);
37 node.visit(this, path);
38 }
39}
40
41type Newable = new (...args: any) => any;
42function expectType<T extends Newable>(val: any, t: T): asserts val is InstanceType<T> {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…