Documentation
¶
Overview ¶
Package link links implements a linker for corgi files. It resolves imports and links mixin calls. Furthermore, it validates that there are no namespace collisions from uses or from redeclared namespaces.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Linker ¶
type Linker struct {
// contains filtered or unexported fields
}
func (*Linker) LinkFile ¶
LinkFile concurrently links the passed file.
It expects the passed file to have passed [validate.PreLink] and have a linked DirLibrary, or none at all.
If it returns an error, that error will be of type corgierr.List.
func (*Linker) LinkLibrary ¶
LinkLibrary concurrently links the passed library.
It expects all files in the passed library to have passed [validate.PreLink].
If it returns an error, that error will be of type corgierr.List.
Click to show internal directories.
Click to hide internal directories.