UNPKG

@angular/localize

Version:

Angular - library for localizing messages

25 lines (24 loc) 1.13 kB
/** * @license * Copyright Google LLC All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.dev/license */ import { Attribute, Block, BlockParameter, Comment, Element, Expansion, ExpansionCase, LetDeclaration, Text, Visitor } from '@angular/compiler'; /** * A simple base class for the `Visitor` interface, which is a noop for every method. * * Sub-classes only need to override the methods that they care about. */ export declare class BaseVisitor implements Visitor { visitElement(_element: Element, _context: any): any; visitAttribute(_attribute: Attribute, _context: any): any; visitText(_text: Text, _context: any): any; visitComment(_comment: Comment, _context: any): any; visitExpansion(_expansion: Expansion, _context: any): any; visitExpansionCase(_expansionCase: ExpansionCase, _context: any): any; visitBlock(_block: Block, _context: any): void; visitBlockParameter(_parameter: BlockParameter, _context: any): void; visitLetDeclaration(_decl: LetDeclaration, _context: any): void; }