UNPKG

typesxml

Version:

Open source XML library written in TypeScript

23 lines (22 loc) 835 B
/******************************************************************************* * Copyright (c) 2023 - 2024 Maxprograms. * * This program and the accompanying materials * are made available under the terms of the Eclipse 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 { XMLElement } from "./XMLElement"; export declare class Indenter { private numSpaces; private indentLevel; constructor(spaces: number, level?: number); setSpaces(spaces: number): void; setLevel(level: number): void; indent(e: XMLElement): void; private indentElement; private hasText; }