ice framework documentation ice doc v1.10.1
Methods
  • getOutput() : void
  • sanitize(string $js) : void
    Minify the js.
  • action(int $command) : void
    Action -- do something! What to do is determined by the $command argument.
  • get() : void
    Get next char. Convert ctrl char to space.
  • isAlphaNum(variable $c) : void
    Is $c a letter, digit, underscore, dollar sign, or non-ASCII character.
  • min() : void
    Perform minification, return result
  • next() : void
    Get the next character, skipping over comments. peek() is used to see
  • peek() : void
    Get next char. If is ctrl character, translate to a space or newline.
Methods Details
  • public function getOutput()

  • public function sanitize(string $js)

    Minify the js.
  • protected function action(int $command)

    Action -- do something! What to do is determined by the $command argument.
    action treats a string as a single character. Wow! action recognizes a regular expression if it is preceded by ( or , or =.
  • protected function get()

    Get next char. Convert ctrl char to space.
  • protected function isAlphaNum(variable $c)

    Is $c a letter, digit, underscore, dollar sign, or non-ASCII character.
  • protected function min()

    Perform minification, return result
  • protected function next()

    Get the next character, skipping over comments. peek() is used to see
    if a "/" is followed by a "/" or "".
  • protected function peek()

    Get next char. If is ctrl character, translate to a space or newline.