Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // ErrMustHaveTwoArguments indicates key value // are two arguments ErrMustHaveTwoArguments = errors.New("must have two arguments") // ErrMissingEqualsSign indicates that key=value // pair doesn't contains = separator ErrMissingEqualsSign = errors.New("syntax error - can't find =. Must be of the form: name=value") )
Functions ¶
func ParseRawWithDirectives ¶
func ParseRawWithDirectives(raw string, d *Directives, cb func(string, string)) error
ParseRawWithDirectives is wrapper around parseRaw
Types ¶
type Directives ¶
type Directives struct {
EscapeToken rune // Current escape token
}
Directives is the structure used during a build run to hold the state of parsing directives.
Click to show internal directories.
Click to hide internal directories.