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

Side by Side Diff: runtime/vm/parser.h

Issue 9582040: Re-introduce string concatenation (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 8 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
« no previous file with comments | « no previous file | runtime/vm/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 (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 418 matching lines...) Expand 10 before | Expand all | Expand 10 after
429 static bool IsIncrementOperator(Token::Kind token); 429 static bool IsIncrementOperator(Token::Kind token);
430 430
431 static SequenceNode* NodeAsSequenceNode(intptr_t sequence_pos, 431 static SequenceNode* NodeAsSequenceNode(intptr_t sequence_pos,
432 AstNode* node, 432 AstNode* node,
433 LocalScope* scope); 433 LocalScope* scope);
434 434
435 SequenceNode* MakeImplicitConstructor(const Function& func); 435 SequenceNode* MakeImplicitConstructor(const Function& func);
436 AstNode* MakeStaticCall(const char* class_name, 436 AstNode* MakeStaticCall(const char* class_name,
437 const char* function_name, 437 const char* function_name,
438 ArgumentListNode* arguments); 438 ArgumentListNode* arguments);
439 String& Interpolate(ArrayNode* values);
439 AstNode* MakeAssertCall(intptr_t begin, intptr_t end); 440 AstNode* MakeAssertCall(intptr_t begin, intptr_t end);
440 AstNode* ThrowTypeError(intptr_t type_pos, const AbstractType& type); 441 AstNode* ThrowTypeError(intptr_t type_pos, const AbstractType& type);
441 442
442 void CheckFunctionIsCallable(intptr_t token_index, const Function& function); 443 void CheckFunctionIsCallable(intptr_t token_index, const Function& function);
443 void CheckOperatorArity(const MemberDesc& member, Token::Kind operator_token); 444 void CheckOperatorArity(const MemberDesc& member, Token::Kind operator_token);
444 445
445 446
446 const Script& script_; 447 const Script& script_;
447 const TokenStream& tokens_; 448 const TokenStream& tokens_;
448 intptr_t token_index_; 449 intptr_t token_index_;
(...skipping 26 matching lines...) Expand all
475 // code at all points in the try block where an exit from the block is 476 // code at all points in the try block where an exit from the block is
476 // done using 'return', 'break' or 'continue' statements. 477 // done using 'return', 'break' or 'continue' statements.
477 TryBlocks* try_blocks_list_; 478 TryBlocks* try_blocks_list_;
478 479
479 DISALLOW_COPY_AND_ASSIGN(Parser); 480 DISALLOW_COPY_AND_ASSIGN(Parser);
480 }; 481 };
481 482
482 } // namespace dart 483 } // namespace dart
483 484
484 #endif // VM_PARSER_H_ 485 #endif // VM_PARSER_H_
OLDNEW
« no previous file with comments | « no previous file | runtime/vm/parser.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698