mirror of
https://github.com/borbann-platform/end-of-semester-report.git
synced 2025-12-19 22:44:03 +01:00
19 lines
598 B
TypeScript
19 lines
598 B
TypeScript
import * as Ast from '@unified-latex/unified-latex-types';
|
|
|
|
/**
|
|
* Removes any `_renderInfo` and `position` tags present in the AST. This
|
|
* operation is _destructive_.
|
|
*/
|
|
export declare function trimRenderInfo<T extends Ast.Ast>(ast: T): T;
|
|
|
|
/**
|
|
* Updates the `._renderInfo` property on a node to include
|
|
* whatever has been supplied to `renderInfo`. If `renderInfo`
|
|
* is null, no update is performed.
|
|
*
|
|
* *This operation mutates `node`*
|
|
*/
|
|
export declare function updateRenderInfo(node: Ast.Node | Ast.Argument, renderInfo: object | null | undefined): Ast.Node | Ast.Argument;
|
|
|
|
export { }
|