Type Alias phper_sys::zend_php_scanner_globals
source · pub type zend_php_scanner_globals = _zend_php_scanner_globals;Aliased Type§
struct zend_php_scanner_globals {Show 25 fields
pub yy_in: *mut _zend_file_handle,
pub yy_out: *mut _zend_file_handle,
pub yy_leng: u32,
pub yy_start: *mut u8,
pub yy_text: *mut u8,
pub yy_cursor: *mut u8,
pub yy_marker: *mut u8,
pub yy_limit: *mut u8,
pub yy_state: i32,
pub state_stack: _zend_stack,
pub heredoc_label_stack: _zend_ptr_stack,
pub nest_location_stack: _zend_stack,
pub heredoc_scan_ahead: bool,
pub heredoc_indentation: i32,
pub heredoc_indentation_uses_spaces: bool,
pub script_org: *mut u8,
pub script_org_size: usize,
pub script_filtered: *mut u8,
pub script_filtered_size: usize,
pub input_filter: Option<unsafe extern "C" fn(_: *mut *mut u8, _: *mut usize, _: *const u8, _: usize) -> usize>,
pub output_filter: Option<unsafe extern "C" fn(_: *mut *mut u8, _: *mut usize, _: *const u8, _: usize) -> usize>,
pub script_encoding: *const _zend_encoding,
pub scanned_string_len: i32,
pub on_event: Option<unsafe extern "C" fn(_: u32, _: i32, _: i32, _: *const i8, _: usize, _: *mut c_void)>,
pub on_event_context: *mut c_void,
}Fields§
§yy_in: *mut _zend_file_handle§yy_out: *mut _zend_file_handle§yy_leng: u32§yy_start: *mut u8§yy_text: *mut u8§yy_cursor: *mut u8§yy_marker: *mut u8§yy_limit: *mut u8§yy_state: i32§state_stack: _zend_stack§heredoc_label_stack: _zend_ptr_stack§nest_location_stack: _zend_stack§heredoc_scan_ahead: bool§heredoc_indentation: i32§heredoc_indentation_uses_spaces: bool§script_org: *mut u8§script_org_size: usize§script_filtered: *mut u8§script_filtered_size: usize§input_filter: Option<unsafe extern "C" fn(_: *mut *mut u8, _: *mut usize, _: *const u8, _: usize) -> usize>§output_filter: Option<unsafe extern "C" fn(_: *mut *mut u8, _: *mut usize, _: *const u8, _: usize) -> usize>§script_encoding: *const _zend_encoding§scanned_string_len: i32§on_event: Option<unsafe extern "C" fn(_: u32, _: i32, _: i32, _: *const i8, _: usize, _: *mut c_void)>§on_event_context: *mut c_void