polymer-analyzer
Version:
Static analysis for Web Components
13 lines (12 loc) • 475 B
TypeScript
import { InlineDocInfo } from '../model/model';
import { Parser } from '../parser/parser';
import { ParsedHtmlDocument } from './html-document';
export declare class HtmlParser implements Parser<ParsedHtmlDocument> {
/**
* Parse html into ASTs.
*
* @param {string} htmlString an HTML document.
* @param {string} href is the path of the document.
*/
parse(contents: string, url: string, inlineInfo?: InlineDocInfo<any>): ParsedHtmlDocument;
}