Skip to main content

Module storage

Module storage 

Source

Structs§

Assertion
ClassStorage
ConstantStorage
EnumCaseStorage
EnumStorage
FnParam
FunctionStorage
InterfaceStorage
Location
Declaration location.
MethodStorage
PropertyStorage
StubSlice
A snapshot of all PHP definitions contributed by a single stub file set.
TemplateParam
TraitStorage

Enums§

AssertionKind
Visibility

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_return_type
Helper to wrap return type Option in interned Arc.