com-lihaoyi / sourcecode   0.4.2

GitHub

Scala library providing "source" metadata to your program, similar to Python's __name__, C++'s __LINE__ or Ruby's __FILE__.

Scala versions: 3.x 2.13 2.12
Scala.js versions: 1.x
Scala Native versions: 0.5

Latest version

[![sourcecode Scala version support](https://index.scala-lang.org/com-lihaoyi/sourcecode/sourcecode/latest.svg)](https://index.scala-lang.org/com-lihaoyi/sourcecode/sourcecode)

JVM badge

[![sourcecode Scala version support](https://index.scala-lang.org/com-lihaoyi/sourcecode/sourcecode/latest-by-scala-version.svg?platform=jvm)](https://index.scala-lang.org/com-lihaoyi/sourcecode/sourcecode)

Scala.js 1.x badge

[![sourcecode Scala version support](https://index.scala-lang.org/com-lihaoyi/sourcecode/sourcecode/latest-by-scala-version.svg?platform=sjs1)](https://index.scala-lang.org/com-lihaoyi/sourcecode/sourcecode)

Scala.js 0.6 badge

[![sourcecode Scala version support](https://index.scala-lang.org/com-lihaoyi/sourcecode/sourcecode/latest-by-scala-version.svg?platform=sjs0.6)](https://index.scala-lang.org/com-lihaoyi/sourcecode/sourcecode)

Scala Native 0.5 badge

[![sourcecode Scala version support](https://index.scala-lang.org/com-lihaoyi/sourcecode/sourcecode/latest-by-scala-version.svg?platform=native0.5)](https://index.scala-lang.org/com-lihaoyi/sourcecode/sourcecode)

Scala Native 0.4 badge

[![sourcecode Scala version support](https://index.scala-lang.org/com-lihaoyi/sourcecode/sourcecode/latest-by-scala-version.svg?platform=native0.4)](https://index.scala-lang.org/com-lihaoyi/sourcecode/sourcecode)

Scala Native 0.3 badge

[![sourcecode Scala version support](https://index.scala-lang.org/com-lihaoyi/sourcecode/sourcecode/latest-by-scala-version.svg?platform=native0.3)](https://index.scala-lang.org/com-lihaoyi/sourcecode/sourcecode)