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 = array()

Detailed Description

Definition at line 50 of file jsmin.php.


Constructor & Destructor Documentation

JSMin::__construct ( input  ) 

Definition at line 71 of file jsmin.php.

References $input.


Member Function Documentation

JSMin::action ( d  )  [protected]

Definition at line 78 of file jsmin.php.

References get(), and next().

Referenced by min().

JSMin::get (  )  [protected]

Definition at line 140 of file jsmin.php.

Referenced by action(), next(), and peek().

JSMin::isAlphaNum ( c  )  [protected]

Definition at line 165 of file jsmin.php.

Referenced by min().

JSMin::min (  )  [protected]

Definition at line 169 of file jsmin.php.

References action(), and isAlphaNum().

static JSMin::minify ( js  )  [static]

Definition at line 64 of file jsmin.php.

Referenced by t3lib_div::minifyJavaScript().

JSMin::next (  )  [protected]

Definition at line 251 of file jsmin.php.

References get(), and peek().

Referenced by action().

JSMin::peek (  )  [protected]

Definition at line 290 of file jsmin.php.

References get().

Referenced by next().


Member Data Documentation

JSMin::$a = '' [protected]

Definition at line 54 of file jsmin.php.

JSMin::$b = '' [protected]

Definition at line 55 of file jsmin.php.

JSMin::$input = '' [protected]

Definition at line 56 of file jsmin.php.

Referenced by __construct().

JSMin::$inputIndex = 0 [protected]

Definition at line 57 of file jsmin.php.

JSMin::$inputLength = 0 [protected]

Definition at line 58 of file jsmin.php.

JSMin::$lookAhead = null [protected]

Definition at line 59 of file jsmin.php.

JSMin::$output = array() [protected]

Definition at line 60 of file jsmin.php.

const JSMin::ORD_LF = 10

Definition at line 51 of file jsmin.php.

const JSMin::ORD_SPACE = 32

Definition at line 52 of file jsmin.php.


The documentation for this class was generated from the following file:
Generated on Sat Nov 29 04:23:30 2008 for TYPO3 API by  doxygen 1.4.7