Structs§
- Assertion
- Class
Def - Constant
Def - Enum
Case Def - EnumDef
- FnParam
- Function
Def - Interface
Def - Method
Def - Property
Def - Stub
Slice - A snapshot of all PHP definitions contributed by a single stub file set.
- Template
Param - Trait
Def
Enums§
Functions§
- deduplicate_
params_ in_ slice - Deduplicate parameter lists across all methods and functions in a StubSlice.
Many PHP framework methods share identical parameter lists (e.g., thousands
of
(string $arg, array $opts)signatures). This function groups identical param lists globally (across all slices processed so far) and replaces them with Arc<FnParam> pointers to shared allocations. - wrap_
param_ type - Helper to wrap Option
in interned Arc . - wrap_
property_ type - Helper to wrap a
PropertyDeftype field (ty/inferred_ty/default) in an internedArc<Type>, deduplicating common property types via the global pool. SeePropertyDef. - wrap_
return_ type - Helper to wrap return type Option
in interned Arc .