Interface: Formatter¶
Defined in: compiler/src/types.ts:34
Interface for formatters that convert AST to target format.
Properties¶
defaultConvention¶
readonlydefaultConvention:string
Defined in: compiler/src/types.ts:42
Default convention for this formatter
description¶
readonlydescription:string
Defined in: compiler/src/types.ts:40
Human-readable description
name¶
readonlyname:string
Defined in: compiler/src/types.ts:36
Formatter name (e.g., "github", "claude", "cursor")
outputPath¶
readonlyoutputPath:string
Defined in: compiler/src/types.ts:38
Output path pattern
Methods¶
format()¶
format(
ast,options?):FormatterOutput
Defined in: compiler/src/types.ts:44
Format the AST to target format