mirror of
https://github.com/borbann-platform/end-of-semester-report.git
synced 2025-12-18 22:34:04 +01:00
20 lines
329 B
TypeScript
20 lines
329 B
TypeScript
import * as Ast from '@unified-latex/unified-latex-types';
|
|
|
|
/**
|
|
* Returns a new AST with all comments removed. Care is taken to preserve whitespace.
|
|
* For example
|
|
* ```
|
|
* x%
|
|
* y
|
|
* ```
|
|
* becomes `xy` but
|
|
* ```
|
|
* x %
|
|
* y
|
|
* ```
|
|
* becomes `x y`
|
|
*/
|
|
export declare function deleteComments(ast: Ast.Ast): void;
|
|
|
|
export { }
|