pub fn extract_selector(node: &Value) -> Option<Selector>Expand description
Extract the selector from a declaration node.
Returns a Selector — either a 4-byte FuncSelector (for functions,
public variables, and errors) or a 32-byte EventSelector (for events).