loader

package
v0.2.1 Latest Latest
Warning

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

Go to latest
Published: Jan 9, 2017 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Loader

type Loader struct {
	Logger  *logger.Logger
	ListMap map[string]*ast.ObjectList
}

func NewLoader

func NewLoader(debug bool) *Loader

func (*Loader) DumpFiles added in v0.2.1

func (l *Loader) DumpFiles() map[string]*ast.ObjectList

func (*Loader) LoadAllFile

func (l *Loader) LoadAllFile(dir string) error

func (*Loader) LoadFile

func (l *Loader) LoadFile(filename string) error

func (*Loader) LoadModuleFile

func (l *Loader) LoadModuleFile(moduleKey string, source string) error

type LoaderIF added in v0.2.1

type LoaderIF interface {
	LoadFile(filename string) error
	LoadModuleFile(moduleKey string, source string) error
	LoadAllFile(dir string) error
	DumpFiles() map[string]*ast.ObjectList
}

Jump to

Keyboard shortcuts

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