Files
pugz/src
Ankit Patial 14128aeeea feat: add @TypeOf type hints for compiled templates
- Add TypeHint node type in parser for //- @TypeOf(field): type syntax
- Support scalar types (f32, i32, bool, etc.) and array/struct types
- Use helpers.appendValue() for non-string typed fields
- Filter out loop variable references from Data struct fields
- Preserve @TypeOf comments during comment stripping

Example usage:
  //- @TypeOf(subtotal): f32
  span $#{subtotal}

  //- @TypeOf(items): []{name: []const u8, price: f32}
  each item in items
    h3 #{item.name}
2026-01-28 22:31:24 +05:30
..
2026-01-28 19:38:59 +05:30
2026-01-23 22:08:53 +05:30
2026-01-24 23:53:19 +05:30
2026-01-24 23:53:19 +05:30
2026-01-27 16:04:02 +05:30