SignatureComponent

A component of a function signature, representing a parameter or a return value.

Declaration

struct SignatureComponent

Discussion

Do not initialize this directly. Instead, create a Signature.

Properties

The annotation of the parameter or return value.

The default value of the parameter.

Whether the parameter or return value has an annotation.

Whether the parameter has a default value.

Whether the component represents a return value.

The name of the parameter.

The type of the signature component.