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

Side by Side Diff: pkg/docgen/lib/src/models/method.dart

Issue 263013006: Add function parameter info in docgen. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2014, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2014, the Dart project authors. Please see the AUTHORS file
2 // for details. All rights reserved. Use of this source code is governed by a 2 // for details. All rights reserved. Use of this source code is governed by a
3 // BSD-style license that can be found in the LICENSE file. 3 // BSD-style license that can be found in the LICENSE file.
4 4
5 library docgen.models.method; 5 library docgen.models.method;
6 6
7 import 'package:markdown/markdown.dart' as markdown; 7 import 'package:markdown/markdown.dart' as markdown;
8 8
9 import '../exports/mirrors_util.dart' as dart2js_util; 9 import '../exports/mirrors_util.dart' as dart2js_util;
10 import '../exports/source_mirrors.dart'; 10 import '../exports/source_mirrors.dart';
(...skipping 135 matching lines...) Expand 10 before | Expand all | Expand 10 after
146 markdown.markdownToHtml(unresolvedComment.trim(), 146 markdown.markdownToHtml(unresolvedComment.trim(),
147 linkResolver: fixReference, inlineSyntaxes: MARKDOWN_SYNTAXES); 147 linkResolver: fixReference, inlineSyntaxes: MARKDOWN_SYNTAXES);
148 commentInheritedFrom = comment != '' ? 148 commentInheritedFrom = comment != '' ?
149 methodInheritedFrom.commentInheritedFrom : ''; 149 methodInheritedFrom.commentInheritedFrom : '';
150 result = comment; 150 result = comment;
151 } 151 }
152 return result; 152 return result;
153 } 153 }
154 154
155 bool isValidMirror(DeclarationMirror mirror) => mirror is MethodMirror; 155 bool isValidMirror(DeclarationMirror mirror) => mirror is MethodMirror;
156 } 156 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698