parser

package
v1.508.0 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

View Source
var KotlinLang = kotlin.GetLanguage()
View Source
var KotlinTreeSitterName = "kotlin"

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