暗黙的な変換を指定することで、暗黙的な変換からのメソッドを含めるように scaladoc を構成できますか?
例)
trait Foo
object Operations {
implicit class FooOps(val f: Foo) extends AnyVal {
def bar = 33
}
}
bar
のドキュメントにscaladoc に拡張メソッドを含めることはできますFoo
か?
暗黙的な変換を指定することで、暗黙的な変換からのメソッドを含めるように scaladoc を構成できますか?
例)
trait Foo
object Operations {
implicit class FooOps(val f: Foo) extends AnyVal {
def bar = 33
}
}
bar
のドキュメントにscaladoc に拡張メソッドを含めることはできますFoo
か?
そのように見えます(まだ試していません):
% scladoc -help
Usage: scaladoc <options> <source files>
where possible scaladoc options include:
...
-implicits Document members inherited by implicit conversions.
-implicits-hide:<implicit(s)> Hide the members inherited by the given comma separated, fully qualified implicit conversions. Add dot (.) to include default conversions.
-implicits-show-all Show members inherited by implicit conversions that are impossible in the default scope. (for example conversions that require Numeric[String] to be in scope)
...