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

Unified Diff: runtime/vm/parser.h

Issue 8761011: Renaming type classes as discussed: (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: '' Created 9 years, 1 month 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 side-by-side diff with in-line comments
Download patch
Index: runtime/vm/parser.h
===================================================================
--- runtime/vm/parser.h (revision 1948)
+++ runtime/vm/parser.h (working copy)
@@ -202,16 +202,18 @@
void ParseLibraryImport();
void ParseLibraryInclude();
- void TryResolveTypeFromClass(intptr_t type_pos, const Class& cls, Type* type);
+ void TryResolveTypeFromClass(intptr_t type_pos,
+ const Class& cls,
+ AbstractType* type);
enum TypeResolution {
kDoNotResolve, // Type resolution is postponed.
kCanResolve, // Type resolution is optional.
kMustResolve // Type resolution is required.
};
- RawType* ParseType(TypeResolution type_resolution);
+ RawAbstractType* ParseType(TypeResolution type_resolution);
void ParseTypeParameters(const Class& cls);
RawTypeArguments* ParseTypeArguments(TypeResolution type_resolution);
- RawType* ParseInterface();
+ RawAbstractType* ParseInterface();
regis 2011/12/01 04:24:07 This should always be a Type. Later cl.
srdjan 2011/12/01 17:48:42 This method does not exist, deleted. Maybe have Pa
regis 2011/12/01 17:53:38 Yes.
void ParseQualIdent(QualIdent* qual_ident);
void ParseMethodOrConstructor(ClassDesc* members, MemberDesc* method);
void ParseFieldDefinition(ClassDesc* members, MemberDesc* field);
@@ -309,10 +311,10 @@
kIsOptional, // Type specification is optional.
kIsMandatory // Type specification is mandatory.
};
- RawType* ParseFinalVarOrType(TypeSpecification type_specification,
+ RawAbstractType* ParseFinalVarOrType(TypeSpecification type_specification,
TypeResolution type_resolution);
- const Type& ParseConstVarOrType(TypeSpecification type_specification);
- AstNode* ParseVariableDeclaration(const Type& type, bool is_const);
+ const AbstractType& ParseConstVarOrType(TypeSpecification type_specification);
+ AstNode* ParseVariableDeclaration(const AbstractType& type, bool is_const);
AstNode* ParseVariableDeclarationList();
AstNode* ParseFunctionStatement(bool is_literal);
AstNode* ParseStatement();

Powered by Google App Engine
This is Rietveld 408576698