zig/lib/compiler/resinator
Cheng Sheng 4a77c7f258
Condense and extend std.Treap's traversal functionalities. (#20002)
The core functionalities are now in two general functions
`extremeInSubtreeOnDirection()` and `nextOnDirection()` so all the other
traversing functions (`getMin()`, `getMax()`, and `InorderIterator`) are
all just trivial calls to these core functions.

The added two functions `Node.next()` and `Node.prev()` are also just
trivial calls to these.

* std.Treap traversal direction: use u1 instead of usize.

* Treap: fix getMin() and getMax(), and add tests for them.
2024-07-28 19:47:55 -07:00
..
ani.zig Lazily compile the zig rc subcommand and use it during zig build-exe 2024-03-11 05:06:16 -07:00
ast.zig Update uses of @fieldParentPtr to use RLS 2024-03-30 20:50:48 -04:00
bmp.zig Lazily compile the zig rc subcommand and use it during zig build-exe 2024-03-11 05:06:16 -07:00
cli.zig std: Convert deprecated aliases to compile errors and fix usages 2024-06-13 10:18:59 -04:00
code_pages.zig Lazily compile the zig rc subcommand and use it during zig build-exe 2024-03-11 05:06:16 -07:00
comments.zig Lazily compile the zig rc subcommand and use it during zig build-exe 2024-03-11 05:06:16 -07:00
compile.zig std: Convert deprecated aliases to compile errors and fix usages 2024-06-13 10:18:59 -04:00
errors.zig resinator: update to new progress API 2024-05-27 20:56:49 -07:00
ico.zig compiler: rework comptime pointer representation and access 2024-04-17 13:41:25 +01:00
lang.zig Lazily compile the zig rc subcommand and use it during zig build-exe 2024-03-11 05:06:16 -07:00
lex.zig Lazily compile the zig rc subcommand and use it during zig build-exe 2024-03-11 05:06:16 -07:00
literals.zig Lazily compile the zig rc subcommand and use it during zig build-exe 2024-03-11 05:06:16 -07:00
main.zig resinator: update to new progress API 2024-05-27 20:56:49 -07:00
parse.zig Update uses of @fieldParentPtr to use RLS 2024-03-30 20:50:48 -04:00
preprocess.zig Lazily compile the zig rc subcommand and use it during zig build-exe 2024-03-11 05:06:16 -07:00
rc.zig ComptimeStringMap: return a regular struct and optimize 2024-04-22 15:31:41 -07:00
res.zig Lazily compile the zig rc subcommand and use it during zig build-exe 2024-03-11 05:06:16 -07:00
source_mapping.zig Condense and extend std.Treap's traversal functionalities. (#20002) 2024-07-28 19:47:55 -07:00
utils.zig Integrate resinator errors with Zig using std.zig.Server and ErrorBundle 2024-03-11 05:06:16 -07:00
windows1252.zig Lazily compile the zig rc subcommand and use it during zig build-exe 2024-03-11 05:06:16 -07:00