summaryrefslogtreecommitdiff
path: root/src/compiler/scala/tools/nsc/doc/model/Entity.scala
diff options
context:
space:
mode:
authorGilles Dubochet <gilles.dubochet@epfl.ch>2010-01-20 14:41:58 +0000
committerGilles Dubochet <gilles.dubochet@epfl.ch>2010-01-20 14:41:58 +0000
commita259a744bb38c1cad070d459c8a59ad6c601cf74 (patch)
tree9d31c5234c34ba0ec4c40c8bab1c73a874e7f158 /src/compiler/scala/tools/nsc/doc/model/Entity.scala
parent61316fdc90863b5e889f5d3dfe00d7ec56cee9cf (diff)
downloadscala-a259a744bb38c1cad070d459c8a59ad6c601cf74.tar.gz
scala-a259a744bb38c1cad070d459c8a59ad6c601cf74.tar.bz2
scala-a259a744bb38c1cad070d459c8a59ad6c601cf74.zip
[scaladoc] Default values of parameters are doc...
[scaladoc] Default values of parameters are documented. Tags "@author", "@see", "@since", "@version", and "@deprecated" are displayed in documentation. Contributed by Pedro Furlanetto, checked by dubochet, no review.
Diffstat (limited to 'src/compiler/scala/tools/nsc/doc/model/Entity.scala')
-rw-r--r--src/compiler/scala/tools/nsc/doc/model/Entity.scala4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/compiler/scala/tools/nsc/doc/model/Entity.scala b/src/compiler/scala/tools/nsc/doc/model/Entity.scala
index d7ef2b866d..00ea8b9939 100644
--- a/src/compiler/scala/tools/nsc/doc/model/Entity.scala
+++ b/src/compiler/scala/tools/nsc/doc/model/Entity.scala
@@ -45,6 +45,7 @@ trait MemberEntity extends Entity {
def flags: List[Paragraph]
def inheritedFrom: List[TemplateEntity]
def isDeprecated: Boolean
+ def deprecationMessage: Option[String]
def resultType: TypeEntity
def isDef: Boolean
def isVal: Boolean
@@ -141,5 +142,6 @@ trait TypeParam extends ParameterEntity {
/** A value parameter to a constructor or to a method. */
trait ValueParam extends ParameterEntity {
- def resultType : TypeEntity
+ def resultType: TypeEntity
+ def defaultValue: Option[String]
}