Class JSMin

Description

Located in /sources/css_and_js.php (line 295)


	
			
Variable Summary
mixed $a
mixed $b
mixed $input
mixed $inputIndex
mixed $inputLength
mixed $lookAhead
mixed $output
Method Summary
JSMin JSMin (string $input)
?array action (integer $d)
string get ()
boolean isAlphaNum (string $c)
string min ()
mixed next ()
string peek ()
Variables
mixed $a = '' (line 297)
mixed $b = '' (line 298)
mixed $input = '' (line 299)
mixed $inputIndex = 0 (line 300)
mixed $inputLength = 0 (line 301)
mixed $lookAhead = NULL (line 302)
mixed $output = '' (line 303)
Methods
Constructor JSMin (line 312)

Constructor function

JSMin JSMin (string $input)
  • string $input: Javascript to minimise
action (line 326)

Handle internal parse situation

  • return: Error (NULL: no error)
?array action (integer $d)
  • integer $d: Action type
get (line 408)

Get the next stream token

  • return: Next stream token
string get ()
isAlphaNum (line 446)

Find whether a character is alphanumeric

  • return: Whether it is
boolean isAlphaNum (string $c)
  • string $c: Character
min (line 457)

Do minification process

  • return: Minified Javascript
string min ()
next (line 569)

Get the next item in the stream

  • return: Next item or error (array)
mixed next ()
peek (line 623)

Find what's next in the stream

  • return: What's next
string peek ()

Documentation generated on Sun, 02 Jan 2011 23:12:41 +0000 by phpDocumentor 1.4.3