Documentation
¶
Overview ¶
builder package defines the library for invoking the full compilation of Serulian code.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var CORE_LIBRARY = packageloader.Library{ PathOrURL: "github.com/serulian/corelib" + version.CoreLibraryTagOrBranch(), IsSCM: true, Alias: "core", }
CORE_LIBRARY contains the location of the Serulian core library.
Functions ¶
func BuildSource ¶
BuildSource invokes the compiler starting at the given root source file path.
func OutputErrors ¶
func OutputErrors(errors []compilercommon.SourceError)
func OutputWarnings ¶
func OutputWarnings(warnings []compilercommon.SourceWarning)
Types ¶
type ErrorsSlice ¶
type ErrorsSlice []compilercommon.SourceError
func (ErrorsSlice) Len ¶
func (s ErrorsSlice) Len() int
func (ErrorsSlice) Less ¶
func (s ErrorsSlice) Less(i, j int) bool
func (ErrorsSlice) Swap ¶
func (s ErrorsSlice) Swap(i, j int)
type WarningsSlice ¶
type WarningsSlice []compilercommon.SourceWarning
func (WarningsSlice) Len ¶
func (s WarningsSlice) Len() int
func (WarningsSlice) Less ¶
func (s WarningsSlice) Less(i, j int) bool
func (WarningsSlice) Swap ¶
func (s WarningsSlice) Swap(i, j int)
Click to show internal directories.
Click to hide internal directories.