Dotty Documentation

0.3.0-bin-SNAPSHOT

object DiffUtil

[-] Constructors

[-] Members

[+] private final case class Deleted
[+] private object Deleted
[+] private final case class Inserted
[+] private object Inserted
[+] private final case class Modified
[+] private object Modified
[+] private sealed trait Patch
[+] private final case class Unmodified
[+] private object Unmodified
[+] private final val ADDITION_COLOR : "\033[32m"
[+] private final val ANSI_DEFAULT : "\033[0m"
[+] private final val ANSI_GREEN : "\033[32m"
[+] private final val ANSI_RED : "\033[31m"
[+] private final val DELETION_COLOR : "\033[31m"
[+] private def hirschberg ( a: Array [ String ] , b: Array [ String ] ) : Array [ Patch ]
[+] def mkColoredCodeDiff ( code: String , lastCode: String , printDiffDel: Boolean ) : String
[+] def mkColoredLineDiff ( expected: String , actual: String ) : String
[+] def mkColoredTypeDiff ( found: String , expected: String ) : ( String, String, Double )
[+] private def needlemanWunsch ( x: Array [ String ] , y: Array [ String ] , builder: ArrayBuilder [ Patch ] ) : Unit
[+] private def nwScore ( x: Array [ String ] , y: Array [ String ] ) : Array [ Int ]
[+] @tailrec private def splitTokens ( str: String , acc: List [ String ] ) : List [ String ]