MediaWiki
1.34.0
|
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 175 of file jsminplus.php.
|
private |
Definition at line 194 of file jsminplus.php.
|
private |
Definition at line 663 of file jsminplus.php.
|
private |
Definition at line 668 of file jsminplus.php.
Referenced by parseTree().
|
private |
Definition at line 210 of file jsminplus.php.
References parseTree().
|
static |
Definition at line 199 of file jsminplus.php.
JSMinPlus::parseTree | ( | $n, | |
$noBlockGrouping = false |
|||
) |
Definition at line 225 of file jsminplus.php.
References $s, $t, $type, DECLARED_FORM, if, isWordChar(), JS_ARRAY_INIT, JS_BLOCK, JS_CALL, JS_FOR_IN, JS_GETTER, JS_GROUP, JS_INDEX, JS_LABEL, JS_LIST, JS_MINIFIED, JS_NEW_WITH_ARGS, JS_OBJECT_INIT, JS_PROPERTY_INIT, JS_SCRIPT, KEYWORD_BREAK, KEYWORD_CASE, KEYWORD_CONST, KEYWORD_CONTINUE, KEYWORD_DEBUGGER, KEYWORD_DELETE, KEYWORD_DO, KEYWORD_FALSE, KEYWORD_FOR, KEYWORD_FUNCTION, KEYWORD_IF, KEYWORD_IN, KEYWORD_INSTANCEOF, KEYWORD_NEW, KEYWORD_NULL, KEYWORD_RETURN, KEYWORD_SWITCH, KEYWORD_THIS, KEYWORD_THROW, KEYWORD_TRUE, KEYWORD_TRY, KEYWORD_TYPEOF, KEYWORD_VAR, KEYWORD_VOID, KEYWORD_WHILE, KEYWORD_WITH, OP_AND, OP_ASSIGN, OP_BITWISE_AND, OP_BITWISE_NOT, OP_BITWISE_OR, OP_BITWISE_XOR, OP_COMMA, OP_DECREMENT, OP_DIV, OP_DOT, OP_EQ, OP_GE, OP_GT, OP_HOOK, OP_INCREMENT, OP_LE, OP_LSH, OP_LT, OP_MINUS, OP_MOD, OP_MUL, OP_NE, OP_NOT, OP_OR, OP_PLUS, OP_RSH, OP_SEMICOLON, OP_STRICT_EQ, OP_STRICT_NE, OP_UNARY_MINUS, OP_UNARY_PLUS, OP_URSH, TOKEN_CONDCOMMENT_END, TOKEN_CONDCOMMENT_START, TOKEN_IDENTIFIER, TOKEN_NUMBER, TOKEN_REGEXP, and TOKEN_STRING.
Referenced by min().
|
private |
Definition at line 177 of file jsminplus.php.
|
private |
Definition at line 178 of file jsminplus.php.