Commit Graph

327 Commits

Author SHA1 Message Date
Loris Cro a5e7b0e4db autodoc: restore support for zig version + cleanup & init work to fix packages 2022-07-19 19:10:12 -07:00
Vallahor f189e46b8e autodoc: add some tags 2022-07-19 19:10:12 -07:00
Vallahor f13db1ce18 autodoc: add cmpxchg_strong/weak 2022-07-19 19:10:12 -07:00
Vallahor 5e52666c83 autodoc: add some builtin functions and float128 2022-07-19 19:10:12 -07:00
Vallahor 9613aca417 autodoc: refactoring binOp 2022-07-19 19:10:12 -07:00
Loris Cro 918475e2e2 autodoc: new design for function list 2022-07-19 19:10:12 -07:00
Vallahor dd9a018185 fix: slice_start, slice_end and slice_sentinel typeRef are now showing the slice type 2022-07-19 19:10:12 -07:00
Vallahor 1f5df0e034 add: slice_start, slice_end and slice_sentinel 2022-07-19 19:10:12 -07:00
Vallahor b9fa91002e add: builtins functions 2022-07-19 19:10:12 -07:00
Vallahor a0ec87be71 add: merge_error_sets and @alignOf() need a checkin to confirm it's fully work 2022-07-19 19:10:12 -07:00
Loris Cro d858f26139 autodoc: fixes to generic fn support plus linking support 2022-07-19 19:10:12 -07:00
Loris Cro 413cfd4066 autodoc: init generic function support 2022-07-19 19:10:12 -07:00
Vallahor f07534069d WIP: switch_block tag 2022-07-19 19:10:12 -07:00
Vallahor 9be9e4d02c add: @enumToInt() WIP 2022-07-19 19:10:12 -07:00
Vallahor 5fcf0b0565 add: handling @bitSizeOf() need to check why not working correctly with align() 2022-07-19 19:10:12 -07:00
Vallahor a529d747c9 add: binOp @alignCast and bit_or 2022-07-19 19:10:12 -07:00
Vallahor f59bb65ff5 add: handling @bitCast as binOp 2022-07-19 19:10:12 -07:00
Vallahor 8e835fd3a2 add: handling binOp div 2022-07-19 19:10:12 -07:00
Vallahor 1213123ad0 fix: *.{} array are now printed as type *[]comptime 2022-07-19 19:10:12 -07:00
Vallahor d23ccdb8d9 fix: "match failure" in c.zig file @check other files and handling floats and undefined values in js 2022-07-19 19:10:12 -07:00
Vallahor 462f751902 binOp now showing better it's need a better struture, right now it's has a hack one 2022-07-19 19:10:11 -07:00
Vallahor 9f6bdc4bbe add: binOp WIP 2022-07-19 19:10:11 -07:00
Vallahor c0c9925255 fix: apparently doing this the @as problem is solved @check 2022-07-19 19:10:11 -07:00
Vallahor d55761f07e fix: print align() in pointers 2022-07-19 19:10:11 -07:00
Vallahor b823f01141 add: extra information in extendedFn 2022-07-19 19:10:11 -07:00
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 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 270e2c18bf fix: @TypeOf() now rendering 2022-07-19 19:10:11 -07:00
Vallahor 1a4d00d832 add: handling some anytype cases 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 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 646079c968 add: rendering sentinel in js and some fixes in autodoc 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 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