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

Side by Side Diff: src/parser.h

Issue 624013005: Classes: Add support for toString (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Add type checks Created 6 years, 2 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 | « src/heap/heap.h ('k') | src/parser.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 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef V8_PARSER_H_ 5 #ifndef V8_PARSER_H_
6 #define V8_PARSER_H_ 6 #define V8_PARSER_H_
7 7
8 #include "src/allocation.h" 8 #include "src/allocation.h"
9 #include "src/ast.h" 9 #include "src/ast.h"
10 #include "src/compiler.h" // For CachedDataMode 10 #include "src/compiler.h" // For CachedDataMode
(...skipping 540 matching lines...) Expand 10 before | Expand all | Expand 10 after
551 551
552 Expression* ThisExpression(Scope* scope, 552 Expression* ThisExpression(Scope* scope,
553 AstNodeFactory<AstConstructionVisitor>* factory, 553 AstNodeFactory<AstConstructionVisitor>* factory,
554 int pos = RelocInfo::kNoPosition); 554 int pos = RelocInfo::kNoPosition);
555 Expression* SuperReference(Scope* scope, 555 Expression* SuperReference(Scope* scope,
556 AstNodeFactory<AstConstructionVisitor>* factory, 556 AstNodeFactory<AstConstructionVisitor>* factory,
557 int pos = RelocInfo::kNoPosition); 557 int pos = RelocInfo::kNoPosition);
558 Expression* ClassExpression(const AstRawString* name, Expression* extends, 558 Expression* ClassExpression(const AstRawString* name, Expression* extends,
559 Expression* constructor, 559 Expression* constructor,
560 ZoneList<ObjectLiteral::Property*>* properties, 560 ZoneList<ObjectLiteral::Property*>* properties,
561 int pos, 561 int start_position, int end_position,
562 AstNodeFactory<AstConstructionVisitor>* factory); 562 AstNodeFactory<AstConstructionVisitor>* factory);
563 563
564 Literal* ExpressionFromLiteral( 564 Literal* ExpressionFromLiteral(
565 Token::Value token, int pos, Scanner* scanner, 565 Token::Value token, int pos, Scanner* scanner,
566 AstNodeFactory<AstConstructionVisitor>* factory); 566 AstNodeFactory<AstConstructionVisitor>* factory);
567 Expression* ExpressionFromIdentifier( 567 Expression* ExpressionFromIdentifier(
568 const AstRawString* name, int pos, Scope* scope, 568 const AstRawString* name, int pos, Scope* scope,
569 AstNodeFactory<AstConstructionVisitor>* factory); 569 AstNodeFactory<AstConstructionVisitor>* factory);
570 Expression* ExpressionFromString( 570 Expression* ExpressionFromString(
571 int pos, Scanner* scanner, 571 int pos, Scanner* scanner,
(...skipping 360 matching lines...) Expand 10 before | Expand all | Expand 10 after
932 private: 932 private:
933 static const int kLiteralTypeSlot = 0; 933 static const int kLiteralTypeSlot = 0;
934 static const int kElementsSlot = 1; 934 static const int kElementsSlot = 1;
935 935
936 DISALLOW_IMPLICIT_CONSTRUCTORS(CompileTimeValue); 936 DISALLOW_IMPLICIT_CONSTRUCTORS(CompileTimeValue);
937 }; 937 };
938 938
939 } } // namespace v8::internal 939 } } // namespace v8::internal
940 940
941 #endif // V8_PARSER_H_ 941 #endif // V8_PARSER_H_
OLDNEW
« no previous file with comments | « src/heap/heap.h ('k') | src/parser.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698