Documentation
¶
Overview ¶
Package parser Analyses a given string of text and extracts any configmanager tokens
It builds any additiona metadata as part of the analysis
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrNoEndTagFound = errors.New("no corresponding end tag found") ErrUnableToReplaceVarPlaceholder = errors.New("variable specified in the content was not found in the environment") )
View Source
var ErrMetadataEmpty = errors.New("emtpy metadata")
Functions ¶
This section is empty.
Types ¶
type ConfigManagerTokenBlock ¶
type Parser ¶
type Parser struct {
// contains filtered or unexported fields
}
func (*Parser) Parse ¶
func (p *Parser) Parse() ([]ConfigManagerTokenBlock, []error)
Parse creates a flat list of ConfigManagerTokenBlock In the order they were declared in the source text
The parser does not do a second pass and interprets the source from top to bottom
Click to show internal directories.
Click to hide internal directories.