Skip to main content

members

Function members 

Source
pub fn members(ast: &Ast, type_: Id<TypeNode>) -> Vec<Member>
Expand description

Every member an aggregate has, a base’s before its own.

Ast::members_of answers with a type’s own members. A backend that walks it and treats the answer as the whole one writes half a sample: XTypes 1.3 §7.4.1.1.5.1 puts the base’s members on the wire first, “as if all of the members had been defined, in the same order, in the most-derived type”. Defect 11 of the sweep.