Dotty Documentation

0.17.0-bin-SNAPSHOT

class PatternShowDeco
extends Object

Adds show as an extension method of a Pattern

[-] Constructors

PatternShowDeco ( pattern: Pattern )

[-] Members

[+] private val pattern : Pattern
[+] def show ( implicit ctx: Context ) : String

Shows the tree as fully typed source code. Will print Ansi colors if ctx.printColors is enabled.

[+] def showExtractors ( implicit ctx: Context ) : String

Shows the tree as extractors