1
0

add initial marp implementation with sample content and build configuration

This commit is contained in:
2025-09-13 18:13:22 +02:00
parent dcacc9b409
commit e5f219507f
10319 changed files with 1402023 additions and 0 deletions

46
node_modules/mathjax-full/js/input/tex/TexParser.d.ts generated vendored Normal file
View File

@@ -0,0 +1,46 @@
import { HandlerType } from './MapHandler.js';
import Stack from './Stack.js';
import StackItemFactory from './StackItemFactory.js';
import { Tags } from './Tags.js';
import { MmlNode } from '../../core/MmlTree/MmlNode.js';
import { ParseInput, ParseResult } from './Types.js';
import ParseOptions from './ParseOptions.js';
import { StackItem, EnvList } from './StackItem.js';
import { OptionList } from '../../util/Options.js';
export default class TexParser {
private _string;
configuration: ParseOptions;
macroCount: number;
stack: Stack;
i: number;
currentCS: string;
constructor(_string: string, env: EnvList, configuration: ParseOptions);
get options(): OptionList;
get itemFactory(): StackItemFactory;
get tags(): Tags;
set string(str: string);
get string(): string;
parse(kind: HandlerType, input: ParseInput): ParseResult;
lookup(kind: HandlerType, symbol: string): any;
contains(kind: HandlerType, symbol: string): boolean;
toString(): string;
Parse(): void;
Push(arg: StackItem | MmlNode): void;
PushAll(args: (StackItem | MmlNode)[]): void;
mml(): MmlNode;
convertDelimiter(c: string): string;
getCodePoint(): string;
nextIsSpace(): boolean;
GetNext(): string;
GetCS(): string;
GetArgument(_name: string, noneOK?: boolean): string;
GetBrackets(_name: string, def?: string): string;
GetDelimiter(name: string, braceOK?: boolean): string;
GetDimen(name: string): string;
GetUpTo(_name: string, token: string): string;
ParseArg(name: string): MmlNode;
ParseUpTo(name: string, token: string): MmlNode;
GetDelimiterArg(name: string): string;
GetStar(): boolean;
create(kind: string, ...rest: any[]): MmlNode;
}