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

Unified Diff: pkg/analyzer/test/generated/parser_fasta_test.dart

Issue 2890523002: merge fasta.Token into analyzer.Token (Closed)
Patch Set: Created 3 years, 7 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/analyzer/lib/src/summary/fasta/stack_listener.dart ('k') | pkg/analyzer/tool/summary/generate.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/analyzer/test/generated/parser_fasta_test.dart
diff --git a/pkg/analyzer/test/generated/parser_fasta_test.dart b/pkg/analyzer/test/generated/parser_fasta_test.dart
index af2803293f1f31ac09ae5aebeeab42c655942dbf..70e5ed080255cd3d2ac6a4fa393725a2ba1f6dc2 100644
--- a/pkg/analyzer/test/generated/parser_fasta_test.dart
+++ b/pkg/analyzer/test/generated/parser_fasta_test.dart
@@ -36,7 +36,7 @@ main() {
/**
* Type of the "parse..." methods defined in the Fasta parser.
*/
-typedef fasta.Token ParseFunction(fasta.Token token);
+typedef analyzer.Token ParseFunction(analyzer.Token token);
/**
* Proxy implementation of [Builder] used by Fasta parser tests.
@@ -464,7 +464,7 @@ class FastaParserTestCase extends Object
List<ErrorCode> errorCodes: const <ErrorCode>[]}) {
return _runParser(
code,
- (parser) => (fasta.Token token) {
+ (parser) => (analyzer.Token token) {
return parser.parseFormalParameters(token,
inFunctionType: inFunctionType);
},
@@ -758,7 +758,7 @@ class ParserProxy implements analyzer.Parser {
/**
* The token to parse next.
*/
- fasta.Token _currentFastaToken;
+ analyzer.Token _currentFastaToken;
/**
* The fasta parser being wrapped.
@@ -775,7 +775,7 @@ class ParserProxy implements analyzer.Parser {
* Creates a [ParserProxy] which is prepared to begin parsing at the given
* Fasta token.
*/
- factory ParserProxy(fasta.Token startingToken,
+ factory ParserProxy(analyzer.Token startingToken,
{bool enableGenericMethodComments: false}) {
var library = new KernelLibraryBuilderProxy();
var member = new BuilderProxy();
« no previous file with comments | « pkg/analyzer/lib/src/summary/fasta/stack_listener.dart ('k') | pkg/analyzer/tool/summary/generate.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698