ast_string(target: &T) → utf8

Category: [reflection](builtinsreflection)_

Pretty-print the canonical source behind a reference (type/interface/union/symbol_set/block/field) or a function value.

ParameterTypeDescriptionRemarks
target&TA dataref to a declaration, or a function value.
returnsutf8The canonical (pretty-printed) source text.
wcl
ast_string(Image)   // pretty-print a type's source → "type Image { ... }"