parser

package
v0.1.2 Latest Latest
Warning

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

Go to latest
Published: Sep 12, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Parser

type Parser struct {
	scanner.Scanner

	Callback func(d directives.Directive)
}

Parser parses a journal.

func New

func New(text, path string) *Parser

New creates a new parser.

func (*Parser) ParseFile

func (p *Parser) ParseFile() (directives.File, error)

Jump to

Keyboard shortcuts

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