builder

package
v0.0.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 28, 2017 License: BSD-3-Clause Imports: 10 Imported by: 5

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

func BuildSource(rootSourceFilePath string, debug bool, vcsDevelopmentDirectories ...string) bool

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)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL