referenceCollectorVisitor.d.ts 1.1 KB

12345678910111213141516171819
  1. import * as ast from '@angular/compiler';
  2. import { FlatSymbolTable } from './recursiveAngularExpressionVisitor';
  3. export declare class ReferenceCollectorVisitor implements ast.TemplateAstVisitor {
  4. private _variables;
  5. visit?(node: ast.TemplateAst, context: any): FlatSymbolTable;
  6. visitBoundText(text: ast.BoundTextAst, context: any): any;
  7. visitElementProperty(prop: ast.BoundElementPropertyAst, context: any): any;
  8. visitReference(ast: ast.ReferenceAst, context: any): any;
  9. visitNgContent(ast: ast.NgContentAst, context: any): any;
  10. visitVariable(ast: ast.VariableAst, context: any): any;
  11. visitAttr(ast: ast.AttrAst, context: any): any;
  12. visitText(text: ast.TextAst, context: any): any;
  13. visitDirective(ast: ast.DirectiveAst, context: any): any;
  14. visitDirectiveProperty(ast: ast.BoundDirectivePropertyAst, context: any): any;
  15. visitEvent(ast: ast.BoundEventAst, context: any): any;
  16. visitEmbeddedTemplate(ast: ast.EmbeddedTemplateAst, context: any): any;
  17. visitElement(element: ast.ElementAst, context: any): any;
  18. get variables(): FlatSymbolTable;
  19. }