Skip to main content

record_header

Function record_header 

Source
pub fn record_header<'a>(record: &Node<'a>) -> Option<Node<'a>>
Expand description

A record’s header: the component list in the parameters field of a record_declaration, a sibling of its class_body — the node the FuncOpener row opens the implicit canonical constructor’s space on (#1842). None for any other node: every callable holds its own list in a field of the same name, so the record’s kind is part of the relation. A structural fact about the construct the rows recognise, held once for the row’s gate and for the consumers that step between a record and its header — the space’s name, nargs’ parameter owner, npm’s method count (#1863); pinned by java_record_header_is_the_records_own_list.