gazelle

package
v1.505.5 Latest Latest
Warning

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

Go to latest
Published: Jun 10, 2023 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewParser

func NewParser() parser.Parser

Types

type EsbuildParser

type EsbuildParser struct {
	parser.Parser
}

func (*EsbuildParser) ParseImports

func (p *EsbuildParser) ParseImports(filePath, source string) ([]string, []error)

ParseImports returns all the imports from a file after parsing it.

Jump to

Keyboard shortcuts

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