Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(503)

Side by Side Diff: src/ast.h

Issue 156673002: Revert "Unify paren handling in Parser and PreParser." (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 6 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | src/ast.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2012 the V8 project authors. All rights reserved. 1 // Copyright 2012 the V8 project authors. All rights reserved.
2 // Redistribution and use in source and binary forms, with or without 2 // Redistribution and use in source and binary forms, with or without
3 // modification, are permitted provided that the following conditions are 3 // modification, are permitted provided that the following conditions are
4 // met: 4 // met:
5 // 5 //
6 // * Redistributions of source code must retain the above copyright 6 // * Redistributions of source code must retain the above copyright
7 // notice, this list of conditions and the following disclaimer. 7 // notice, this list of conditions and the following disclaimer.
8 // * Redistributions in binary form must reproduce the above 8 // * Redistributions in binary form must reproduce the above
9 // copyright notice, this list of conditions and the following 9 // copyright notice, this list of conditions and the following
10 // disclaimer in the documentation and/or other materials provided 10 // disclaimer in the documentation and/or other materials provided
(...skipping 333 matching lines...) Expand 10 before | Expand all | Expand 10 after
344 344
345 // True iff the expression is a string literal. 345 // True iff the expression is a string literal.
346 bool IsStringLiteral(); 346 bool IsStringLiteral();
347 347
348 // True iff the expression is the null literal. 348 // True iff the expression is the null literal.
349 bool IsNullLiteral(); 349 bool IsNullLiteral();
350 350
351 // True if we can prove that the expression is the undefined literal. 351 // True if we can prove that the expression is the undefined literal.
352 bool IsUndefinedLiteral(Isolate* isolate); 352 bool IsUndefinedLiteral(Isolate* isolate);
353 353
354 bool IsIdentifier();
355
356 bool IsIdentifierNamed(String* name);
357
358 // Expression type bounds 354 // Expression type bounds
359 Bounds bounds() { return bounds_; } 355 Bounds bounds() { return bounds_; }
360 void set_bounds(Bounds bounds) { bounds_ = bounds; } 356 void set_bounds(Bounds bounds) { bounds_ = bounds; }
361 357
362 // Type feedback information for assignments and properties. 358 // Type feedback information for assignments and properties.
363 virtual bool IsMonomorphic() { 359 virtual bool IsMonomorphic() {
364 UNREACHABLE(); 360 UNREACHABLE();
365 return false; 361 return false;
366 } 362 }
367 virtual SmallMapList* GetReceiverTypes() { 363 virtual SmallMapList* GetReceiverTypes() {
(...skipping 2932 matching lines...) Expand 10 before | Expand all | Expand 10 after
3300 3296
3301 private: 3297 private:
3302 Zone* zone_; 3298 Zone* zone_;
3303 Visitor visitor_; 3299 Visitor visitor_;
3304 }; 3300 };
3305 3301
3306 3302
3307 } } // namespace v8::internal 3303 } } // namespace v8::internal
3308 3304
3309 #endif // V8_AST_H_ 3305 #endif // V8_AST_H_
OLDNEW
« no previous file with comments | « no previous file | src/ast.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698