PrefixApply

object PrefixApply
class Object
trait Matchable
class Any

Value members

Concrete methods

def keywords(w1: String, wn: String*): PrefixApply

Transforms only certain keywords.

Transforms only certain keywords.

This makes sure that they aren't part of another keyword. Eg. "gradient" only matches "gradient" and not "linear-gradient".

Input is expected to be regex-quoted already. Input shouldn't end in "(". A different method is required for functions.

def maybePrepend(f: String => Boolean): PrefixApply

Concrete fields