internal

package
v0.0.0-...-48f1ba4 Latest Latest
Warning

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

Go to latest
Published: Jan 14, 2024 License: MIT Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type KotlinParser

type KotlinParser struct {
	// contains filtered or unexported fields
}

func NewKotlinParser

func NewKotlinParser() (*KotlinParser, error)

func (*KotlinParser) ParseKotlinFiles

func (kp *KotlinParser) ParseKotlinFiles(files []string) ([]*pb.SourceFileInfo, error)

ParseKotlinFiles parses the given Kotlin files and returns a list of SourceFileInfo objects

func (*KotlinParser) Stop

func (kp *KotlinParser) Stop() error

Stop stops the Kotlin parser server by sending a sigterm to the process

type MavenArtifact

type MavenArtifact struct {
	Coord    string
	Packages []string
}

MavenArtifact represents a maven artifact It's maven coordinate, the set of packages it provides and the resolved Bazel label

type MavenInstallInfo

type MavenInstallInfo struct {
	// contains filtered or unexported fields
}

MavenInstallInfo represents the information extracted from maven_install.json

func NewMavenInstallInfo

func NewMavenInstallInfo(mavenInstallJsonFile string, mavenRepoName string) *MavenInstallInfo

func (*MavenInstallInfo) CoordToBazelLabel

func (mii *MavenInstallInfo) CoordToBazelLabel(coord string) string

func (*MavenInstallInfo) GetMavenArtifactFromImport

func (mii *MavenInstallInfo) GetMavenArtifactFromImport(imp string) *MavenArtifact

func (*MavenInstallInfo) GetMavenArtifacts

func (mii *MavenInstallInfo) GetMavenArtifacts() []MavenArtifact

GetMavenArtifacts returns the set of MavenArtifacts extracted from the maven_install.json file

func (*MavenInstallInfo) ProcessDeps

func (mii *MavenInstallInfo) ProcessDeps() error

Jump to

Keyboard shortcuts

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