Skip to main content

node_to_embed_text

Function node_to_embed_text 

Source
pub fn node_to_embed_text(node: &CodeNode) -> Option<String>
Expand description

Build the embeddable text for a CodeNode.

Concatenates signature + docstring for functions/methods, name + docstring for classes, docstring for modules.