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

Side by Side Diff: vm/parser.h

Issue 10808111: Move more symbols to the vm isolate. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/runtime/
Patch Set: Created 8 years, 5 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 | « vm/object.cc ('k') | vm/parser.cc » ('j') | vm/symbols.h » ('J')
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
2 // for details. All rights reserved. Use of this source code is governed by a 2 // for details. All rights reserved. Use of this source code is governed by a
3 // BSD-style license that can be found in the LICENSE file. 3 // BSD-style license that can be found in the LICENSE file.
4 4
5 #ifndef VM_PARSER_H_ 5 #ifndef VM_PARSER_H_
6 #define VM_PARSER_H_ 6 #define VM_PARSER_H_
7 7
8 #include "include/dart_api.h" 8 #include "include/dart_api.h"
9 9
10 #include "vm/ast.h" 10 #include "vm/ast.h"
(...skipping 477 matching lines...) Expand 10 before | Expand all | Expand 10 after
488 static bool IsAssignableExpr(AstNode* expr); 488 static bool IsAssignableExpr(AstNode* expr);
489 489
490 static bool IsPrefixOperator(Token::Kind token); 490 static bool IsPrefixOperator(Token::Kind token);
491 static bool IsIncrementOperator(Token::Kind token); 491 static bool IsIncrementOperator(Token::Kind token);
492 492
493 static SequenceNode* NodeAsSequenceNode(intptr_t sequence_pos, 493 static SequenceNode* NodeAsSequenceNode(intptr_t sequence_pos,
494 AstNode* node, 494 AstNode* node,
495 LocalScope* scope); 495 LocalScope* scope);
496 496
497 SequenceNode* MakeImplicitConstructor(const Function& func); 497 SequenceNode* MakeImplicitConstructor(const Function& func);
498 AstNode* MakeStaticCall(const char* class_name, 498 AstNode* MakeStaticCall(const String& cls_name,
499 const char* function_name, 499 const String& func_name,
500 ArgumentListNode* arguments); 500 ArgumentListNode* arguments);
501 String& Interpolate(ArrayNode* values); 501 String& Interpolate(ArrayNode* values);
502 AstNode* MakeAssertCall(intptr_t begin, intptr_t end); 502 AstNode* MakeAssertCall(intptr_t begin, intptr_t end);
503 AstNode* ThrowTypeError(intptr_t type_pos, const AbstractType& type); 503 AstNode* ThrowTypeError(intptr_t type_pos, const AbstractType& type);
504 504
505 void CheckFunctionIsCallable(intptr_t token_pos, const Function& function); 505 void CheckFunctionIsCallable(intptr_t token_pos, const Function& function);
506 void CheckOperatorArity(const MemberDesc& member, Token::Kind operator_token); 506 void CheckOperatorArity(const MemberDesc& member, Token::Kind operator_token);
507 507
508 const LocalVariable& GetIncrementTempLocal(); 508 const LocalVariable& GetIncrementTempLocal();
509 void EnsureExpressionTemp(); 509 void EnsureExpressionTemp();
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after
554 554
555 // Allocate temporary only once per function. 555 // Allocate temporary only once per function.
556 LocalVariable* expression_temp_; 556 LocalVariable* expression_temp_;
557 557
558 DISALLOW_COPY_AND_ASSIGN(Parser); 558 DISALLOW_COPY_AND_ASSIGN(Parser);
559 }; 559 };
560 560
561 } // namespace dart 561 } // namespace dart
562 562
563 #endif // VM_PARSER_H_ 563 #endif // VM_PARSER_H_
OLDNEW
« no previous file with comments | « vm/object.cc ('k') | vm/parser.cc » ('j') | vm/symbols.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698