Traits
Renders a class-like reference (parent class, implemented interface, parent interface) while preserving whether the source wrote it fully qualified.
Evaluates constant expressions from stub sources to plain PHP values.
Resolves PhpParser expression nodes to plain PHP scalar values.
Shared attribute detection logic for stub parsers.
Shared utility methods for serializers: type parsing and JSON-safe conversion.
Stubs-specific serialization extending the shared SubEntitySerializerTrait.
Shared sub-entity serialization logic for both Stubs and Reflection serializers.
Walks the PhpDoc-bearing locations of an entity — the entity itself, then each of its methods when it is class-like — and collects whatever an inspector reports at each one.