Changeset 255440 in webkit for trunk/Source/JavaScriptCore/parser/SyntaxChecker.h
- Timestamp:
- Jan 30, 2020, 11:04:13 AM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/JavaScriptCore/parser/SyntaxChecker.h
r254653 r255440 335 335 JSTextPosition unaryTokenStackLastStart(int&) { return JSTextPosition(0, 0, 0); } 336 336 void unaryTokenStackRemoveLast(int& stackDepth) { stackDepth = 0; } 337 int unaryTokenStackDepth() const { return 0; } 338 void setUnaryTokenStackDepth(int) { } 337 339 338 void assignmentStackAppend(int , int, int, int, int, Operator) {}339 int createAssignment(const JSTokenLocation&, int , int, int, int, int) { RELEASE_ASSERT_NOT_REACHED(); return AssignmentExpr; }340 void assignmentStackAppend(int& assignmentStackDepth, int, int, int, int, Operator) { assignmentStackDepth = 1; } 341 int createAssignment(const JSTokenLocation&, int& assignmentStackDepth, int, int, int, int) { assignmentStackDepth = 0; return AssignmentExpr; } 340 342 const Identifier* getName(const Property& property) const { return property.name; } 341 343 PropertyNode::Type getType(const Property& property) const { return property.type; } … … 436 438 void setStartOffset(int, int) { } 437 439 438 JSTextPosition breakpointLocation(int) { return JSTextPosition(-1, 0, 0); }440 JSTextPosition breakpointLocation(int) { return { }; } 439 441 440 442 void propagateArgumentsUse() { }
Note:
See TracChangeset
for help on using the changeset viewer.