@adguard/agtree
Version:
Tool set for working with adblock filter lists
19 lines (18 loc) • 653 B
TypeScript
import { BaseParser } from '../base-parser.js';
import { type Value } from '../../nodes/index.js';
/**
* Value parser.
* This parser is very simple, it just exists to provide a consistent interface for parsing.
*/
export declare class ValueParser extends BaseParser {
/**
* Parses a value.
*
* @param raw Raw input to parse.
* @param options Global parser options.
* @param baseOffset Starting offset of the input. Node locations are calculated relative to this offset.
*
* @returns Value node.
*/
static parse(raw: string, options?: import("../index.js").ParserOptions, baseOffset?: number): Value;
}