parser

package
v1.509.25 Latest Latest
Warning

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

Go to latest
Published: Mar 28, 2024 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type KotlinImports

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

type ParseResult added in v1.507.2

type ParseResult struct {
	File    string
	Imports []string
	Package string
	HasMain bool
}

type Parser

type Parser interface {
	Parse(filePath, source string) (*ParseResult, []error)
}

func NewParser

func NewParser() Parser

Jump to

Keyboard shortcuts

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