Result

enum Result : Enum<Primitive.Result>

The success state of a primitive attempt.

Entries

Link copied to clipboard

The primitive succeeded, and the result, if any, has been stored for subsequent use in the Interpreter.latestResult.

Link copied to clipboard

The primitive failed. The backup Avail code should be executed instead.

Link copied to clipboard

The continuation was replaced as a consequence of the primitive. This is a specific form of success, but no result can be produced due to the fact that the new continuation does not have a place to write it.

Link copied to clipboard

A primitive with Flag.CanInline and Flag.Invokes has set up the Interpreter.function and Interpreter.argsBuffer for a call, but has not called it because that's not permitted from within a Primitive.

Link copied to clipboard

The current fiber has been suspended as a consequence of this primitive executing, so the interpreter should switch processes now.

Properties

Link copied to clipboard
val checkedField: CheckedField

The CheckedField for this instance.

Link copied to clipboard
val name: String
Link copied to clipboard
val ordinal: Int