263 Commits

Author SHA1 Message Date
Vadim Godunko
66ea4adb57 Merge branch 'topic/vadim/mainbody' into 'master'
Fix processing of the subprogram body as compilation unit without subprogram specification

Closes #62 and #61

See merge request eng/ide/gnatdoc!90

(cherry picked from commit 1f5c237f17)

8171b7ae Add missing node kind of subprogram's body.
07442a52 Add test driver to run arbitrary scripts
58a02cb0 Add testcase.
fa7f1686 Ignore output directory created by e3-testsuite
7a2aea40 Add description of the test driver.
2023-11-28 09:30:13 +00:00
Vadim Godunko
d8348efa1b Ignore pragmas in generic formals.
Use internal reporting API instead of Text_IO.
2023-09-12 17:16:05 +04:00
Vadim Godunko
8cc2ed513e Fix description of the code. 2023-09-11 13:34:40 +04:00
Vadim Godunko
a71c499021 Use structural style for RST and OOP style for RSTPT backends. 2023-08-09 17:00:06 +04:00
Vadim Godunko
06a1123cee Don't report incomplete tagged types as not implemented. 2023-08-09 17:00:06 +04:00
Vadim Godunko
a21f4b2403 Remove raise of the exception, it is implemented now. 2023-08-09 17:00:06 +04:00
Vadim Godunko
ba11e230ed Rename non-dispatching to prefix-callable subprograms. 2023-08-09 10:02:48 +04:00
Vadim Godunko
5fd7acbdf3 Include subprogram bodies only when they are specs too.
Closes eng/ide/gnatdoc#39.
2023-08-09 10:01:53 +04:00
Vadim Godunko
628156c638 Fix classification of subprograms as prefix-callable.
Exclude subprograms when first parameter has an access to subprogram
type.
2023-08-08 14:09:53 +04:00
Vadim Godunko
16092aa60d Ignore expection declaration inside private part of the package. 2023-08-08 13:59:47 +04:00
Vadim Godunko
7c396c3fab Separate code block by an empty line. 2023-08-07 18:14:21 +04:00
Vadim Godunko
e498333796 Separate function's documentation by an empty line. 2023-08-07 18:13:56 +04:00
Vadim Godunko
a2a45d4592 Change structure of generated RST to OOP style 2023-08-07 17:53:35 +04:00
Vadim Godunko
9086103866 Don't report processed of incomplete types. 2023-08-07 16:43:36 +04:00
Vadim Godunko
08a0be1c17 Generate list of inherited non-dispatching subprograms. 2023-08-07 14:39:56 +04:00
Vadim Godunko
7172acbf49 Generate list of non-dispatching subprograms...
... that can be called with "prefix notation".
2023-08-07 12:57:56 +04:00
Vadim Godunko
e8590a1632 Code refactoring...
... Compute subprogram reference only once.

... Rename subprogram.
2023-08-05 18:33:32 +04:00
Vadim Godunko
5f0db57bd0 Improve detection of the generic packages and generic subprograms. 2023-07-27 16:50:37 +04:00
Vadim Godunko
d19fe42827 Don't include aspects into code snippet of record type. 2023-07-05 16:24:10 +03:00
Vadim Godunko
6ade392608 Extract code snippet for packages too. 2023-06-22 17:03:35 +04:00
Vadim Godunko
ec3db2aa79 Extract code snippet for generics declarations. 2023-06-22 16:20:17 +04:00
Vadim Godunko
c93ddd236b Generate list of all progenitors for interface types. 2023-06-07 19:00:21 +04:00
Vadim Godunko
096bac11b9 Add list of all progrnitor types. 2023-06-07 18:49:30 +04:00
Vadim Godunko
d17395576e List parent types even when they are out of the project. 2023-06-07 16:24:57 +04:00
Vadim Godunko
a16e7c98e2 Construct sets of all parent/derived types. 2023-06-07 16:03:54 +04:00