parser

package
v0.0.0-...-c626d5b Latest Latest
Warning

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

Go to latest
Published: Jul 23, 2019 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// TODO(daniel) Support other languages besides go?
	GoLang language = "golang"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type GolangParser

type GolangParser struct{}

func (*GolangParser) Parse

func (p *GolangParser) Parse(config *gotodo.Config, path string) ([]gotodo.Comment, error)

type Parser

type Parser interface {
	Parse(config *gotodo.Config, path string) ([]gotodo.Comment, error)
}

func NewParserFor

func NewParserFor(lang language) Parser

Jump to

Keyboard shortcuts

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