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

Side by Side Diff: src/parser.h

Issue 6606002: Merge revision 6500-6600 from bleeding_edge to the isolates branch. (Closed) Base URL: http://v8.googlecode.com/svn/branches/experimental/isolates/
Patch Set: '' Created 9 years, 9 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
OLDNEW
1 // Copyright 2010 the V8 project authors. All rights reserved. 1 // Copyright 2010 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 600 matching lines...) Expand 10 before | Expand all | Expand 10 after
611 Literal* GetLiteralUndefined(); 611 Literal* GetLiteralUndefined();
612 Literal* GetLiteralTheHole(); 612 Literal* GetLiteralTheHole();
613 Literal* GetLiteralNumber(double value); 613 Literal* GetLiteralNumber(double value);
614 614
615 Handle<String> ParseIdentifier(bool* ok); 615 Handle<String> ParseIdentifier(bool* ok);
616 Handle<String> ParseIdentifierName(bool* ok); 616 Handle<String> ParseIdentifierName(bool* ok);
617 Handle<String> ParseIdentifierOrGetOrSet(bool* is_get, 617 Handle<String> ParseIdentifierOrGetOrSet(bool* is_get,
618 bool* is_set, 618 bool* is_set,
619 bool* ok); 619 bool* ok);
620 620
621 // Strict mode validation of LValue expressions
622 void CheckStrictModeLValue(Expression* expression,
623 const char* error,
624 bool* ok);
625
621 // Strict mode octal literal validation. 626 // Strict mode octal literal validation.
622 void CheckOctalLiteral(int beg_pos, int end_pos, bool* ok); 627 void CheckOctalLiteral(int beg_pos, int end_pos, bool* ok);
623 628
624 // Parser support 629 // Parser support
625 VariableProxy* Declare(Handle<String> name, Variable::Mode mode, 630 VariableProxy* Declare(Handle<String> name, Variable::Mode mode,
626 FunctionLiteral* fun, 631 FunctionLiteral* fun,
627 bool resolve, 632 bool resolve,
628 bool* ok); 633 bool* ok);
629 634
630 bool TargetStackContainsLabel(Handle<String> label); 635 bool TargetStackContainsLabel(Handle<String> label);
(...skipping 155 matching lines...) Expand 10 before | Expand all | Expand 10 after
786 // Converts the currently parsed literal to a JavaScript String. 791 // Converts the currently parsed literal to a JavaScript String.
787 Handle<String> GetString(); 792 Handle<String> GetString();
788 793
789 Isolate* isolate_; 794 Isolate* isolate_;
790 JsonScanner scanner_; 795 JsonScanner scanner_;
791 bool stack_overflow_; 796 bool stack_overflow_;
792 }; 797 };
793 } } // namespace v8::internal 798 } } // namespace v8::internal
794 799
795 #endif // V8_PARSER_H_ 800 #endif // V8_PARSER_H_
OLDNEW
« src/ast.cc ('K') | « src/objects-visiting.cc ('k') | src/parser.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698