Vallahor
4bd359a849
add: handling typeof_peer
2022-07-19 19:10:11 -07:00
Vallahor
1792842808
fix: typeOf "match failed" with a call after @TypeOf()
2022-07-19 19:10:11 -07:00
Vallahor
270e2c18bf
fix: @TypeOf() now rendering
2022-07-19 19:10:11 -07:00
Vallahor
e1d55385ff
add: typeof_builtin (not fully implemented)
2022-07-19 19:10:11 -07:00
Vallahor
1a4d00d832
add: handling some anytype cases
2022-07-19 19:10:11 -07:00
Vallahor
cadee07ef4
fix: paths working on windows
2022-07-19 19:10:11 -07:00
Vallahor
7b11c23da6
fix: comptimeExpr working with generated data
2022-07-19 19:10:11 -07:00
Vallahor
4da1f1fb32
add: handling comptimeExpr in js
2022-07-19 19:10:11 -07:00
Vallahor
2a3fb341aa
fix: handling more types of sentinels. now can be structs too
2022-07-19 19:10:11 -07:00
Loris Cro
d707cd6e6d
autodoc: improve decl categorization and fix enumliteral arrays/ptrs
2022-07-19 19:10:11 -07:00
Vallahor
bde1caa4ce
fix: array_init_anon know working
2022-07-19 19:10:11 -07:00
Vallahor
21fd4a7a8b
fix: printing const in types and fn decl and sentinel in strings
2022-07-19 19:10:11 -07:00
Vallahor
019fd45617
fix: sentinel working with types and in fn decls
2022-07-19 19:10:11 -07:00
Vallahor
5b20b1f2a7
add: array init refs
2022-07-19 19:10:11 -07:00
Vallahor
646079c968
add: rendering sentinel in js and some fixes in autodoc
2022-07-19 19:10:11 -07:00
Vallahor
5a4005323f
add: sentiel
2022-07-19 19:10:11 -07:00
Loris Cro
aa545dbd1e
autodoc: improve frontend rendering
2022-07-19 19:10:11 -07:00
Loris Cro
cf685c1132
autodoc: collect type information for some expressions
2022-07-19 19:10:11 -07:00
Loris Cro
0339e1c7d4
update to new code from master branch
2022-07-19 19:10:11 -07:00
Loris Cro
ae4b5c29b2
autodoc: fix final js type error
2022-07-19 19:10:11 -07:00
Loris Cro
cc71003cfc
autodoc: improved rendering container fields and fixed rendering of func
...
args
2022-07-19 19:10:11 -07:00
Loris Cro
d85259989e
autodoc: var 2 let in main.js
2022-07-19 19:10:11 -07:00
Loris Cro
67da1b8c88
autodoc: fixed all type errors in main.js
2022-07-19 19:10:11 -07:00
Loris Cro
80f9490e06
autodoc: more js type fixes
2022-07-19 19:10:11 -07:00
Loris Cro
919b8e400c
autodoc: more typechecking in main.js
2022-07-19 19:10:11 -07:00
Loris Cro
72e5b4fb74
autodoc: improve type checking in main.js
2022-07-19 19:10:11 -07:00
Loris Cro
64feb222b5
autodoc: make links respect internal docs mode
2022-07-19 19:10:11 -07:00
Loris Cro
53fa75c852
autodoc: improved frontend rendering
2022-07-19 19:10:11 -07:00
Loris Cro
36c4b1aac9
autodoc: improve rendering and add "show priv decls" checkbox
2022-07-19 19:10:11 -07:00
Loris Cro
df3074aa98
autodoc: fix offset math for decls and change TODOs from panics to just
...
prints
2022-07-19 19:10:11 -07:00
Reece Van Atta
5f0ab34cc5
autodoc: add type comments to main.js file
2022-07-19 19:10:11 -07:00
Reece Van Atta
9cd9a390ae
autodoc: add typedef to zigAnalysis file, just in case
2022-07-19 19:10:11 -07:00
ABuffSeagull
e39d1ae78f
autodoc: fix missing variable declaration for strict mode
2022-07-19 19:10:11 -07:00
Loris Cro
40a2844c30
autodoc: decl paths become ref paths
...
originally I thought `foo.bar.baz` was a path of decls, but turns out
other language constructs require to make this model more general.
originally a decl path was an array of decl indexes, now it's an array
of `WalkResult`s
2022-07-19 19:10:11 -07:00
Loris Cro
63be9e65ed
autodoc: added support for error sets and extended functions
2022-07-19 19:10:11 -07:00
Loris Cro
67f1d2b967
autodoc: add basic support for more builtin
2022-07-19 19:10:11 -07:00
Loris Cro
ec7f4d1faa
autodoc: add support for anytype and improve semantics for array length
2022-07-19 19:10:11 -07:00
Loris Cro
d745dde54f
autodoc: improve comments
2022-07-19 19:10:11 -07:00
Loris Cro
4f949163a5
autodoc: add support for enum literals
2022-07-19 19:10:11 -07:00
Loris Cro
056ba8e57c
autodoc: add support for @This and improve call support in decl paths
2022-07-19 19:10:11 -07:00
Loris Cro
3eb90a110f
autodoc: add support for pointers and comptime expressions in decl paths
2022-07-19 19:10:11 -07:00
Loris Cro
03d3929232
autodoc: add simplified support for tests
2022-07-19 19:10:11 -07:00
Loris Cro
1e2cd421b9
autodoc: add support for array decls
2022-07-19 19:10:11 -07:00
Loris Cro
eced8c065d
autodoc: add support for solving decl paths depending on other
...
decl paths
2022-07-19 19:10:11 -07:00
Loris Cro
8bb529b395
autodoc: add support for generic functions & generic function calls
2022-07-19 19:10:11 -07:00
Loris Cro
195231b212
autodoc: add support for non-generic function calls
2022-07-19 19:10:11 -07:00
Loris Cro
028c8a3c91
autodoc: added support for same-file lazy resolution of decl paths
2022-07-19 19:10:11 -07:00
Loris Cro
580e633777
autodoc: added support for non-lazy decl paths
2022-07-19 19:10:11 -07:00
Loris Cro
253e7e112e
autodoc: add frontend support for optionals & generic cleanup
2022-07-19 19:10:11 -07:00
Loris Cro
fbf0d0bee9
autodoc: fix decltest offset errors
...
while it would be preferable to not save decltests as first-class decls
(and just embed their information inside the decl they refer), adding
logic to skip them complicates the code too much so we should consider
this an optimization for the future.
2022-07-19 19:10:11 -07:00