-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Tastydoc #7664
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Tastydoc #7664
Changes from all commits
Commits
Show all changes
173 commits
Select commit
Hold shift + click to select a range
92e1a17
Fetched master
BryanAbate 970e288
First try at extracting class infos
0f6c4c9
Started TreeOps doc + upgrade to 0.14
BryanAbate 92ffc5b
More doc on TreeOps + fixed Ident matching
BryanAbate d7a9014
Refactored to string instead of print and distinction between types, etc
6cc64a6
Quick commit before refactoring to container
e3cd871
Refactored to container
eb67632
Markdown helper + using showcode for types
8d51ef6
Markdown output first try
fede540
def/val prefix
4b3a74e
User documentation class for test added
78a256c
Before rebase
81c2265
Started parsing user doc
085ffba
try to remove node
BryanAbate 83c35ba
try to remove node
BryanAbate 68b5aca
try to remove node
BryanAbate 9e14062
post markdown
BryanAbate 6454219
Before transform to entities
BryanAbate cc50a97
Before moving to internal
BryanAbate 20e3629
Refactored to internal
BryanAbate d11d110
Work on representations
BryanAbate e4cbbe4
Started Representation to Md
BryanAbate 348ed16
First try at Representation to md
BryanAbate df11080
Fixed isInstanceOf + bacic typeDef printing
BryanAbate 3d26f61
Done constructor
BryanAbate 58f48f7
Type Params wip
BryanAbate aa90a82
Started comment parsing + minor fixes
BryanAbate 6436ca0
Add flexmark SBT config
abgruszecki e32864b
First try at comment parsing using dotty-doc tool
BryanAbate 9a9fcae
Printing of comment + testing doc with List from Scala
BryanAbate 8964796
parents draft + object different than class
BryanAbate d745800
Before trying to modify dottydoc files
BryanAbate 7981762
Added TODO list
BryanAbate b454dac
Title for members
BryanAbate 4520ac6
Render userdoc as MD first draft
BryanAbate 9187623
Fixed line return
BryanAbate 11624da
Before meeting
BryanAbate a4c6e7f
Before writing to files test
BryanAbate ceafb71
First try at mutliple files
BryanAbate a99a602
Started working on references
BryanAbate 5948932
Work on TypeReferences
BryanAbate 04c00a8
Moving from Ref to Reference
BryanAbate 2c9b5e2
Md test on GH
BryanAbate 9331949
Md change
BryanAbate 8f57300
Started report + scope modifiers
BryanAbate 15337b8
Done case
BryanAbate 8c7eb6a
Done trait
BryanAbate 1757b38
Parents are reference + before moving constructor to Representation
BryanAbate ec949ff
Parents removed Object + before moving to html code block
BryanAbate d84852f
test md on GH
BryanAbate 8e23a3f
Fixed linking
BryanAbate 6edd7b1
Fixed link for types directly defined in def
BryanAbate 34f988a
Some cleaning
BryanAbate 53f0be5
comitting useless md files
BryanAbate 96f520a
Merged master and fixed broken things:
BryanAbate ecc1c0f
Sorting members by name
BryanAbate 3e52756
Done TODO in Main
BryanAbate 8f4d055
Started output rework
BryanAbate 9ef203c
Report + added inline modifier
BryanAbate 04fdc69
Moved object to ClassRepresentation
BryanAbate 0f26d48
Inner class own file + linking
BryanAbate e2d72c4
Before breaking everything
BryanAbate 90fae75
Tried to do select package linking + userdoc syntax + main extended
BryanAbate 658a8d4
Temporary fix for type alias
BryanAbate 57d2138
Tried to use companion module
BryanAbate f8c87f3
Fixed companion + reworked members output
BryanAbate 7d5b748
Fixed companion + reworked members output
BryanAbate aca32a7
Done parent field
BryanAbate 58f6ab1
Improved constructor recognition + annotations for all
BryanAbate 87e44a9
Annotations + knownsubclasses
BryanAbate 6899df1
Reworked known subclasses to not use child
BryanAbate 69b0e6a
test md
BryanAbate fc66a4d
Small fixes + companion kind
BryanAbate 4840789
Reworked knownsubclasses
BryanAbate b495ab2
Work on type lambda
BryanAbate 4a96806
zzz folder
BryanAbate de2a6a4
just delete report.pdf
BryanAbate 7f7f883
Split into TastyExtractor + TastyTypeConverter
BryanAbate ac0db2d
Worked on refactoring some files seemed to have disapeared
BryanAbate 7459313
Some deleted files
BryanAbate ba764bf
Fixed missing output files + fixed object in parents for some
BryanAbate 14707ac
EmulatedPackage now emulates seemlessly PackageRepresentation
BryanAbate 3c0ef46
Done linking in userdoc, need fix for object (to ask) + offset
BryanAbate 7a6d390
R Introduction first draft
BryanAbate 6912152
R work on output
BryanAbate 65c97c4
Offset still not fixed
BryanAbate 7e9646b
EmulatedPackage now written to file in traverse
BryanAbate 2bb86a4
R work
BryanAbate a2dcb3d
R first draft nearly done
BryanAbate dfdc988
R pdf
BryanAbate a20db90
Fixed title
BryanAbate 2c97c7f
No more global object
BryanAbate c220e94
Removed some todos
BryanAbate f6cfcc3
Fixed modified dottydocsettings in Build.scala
BryanAbate 3935a3a
Fix
BryanAbate 5f1fa28
Done some doc
BryanAbate 7699877
New bug in inheritance
BryanAbate c483b4b
Fixed tests
BryanAbate 00d5db1
R New intro
BryanAbate 13fad66
Removed color in show + exceeding \n in comments
BryanAbate 9c91831
R features
BryanAbate 93317e3
R high level arch
BryanAbate 7e884a4
R started low level arch draft
BryanAbate 33e2609
R Reworked a bit low level arch
BryanAbate 74f7416
Added package in output
BryanAbate 90940a8
R problems
BryanAbate 8967270
R problems + start comparison
BryanAbate faaafae
Fixed space in comments
BryanAbate 802b173
R v3
BryanAbate 1cb0676
P init
BryanAbate 1ee6826
ignore
BryanAbate 41a0531
R small change in fw
BryanAbate e05c9ad
Fixed Markdown Parser + R complex type
BryanAbate e99fd7e
Added Dotty + don't take Object def
BryanAbate bdd32ad
Removed Any inheritance + local Flag
BryanAbate d0dcf23
Removed $ in printing not linking
BryanAbate 01976c5
$ is now in object name in ClassRep
BryanAbate 50765ab
Rerun on Dotty still need fix on owner
BryanAbate d62bded
test md
BryanAbate 60b8c59
Removed some TODOs
BryanAbate 634cf77
R some work
BryanAbate c2dfb69
R v4
BryanAbate 474c103
P full struct
BryanAbate fc90504
R English correction
BryanAbate e8afdbc
Filtering inline + Refinement working + $ in print
BryanAbate b20fd20
Support for var
BryanAbate 7a25c70
Fixed default appearing
BryanAbate 8d7f686
Removed val from objects + private now show
BryanAbate 25b991c
Don't display private and make modifiers accessible from class members
BryanAbate 32dd573
Readme
BryanAbate 3026f19
Convention for --
BryanAbate 64bca30
Harmonization
BryanAbate dd47f51
R Dottydoc bugs+1
BryanAbate 2ccb42d
Probably final report version
BryanAbate eb47d6b
Some cleaning
BryanAbate 920fadb
Changed Weird output
BryanAbate 2ecc7c0
Fixed lst using wrong color
BryanAbate 7d144b1
Added link to annotations in report
BryanAbate 51dd415
Presentation first draft
BryanAbate b4eefba
POSIX compliant utility argument
BryanAbate 1bfebe1
Forgot to remove things in doc Main
BryanAbate 4de61f2
Found bug in linking in userdoc + delete files from SemanticDB
BryanAbate 84958f8
TOFIX Bug in Dotty when calling owner
BryanAbate 8e5e338
Removed some TODOs
BryanAbate 42d120a
Removed Local Flag
BryanAbate cff97a9
Typo in test
BryanAbate 3859c15
Moved generated doc to tastydoc/documentation folder
BryanAbate 7d03e74
Generated files in new doc folder
BryanAbate b771ee4
Added scalaShadowing
BryanAbate 6dc8653
Link to Dotty documentation in report
BryanAbate 378a18e
All packages to link done
BryanAbate e407a73
Small wording in report
BryanAbate 0d9d210
Removed some TODOs
BryanAbate 4c1d363
Some more TODOs
BryanAbate 8358484
Removed commented lines that was not useful anymore
BryanAbate 2cb4005
Modified test class
BryanAbate b2e9709
Using symbol.fields now
BryanAbate 1fd8606
committing community-build
BryanAbate 1a07002
Fixed path after rebase
BryanAbate 75abb0a
Update flexmark-java
BryanAbate 0050646
Merge branch 'flexmark-update' into tastydoc
BryanAbate f5ff10f
Dotty 0.16.0-RC3 doc
BryanAbate 2f3951f
Bug in owner fixed in Dotty
BryanAbate 1067cb4
Remove buggy implementation of known subclasses
BryanAbate 458cf4f
Updated doc again
BryanAbate 4e38e23
New methods for knowsubclasses
BryanAbate d5df465
Cleaned Type matching
BryanAbate 3d34f99
Cleaned import
BryanAbate ea0e768
Don't print if empty constructor is the only one
BryanAbate 64d9075
Fixed implicit
BryanAbate e13fc2d
P update
BryanAbate 44f8e03
Don't display inline if annots force it
BryanAbate 9e4ee9f
Merge branch 'master' into tastydoc
abgruszecki File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
sbt.version=1.2.6 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
# Comment parsing | ||
## Files from dotty-doc requiring work | ||
* util.traversing | ||
* ImplicitlyAddedFrom | ||
* Fix linking for inherited method | ||
|
||
# Other | ||
* Check remaining TODOs/TOASKs/TOFIX | ||
|
||
# Representation | ||
* Id for typeparams so we can link (Do not link) | ||
* Alias type | ||
* Rework type matching + Order in type matching symbol counts... | ||
* Remove artifacts in packages => Will fix linking as well |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
dotty | ||
# object DottyPredef | ||
|
||
<pre><code class="language-scala" >final object DottyPredef extends Serializable</pre></code> | ||
## Concrete Value Members: | ||
### assert | ||
<pre><code class="language-scala" >@forceInline final def assert(assertion: => Boolean): Unit</pre></code> | ||
|
||
### assert | ||
<pre><code class="language-scala" >@forceInline final def assert(assertion: => Boolean, message: => Any): Unit</pre></code> | ||
|
||
### assertFail | ||
<pre><code class="language-scala" >def assertFail(message: => Any): Unit</pre></code> | ||
|
||
### assertFail | ||
<pre><code class="language-scala" >def assertFail(): Unit</pre></code> | ||
|
||
### implicitly | ||
<pre><code class="language-scala" >@forceInline final def implicitly[T](implicit ev: T): T</pre></code> | ||
|
||
### locally | ||
<pre><code class="language-scala" >@forceInline def locally[T](body: => T): T</pre></code> | ||
|
||
### the | ||
<pre><code class="language-scala" >inline def the[T](x: T): x</pre></code> | ||
|
||
### valueOf | ||
<pre><code class="language-scala" >inline def valueOf[T]: T</pre></code> | ||
Retrieve the single value of a type with a unique inhabitant. | ||
|
||
***Example*** | ||
```scala | ||
object Foo | ||
val foo = valueOf[Foo.type] | ||
// foo is Foo.type = Foo | ||
val bar = valueOf[23] | ||
// bar is 23.type = 23 | ||
``` | ||
|
||
***Group*** utilities | ||
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
# Package dotty | ||
## Members: | ||
<pre><code class="language-scala" >final object <a href="./DottyPredef$.md">DottyPredef</a></pre></code> | ||
<pre><code class="language-scala" >final val DottyPredef: <a href="./DottyPredef$.md">DottyPredef</a></pre></code> | ||
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
dotty.internal | ||
# object StringContextMacro | ||
|
||
<pre><code class="language-scala" >final object StringContextMacro extends Serializable</pre></code> | ||
## Concrete Value Members: | ||
### f | ||
<pre><code class="language-scala" >inline def f(sc: => StringContext)(args: Seq[Any]): String</pre></code> | ||
Implemetation of scala.StringContext.f used in Dotty while the standard library is still not bootstrapped | ||
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
# Package internal | ||
## Members: | ||
<pre><code class="language-scala" >final object <a href="./StringContextMacro$.md">StringContextMacro</a></pre></code> | ||
<pre><code class="language-scala" >final val StringContextMacro: <a href="./StringContextMacro$.md">StringContextMacro</a></pre></code> | ||
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
dotty.runtime | ||
# object Arrays | ||
|
||
<pre><code class="language-scala" >final object Arrays extends Serializable</pre></code> | ||
All but the first two operations should be short-circuited and implemented specially by | ||
the backend. | ||
|
||
## Concrete Value Members: | ||
### newArray | ||
<pre><code class="language-scala" >def newArray[Arr](componentType: Class[Nothing <: Any], returnType: Class[Arr], dimensions: Array[Int]): Arr</pre></code> | ||
Create an array of a reference type T. | ||
|
||
### newGenericArray | ||
<pre><code class="language-scala" >def newGenericArray[T](length: Int)(implicit tag: <a href="../../scala/reflect/ClassTag.md">ClassTag</a>[T]): Array[T]</pre></code> | ||
Creates an array of some element type determined by the given `ClassTag` | ||
argument. The erased type of applications of this method is `Object`. | ||
|
||
### seqToArray | ||
<pre><code class="language-scala" >def seqToArray[T](xs: Seq[T], clazz: Class[Nothing <: Any]): Array[T]</pre></code> | ||
Convert a sequence to a Java array with element type given by `clazz`. | ||
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
dotty.runtime | ||
# object LazyVals | ||
|
||
<pre><code class="language-scala" >final object LazyVals extends Serializable</pre></code> | ||
Helper methods used in thread-safe lazy vals. | ||
|
||
## Concrete Type Members: | ||
### Names | ||
<pre><code class="language-scala" >final object <a href="./LazyVals$/Names$.md">Names</a></pre></code> | ||
## Concrete Value Members: | ||
### CAS | ||
<pre><code class="language-scala" >def CAS(t: Object, offset: Long, e: Long, v: Int, ord: Int): Boolean</pre></code> | ||
|
||
### STATE | ||
<pre><code class="language-scala" >def STATE(cur: Long, ord: Int): Long</pre></code> | ||
|
||
### get | ||
<pre><code class="language-scala" >def get(t: Object, off: Long): Long</pre></code> | ||
|
||
### getOffset | ||
<pre><code class="language-scala" >def getOffset(clz: Class[Nothing <: Any], name: String): Long</pre></code> | ||
|
||
### setFlag | ||
<pre><code class="language-scala" >def setFlag(t: Object, offset: Long, v: Int, ord: Int): Unit</pre></code> | ||
|
||
### wait4Notification | ||
<pre><code class="language-scala" >def wait4Notification(t: Object, offset: Long, cur: Long, ord: Int): Unit</pre></code> | ||
|
||
### BITS_PER_LAZY_VAL | ||
<pre><code class="language-scala" >final inline val BITS_PER_LAZY_VAL: 2</pre></code> | ||
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
dotty.runtime.LazyVals$ | ||
# object Names | ||
|
||
<pre><code class="language-scala" >final object Names extends Serializable</pre></code> | ||
## Concrete Value Members: | ||
### cas | ||
<pre><code class="language-scala" >final inline val cas: CAS</pre></code> | ||
|
||
### get | ||
<pre><code class="language-scala" >final inline val get: get</pre></code> | ||
|
||
### getOffset | ||
<pre><code class="language-scala" >final inline val getOffset: getOffset</pre></code> | ||
|
||
### setFlag | ||
<pre><code class="language-scala" >final inline val setFlag: setFlag</pre></code> | ||
|
||
### state | ||
<pre><code class="language-scala" >final inline val state: STATE</pre></code> | ||
|
||
### wait4Notification | ||
<pre><code class="language-scala" >final inline val wait4Notification: wait4Notification</pre></code> | ||
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
dotty.runtime | ||
# class LegacyApp | ||
|
||
<pre><code class="language-scala" >class LegacyApp</pre></code> | ||
Replaces the `scala.App` class which relies on `DelayedInit` functionality, | ||
not supported by Dotty. | ||
|
||
## Concrete Value Members: | ||
### main | ||
<pre><code class="language-scala" >def main(args: Array[String]): Unit</pre></code> | ||
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
# Package runtime | ||
## Members: | ||
<pre><code class="language-scala" >final object <a href="./Arrays$.md">Arrays</a></pre></code> | ||
All but the first two operations should be short-circuited and implemented specially by | ||
the backend. | ||
|
||
<pre><code class="language-scala" >final val Arrays: <a href="./Arrays$.md">Arrays</a></pre></code> | ||
All but the first two operations should be short-circuited and implemented specially by | ||
the backend. | ||
|
||
|
||
<pre><code class="language-scala" >final object <a href="./LazyVals$.md">LazyVals</a></pre></code> | ||
Helper methods used in thread-safe lazy vals. | ||
|
||
<pre><code class="language-scala" >final val LazyVals: <a href="./LazyVals$.md">LazyVals</a></pre></code> | ||
Helper methods used in thread-safe lazy vals. | ||
|
||
|
||
<pre><code class="language-scala" >class <a href="./LegacyApp.md">LegacyApp</a></pre></code> | ||
Replaces the `scala.App` class which relies on `DelayedInit` functionality, | ||
not supported by Dotty. | ||
|
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is this file (and the others in the
tastydoc/documentation/
) generated?There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Well spotted, Julien! It does look like this entire dir should be purged and added to
.gitignore
.