golang

package
v0.0.0-...-b044383 Latest Latest
Warning

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

Go to latest
Published: Nov 25, 2022 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type GolangParser

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

func NewGolangParser

func NewGolangParser() (*GolangParser, error)

func (*GolangParser) FindFunction

func (p *GolangParser) FindFunction(code []byte, scope *code.Scope) (string, error)

func (*GolangParser) GenerateTree

func (p *GolangParser) GenerateTree(code []byte) (*sitter.Tree, error)

func (*GolangParser) GetFunctions

func (p *GolangParser) GetFunctions(code []byte) map[string]*sitter.Node

Jump to

Keyboard shortcuts

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