python

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 PythonParser

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

func NewPythonParser

func NewPythonParser() (*PythonParser, error)

func (*PythonParser) FindFunction

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

func (*PythonParser) GenerateTree

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

func (*PythonParser) GetFunctions

func (p *PythonParser) 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