Commit c3a88db
Refactor SAPI generator: decouple argument classes and annotations into namespace sapi.
This change cleans up and modularizes the types and utilities extracted from sandboxed_library_emitter:
- Promotes Arg, PointerArg, CallbackArg, and simple arg types directly into namespace sapi.
- Decouples Annotations and context binding helpers into annotations.{h,cc}.
- Scopes AST manipulation utilities in namespace sapi::ast.
- Streamlines pointer_arg.h by moving method implementations to pointer_arg.cc.
- Relocates kIncludePrefix to arg.h and removes unnecessary ast_utils.h includes.
- Exposes standalone ConvertArg and ConvertArgImpl in arg_converter.h.
There are no functional changes.
PiperOrigin-RevId: 971269415
Change-Id: I37468757a69b6922506e833686b3ac7891a24aed1 parent b25c2d9 commit c3a88db
17 files changed
Lines changed: 1210 additions & 1166 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
44 | 44 | | |
45 | 45 | | |
46 | 46 | | |
| 47 | + | |
47 | 48 | | |
48 | 49 | | |
49 | 50 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
| 27 | + | |
27 | 28 | | |
28 | 29 | | |
29 | 30 | | |
| |||
0 commit comments