Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Write ¶
func Write(ctx context.Context, repo *uniast.Repository, args WriteOptions) error
Write writes the AST to the output directory.
Types ¶
type ParseOptions ¶
type ParseOptions struct {
// LSP sever executable path
LSP string
// Language of the repo
Verbose bool
collect.CollectOption
// specify the repo id
RepoID string
}
ParseOptions is the options for parsing the repo.
type WriteOptions ¶
type WriteOptions struct {
// OutputDir is the output directory.
OutputDir string
// Compiler path
Compiler string
}
Write writes the AST to the output directory.
Click to show internal directories.
Click to hide internal directories.