Type Definition ruby_prism_sys::pm_string_node_t

source ·
pub type pm_string_node_t = pm_string_node;
Expand description

StringNode

Represents a string literal, a string contained within a %w list, or plain string content within an interpolated string.

 "foo"
 ^^^^^
 %w[foo]
    ^^^
 "foo #{bar} baz"
  ^^^^      ^^^^

Type: ::PM_STRING_NODE

Flags (#pm_string_flags):

  • ::PM_STRING_FLAGS_FORCED_UTF8_ENCODING
  • ::PM_STRING_FLAGS_FORCED_BINARY_ENCODING
  • ::PM_STRING_FLAGS_FROZEN
  • ::PM_STRING_FLAGS_MUTABLE

@extends pm_node_t