Skip to main content Module hover Copy item path Source extract_documentation Extract documentation text from a node.
Handles both object form {text: "..."} and plain string form. extract_selector Extract the selector from a declaration node.
Returns (selector_hex, selector_kind) where kind is “function”, “error”, or “event”. find_node_by_id Find the raw AST node with the given id by walking all sources. format_natspec Format NatSpec documentation as markdown.
Strips leading @ tags and formats them nicely.
When inherited_doc is provided, it replaces @inheritdoc lines with the resolved content. hover_info Produce hover information for the symbol at the given position. resolve_inheritdoc Resolve @inheritdoc ParentName by matching function selectors.