summaryrefslogtreecommitdiff
path: root/src/reflect/scala/reflect/api
diff options
context:
space:
mode:
authorDenys Shabalin <denys.shabalin@typesafe.com>2014-04-03 17:00:38 +0200
committerDenys Shabalin <denys.shabalin@typesafe.com>2014-04-03 17:00:38 +0200
commit965bfc6c82657be97492abf83c208cb2d62e414a (patch)
treeb95ceef8d82f28db66443796e050bdceb3dd9330 /src/reflect/scala/reflect/api
parent470a51285b686b0f0e0149d1741f76b03ecab310 (diff)
downloadscala-965bfc6c82657be97492abf83c208cb2d62e414a.tar.gz
scala-965bfc6c82657be97492abf83c208cb2d62e414a.tar.bz2
scala-965bfc6c82657be97492abf83c208cb2d62e414a.zip
Update references to quasiquotes guide
Diffstat (limited to 'src/reflect/scala/reflect/api')
-rw-r--r--src/reflect/scala/reflect/api/Liftables.scala8
-rw-r--r--src/reflect/scala/reflect/api/Quasiquotes.scala2
2 files changed, 5 insertions, 5 deletions
diff --git a/src/reflect/scala/reflect/api/Liftables.scala b/src/reflect/scala/reflect/api/Liftables.scala
index ec9d85b69e..673dbce6f5 100644
--- a/src/reflect/scala/reflect/api/Liftables.scala
+++ b/src/reflect/scala/reflect/api/Liftables.scala
@@ -6,7 +6,7 @@ trait Liftables { self: Universe =>
/** A type class that defines a representation of `T` as a `Tree`.
*
- * @see [[http://docs.scala-lang.org/overviews/macros/quasiquotes.html#lifting]]
+ * @see [[http://docs.scala-lang.org/overviews/quasiquotes/lifting.html]]
*/
trait Liftable[T] {
def apply(value: T): Tree
@@ -32,7 +32,7 @@ trait Liftables { self: Universe =>
* lifted: universe.Tree = O
* }}}
*
- * @see [[http://docs.scala-lang.org/overviews/macros/quasiquotes.html#lifting]]
+ * @see [[http://docs.scala-lang.org/overviews/quasiquotes/lifting.html]]
*/
def apply[T](f: T => Tree): Liftable[T] =
new Liftable[T] { def apply(value: T): Tree = f(value) }
@@ -40,7 +40,7 @@ trait Liftables { self: Universe =>
/** A type class that defines a way to extract instance of `T` from a `Tree`.
*
- * @see [[http://docs.scala-lang.org/overviews/macros/quasiquotes.html#unlifting]]
+ * @see [[http://docs.scala-lang.org/overviews/quasiquotes/unlifting.html]]
*/
trait Unliftable[T] {
def unapply(tree: Tree): Option[T]
@@ -66,7 +66,7 @@ trait Liftables { self: Universe =>
* scala> val q"${_: O.type}" = q"$Oref"
* }}}
*
- * @see [[http://docs.scala-lang.org/overviews/macros/quasiquotes.html#unlifting]]
+ * @see [[http://docs.scala-lang.org/overviews/quasiquotes/unlifting.html]]
*/
def apply[T](pf: PartialFunction[Tree, T]): Unliftable[T] = new Unliftable[T] {
def unapply(value: Tree): Option[T] = pf.lift(value)
diff --git a/src/reflect/scala/reflect/api/Quasiquotes.scala b/src/reflect/scala/reflect/api/Quasiquotes.scala
index 0065926e3b..e905aa4153 100644
--- a/src/reflect/scala/reflect/api/Quasiquotes.scala
+++ b/src/reflect/scala/reflect/api/Quasiquotes.scala
@@ -7,7 +7,7 @@ trait Quasiquotes { self: Universe =>
* that are also known as quasiquotes. With their help you can easily manipulate
* Scala reflection ASTs.
*
- * @see [[http://docs.scala-lang.org/overviews/macros/quasiquotes.html]]
+ * @see [[http://docs.scala-lang.org/overviews/quasiquotes/intro.html]]
*/
implicit class Quasiquote(ctx: StringContext) {
protected trait api {