@@ -5,22 +5,21 @@ import scala.tasty.Tasty
5
5
class ShowExtractors [T <: Tasty with Singleton ](tasty0 : T ) extends Show [T ](tasty0) {
6
6
import tasty .{rootContext => _ , _ }
7
7
8
- def showTree (tree : Tree , withColors : Boolean = false )(implicit ctx : Context ): String =
8
+ def showTree (tree : Tree )(implicit ctx : Context ): String =
9
9
new Buffer ().visitTree(tree).result()
10
-
11
- def showCaseDef (caseDef : CaseDef , withColors : Boolean = false )(implicit ctx : Context ): String =
10
+ def showCaseDef (caseDef : CaseDef )(implicit ctx : Context ): String =
12
11
new Buffer ().visitCaseDef(caseDef).result()
13
12
14
- def showPattern (pattern : tasty.Pattern , withColors : Boolean = false )(implicit ctx : tasty.Context ): String =
13
+ def showPattern (pattern : tasty.Pattern )(implicit ctx : tasty.Context ): String =
15
14
new Buffer ().visitPattern(pattern).result()
16
15
17
- def showTypeOrBoundsTree (tpt : TypeOrBoundsTree , withColors : Boolean = false )(implicit ctx : Context ): String =
16
+ def showTypeOrBoundsTree (tpt : TypeOrBoundsTree )(implicit ctx : Context ): String =
18
17
new Buffer ().visitTypeTree(tpt).result()
19
18
20
- def showTypeOrBounds (tpe : TypeOrBounds , withColors : Boolean = false )(implicit ctx : Context ): String =
19
+ def showTypeOrBounds (tpe : TypeOrBounds )(implicit ctx : Context ): String =
21
20
new Buffer ().visitType(tpe).result()
22
21
23
- def showConstant (const : Constant , withColors : Boolean = false )(implicit ctx : Context ): String =
22
+ def showConstant (const : Constant )(implicit ctx : Context ): String =
24
23
new Buffer ().visitConstant(const).result()
25
24
26
25
def showSymbol (symbol : Symbol )(implicit ctx : Context ): String =
0 commit comments