MediaWiki
1.32.5
|
Public Member Functions | |
__construct ($minifier=null) | |
parse ($s, $f, $l) | |
Private Member Functions | |
Block ($x) | |
Expression ($x, $stop=false) | |
FunctionDefinition ($x, $requireName, $functionForm) | |
nest ($x, $node, $end=false) | |
ParenExpression ($x) | |
reduce (&$operators,&$operands) | |
Script ($x) | |
Statement ($x) | |
Statements ($x) | |
Variables ($x) | |
Private Attributes | |
$minifier | |
$opArity | |
$opPrecedence | |
$t | |
Definition at line 674 of file jsminplus.php.
JSParser::__construct | ( | $minifier = null | ) |
Definition at line 727 of file jsminplus.php.
References $minifier.
|
private |
Definition at line 782 of file jsminplus.php.
References OP_LEFT_CURLY, OP_RIGHT_CURLY, and Statements().
Referenced by Statement().
|
private |
Definition at line 1177 of file jsminplus.php.
References $t, array(), captcha-old\count, EXPRESSED_FORM, FunctionDefinition(), JS_ARRAY_INIT, JS_CALL, JS_GROUP, JS_INDEX, JS_LIST, JS_NEW_WITH_ARGS, JS_OBJECT_INIT, JS_PROPERTY_INIT, KEYWORD_DELETE, KEYWORD_FALSE, KEYWORD_FUNCTION, KEYWORD_IN, KEYWORD_INSTANCEOF, KEYWORD_NEW, KEYWORD_NULL, KEYWORD_THIS, KEYWORD_TRUE, KEYWORD_TYPEOF, KEYWORD_VOID, OP_AND, OP_ASSIGN, OP_BITWISE_AND, OP_BITWISE_NOT, OP_BITWISE_OR, OP_BITWISE_XOR, OP_COLON, OP_COMMA, OP_DECREMENT, OP_DIV, OP_DOT, OP_EQ, OP_GE, OP_GT, OP_HOOK, OP_INCREMENT, OP_LE, OP_LEFT_BRACKET, OP_LEFT_CURLY, OP_LEFT_PAREN, OP_LSH, OP_LT, OP_MINUS, OP_MOD, OP_MUL, OP_NE, OP_NOT, OP_OR, OP_PLUS, OP_RIGHT_BRACKET, OP_RIGHT_CURLY, OP_RIGHT_PAREN, OP_RSH, OP_SEMICOLON, OP_STRICT_EQ, OP_STRICT_NE, OP_UNARY_MINUS, OP_UNARY_PLUS, OP_URSH, reduce(), TOKEN_CONDCOMMENT_END, TOKEN_CONDCOMMENT_START, TOKEN_END, TOKEN_IDENTIFIER, TOKEN_NUMBER, TOKEN_REGEXP, TOKEN_STRING, and type.
Referenced by ParenExpression(), Statement(), and Variables().
|
private |
Definition at line 1107 of file jsminplus.php.
References array(), DECLARED_FORM, JS_GETTER, JS_SETTER, KEYWORD_FUNCTION, OP_COMMA, OP_LEFT_CURLY, OP_LEFT_PAREN, OP_RIGHT_CURLY, OP_RIGHT_PAREN, Script(), and TOKEN_IDENTIFIER.
Referenced by Expression(), and Statement().
|
private |
Definition at line 1573 of file jsminplus.php.
Referenced by Statement().
|
private |
Definition at line 1563 of file jsminplus.php.
References Expression(), OP_LEFT_PAREN, and OP_RIGHT_PAREN.
Referenced by Statement().
JSParser::parse | ( | $s, | |
$f, | |||
$l | |||
) |
Definition at line 733 of file jsminplus.php.
|
private |
Definition at line 1585 of file jsminplus.php.
References captcha-old\count.
Referenced by Expression().
|
private |
Definition at line 746 of file jsminplus.php.
References JS_MINIFIED, JS_SCRIPT, and Statements().
Referenced by FunctionDefinition(), and parse().
|
private |
Definition at line 791 of file jsminplus.php.
References array(), Block(), captcha-old\count, DECLARED_FORM, Expression(), FunctionDefinition(), JS_BLOCK, JS_FOR_IN, JS_LABEL, KEYWORD_BREAK, KEYWORD_CASE, KEYWORD_CATCH, KEYWORD_CONST, KEYWORD_CONTINUE, KEYWORD_DEBUGGER, KEYWORD_DEFAULT, KEYWORD_DO, KEYWORD_ELSE, KEYWORD_FINALLY, KEYWORD_FOR, KEYWORD_FUNCTION, KEYWORD_IF, KEYWORD_IN, KEYWORD_RETURN, KEYWORD_SWITCH, KEYWORD_THROW, KEYWORD_TRY, KEYWORD_VAR, KEYWORD_WHILE, KEYWORD_WITH, nest(), OP_COLON, OP_LEFT_CURLY, OP_LEFT_PAREN, OP_RIGHT_CURLY, OP_RIGHT_PAREN, OP_SEMICOLON, ParenExpression(), STATEMENT_FORM, Statements(), TOKEN_CONDCOMMENT_END, TOKEN_CONDCOMMENT_START, TOKEN_END, TOKEN_IDENTIFIER, TOKEN_NEWLINE, type, and Variables().
|
private |
Definition at line 769 of file jsminplus.php.
References JS_BLOCK, and OP_RIGHT_CURLY.
Referenced by Block(), Script(), and Statement().
|
private |
Definition at line 1148 of file jsminplus.php.
References Expression(), KEYWORD_CONST, OP_ASSIGN, OP_COMMA, and TOKEN_IDENTIFIER.
Referenced by Statement().
|
private |
Definition at line 677 of file jsminplus.php.
Referenced by __construct().
|
private |
Definition at line 703 of file jsminplus.php.
|
private |
Definition at line 679 of file jsminplus.php.
|
private |
Definition at line 676 of file jsminplus.php.
Referenced by Expression().