UNPKG

typesxml

Version:

Open source XML library written in TypeScript

30 lines (29 loc) 1.2 kB
/******************************************************************************* * 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 *******************************************************************************/ export declare class XsdRegexTranslator { private static readonly NAME_START_CHAR; private static readonly NAME_CHAR; private static readonly XSD_DIGITS; private static readonly XSD_W_EXCLUDES; private static readonly CATEGORY_MAP; private static readonly BLOCK_MAP; static toRegExp(xsdPattern: string): RegExp; static translate(xsdPattern: string): string; private static parseExpression; private static parseEscape; private static parseCharClass; private static emitCharClass; private static parseEscapeInsideClass; private static translateCategory; private static resolveClassContent; private static readBracedName; }