diff options
author | Gilles Dubochet <gilles.dubochet@epfl.ch> | 2010-02-03 17:03:58 +0000 |
---|---|---|
committer | Gilles Dubochet <gilles.dubochet@epfl.ch> | 2010-02-03 17:03:58 +0000 |
commit | a6eecfb04532c83a715d520e885250e8de808f9e (patch) | |
tree | cbfbf98476467a63c3e28652e767a431655ca46e /src/compiler/scala/tools/nsc/doc/model/Entity.scala | |
parent | 909924acba60dadee5647e405c0bb9a2676f4a70 (diff) | |
download | scala-a6eecfb04532c83a715d520e885250e8de808f9e.tar.gz scala-a6eecfb04532c83a715d520e885250e8de808f9e.tar.bz2 scala-a6eecfb04532c83a715d520e885250e8de808f9e.zip |
[scaladoc] Optional link to source (set paramet...
[scaladoc] Optional link to source (set parameter "-doc-source-url").
Support for commenting packages (using package objects). Contributed by
Perdo Furlanetto. Also: small performance improvements, short comment
extraction is more robust (but no HTML tags allowed in first sentence),
small code clean-ups. 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.scala | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/compiler/scala/tools/nsc/doc/model/Entity.scala b/src/compiler/scala/tools/nsc/doc/model/Entity.scala index 53ac6740cf..7be902cd5f 100644 --- a/src/compiler/scala/tools/nsc/doc/model/Entity.scala +++ b/src/compiler/scala/tools/nsc/doc/model/Entity.scala @@ -43,9 +43,8 @@ trait MemberEntity extends Entity { def definitionName: String def visibility: Option[Paragraph] def flags: List[Paragraph] + def deprecation: Option[Body] def inheritedFrom: List[TemplateEntity] - def isDeprecated: Boolean - def deprecationMessage: Option[String] def resultType: TypeEntity def isDef: Boolean def isVal: Boolean @@ -61,6 +60,7 @@ trait MemberEntity extends Entity { trait DocTemplateEntity extends TemplateEntity with MemberEntity { def toRoot: List[DocTemplateEntity] def inSource: Option[(io.AbstractFile, Int)] + def sourceUrl: Option[java.net.URL] def typeParams: List[TypeParam] def parentType: Option[TypeEntity] def linearization: List[TemplateEntity] |