8 Commits (8448fa079b223c747ca4d0f917af4923196aa900)

Author SHA1 Message Date
alex 8448fa079b output: render 'usingnamespace'
some constructs are imported using "pub usingnamespace". example:

    zdoc std.x
2 years ago
alex 054254c5ab output: enable container_field and aligned variant rendering
this was an oversight. should've enabled it from the start.
for example, IterableDir.Iterator defines an alighted buf:

    zdoc std.fs IterableDir
2 years ago
alex cd961b5dd6 output: enable switch case rendering
some pub const and vars may be defined using switch expressions.
example:

    zdoc std.fs.path sep
    zdoc std.fs.path sep_str
2 years ago
alex 0affa0b302 output: enable blocks and struct init rendering
some global pub vars are defined in blocks and use struct literals.
for example:

    zdoc std.testing allocator_instance
2 years ago
alex 2a3b2d57d8 analyze: add a couple identifier matching tests 2 years ago
alex 4056c6dbcb build: add test subcommand
zig build test can now run tests defined in main.zig and all files it
imports due to std.testing.refAllDecls.
2 years ago
alex ba68c4a971 analyze: deinit AST once search in a file is done
arena allocator would take care of it upon program exit but deinit'ing earlier
may make a mem footprint difference when searching an arbitrary large
number of files.
2 years ago
alex 0a505782aa initial import 2 years ago