Type Parameters
- Q extends BaseQuad = Quad
Constructors
constructor
- new Parser<Q>(options?): Parser<Q>
Type Parameters
- Q extends BaseQuad = Quad
Parameters
Optional
options: ParserOptions
Methods
parse
- parse(input, callback?, prefixCallback?): Q[]
Parameters
- input: string
Optional
callback: nullOptional
prefixCallback: PrefixCallback
Returns Q[]
- parse(input, callback, prefixCallback?): void
Parameters
- input: string | EventEmitter<DefaultEventMap>
- callback: ParseCallback<Q>
Optional
prefixCallback: PrefixCallback
Returns void