Commit Graph

19445 Commits

Author SHA1 Message Date
Vallahor
927f087a40 fix: calling convention 2022-07-19 19:10:11 -07:00
Vallahor
0e5a2bbd63 fix: NoReturn and WIP in calling_conventions 2022-07-19 19:10:11 -07:00
Vallahor
ec8d29ff25 fix: anyopaque_type. it was showing *[1]anyopaque now *anyopaque 2022-07-19 19:10:11 -07:00
Vallahor
2809b01b2f add: noreturn keyword at end of the fn decl 2022-07-19 19:10:11 -07:00
Vallahor
a3f44b0d21 fixes: @check 2022-07-19 19:10:11 -07:00
Vallahor
11eb11d7d6 fix: slices 2022-07-19 19:10:11 -07:00
Vallahor
f04f23a3aa add: extern, callconv and return errors 2022-07-19 19:10:11 -07:00
Vallahor
76e934dba8 fix: comptime not showing in all anytype params anymore. add: pointer flags 2022-07-19 19:10:11 -07:00
Vallahor
c449788b11 fix: typeOf_peer working in all cases 2022-07-19 19:10:11 -07:00
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