pub struct XStringNode<'pr> { /* private fields */ }Expand description
Represents an xstring literal with no interpolation.
`foo`
^^^^^Implementations§
Source§impl<'pr> XStringNode<'pr>
impl<'pr> XStringNode<'pr>
Sourcepub fn flags(&self) -> pm_node_flags_t
pub fn flags(&self) -> pm_node_flags_t
Returns the flags of this node.
Sourcepub fn is_forced_utf8_encoding(&self) -> bool
pub fn is_forced_utf8_encoding(&self) -> bool
internal bytes forced the encoding to UTF-8
Sourcepub fn is_forced_binary_encoding(&self) -> bool
pub fn is_forced_binary_encoding(&self) -> bool
internal bytes forced the encoding to binary
Sourcepub fn opening_loc(&self) -> Location<'pr>
pub fn opening_loc(&self) -> Location<'pr>
Returns the opening_loc param
Sourcepub fn content_loc(&self) -> Location<'pr>
pub fn content_loc(&self) -> Location<'pr>
Returns the content_loc param
Sourcepub fn closing_loc(&self) -> Location<'pr>
pub fn closing_loc(&self) -> Location<'pr>
Returns the closing_loc param