python

package
v0.0.0-...-938b0e3 Latest Latest
Warning

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

Go to latest
Published: Mar 4, 2026 License: Apache-2.0 Imports: 9 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{}

PythonParser extracts knowledge graph nodes and edges from Python source files.

func NewParser

func NewParser() *PythonParser

NewParser creates a new Python parser.

func (*PythonParser) Extensions

func (p *PythonParser) Extensions() []string

func (*PythonParser) Language

func (p *PythonParser) Language() parser.Language

func (*PythonParser) ParseFile

func (p *PythonParser) ParseFile(filePath string, content []byte) (*parser.ParseResult, error)

Jump to

Keyboard shortcuts

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