Documentation ¶ Index ¶ type BlockInfo type Parser func NewParser(excludes []string, log *logger.Logger) *Parser func (p *Parser) ParseDirectory(dir string) ([]BlockInfo, error) func (p *Parser) ParseFile(path string) ([]BlockInfo, error) Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type BlockInfo ¶ type BlockInfo struct { Type string SubType string Name string SourceFile string // Block content Content []byte } type Parser ¶ type Parser struct { // contains filtered or unexported fields } func NewParser ¶ func NewParser(excludes []string, log *logger.Logger) *Parser func (*Parser) ParseDirectory ¶ func (p *Parser) ParseDirectory(dir string) ([]BlockInfo, error) func (*Parser) ParseFile ¶ func (p *Parser) ParseFile(path string) ([]BlockInfo, error) Source Files ¶ View all Source files parser.go Click to show internal directories. Click to hide internal directories.