Home
last modified time | relevance | path

Searched refs:ParserOptions (Results 1 – 8 of 8) sorted by relevance

/third_party/parse5/packages/parse5/lib/
Dindex.ts1 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/
Dindex.ts2 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/
Dindex.ts1 import { type ParserOptions, type TreeAdapterTypeMap, html } from 'parse5'; alias
28 constructor(options?: ParserOptions<T>) {
/third_party/parse5/packages/parse5-parser-stream/test/utils/
Dparse-chunked.ts1 import type { ParserOptions, TreeAdapterTypeMap } from 'parse5';
7 opts: ParserOptions<T>,
/third_party/parse5/test/utils/
Dgenerate-parsing-tests.ts1 import type { ParserOptions, TreeAdapter, TreeAdapterTypeMap, ParserError } from 'parse5';
64 interface ParseMethodOptions<T extends TreeAdapterTypeMap> extends ParserOptions<T> {
Dgenerate-location-info-parser-tests.ts4 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/
Dparser-location-info.test.ts3 import { type ParserOptions, type TreeAdapterTypeMap, parse, parseFragment } from 'parse5'; alias
11 generateLocationInfoParserTests('location-info-parser', (input: string, opts: ParserOptions<TreeAda…
Dindex.ts78 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>>;