aboutsummaryrefslogtreecommitdiff
path: root/lib/docs/wasm/Walk.zig
AgeCommit message (Collapse)Author
2025-08-13std.io.Writer.Allocating: rename getWritten() to written()Isaac Freund
This "get" is useless noise and was copied from FixedBufferWriter. Since this API has not yet landed in a release, now is a good time to make the breaking change to fix this.
2025-07-16update compilerAndrew Kelley
2025-07-16update docsAndrew Kelley
2025-07-07update autodocs and langref to new APIAndrew Kelley
2025-07-07remove `usingnamespace` from the languageAndrew Kelley
closes #20663
2025-07-07remove `async` and `await` keywordsAndrew Kelley
Also remove `@frameSize`, closing #3654. While the other machinery might remain depending on #23446, it is settled that there will not be `async`/ `await` keywords in the language.
2025-03-07std.zig.Ast: improve type safetyTechatrix
This commits adds the following distinct integer types to std.zig.Ast: - OptionalTokenIndex - TokenOffset - OptionalTokenOffset - Node.OptionalIndex - Node.Offset - Node.OptionalOffset The `Node.Index` type has also been converted to a distinct type while `TokenIndex` remains unchanged. `Ast.Node.Data` has also been changed to a (untagged) union to provide safety checks.
2025-03-07std.zig.Ast: add `blockStatements` and `builtinCallParams`Techatrix
2025-02-15Autodoc: report syntax errors to userIan Johnson
Additionally, this commit streamlines the way unparseable files are handled, by giving them the AST of an empty file. This avoids bugs in the rest of the Autodoc logic trying to work with invalid ASTs.
2024-09-12Replace deprecated default initializations with decl literalsLinus Groh
2024-08-28std: update `std.builtin.Type` fields to follow naming conventionsmlugg
The compiler actually doesn't need any functional changes for this: Sema does reification based on the tag indices of `std.builtin.Type` already! So, no zig1.wasm update is necessary. This change is necessary to disallow name clashes between fields and decls on a type, which is a prerequisite of #9938.
2024-08-07fuzzer: share zig to html rendering with autodocsAndrew Kelley
2024-07-09Autodoc: only group structs under "namespaces"Ian Johnson
The old heuristic of checking only for the number of fields has the downside of classifying all opaque types, such as `std.c.FILE`, as "namespaces" rather than "types".
2024-03-30Update uses of `@fieldParentPtr` to use RLSJacob Young
2024-03-17Ast: fix comptime destructureJacob Young
A preceding `comptime` keyword was being ignored if the first destructure variable was an expression.
2024-03-10update autodocs web application to latestAndrew Kelley
upstream commit 1f921d540e1a8bb40839be30239019c820eb663d after this branch is merged, ziglang/zig becomes the new repository for this code.
2024-03-10upstream new autodocs implementationAndrew Kelley