File tree Expand file tree Collapse file tree 1 file changed +0
-3
lines changed
src/reflect/scala/reflect/macros Expand file tree Collapse file tree 1 file changed +0
-3
lines changed Original file line number Diff line number Diff line change @@ -8,19 +8,16 @@ package macros
8
8
* A slice of [[scala.reflect.macros.BlackboxContext the Scala macros context ]] that
9
9
* exposes functions to parse strings with Scala code into trees.
10
10
*/
11
- @ deprecated(" Use quasiquotes instead" , " 2.11.0" )
12
11
trait Parsers {
13
12
self : BlackboxContext =>
14
13
15
14
/** Parses a string with a Scala expression into an abstract syntax tree.
16
15
* Only works for expressions, i.e. parsing a package declaration will fail.
17
16
* @throws [[scala.reflect.macros.ParseException]]
18
17
*/
19
- @ deprecated(" Use quasiquotes instead" , " 2.11.0" )
20
18
def parse (code : String ): Tree
21
19
}
22
20
23
21
/** Indicates an error during [[scala.reflect.macros.Parsers#parse ]].
24
22
*/
25
- @ deprecated(" Use quasiquotes instead" , " 2.11.0" )
26
23
case class ParseException (pos : scala.reflect.api.Position , msg : String ) extends Exception (msg)
You can’t perform that action at this time.
0 commit comments