JSMin Class Reference

List of all members.

Public Member Functions

 __construct ($input)

Static Public Member Functions

static minify ($js)

Public Attributes

const ORD_LF = 10
const ORD_SPACE = 32

Protected Member Functions

 action ($d)
 get ()
 isAlphaNum ($c)
 min ()
 next ()
 peek ()

Protected Attributes

 $a = ''
 $b = ''
 $input = ''
 $inputIndex = 0
 $inputLength = 0
 $lookAhead = null
 $output = ''


Detailed Description

Definition at line 48 of file JSMin.php.


Constructor & Destructor Documentation

JSMin::__construct ( input  ) 

Definition at line 69 of file JSMin.php.

References $input.


Member Function Documentation

JSMin::action ( d  )  [protected]

Definition at line 76 of file JSMin.php.

References next().

Referenced by min().

JSMin::get (  )  [protected]

Definition at line 135 of file JSMin.php.

JSMin::isAlphaNum ( c  )  [protected]

Definition at line 159 of file JSMin.php.

Referenced by min().

JSMin::min (  )  [protected]

Definition at line 163 of file JSMin.php.

References action(), and isAlphaNum().

static JSMin::minify ( js  )  [static]

Definition at line 62 of file JSMin.php.

JSMin::next (  )  [protected]

Definition at line 244 of file JSMin.php.

References peek().

Referenced by action().

JSMin::peek (  )  [protected]

Definition at line 283 of file JSMin.php.

Referenced by next().


Member Data Documentation

JSMin::$a = '' [protected]

Definition at line 52 of file JSMin.php.

JSMin::$b = '' [protected]

Definition at line 53 of file JSMin.php.

JSMin::$input = '' [protected]

Definition at line 54 of file JSMin.php.

Referenced by __construct().

JSMin::$inputIndex = 0 [protected]

Definition at line 55 of file JSMin.php.

JSMin::$inputLength = 0 [protected]

Definition at line 56 of file JSMin.php.

JSMin::$lookAhead = null [protected]

Definition at line 57 of file JSMin.php.

JSMin::$output = '' [protected]

Definition at line 58 of file JSMin.php.

const JSMin::ORD_LF = 10

Definition at line 49 of file JSMin.php.

const JSMin::ORD_SPACE = 32

Definition at line 50 of file JSMin.php.


The documentation for this class was generated from the following file:

Generated on Sat Apr 30 22:57:40 2011 for MediaWiki by  doxygen 1.5.9