[][src]Module papyrus::repl

The REPL API.

The REPL uses a state machine to control what methods can be applied to it.

Structs

EditingIndex

The index of the statement group, item, or crate being edited.

EvalResult

Represents an evaluating result. Signal should be checked and handled.

Evaluate

Repl evaluate state.

Evaluating

Repl evaluating state. This can be constructed via a eval_async call.

Print

Repl print state.

Read

Repl read state.

Repl

The repl structure. Stored as a state machine. See the [module level documentation] for more information.

ReplData

The inner configuration data of the repl.

Enums

Editing

Type being edited

ReadResult

Result of reading the current input buffer.

Signal

Return signals from evaluating. Sometimes there are extra signals that result from evaluating, such as the signal to exit the repl. These signals are enumerated here.