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

Unified Diff: pkg/compiler/lib/src/serialization/resolved_ast_serialization.dart

Issue 1892183002: Refactor Parsing to remove compiler dependency (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 4 years, 8 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « pkg/compiler/lib/src/resolution/resolution.dart ('k') | tests/compiler/dart2js/compiler_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/compiler/lib/src/serialization/resolved_ast_serialization.dart
diff --git a/pkg/compiler/lib/src/serialization/resolved_ast_serialization.dart b/pkg/compiler/lib/src/serialization/resolved_ast_serialization.dart
index fe2bdacad904bdfd95a50ca25f7e4c6b158ba878..cc479e31746e7355fe2fc1910ec9dbabbf7fd207 100644
--- a/pkg/compiler/lib/src/serialization/resolved_ast_serialization.dart
+++ b/pkg/compiler/lib/src/serialization/resolved_ast_serialization.dart
@@ -303,7 +303,7 @@ class ResolvedAstDeserializer {
/// [parsing] and [getBeginToken] are used for parsing the [Node] for
/// [element] from its source code.
static ResolvedAst deserialize(Element element, ObjectDecoder objectDecoder,
- Parsing parsing, Token getBeginToken(Uri uri, int charOffset)) {
+ ParsingContext parsing, Token getBeginToken(Uri uri, int charOffset)) {
ResolvedAstKind kind =
objectDecoder.getEnum(Key.KIND, ResolvedAstKind.values);
switch (kind) {
@@ -321,7 +321,7 @@ class ResolvedAstDeserializer {
static ResolvedAst deserializeParsed(
Element element,
ObjectDecoder objectDecoder,
- Parsing parsing,
+ ParsingContext parsing,
Token getBeginToken(Uri uri, int charOffset)) {
CompilationUnitElement compilationUnit = element.compilationUnit;
DiagnosticReporter reporter = parsing.reporter;
« no previous file with comments | « pkg/compiler/lib/src/resolution/resolution.dart ('k') | tests/compiler/dart2js/compiler_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698