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
Aliased Type§
#[repr(C)]pub struct pm_string_node_t {
pub base: pm_node,
pub opening_loc: pm_location_t,
pub content_loc: pm_location_t,
pub closing_loc: pm_location_t,
pub unescaped: pm_string_t,
}Fields§
§base: pm_nodeThe embedded base node.
opening_loc: pm_location_tStringNode#opening_loc
content_loc: pm_location_tStringNode#content_loc
closing_loc: pm_location_tStringNode#closing_loc
unescaped: pm_string_tStringNode#unescaped