Module parser

Source
Expand description

Detect if Ruby code parses successfully.

The REPL needs to check if code is valid to determine whether it should enter multiline editing mode.

Structs§

Parser
Wraps a artichoke_backend mruby parser.

Enums§

State
State shows whether artichoke can parse some code or why it cannot.