Changeset 192597 in webkit for trunk/Source/JavaScriptCore/parser/SyntaxChecker.h
- Timestamp:
- Nov 18, 2015, 4:03:26 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/JavaScriptCore/parser/SyntaxChecker.h
r192436 r192597 347 347 return BindingDestructuring; 348 348 } 349 DestructuringPattern createAssignmentElement(const Expression&, const JSTextPosition&, const JSTextPosition&)350 {351 return BindingDestructuring;352 }353 349 354 350 bool isBindingNode(DestructuringPattern pattern) 355 351 { 356 352 return pattern == BindingDestructuring; 357 }358 359 bool isAssignmentLocation(ExpressionType type)360 {361 return type == ResolveExpr || type == DotExpr || type == BracketExpr;362 }363 364 bool isObjectLiteral(ExpressionType type)365 {366 return type == ObjectLiteralExpr;367 }368 369 bool isArrayLiteral(ExpressionType type)370 {371 return type == ArrayLiteralExpr;372 }373 374 bool isObjectOrArrayLiteral(ExpressionType type)375 {376 return isObjectLiteral(type) || isArrayLiteral(type);377 353 } 378 354
Note:
See TracChangeset
for help on using the changeset viewer.