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 =
# File 'lib/prism/node.rb', line 19826
frozen by virtue of a
frozen_string_literal: truecomment or ‘–enable-frozen-string-literal`; only for adjacent string literals like'a' 'b'1 << 2
-
MUTABLE =
# File 'lib/prism/node.rb', line 19829
mutable by virtue of a
frozen_string_literal: falsecomment or ‘–disable-frozen-string-literal`; only for adjacent string literals like'a' 'b'1 << 3