pm_interpolated_string_node_t

Type Alias pm_interpolated_string_node_t 

Source
pub type pm_interpolated_string_node_t = pm_interpolated_string_node;
Expand description

InterpolatedStringNode

Represents a string literal that contains interpolation.

 "foo #{bar} baz"
 ^^^^^^^^^^^^^^^^

Type: ::PM_INTERPOLATED_STRING_NODE

Flags (#pm_interpolated_string_node_flags):

  • ::PM_INTERPOLATED_STRING_NODE_FLAGS_FROZEN
  • ::PM_INTERPOLATED_STRING_NODE_FLAGS_MUTABLE

@extends pm_node_t

Aliased Type§

#[repr(C)]
pub struct pm_interpolated_string_node_t { pub base: pm_node, pub opening_loc: pm_location_t, pub parts: pm_node_list, pub closing_loc: pm_location_t, }

Fields§

§base: pm_node

The embedded base node.

§opening_loc: pm_location_t

InterpolatedStringNode#opening_loc

§parts: pm_node_list

InterpolatedStringNode#parts

§closing_loc: pm_location_t

InterpolatedStringNode#closing_loc