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

Unified Diff: pkg/analysis_server/tool/spec/to_html.dart

Issue 1033473002: Anchor and create a link near Notifications and Requests definitions in the Analysis Server Spec (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 5 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/analysis_server/doc/api.html ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/analysis_server/tool/spec/to_html.dart
diff --git a/pkg/analysis_server/tool/spec/to_html.dart b/pkg/analysis_server/tool/spec/to_html.dart
index 68abc0ceaf5b5a3c633cfffce037c53afd620020..f773e948795f29f445b8f286a847dcfacae277df 100644
--- a/pkg/analysis_server/tool/spec/to_html.dart
+++ b/pkg/analysis_server/tool/spec/to_html.dart
@@ -307,7 +307,14 @@ class ToHtmlVisitor extends HierarchicalApiVisitor
@override
void visitNotification(Notification notification) {
dt('notification', () {
- write(notification.longEvent);
+ anchor('notification_${notification.longEvent}', () {
+ write(notification.longEvent);
+ });
+ write(' (');
+ link('notification_${notification.longEvent}', () {
+ write('#');
+ });
+ write(')');
});
dd(() {
box(() {
@@ -341,7 +348,14 @@ class ToHtmlVisitor extends HierarchicalApiVisitor
@override
void visitRequest(Request request) {
dt('request', () {
- write(request.longMethod);
+ anchor('request_${request.longMethod}', () {
+ write(request.longMethod);
+ });
+ write(' (');
+ link('request_${request.longMethod}', () {
+ write('#');
+ });
+ write(')');
});
dd(() {
box(() {
« no previous file with comments | « pkg/analysis_server/doc/api.html ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698