Module: Prism::StringFlags

Defined in:
lib/prism/node.rb

Overview

Flags for string nodes.

Constant Summary collapse

FORCED_UTF8_ENCODING =

internal bytes forced the encoding to UTF-8

1 << 2
FORCED_BINARY_ENCODING =

internal bytes forced the encoding to binary

1 << 3
FROZEN =

frozen by virtue of a ‘frozen_string_literal: true` comment or `–enable-frozen-string-literal`

1 << 4
MUTABLE =

mutable by virtue of a ‘frozen_string_literal: false` comment or `–disable-frozen-string-literal`

1 << 5