[−][src]Struct mruby_sys::mrb_parser_state
Fields
mrb: *mut mrb_state
pool: *mut mrb_pool
cells: *mut mrb_ast_node
s: *const c_char
send: *const c_char
cxt: *mut mrbc_context
filename_sym: mrb_sym
lineno: c_int
column: c_int
lstate: mrb_lex_state_enum
lex_strterm: *mut mrb_ast_node
cond_stack: c_uint
cmdarg_stack: c_uint
paren_nest: c_int
lpar_beg: c_int
in_def: c_int
in_single: c_int
_bitfield_1: __BindgenBitfieldUnit<[u8; 1], u8>
locals: *mut mrb_ast_node
pb: *mut mrb_ast_node
tokbuf: *mut c_char
buf: [c_char; 256]
tidx: c_int
tsiz: c_int
all_heredocs: *mut mrb_ast_node
heredocs_from_nextline: *mut mrb_ast_node
parsing_heredoc: *mut mrb_ast_node
lex_strterm_before_heredoc: *mut mrb_ast_node
ylval: *mut c_void
nerr: usize
nwarn: usize
tree: *mut mrb_ast_node
_bitfield_2: __BindgenBitfieldUnit<[u8; 1], u8>
error_buffer: [mrb_parser_message; 10]
warn_buffer: [mrb_parser_message; 10]
filename_table: *mut mrb_sym
filename_table_length: u16
current_filename_index: u16
jmp: *mut mrb_jmpbuf
Methods
impl mrb_parser_state
[src]
pub fn cmd_start(&self) -> mrb_bool
[src]
pub fn set_cmd_start(&mut self, val: mrb_bool)
[src]
pub fn new_bitfield_1(cmd_start: mrb_bool) -> __BindgenBitfieldUnit<[u8; 1], u8>
[src]
pub fn no_optimize(&self) -> mrb_bool
[src]
pub fn set_no_optimize(&mut self, val: mrb_bool)
[src]
pub fn on_eval(&self) -> mrb_bool
[src]
pub fn set_on_eval(&mut self, val: mrb_bool)
[src]
pub fn capture_errors(&self) -> mrb_bool
[src]
pub fn set_capture_errors(&mut self, val: mrb_bool)
[src]
pub fn new_bitfield_2(
no_optimize: mrb_bool,
on_eval: mrb_bool,
capture_errors: mrb_bool
) -> __BindgenBitfieldUnit<[u8; 1], u8>
[src]
no_optimize: mrb_bool,
on_eval: mrb_bool,
capture_errors: mrb_bool
) -> __BindgenBitfieldUnit<[u8; 1], u8>
Trait Implementations
impl Clone for mrb_parser_state
[src]
fn clone(&self) -> mrb_parser_state
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl Copy for mrb_parser_state
[src]
Auto Trait Implementations
impl !Send for mrb_parser_state
impl Unpin for mrb_parser_state
impl !Sync for mrb_parser_state
impl UnwindSafe for mrb_parser_state
impl RefUnwindSafe for mrb_parser_state
Blanket Implementations
impl<T> From<T> for T
[src]
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,