hariti

package
v0.0.1-0...-2b12773 Latest Latest
Warning

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

Go to latest
Published: Nov 19, 2017 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const (
	EOF = scanner.EOF
)

Variables

This section is empty.

Functions

This section is empty.

Types

type AliasesOption

type AliasesOption struct {
	Value []string
}

func (*AliasesOption) Apply

func (self *AliasesOption) Apply(dest Bundle)

type BuildScriptsOption

type BuildScriptsOption struct {
	Value map[string][]string
}

func (*BuildScriptsOption) Apply

func (self *BuildScriptsOption) Apply(dest Bundle)

type Bundle

type Bundle interface {
}

func Parse

func Parse(src io.Reader) ([]Bundle, error)

type BundleOption

type BundleOption interface {
	Apply(Bundle)
}

type BundleOptions

type BundleOptions []BundleOption

func (BundleOptions) Apply

func (self BundleOptions) Apply(dest Bundle)

type DependenciesOption

type DependenciesOption struct {
	Value []string
}

func (*DependenciesOption) Apply

func (self *DependenciesOption) Apply(dest Bundle)

type EnableIfExprOption

type EnableIfExprOption struct {
	Value string
}

func (*EnableIfExprOption) Apply

func (self *EnableIfExprOption) Apply(dest Bundle)

type Expr

type Expr interface{}

type File

type File struct {
	Bundles []Bundle
}

type Lexer

type Lexer struct {
	scanner.Scanner

	Bundles []Bundle
	// contains filtered or unexported fields
}

func NewLexer

func NewLexer() *Lexer

func (*Lexer) Error

func (self *Lexer) Error(msg string)

func (*Lexer) Lex

func (self *Lexer) Lex(lval *yySymType) int

func (*Lexer) Scan

func (self *Lexer) Scan() rune

type LocalBundle

type LocalBundle struct {
	Uri      string
	Includes []string
	Excludes []string
}

type RemoteBundle

type RemoteBundle struct {
	Uri          string
	Aliases      []string
	EnableIfExpr string
	Dependencies []string
	BuildScripts map[string][]string
}

type Token

type Token struct {
	Id   int
	Text string
}

type UriOption

type UriOption struct {
	Value string
}

func (*UriOption) Apply

func (self *UriOption) Apply(dest Bundle)

Jump to

Keyboard shortcuts

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