This commit is contained in:
counterweight 2026-05-14 10:56:04 +02:00
parent bc92231240
commit b8225c639e
Signed by: counterweight
GPG key ID: 883EDBAA726BD96C
11904 changed files with 1472749 additions and 133 deletions

View file

@ -0,0 +1,23 @@
import TexParser from '../TexParser.js';
import ParseOptions from '../ParseOptions.js';
import { StackItem } from '../StackItem.js';
import { MmlNode } from '../../../core/MmlTree/MmlNode.js';
import { EnvList } from '../StackItem.js';
export declare class TextParser extends TexParser {
text: string;
envStack: EnvList[];
level: number | string | undefined;
protected nodes: MmlNode[];
get texParser(): any;
get tags(): any;
constructor(text: string, env: EnvList, configuration: ParseOptions, level?: number | string);
mml(): MmlNode;
Parse(): void;
saveText(): void;
Push(mml: MmlNode | StackItem): void;
PushMath(mml: MmlNode): void;
addAttributes(mml: MmlNode): void;
ParseTextArg(name: string, env: EnvList): MmlNode;
ParseArg(name: string): MmlNode;
Error(id: string, message: string, ...args: string[]): void;
}