typesxml
Version:
Open source XML library written in TypeScript
28 lines (27 loc) • 924 B
TypeScript
/*******************************************************************************
* Copyright (c) 2023-2026 Maxprograms.
*
* This program and the accompanying materials
* are made available under the terms of the Eclipse Public License 1.0
* which accompanies this distribution, and is available at
* https://www.eclipse.org/org/documents/epl-v10.html
*
* Contributors:
* Maxprograms - initial API and implementation
*******************************************************************************/
import { DTDContentModel } from "./DTDContentModel.js";
export declare class DTDContentModelParser {
private tokens;
private pos;
constructor(input: string);
private parseParticle;
parse(): DTDContentModel;
private parseGroup;
private parseMixed;
private parseNameParticle;
private parseCardinality;
private match;
private peek;
private expect;
private next;
}