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

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

Issue 2787703003: Apply changes made to server spec generator (Closed)
Patch Set: 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_plugin/tool/spec/from_html.dart ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/analyzer_plugin/tool/spec/to_html.dart
diff --git a/pkg/analyzer_plugin/tool/spec/to_html.dart b/pkg/analyzer_plugin/tool/spec/to_html.dart
index cf5ac44dbca6a41df8176ebc84f675e662bf9b87..e14a6a19f002a5b708e4e49ca73bd250727dec66 100644
--- a/pkg/analyzer_plugin/tool/spec/to_html.dart
+++ b/pkg/analyzer_plugin/tool/spec/to_html.dart
@@ -326,11 +326,13 @@ class ToHtmlVisitor extends HierarchicalApiVisitor
h5(() => write("Requests"));
element('ul', {}, () {
for (var request in requests) {
- element(
- 'li',
- {},
- () => link(
- 'request_${request.longMethod}', () => write(request.method)));
+ if (!request.experimental) {
+ element(
+ 'li',
+ {},
+ () => link('request_${request.longMethod}',
+ () => write(request.method)));
+ }
}
});
}
@@ -529,6 +531,9 @@ class ToHtmlVisitor extends HierarchicalApiVisitor
@override
void visitRequest(Request request) {
+ if (request.experimental) {
+ return;
+ }
dt('request', () {
anchor('request_${request.longMethod}', () {
write(request.longMethod);
« no previous file with comments | « pkg/analyzer_plugin/tool/spec/from_html.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698