Documentation
¶
Index ¶
- func LoadDirOptions() *loadDirOptions
- type File
- type LoadInfo
- func FilterLoadInfo(info LoadInfo, match func(string) bool) LoadInfo
- func LoadCode(relPath string, code []byte) (LoadInfo, error)
- func LoadDir(dir string) (LoadInfo, error)
- func LoadFile(dir string, relFile string) (LoadInfo, error)
- func LoadFiles(dir string, relFiles []string) (LoadInfo, error)
- func LoadProject(dir string, args []string) (LoadInfo, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func LoadDirOptions ¶
func LoadDirOptions() *loadDirOptions
Types ¶
type LoadInfo ¶
LoadInfo is the core abstraction of an AST load
func FilterLoadInfo ¶ added in v0.0.11
FilterLoadInfo keeps filtering before annotation construction, not just before serialization. The backing AST is not copied and traversal stop semantics are preserved.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.