FunctionDescriptor

Descriptor of a Move function

Types

Link copied to clipboard
sealed class Visibility

Properties

Link copied to clipboard
abstract val isEntry: Boolean?

Whether the function is marked entry or not.

Link copied to clipboard
abstract val name: String?

Name of the function

Link copied to clipboard

Formal parameter types.

Link copied to clipboard

Returns the field-presence view for this FunctionDescriptor instance.

Link copied to clipboard
abstract val returns: List<OpenSignature>

Return types.

Link copied to clipboard

Ability constraints for type parameters

Link copied to clipboard

Whether the function is public, private or public(friend)

Functions

Link copied to clipboard
fun FunctionDescriptor.copy(body: <Error class: unknown class>.() -> Unit = {}): FunctionDescriptor

Copies the original message, including unknown fields.