pub fn directive_to_wrapper(directive: &Directive) -> DirectiveWrapperExpand description
Convert a directive to its serializable wrapper.
Note: This does not set filename/lineno - those must be set by the caller if source location tracking is needed.