pub struct SymbolNode<'pr> { /* private fields */ }Expand description
Represents a symbol literal or a symbol contained within a %i list.
:foo
^^^^%i[foo]
^^^Implementations§
Source§impl<'pr> SymbolNode<'pr>
impl<'pr> SymbolNode<'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 is_forced_us_ascii_encoding(&self) -> bool
pub fn is_forced_us_ascii_encoding(&self) -> bool
internal bytes forced the encoding to US-ASCII
Sourcepub fn opening_loc(&self) -> Option<Location<'pr>>
pub fn opening_loc(&self) -> Option<Location<'pr>>
Returns the opening_loc param
Sourcepub fn closing_loc(&self) -> Option<Location<'pr>>
pub fn closing_loc(&self) -> Option<Location<'pr>>
Returns the closing_loc param