All Downloads are FREE. Search and download functionalities are using the official Maven repository.

japgolly.microlibs.stdlib_ext.EscapeUtils.scala Maven / Gradle / Ivy

package japgolly.microlibs.stdlib_ext

import java.lang.{StringBuilder => JStringBuilder}

trait EscapeUtils {
  def quote(s: String): String
  def escape(s: String): String

  def appendQuoted(sb: JStringBuilder, s: String): Unit
  def appendEscaped(sb: JStringBuilder, s: String): Unit

  def appendQuoted(sb: StringBuilder, s: String): Unit
  def appendEscaped(sb: StringBuilder, s: String): Unit
}

object EscapeUtils extends EscapeUtils with PlatformSpecificEscapeUtils




© 2015 - 2024 Weber Informatics LLC | Privacy Policy