UNPKG

typesxml

Version:

Open source XML library written in TypeScript

19 lines (18 loc) 915 B
/******************************************************************************* * 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 { SchemaParticle } from './SchemaParticle.js'; export declare class SchemaElementParticle extends SchemaParticle { name: string; private additionalNames; constructor(name: string, minOccurs?: number, maxOccurs?: number | 'unbounded', additionalNames?: Set<string>); matchOnce(children: string[], pos: number, _nsMap?: Map<string, string>, _childNamespaces?: string[]): number[]; }