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 ¶
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
Click to show internal directories.
Click to hide internal directories.