UNPKG

@angular/compiler

Version:

Angular - the compiler library

19 lines (18 loc) 660 B
/** * @license * Copyright Google Inc. 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.io/license */ import * as html from '../ml_parser/ast'; import { ParseError } from '../parse_util'; import { BindingParser } from '../template_parser/binding_parser'; import * as t from './r3_ast'; export declare type Render3ParseResult = { nodes: t.Node[]; errors: ParseError[]; ngContentSelectors: string[]; hasNgContent: boolean; }; export declare function htmlAstToRender3Ast(htmlNodes: html.Node[], bindingParser: BindingParser): Render3ParseResult;