|
MediaWiki
REL1_19
|
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 673 of file jsminplus.php.
| JSParser::__construct | ( | $ | minifier = null | ) |
Definition at line 726 of file jsminplus.php.
References $minifier.
| JSParser::Block | ( | $ | x | ) | [private] |
Definition at line 781 of file jsminplus.php.
References $n, and Statements().
Referenced by Statement().


| JSParser::Expression | ( | $ | x, |
| $ | stop = false |
||
| ) | [private] |
Definition at line 1178 of file jsminplus.php.
References $n, $t, FunctionDefinition(), and reduce().
Referenced by ParenExpression(), Statement(), and Variables().


| JSParser::FunctionDefinition | ( | $ | x, |
| $ | requireName, | ||
| $ | functionForm | ||
| ) | [private] |
Definition at line 1108 of file jsminplus.php.
Referenced by Expression(), and Statement().


| JSParser::nest | ( | $ | x, |
| $ | node, | ||
| $ | end = false |
||
| ) | [private] |
Definition at line 1574 of file jsminplus.php.
References $n.
Referenced by Statement().

| JSParser::ParenExpression | ( | $ | x | ) | [private] |
Definition at line 1564 of file jsminplus.php.
References $n, and Expression().
Referenced by Statement().


| JSParser::parse | ( | $ | s, |
| $ | f, | ||
| $ | l | ||
| ) |
Definition at line 732 of file jsminplus.php.
References $f, $n, and Script().

| JSParser::reduce | ( | &$ | operators, |
| &$ | operands | ||
| ) | [private] |
Definition at line 1586 of file jsminplus.php.
References $n.
Referenced by Expression().

| JSParser::Script | ( | $ | x | ) | [private] |
Definition at line 745 of file jsminplus.php.
References $n, and Statements().
Referenced by FunctionDefinition(), and parse().


| JSParser::Statement | ( | $ | x | ) | [private] |
Definition at line 790 of file jsminplus.php.
References $n, Block(), Expression(), FunctionDefinition(), nest(), ParenExpression(), Statements(), and Variables().

| JSParser::Statements | ( | $ | x | ) | [private] |
Definition at line 768 of file jsminplus.php.
References $n.
Referenced by Block(), Script(), and Statement().

| JSParser::Variables | ( | $ | x | ) | [private] |
Definition at line 1149 of file jsminplus.php.
References $n, and Expression().
Referenced by Statement().


JSParser::$minifier [private] |
Definition at line 676 of file jsminplus.php.
Referenced by __construct().
JSParser::$opArity [private] |
array(
',' => -2,
'=' => 2,
'?' => 3,
'||' => 2,
'&&' => 2,
'|' => 2,
'^' => 2,
'&' => 2,
'==' => 2, '!=' => 2, '===' => 2, '!==' => 2,
'<' => 2, '<=' => 2, '>=' => 2, '>' => 2, 'in' => 2, 'instanceof' => 2,
'<<' => 2, '>>' => 2, '>>>' => 2,
'+' => 2, '-' => 2,
'*' => 2, '/' => 2, '%' => 2,
'delete' => 1, 'void' => 1, 'typeof' => 1,
'!' => 1, '~' => 1, 'U+' => 1, 'U-' => 1,
'++' => 1, '--' => 1,
'new' => 1,
'.' => 2,
JS_NEW_WITH_ARGS => 2, JS_INDEX => 2, JS_CALL => 2,
JS_ARRAY_INIT => 1, JS_OBJECT_INIT => 1, JS_GROUP => 1,
TOKEN_CONDCOMMENT_START => 1, TOKEN_CONDCOMMENT_END => 1
)
Definition at line 702 of file jsminplus.php.
JSParser::$opPrecedence [private] |
array(
';' => 0,
',' => 1,
'=' => 2, '?' => 2, ':' => 2,
'||' => 4,
'&&' => 5,
'|' => 6,
'^' => 7,
'&' => 8,
'==' => 9, '!=' => 9, '===' => 9, '!==' => 9,
'<' => 10, '<=' => 10, '>=' => 10, '>' => 10, 'in' => 10, 'instanceof' => 10,
'<<' => 11, '>>' => 11, '>>>' => 11,
'+' => 12, '-' => 12,
'*' => 13, '/' => 13, '%' => 13,
'delete' => 14, 'void' => 14, 'typeof' => 14,
'!' => 14, '~' => 14, 'U+' => 14, 'U-' => 14,
'++' => 15, '--' => 15,
'new' => 16,
'.' => 17,
JS_NEW_WITH_ARGS => 0, JS_INDEX => 0, JS_CALL => 0,
JS_ARRAY_INIT => 0, JS_OBJECT_INIT => 0, JS_GROUP => 0
)
Definition at line 678 of file jsminplus.php.
JSParser::$t [private] |
Definition at line 675 of file jsminplus.php.
Referenced by Expression().