| OLD | NEW |
| 1 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2011, 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 351 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 362 AstNode* ParseStaticFieldAccess(const Class& cls, | 362 AstNode* ParseStaticFieldAccess(const Class& cls, |
| 363 const String& field_name, | 363 const String& field_name, |
| 364 intptr_t ident_pos); | 364 intptr_t ident_pos); |
| 365 | 365 |
| 366 RawClass* LookupClass(const String& class_name); | 366 RawClass* LookupClass(const String& class_name); |
| 367 RawObject* LookupTypeClass(const QualIdent& type_name, | 367 RawObject* LookupTypeClass(const QualIdent& type_name, |
| 368 TypeResolution type_resolution); | 368 TypeResolution type_resolution); |
| 369 LocalVariable* LookupLocalScope(const String& ident); | 369 LocalVariable* LookupLocalScope(const String& ident); |
| 370 void CheckInstanceFieldAccess(intptr_t field_pos, const String& field_name); | 370 void CheckInstanceFieldAccess(intptr_t field_pos, const String& field_name); |
| 371 RawClass* TypeParametersScopeClass(); | 371 RawClass* TypeParametersScopeClass(); |
| 372 bool IsInstantiatorRequired(); |
| 372 bool ResolveIdentInLocalScope(intptr_t ident_pos, | 373 bool ResolveIdentInLocalScope(intptr_t ident_pos, |
| 373 const String &ident, | 374 const String &ident, |
| 374 AstNode** node); | 375 AstNode** node); |
| 375 static const bool kResolveLocally = true; | 376 static const bool kResolveLocally = true; |
| 376 static const bool kResolveIncludingImports = false; | 377 static const bool kResolveIncludingImports = false; |
| 377 AstNode* ResolveIdentInLibraryScope(const Library& lib, | 378 AstNode* ResolveIdentInLibraryScope(const Library& lib, |
| 378 const QualIdent& qual_ident, | 379 const QualIdent& qual_ident, |
| 379 bool resolve_locally); | 380 bool resolve_locally); |
| 380 AstNode* ResolveVarOrField(intptr_t ident_pos, const String &ident); | 381 AstNode* ResolveVarOrField(intptr_t ident_pos, const String &ident); |
| 381 AstNode* OptimizeBinaryOpNode(intptr_t op_pos, | 382 AstNode* OptimizeBinaryOpNode(intptr_t op_pos, |
| (...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 442 TryBlocks* try_blocks_list_; | 443 TryBlocks* try_blocks_list_; |
| 443 | 444 |
| 444 char error_msg_[kErrorBuflen]; | 445 char error_msg_[kErrorBuflen]; |
| 445 | 446 |
| 446 DISALLOW_COPY_AND_ASSIGN(Parser); | 447 DISALLOW_COPY_AND_ASSIGN(Parser); |
| 447 }; | 448 }; |
| 448 | 449 |
| 449 } // namespace dart | 450 } // namespace dart |
| 450 | 451 |
| 451 #endif // VM_PARSER_H_ | 452 #endif // VM_PARSER_H_ |
| OLD | NEW |