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 "git+https://github.com/qxbyte/codemap.git#subdirectory=plugins/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.1.0a1.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.1.0a1-py3-none-any.whl (4.6 kB view details)

Uploaded Python 3

File details

Details for the file codemap_scala-0.1.0a1.tar.gz.

File metadata

  • Download URL: codemap_scala-0.1.0a1.tar.gz
  • Upload date:
  • Size: 5.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.13

File hashes

Hashes for codemap_scala-0.1.0a1.tar.gz
Algorithm Hash digest
SHA256 18c1dc3cd01cfe6dbff54a7c77e809c9d5494875b7bf17bd8134b0d4b102b105
MD5 989870d811d9225994043e479490e0db
BLAKE2b-256 3cfffec73cfa4e7e646b811fd342fe1404c55c0169c8b3f208596dab75b2e7b5

See more details on using hashes here.

File details

Details for the file codemap_scala-0.1.0a1-py3-none-any.whl.

File metadata

File hashes

Hashes for codemap_scala-0.1.0a1-py3-none-any.whl
Algorithm Hash digest
SHA256 1e9f1cb9a18df92e88d597d9f1296f289573edae2b350e0281a83f10293bbd4d
MD5 9a81dd2a3575bc639745493a68034d3f
BLAKE2b-256 954b7a7c0318d878abbf478ebf6cc19978142b311edcc26157a272e22ae925ca

See more details on using hashes here.

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