hamzaremmal/amy

View on GitHub
compiler/src/main/scala/amyc/package.scala

Summary

Maintainability
A
0 mins
Test Coverage
F
0%
import amyc.analyzer.SymbolTable
import amyc.core.Context
import amyc.utils.Reporter

package object amyc :

  final inline def ctx(using Context): Context = summon

  final inline def reporter(using Context): Reporter = ctx.reporter

  final inline def symbols(using Context): SymbolTable = ctx.symbols