StructDeclaration.fit

Fit elements[] to the corresponding type of field[]. Input: loc sc elements The explicit arguments that given to construct object. stype The constructed object type. Returns false if any errors occur. Otherwise, returns true and elements[] are rewritten for the output.

class StructDeclaration
final
bool
fit
(
Loc loc
,,
Expressions* elements
,
)

Meta