123456789_123456789_123456789_123456789_123456789_

Module: Prism::InterpolatedStringNodeFlags

Relationships & Source Files
Defined in: lib/prism/node.rb

Overview

Flags for interpolated string nodes that indicated mutability if they are also marked as literals.

Constant Summary

  • FROZEN =

    frozen by virtue of a frozen_string_literal: true comment or --enable-frozen-string-literal; only for adjacent string literals like 'a' 'b'

    # File 'lib/prism/node.rb', line 16423
    1 << 2
  • MUTABLE =

    mutable by virtue of a frozen_string_literal: false comment or --disable-frozen-string-literal; only for adjacent string literals like 'a' 'b'

    # File 'lib/prism/node.rb', line 16426
    1 << 3