blob: 9be9f5043a069a8be8d2e969faf5311a59ae27a1 (
plain) (
tree)
|
|
package cask.main
import language.experimental.macros
trait Routes{
def decorators = Seq.empty[cask.main.RawDecorator]
private[this] var metadata0: RoutesEndpointsMetadata[this.type] = null
def caskMetadata =
if (metadata0 != null) metadata0
else throw new Exception("Routes not yet initialize")
protected[this] def initialize()(implicit routes: RoutesEndpointsMetadata[this.type]): Unit = {
metadata0 = routes
}
def log: cask.util.Logger
}
|