summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJason Zaugg <jzaugg@gmail.com>2014-04-10 15:57:18 +0200
committerJason Zaugg <jzaugg@gmail.com>2014-04-10 15:57:18 +0200
commit3ba474fa96e6f1c0df6108189cc1088e004989f4 (patch)
treefc167745c36cc320abf298ee49d83ebf182267c6
parentceaf14c59504afea437c72b5c7819216e1f1d00f (diff)
parent965bfc6c82657be97492abf83c208cb2d62e414a (diff)
downloadscala-3ba474fa96e6f1c0df6108189cc1088e004989f4.tar.gz
scala-3ba474fa96e6f1c0df6108189cc1088e004989f4.tar.bz2
scala-3ba474fa96e6f1c0df6108189cc1088e004989f4.zip
Merge pull request #3674 from densh/topic/ref-qq-guide
Update references to quasiquotes guide
-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 {