object CSSMinifier extends DataURLPat
- Annotations
- @JSExportTopLevel("CSSMinifier")
- Alphabetic
- By Inheritance
- CSSMinifier
- DataURLPat
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native() @HotSpotIntrinsicCandidate()
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- def handleColors: Unit
- def handleCommentsAndStrings(s: List[Char], done: StringBuilder = new StringBuilder, preservedComments: List[String] = Nil, preservedStrings: List[String] = Nil, charset: Option[String] = None): (String, List[String], List[String], Option[String])
Assume s is a complete css content or valid css content just after comment block; This function removes comments except ones starting with
!, preserve comments starts with!, string literals and the fisrt charset.Assume s is a complete css content or valid css content just after comment block; This function removes comments except ones starting with
!, preserve comments starts with!, string literals and the fisrt charset.- returns
(text without comments and strings to be removed,comments to be preserved,strings to be preserved,charset)
- Annotations
- @tailrec()
- def handleEmptyLike(str: List[Char], prev: Option[Char] = None, result: List[Char] = Nil): List[Char]
remove redundant leading and trailing whitespace-like chars, repeated semi-colons, repeated 0s(like
margin: 0 0 0 0) and empty rulesremove redundant leading and trailing whitespace-like chars, repeated semi-colons, repeated 0s(like
margin: 0 0 0 0) and empty rules- Annotations
- @tailrec()
- def handleZeros: Unit
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def matchDataURLStart(str: String): Option[(Option[String], Int)]
- Definition Classes
- DataURLPat
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- def preserveURLs(s: String, done: StringBuilder = new StringBuilder(), preservedURLs: List[String] = Nil): (String, List[String])
Leave data urls alone to increase parse performance.
Leave data urls alone to increase parse performance.
- Annotations
- @tailrec()
- def readUntilClosingPairOrEOF(s: List[Char], close: Char, result: StringBuilder = new StringBuilder(), prev: Option[Char] = None): Option[(String, List[Char])]
- Annotations
- @tailrec()
- def run(css: String): String
- def splitWhereAfter(str: List[Char], matcher: (Option[Char], Char) => Boolean, cursor: Int = 0, consumed: List[Char] = Nil, prev: Option[Char] = None): (Int, List[Char], List[Char])
- Annotations
- @tailrec()
- def splitWhereBefore(str: List[Char], matcher: (Option[Char], Char) => Boolean, cursor: Int = 0, consumed: List[Char] = Nil, prev: Option[Char] = None, shouldReverseBack: Boolean = true): (Int, List[Char], List[Char])
- Annotations
- @tailrec()
- final val startComment: Regex
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- object CharMatcher
Deprecated Value Members
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable]) @Deprecated
- Deprecated