MediaWiki
REL1_19
|
Public Member Functions | |
parseTree ($n, $noBlockGrouping=false) | |
Static Public Member Functions | |
static | minify ($js, $filename='') |
Private Member Functions | |
__construct () | |
isValidIdentifier ($string) | |
isWordChar ($char) | |
min ($js, $filename) | |
Private Attributes | |
$parser | |
$reserved |
Definition at line 174 of file jsminplus.php.
JSMinPlus::__construct | ( | ) | [private] |
Definition at line 193 of file jsminplus.php.
JSMinPlus::isValidIdentifier | ( | $ | string | ) | [private] |
Definition at line 662 of file jsminplus.php.
JSMinPlus::isWordChar | ( | $ | char | ) | [private] |
Definition at line 667 of file jsminplus.php.
Referenced by parseTree().
JSMinPlus::min | ( | $ | js, |
$ | filename | ||
) | [private] |
Definition at line 209 of file jsminplus.php.
References $n, echo, and parseTree().
static JSMinPlus::minify | ( | $ | js, |
$ | filename = '' |
||
) | [static] |
Definition at line 198 of file jsminplus.php.
JSMinPlus::parseTree | ( | $ | n, |
$ | noBlockGrouping = false |
||
) |
Definition at line 224 of file jsminplus.php.
References $n, $t, if, and isWordChar().
Referenced by min().
JSMinPlus::$parser [private] |
Definition at line 176 of file jsminplus.php.
JSMinPlus::$reserved [private] |
array( 'break', 'case', 'catch', 'continue', 'default', 'delete', 'do', 'else', 'finally', 'for', 'function', 'if', 'in', 'instanceof', 'new', 'return', 'switch', 'this', 'throw', 'try', 'typeof', 'var', 'void', 'while', 'with', 'abstract', 'boolean', 'byte', 'char', 'class', 'const', 'debugger', 'double', 'enum', 'export', 'extends', 'final', 'float', 'goto', 'implements', 'import', 'int', 'interface', 'long', 'native', 'package', 'private', 'protected', 'public', 'short', 'static', 'super', 'synchronized', 'throws', 'transient', 'volatile', 'arguments', 'eval', 'true', 'false', 'Infinity', 'NaN', 'null', 'undefined' )
Definition at line 177 of file jsminplus.php.