Packages

o

dev.i10416

CSSMinifier

object CSSMinifier extends DataURLPat

Annotations
@JSExportTopLevel("CSSMinifier")
Linear Supertypes
DataURLPat, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. CSSMinifier
  2. DataURLPat
  3. AnyRef
  4. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native() @HotSpotIntrinsicCandidate()
  6. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  7. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  8. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  9. def handleColors: Unit
  10. 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()
  11. 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 rules

    remove redundant leading and trailing whitespace-like chars, repeated semi-colons, repeated 0s(like margin: 0 0 0 0) and empty rules

    Annotations
    @tailrec()
  12. def handleZeros: Unit
  13. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  14. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  15. def matchDataURLStart(str: String): Option[(Option[String], Int)]
    Definition Classes
    DataURLPat
  16. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  17. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  18. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  19. 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()
  20. def readUntilClosingPairOrEOF(s: List[Char], close: Char, result: StringBuilder = new StringBuilder(), prev: Option[Char] = None): Option[(String, List[Char])]
    Annotations
    @tailrec()
  21. def run(css: String): String
  22. 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()
  23. 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()
  24. final val startComment: Regex
  25. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  26. def toString(): String
    Definition Classes
    AnyRef → Any
  27. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  28. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  29. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  30. object CharMatcher

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable]) @Deprecated
    Deprecated

Inherited from DataURLPat

Inherited from AnyRef

Inherited from Any

Ungrouped