Dartdoc 解析以 /// 开头的注释。多行注释和单行注释分别使用 /* */ 和 //
Dart
/// Represents a two-dimensional position
/// has [x] and [y] properties
///
/// example code can be defined using a four-space indent:
///
/// var p = new Position();
///
class Position {
/*
multi-line comments
*/
int x;
// A regular comment
int y;
}
main() {
print(new Position().runtimeType);
}
$ dart comments.dart Position
Linux - 如何安装 anc-api-tools
Linux - 如何安装 curvedns
Python - 检查数字是正数、负数还是 0
Linux - 如何安装 zenmap
C - 计算整数中的位数
JavaScript - 检查字符串是否以某些字符开头和结尾
C++ - 检查闰年
C++ - 检查一个数字是否是素数
C - 使用动态内存分配查找最大数
Kotlin - 将数字四舍五入到 n 个小数位
Linux - 如何安装 xbitmaps
Kotlin - 反转数字
Linux - 如何安装 zstd
Kotlin - 查找数字的阶乘
Linux - 如何安装 zfs-test
Java - 反转数字
Kotlin - 计算自然数之和
Kotlin - 计算整数中的位数
We have been online since 2021 and 1 millions of people around the globe have visited our website since then
More visitors every month