Commit Graph

19317 Commits

Author SHA1 Message Date
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
Loris Cro
51647c305e autodoc: add buffering to the json writer 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
d5d27f245b issue: reminder to fix array_init 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
b96bd33f55 add: handling to extra information in ptr_type 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
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