ctags

package
v0.0.0-...-f8e8ada Latest Latest
Warning

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

Go to latest
Published: Nov 8, 2021 License: Apache-2.0 Imports: 12 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Entry

type Entry struct {
	Sym        string
	Path       string
	Line       int
	Kind       string
	Language   string
	Parent     string
	ParentType string

	FileLimited bool
}

func Parse

func Parse(in string) (*Entry, error)

Parse parses a single line of exuberant "ctags -n" output.

type Parser

type Parser interface {
	Parse(name string, content []byte) ([]*Entry, error)
}

func NewParser

func NewParser(bin string) (Parser, error)

NewParser creates a parser that is implemented by the given universal-ctags binary. The parser is safe for concurrent use.

Jump to

Keyboard shortcuts

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