method ASTViewerService.formatAST ASTViewerService.formatAST(ast: AnyRule,indent?: number,): string Format AST as pretty-printed JSON. Parameters ast: AnyRule optional indent: number = 2 Return Type string