Mirror the Prism.parse_file_failure?
API by using the serialization API.
SyntaxSuggest.use_prism_parser?
[Private]
Tells us if the prism parser is available for use or if we should fallback to ‘Ripper`
@@foo += bar ^^^^^^^^^^^^
@@foo &&= bar ^^^^^^^^^^^^^
@@foo ||= bar ^^^^^^^^^^^^^
$foo += bar ^^^^^^^^^^^
$foo &&= bar ^^^^^^^^^^^^
$foo ||= bar ^^^^^^^^^^^^
@foo += bar ^^^^^^^^^^^
@foo &&= bar ^^^^^^^^^^^^
@foo ||= bar ^^^^^^^^^^^^
foo += bar ^^^^^^^^^^
foo &&= bar ^^^^^^^^^^^
foo ||= bar ^^^^^^^^^^^
If this boolean is false, types unsupported by the JSON
format will be serialized as strings. If this boolean is true, types unsupported by the JSON
format will raise a JSON::GeneratorError
.
If this boolean is false, types unsupported by the JSON
format will be serialized as strings. If this boolean is true, types unsupported by the JSON
format will raise a JSON::GeneratorError
.
This sets whether or not to serialize types unsupported by the JSON
format as strings. If this boolean is false, types unsupported by the JSON
format will be serialized as strings. If this boolean is true, types unsupported by the JSON
format will raise a JSON::GeneratorError
.
Whether the critical flag is set on this property.
Writes data
onto the IO
, raising a FileOverflow
exception if the number of bytes will be more than limit
Writes data
onto the IO
@@foo = 1 ^^^^^^^^^
$foo = 1 ^^^^^^^^
@foo = 1 ^^^^^^^^