Documentation ¶
Index ¶
Constants ¶
View Source
const ( Install int = iota Remove Update )
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Parser ¶
type Parser struct { Debug bool // used in tests (verbose mode) // contains filtered or unexported fields }
Parser is used to parse IScript
func NewParser ¶
NewParser creates a new parser and initialise it. path is a path to script. installDir is a directory where package is (or would be) installed debug must be used only in debug
func (*Parser) Reset ¶
This function should be executed when either path or destination changed Parser must be stopped before resetting Syntax is the same as in NewParser
Click to show internal directories.
Click to hide internal directories.