Skip to main content

Scala language indexer plugin for CodeMap

Project description

codemap-scala

A Scala language indexer for CodeMap, shipped as an independent PyPI package.

What it captures

Backed by tree-sitter-scala:

AST node Symbol kind
package_clause (incl. package_identifier) namespace prefix
class_definition (incl. case class) class (extra.scala_kind=class / case_class)
object_definition (incl. case object) class (extra.scala_kind=object)
trait_definition class (extra.scala_kind=trait)
type_definition (top-level alias) class (extra.scala_kind=type)
function_definition / function_declaration method
val_definition (top-level or in template body) field (extra.scala_kind=val)
var_definition (top-level or in template body) field (extra.scala_kind=var)
class_parameter (in case class) field (extra.scala_kind=case_field)

Install

pip install codemap-scala

File patterns

  • *.scala, *.sc

Limits

  • Implicits and Scala 3 given declarations parse but are not specifically tagged.
  • Anonymous classes (new T { ... }) are not surfaced.
  • Block-scoped def inside a method body is not emitted — it is private to that method.

License

MIT.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

codemap_scala-0.3.0.tar.gz (5.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

codemap_scala-0.3.0-py3-none-any.whl (4.6 kB view details)

Uploaded Python 3

File details

Details for the file codemap_scala-0.3.0.tar.gz.

File metadata

  • Download URL: codemap_scala-0.3.0.tar.gz
  • Upload date:
  • Size: 5.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for codemap_scala-0.3.0.tar.gz
Algorithm Hash digest
SHA256 3fc41e71405087df4b13b6ce1f7c633b13192f928aeace078f5cc96ea20eadb1
MD5 a4905d841c0447c13e7684135dedee7a
BLAKE2b-256 88a6e2481dd1f06c9969651c72c59d9a7369c386d07adf6914105c889beff9e7

See more details on using hashes here.

Provenance

The following attestation bundles were made for codemap_scala-0.3.0.tar.gz:

Publisher: publish.yml on qxbyte/codemap

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file codemap_scala-0.3.0-py3-none-any.whl.

File metadata

  • Download URL: codemap_scala-0.3.0-py3-none-any.whl
  • Upload date:
  • Size: 4.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for codemap_scala-0.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 b9d2d689ec4a092da81e92f5b2a9f3ee57f216d924888aa4eee9799a9d877080
MD5 ed1562e6df49634cad8fb2ce94a49db6
BLAKE2b-256 b5a84e6dc92bfee6f85ae484650acfb285f2514ec0eb4c973a77d9b24b6485b9

See more details on using hashes here.

Provenance

The following attestation bundles were made for codemap_scala-0.3.0-py3-none-any.whl:

Publisher: publish.yml on qxbyte/codemap

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page