Searched refs:ParserOptions (Results 1 – 8 of 8) sorted by relevance
/third_party/parse5/packages/parse5/lib/ |
D | index.ts | 1 import { Parser, type ParserOptions } from './parser/index.js'; alias 8 export { type ParserOptions, /** @internal */ Parser } from './parser/index.js'; alias 42 options?: ParserOptions<T> 73 options: ParserOptions<T> 77 options?: ParserOptions<T> 81 html?: string | ParserOptions<T>, 82 options?: ParserOptions<T> 85 options = html as ParserOptions<T>;
|
/third_party/parse5/packages/parse5-parser-stream/lib/ |
D | index.ts | 2 import { Parser, type ParserOptions, type TreeAdapterTypeMap, type DefaultTreeAdapterMap } from 'pa… alias 33 options?: ParserOptions<T> 55 constructor(options?: ParserOptions<T>, public parser: Parser<T> = new Parser(options)) {
|
/third_party/parse5/packages/parse5-plain-text-conversion-stream/lib/ |
D | index.ts | 1 import { type ParserOptions, type TreeAdapterTypeMap, html } from 'parse5'; alias 28 constructor(options?: ParserOptions<T>) {
|
/third_party/parse5/packages/parse5-parser-stream/test/utils/ |
D | parse-chunked.ts | 1 import type { ParserOptions, TreeAdapterTypeMap } from 'parse5'; 7 opts: ParserOptions<T>,
|
/third_party/parse5/test/utils/ |
D | generate-parsing-tests.ts | 1 import type { ParserOptions, TreeAdapter, TreeAdapterTypeMap, ParserError } from 'parse5'; 64 interface ParseMethodOptions<T extends TreeAdapterTypeMap> extends ParserOptions<T> {
|
D | generate-location-info-parser-tests.ts | 4 import { type TreeAdapterTypeMap, type TreeAdapter, type ParserOptions, type Token, serializeOuter … alias 118 …parse: (html: string, opts: ParserOptions<TreeAdapterTypeMap>) => { node: TreeAdapterTypeMap['node…
|
/third_party/parse5/packages/parse5/lib/parser/ |
D | parser-location-info.test.ts | 3 import { type ParserOptions, type TreeAdapterTypeMap, parse, parseFragment } from 'parse5'; alias 11 generateLocationInfoParserTests('location-info-parser', (input: string, opts: ParserOptions<TreeAda…
|
D | index.ts | 78 export interface ParserOptions<T extends TreeAdapterTypeMap> { interface 114 const defaultParserOptions: Required<ParserOptions<DefaultTreeAdapterMap>> = { 126 public options: Required<ParserOptions<T>>; 130 options?: ParserOptions<T>, 138 } as Required<ParserOptions<T>>; 160 …public static parse<T extends TreeAdapterTypeMap>(html: string, options?: ParserOptions<T>): T['do… 170 options?: ParserOptions<T> 172 const opts: Required<ParserOptions<T>> = { 175 } as Required<ParserOptions<T>>;
|