aboutsummaryrefslogtreecommitdiff
path: root/dottydoc/src/dotty/tools/dottydoc/model/internal.scala
diff options
context:
space:
mode:
authorFelix Mulder <felix.mulder@gmail.com>2016-08-24 17:20:09 +0200
committerFelix Mulder <felix.mulder@gmail.com>2016-10-06 17:06:18 +0200
commit77dc769899a37b8f414befa6468d62413b1655fc (patch)
treed48d1f9d6ed1e655d5f373de22117e0eaf9959ea /dottydoc/src/dotty/tools/dottydoc/model/internal.scala
parenteaa7f1730aa9da0aa7e4b2c4e86fbcc3acf26131 (diff)
downloaddotty-77dc769899a37b8f414befa6468d62413b1655fc.tar.gz
dotty-77dc769899a37b8f414befa6468d62413b1655fc.tar.bz2
dotty-77dc769899a37b8f414befa6468d62413b1655fc.zip
Add symbols to Doc AST, needed for `@usecase`
Also eliminates the need for comment processing to be part of the `DocASTPhase`, so this should be put into a DocMiniPhase
Diffstat (limited to 'dottydoc/src/dotty/tools/dottydoc/model/internal.scala')
-rw-r--r--dottydoc/src/dotty/tools/dottydoc/model/internal.scala8
1 files changed, 8 insertions, 0 deletions
diff --git a/dottydoc/src/dotty/tools/dottydoc/model/internal.scala b/dottydoc/src/dotty/tools/dottydoc/model/internal.scala
index 6afb1ec9b..09f642d0b 100644
--- a/dottydoc/src/dotty/tools/dottydoc/model/internal.scala
+++ b/dottydoc/src/dotty/tools/dottydoc/model/internal.scala
@@ -3,6 +3,7 @@ package model
import comment.Comment
import references._
+import dotty.tools.dotc.core.Symbols.Symbol
object internal {
@@ -11,6 +12,7 @@ object internal {
}
final case class PackageImpl(
+ symbol: Symbol,
name: String,
var members: List[Entity],
path: List[String],
@@ -21,6 +23,7 @@ object internal {
}
final case class ClassImpl(
+ symbol: Symbol,
name: String,
members: List[Entity],
modifiers: List[String],
@@ -32,6 +35,7 @@ object internal {
) extends Class with Impl
final case class CaseClassImpl(
+ symbol: Symbol,
name: String,
members: List[Entity],
modifiers: List[String],
@@ -43,6 +47,7 @@ object internal {
) extends CaseClass with Impl
final case class TraitImpl(
+ symbol: Symbol,
name: String,
members: List[Entity],
modifiers: List[String],
@@ -54,6 +59,7 @@ object internal {
) extends Trait with Impl
final case class ObjectImpl(
+ symbol: Symbol,
name: String,
members: List[Entity],
modifiers: List[String],
@@ -63,6 +69,7 @@ object internal {
) extends Object with Impl
final case class DefImpl(
+ symbol: Symbol,
name: String,
modifiers: List[String],
path: List[String],
@@ -74,6 +81,7 @@ object internal {
) extends Def with Impl
final case class ValImpl(
+ symbol: Symbol,
name: String,
modifiers: List[String],
path: List[String],