File tree Expand file tree Collapse file tree 2 files changed +36
-0
lines changed
src-bootstrapped/scala/internal/quoted
src-non-bootstrapped/scala/internal/quoted Expand file tree Collapse file tree 2 files changed +36
-0
lines changed File renamed without changes.
Original file line number Diff line number Diff line change 1+ package scala .internal .quoted
2+
3+ import scala .annotation .{Annotation , compileTimeOnly }
4+ import scala .quoted ._
5+
6+ @ compileTimeOnly(" Illegal reference to `scala.internal.quoted.CompileTime`" )
7+ object CompileTime {
8+
9+ @ compileTimeOnly(" Illegal reference to `scala.internal.quoted.CompileTime.exprQuote`" )
10+ def exprQuote [T ](x : T ): QuoteContext ?=> Expr [T ] = ???
11+
12+ @ compileTimeOnly(" Illegal reference to `scala.internal.quoted.CompileTime.exprSplice`" )
13+ def exprSplice [T ](x : QuoteContext ?=> Expr [T ]): T = ???
14+
15+ @ compileTimeOnly(" Illegal reference to `scala.internal.quoted.CompileTime.exprNestedSplice`" )
16+ def exprNestedSplice [T ](ctx : QuoteContext )(x : ctx.Nested ?=> Expr [T ]): T = ???
17+
18+ @ compileTimeOnly(" Illegal reference to `scala.internal.quoted.CompileTime.typeQuote`" )
19+ def typeQuote [T <: AnyKind ]: Type [T ] = ???
20+
21+ @ compileTimeOnly(" Illegal reference to `scala.internal.quoted.CompileTime.patternHole`" )
22+ def patternHole [T ]: T = ???
23+
24+ @ compileTimeOnly(" Illegal reference to `scala.internal.quoted.CompileTime.patternBindHole`" )
25+ class patternBindHole extends Annotation
26+
27+ @ compileTimeOnly(" Illegal reference to `scala.internal.quoted.CompileTime.patternType`" )
28+ class patternType extends Annotation
29+
30+ @ compileTimeOnly(" Illegal reference to `scala.internal.quoted.CompileTime.fromAbove`" )
31+ class fromAbove extends Annotation
32+
33+ @ compileTimeOnly(" Illegal reference to `scala.internal.quoted.CompileTime.quoteTypeTag`" )
34+ class quoteTypeTag extends Annotation
35+
36+ }
You can’t perform that action at this time.
0 commit comments