salve-annos
Version:
A fork with support for documentation of Salve, a Javascript library which implements a validator able to validate an XML document on the basis of a subset of RelaxNG.
11 lines (10 loc) • 338 B
TypeScript
import { InternalWalker, Pattern, TwoSubpatterns } from "./base";
/**
* A pattern for ``<choice>``.
*/
export declare class Choice extends TwoSubpatterns {
private readonly optional;
constructor(xmlPath: string, patA: Pattern, patB: Pattern);
protected _computeHasEmptyPattern(): boolean;
newWalker(): InternalWalker;
}