missing bitwise xor function
Fixes error: ``` [object Object] has no method 'Node_Expr_BitwiseXor' ``` Which results from using xor e.g: ``` error_reporting(E_ALL ^ E_NOTICE); also reported to phpjs project: https://github.com/niklasvh/php.js/pull/48
This commit is contained in:
parent
0bc7f518ad
commit
de51e72a3c
1 changed files with 10 additions and 0 deletions
|
|
@ -4810,6 +4810,16 @@ PHP.Parser.prototype.Node_Expr_BitwiseOr = function() {
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
|
PHP.Parser.prototype.Node_Expr_BitwiseXor = function() {
|
||||||
|
return {
|
||||||
|
type: "Node_Expr_BitwiseXor",
|
||||||
|
left: arguments[ 0 ],
|
||||||
|
right: arguments[ 1 ],
|
||||||
|
attributes: arguments[ 2 ]
|
||||||
|
};
|
||||||
|
|
||||||
|
};
|
||||||
|
|
||||||
PHP.Parser.prototype.Node_Expr_BitwiseNot = function() {
|
PHP.Parser.prototype.Node_Expr_BitwiseNot = function() {
|
||||||
return {
|
return {
|
||||||
type: "Node_Expr_BitwiseNot",
|
type: "Node_Expr_BitwiseNot",
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue