RPC_MOVE_FUNCTION_FIELDS

data class RPC_MOVE_FUNCTION_FIELDS(val name: String, val visibility: MoveVisibility?, val isEntry: Boolean?, val parameters: List<RPC_MOVE_FUNCTION_FIELDS.Parameter>?, val typeParameters: List<RPC_MOVE_FUNCTION_FIELDS.TypeParameter>?, val return: List<RPC_MOVE_FUNCTION_FIELDS.Return>?) : Fragment.Data

Constructors

Link copied to clipboard
constructor(name: String, visibility: MoveVisibility?, isEntry: Boolean?, parameters: List<RPC_MOVE_FUNCTION_FIELDS.Parameter>?, typeParameters: List<RPC_MOVE_FUNCTION_FIELDS.TypeParameter>?, return: List<RPC_MOVE_FUNCTION_FIELDS.Return>?)

Types

Link copied to clipboard
data class Parameter(val signature: Any)
Link copied to clipboard
data class Return(val repr: String, val signature: Any)
Link copied to clipboard
data class TypeParameter(val constraints: List<MoveAbility>)

Properties

Link copied to clipboard

Whether the function has the entry modifier or not.

Link copied to clipboard

The function's (unqualified) name.

Link copied to clipboard

The function's parameter types. These types can reference type parameters introduce by this function (see typeParameters).

Link copied to clipboard

The function's return types. There can be multiple because functions in Move can return multiple values. These types can reference type parameters introduced by this function (see typeParameters).

Link copied to clipboard

Constraints on the function's formal type parameters. Move bytecode does not name type parameters, so when they are referenced (e.g. in parameter and return types) they are identified by their index in this list.

Link copied to clipboard

The function's visibility: public, public(friend), or private.