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

Unified Diff: pkg/analyzer/lib/src/summary/fasta/summary_builder.dart

Issue 2746013003: [fasta] Add and correct even more offsets (Closed)
Patch Set: Removed formalParametersToken parameter Created 3 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « pkg/analyzer/lib/src/fasta/ast_builder.dart ('k') | pkg/analyzer/tool/summary/mini_ast.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/analyzer/lib/src/summary/fasta/summary_builder.dart
diff --git a/pkg/analyzer/lib/src/summary/fasta/summary_builder.dart b/pkg/analyzer/lib/src/summary/fasta/summary_builder.dart
index beb54b4aff374fe5963e910d05e1a6e4a5b03169..c3b35949b502f5ca86bbeb867ca65315fd89d238 100644
--- a/pkg/analyzer/lib/src/summary/fasta/summary_builder.dart
+++ b/pkg/analyzer/lib/src/summary/fasta/summary_builder.dart
@@ -261,8 +261,8 @@ abstract class ExpressionListener extends StackListener {
push(new ConstructorName(new TypeRef(type, typeArgs), ctorName?.name));
}
- void endFormalParameter(
- Token covariantKeyword, Token thisKeyword, FormalParameterType kind) {
+ void endFormalParameter(Token covariantKeyword, Token thisKeyword,
+ Token nameToken, FormalParameterType kind) {
debugEvent("FormalParameter");
assert(ignore);
}
@@ -284,7 +284,7 @@ abstract class ExpressionListener extends StackListener {
_endFunction();
}
- void endFunctionName(Token token) {
+ void endFunctionName(Token beginToken, Token token) {
debugEvent("FunctionName");
assert(ignore);
}
@@ -362,7 +362,7 @@ abstract class ExpressionListener extends StackListener {
assert(ignore);
}
- void endUnnamedFunction(token) {
+ void endUnnamedFunction(Token beginToken, Token token) {
debugEvent("UnnamedFunction");
_withinFunction--;
if (ignore) return;
@@ -1002,8 +1002,8 @@ class SummaryBuilder extends StackListener {
}
}
- void endFormalParameter(
- Token covariantKeyword, Token thisKeyword, FormalParameterType kind) {
+ void endFormalParameter(Token covariantKeyword, Token thisKeyword,
+ Token nameToken, FormalParameterType kind) {
debugEvent("FormalParameter");
// TODO(sigmund): clean up?
var nameOrFormal = pop();
« no previous file with comments | « pkg/analyzer/lib/src/fasta/ast_builder.dart ('k') | pkg/analyzer/tool/summary/mini_ast.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698