{"modulePath":"github.com/siddharthab/bazel-gazelle-python","version":"v0.0.0-20230622012118-abfd5953dc9a","isLatest":true,"isStandardLibrary":false,"goos":"all","goarch":"all","docs":"# package parser\n\nPackage parser parses Python files and returns relevant information to the Gazelle Python extension.\n\nIt is currently using a Python AST parser written in Go, which implements the spec from Python 3.4. If this is insufficient, this package will need to be rewritten to farm out the processing to a pool of running Python processes.\n\n## Types\n\n```go\ntype Result struct {\n\tImports          []string\n\tHasMainNameCheck bool\n}\n```\n\n```go\nfunc Parse(r io.Reader, filename string) (Result, error)\n```\nParse parses a Python module read by the reader.\n\n```go\nfunc ParsePath(path string) (Result, error)\n```\nParsePath parses a Python module at the given path.\n\n","path":"github.com/siddharthab/bazel-gazelle-python/python/parser","name":"parser","synopsis":"Package parser parses Python files and returns relevant information to the Gazelle Python extension.","isRedistributable":true}
