summaryrefslogtreecommitdiffstats
path: root/js/src/frontend/Parser.h
diff options
context:
space:
mode:
authorwolfbeast <mcwerewolf@wolfbeast.com>2019-04-06 10:46:15 +0200
committerwolfbeast <mcwerewolf@wolfbeast.com>2019-04-06 10:46:15 +0200
commitb579e0567c887743d24c2745065b71bb06fea4f8 (patch)
tree06823beeb941713756154d4cfb3d3821794ac576 /js/src/frontend/Parser.h
parent8e8d0ed75c076b4b92e2971ff877b104dafeffca (diff)
downloadUXP-b579e0567c887743d24c2745065b71bb06fea4f8.tar
UXP-b579e0567c887743d24c2745065b71bb06fea4f8.tar.gz
UXP-b579e0567c887743d24c2745065b71bb06fea4f8.tar.lz
UXP-b579e0567c887743d24c2745065b71bb06fea4f8.tar.xz
UXP-b579e0567c887743d24c2745065b71bb06fea4f8.zip
Simplify checking of the left-hand side of assignment and compound
assignment expressions.
Diffstat (limited to 'js/src/frontend/Parser.h')
-rw-r--r--js/src/frontend/Parser.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/js/src/frontend/Parser.h b/js/src/frontend/Parser.h
index e3827d953..70d382501 100644
--- a/js/src/frontend/Parser.h
+++ b/js/src/frontend/Parser.h
@@ -1332,15 +1332,11 @@ class Parser final : private JS::AutoGCRooter, public StrictModeGetter
}
enum AssignmentFlavor {
- PlainAssignment,
- CompoundAssignment,
KeyedDestructuringAssignment,
IncrementAssignment,
DecrementAssignment,
};
- bool checkAndMarkAsAssignmentLhs(Node pn, AssignmentFlavor flavor,
- PossibleError* possibleError=nullptr);
bool matchInOrOf(bool* isForInp, bool* isForOfp);
bool hasUsedFunctionSpecialName(HandlePropertyName name);