@@ -72,7 +72,7 @@ object Splicer {
7272 /** Tree interpreter that evaluates the tree */
7373 private class Interpreter (pos : Position , classLoader : ClassLoader )(implicit ctx : Context ) extends AbstractInterpreter {
7474
75- type Res = Object
75+ type Result = Object
7676
7777 /** Returns the interpreted result of interpreting the code a call to the symbol with default arguments.
7878 * Return Some of the result or None if some error happen during the interpretation.
@@ -226,7 +226,7 @@ object Splicer {
226226 /** Tree interpreter that tests if tree can be interpreted */
227227 private class CanBeInterpreted (implicit ctx : Context ) extends AbstractInterpreter {
228228
229- type Res = Boolean
229+ type Result = Boolean
230230
231231 def apply (tree : Tree ): Boolean = interpretTree(tree)(Map .empty)
232232
@@ -246,17 +246,17 @@ object Splicer {
246246
247247 /** Abstract Tree interpreter that can interpret calls to static methods with quoted or transparent arguments */
248248 private abstract class AbstractInterpreter (implicit ctx : Context ) {
249- type Env = Map [Name , Res ]
250- type Res
249+ type Env = Map [Name , Result ]
250+ type Result
251251
252- protected def interpretQuote (tree : Tree )(implicit env : Env ): Res
253- protected def interpretTypeQuote (tree : Tree )(implicit env : Env ): Res
254- protected def interpretLiteral (value : Any )(implicit env : Env ): Res
255- protected def interpretTastyContext ()(implicit env : Env ): Res
256- protected def interpretStaticMethodCall (fn : Tree , args : => List [Res ])(implicit env : Env ): Res
257- protected def unexpectedTree (tree : Tree )(implicit env : Env ): Res
252+ protected def interpretQuote (tree : Tree )(implicit env : Env ): Result
253+ protected def interpretTypeQuote (tree : Tree )(implicit env : Env ): Result
254+ protected def interpretLiteral (value : Any )(implicit env : Env ): Result
255+ protected def interpretTastyContext ()(implicit env : Env ): Result
256+ protected def interpretStaticMethodCall (fn : Tree , args : => List [Result ])(implicit env : Env ): Result
257+ protected def unexpectedTree (tree : Tree )(implicit env : Env ): Result
258258
259- protected final def interpretTree (tree : Tree )(implicit env : Env ): Res = tree match {
259+ protected final def interpretTree (tree : Tree )(implicit env : Env ): Result = tree match {
260260 case Apply (TypeApply (fn, _), quoted :: Nil ) if fn.symbol == defn.QuotedExpr_apply =>
261261 interpretQuote(quoted)
262262
0 commit comments