pub type pm_source_file_node_t = pm_source_file_node;Expand description
SourceFileNode
Represents the use of the __FILE__ keyword.
__FILE__
^^^^^^^^Type: ::PM_SOURCE_FILE_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_source_file_node_t {
pub base: pm_node,
pub filepath: pm_string_t,
}Fields§
§base: pm_nodeThe embedded base node.
filepath: pm_string_tSourceFileNode#filepath
Represents the file path being parsed. This corresponds directly to the filepath option given to the various Prism::parse* APIs.