Skip to main content

yy_parser

Struct yy_parser 

Source
#[repr(C)]
pub struct yy_parser {
Show 70 fields pub old_parser: *mut yy_parser, pub yylval: YYSTYPE, pub yychar: i32, pub yyerrstatus: i32, pub stack: *mut yy_stack_frame, pub stack_max1: *mut yy_stack_frame, pub ps: *mut yy_stack_frame, pub yylen: i32, pub lex_formbrack: i32, pub lex_brackets: i32, pub lex_casemods: i32, pub lex_brackstack: *mut i8, pub lex_casestack: *mut i8, pub lex_defer: u8, pub lex_dojoin: u8, pub expect: u8, pub preambled: bool, pub sub_no_recover: bool, pub sub_error_count: u8, pub lex_inpat: *mut op, pub lex_op: *mut op, pub lex_repl: *mut sv, pub lex_inwhat: u16, pub last_lop_op: u16, pub lex_starts: i32, pub lex_stuff: *mut sv, pub multi_start: i32, pub multi_end: i32, pub multi_open: u64, pub multi_close: u64, pub lex_re_reparsing: bool, pub lex_super_state: u8, pub lex_sub_inwhat: u16, pub lex_allbrackets: i32, pub lex_sub_op: *mut op, pub lex_sub_repl: *mut sv, pub lex_shared: *mut yy_lexshared, pub linestr: *mut sv, pub bufptr: *mut i8, pub oldbufptr: *mut i8, pub oldoldbufptr: *mut i8, pub bufend: *mut i8, pub linestart: *mut i8, pub last_uni: *mut i8, pub last_lop: *mut i8, pub copline: u32, pub in_my: u16, pub lex_state: u8, pub error_count: u8, pub in_my_stash: *mut hv, pub rsfp: *mut *mut _PerlIO, pub rsfp_filters: *mut av, pub nextval: [YYSTYPE; 5], pub nexttype: [i32; 5], pub nexttoke: u8, pub form_lex_state: u8, pub lex_fakeeof: u8, pub lex_flags: u8, pub saved_curcop: *mut cop, pub tokenbuf: [i8; 256], pub herelines: u32, pub preambling: u32, pub sig_elems: u64, pub sig_optelems: u64, pub sig_slurpy: i8, pub sig_seen: bool, pub recheck_utf8_validity: bool, pub _bitfield_align_1: [u8; 0], pub _bitfield_1: __BindgenBitfieldUnit<[u8; 1]>, pub __bindgen_padding_0: u32,
}

Fields§

§old_parser: *mut yy_parser§yylval: YYSTYPE§yychar: i32§yyerrstatus: i32§stack: *mut yy_stack_frame§stack_max1: *mut yy_stack_frame§ps: *mut yy_stack_frame§yylen: i32§lex_formbrack: i32§lex_brackets: i32§lex_casemods: i32§lex_brackstack: *mut i8§lex_casestack: *mut i8§lex_defer: u8§lex_dojoin: u8§expect: u8§preambled: bool§sub_no_recover: bool§sub_error_count: u8§lex_inpat: *mut op§lex_op: *mut op§lex_repl: *mut sv§lex_inwhat: u16§last_lop_op: u16§lex_starts: i32§lex_stuff: *mut sv§multi_start: i32§multi_end: i32§multi_open: u64§multi_close: u64§lex_re_reparsing: bool§lex_super_state: u8§lex_sub_inwhat: u16§lex_allbrackets: i32§lex_sub_op: *mut op§lex_sub_repl: *mut sv§lex_shared: *mut yy_lexshared§linestr: *mut sv§bufptr: *mut i8§oldbufptr: *mut i8§oldoldbufptr: *mut i8§bufend: *mut i8§linestart: *mut i8§last_uni: *mut i8§last_lop: *mut i8§copline: u32§in_my: u16§lex_state: u8§error_count: u8§in_my_stash: *mut hv§rsfp: *mut *mut _PerlIO§rsfp_filters: *mut av§nextval: [YYSTYPE; 5]§nexttype: [i32; 5]§nexttoke: u8§form_lex_state: u8§lex_fakeeof: u8§lex_flags: u8§saved_curcop: *mut cop§tokenbuf: [i8; 256]§herelines: u32§preambling: u32§sig_elems: u64§sig_optelems: u64§sig_slurpy: i8§sig_seen: bool§recheck_utf8_validity: bool§_bitfield_align_1: [u8; 0]§_bitfield_1: __BindgenBitfieldUnit<[u8; 1]>§__bindgen_padding_0: u32

Implementations§

Source§

impl yy_parser

Source

pub fn in_pod(&self) -> u16

Source

pub fn set_in_pod(&mut self, val: u16)

Source

pub unsafe fn in_pod_raw(this: *const yy_parser) -> u16

Source

pub unsafe fn set_in_pod_raw(this: *mut yy_parser, val: u16)

Source

pub fn filtered(&self) -> u16

Source

pub fn set_filtered(&mut self, val: u16)

Source

pub unsafe fn filtered_raw(this: *const yy_parser) -> u16

Source

pub unsafe fn set_filtered_raw(this: *mut yy_parser, val: u16)

Source

pub fn saw_infix_sigil(&self) -> u16

Source

pub fn set_saw_infix_sigil(&mut self, val: u16)

Source

pub unsafe fn saw_infix_sigil_raw(this: *const yy_parser) -> u16

Source

pub unsafe fn set_saw_infix_sigil_raw(this: *mut yy_parser, val: u16)

Source

pub fn parsed_sub(&self) -> u16

Source

pub fn set_parsed_sub(&mut self, val: u16)

Source

pub unsafe fn parsed_sub_raw(this: *const yy_parser) -> u16

Source

pub unsafe fn set_parsed_sub_raw(this: *mut yy_parser, val: u16)

Source

pub fn new_bitfield_1( in_pod: u16, filtered: u16, saw_infix_sigil: u16, parsed_sub: u16, ) -> __BindgenBitfieldUnit<[u8; 1]>

Trait Implementations§

Source§

impl Clone for yy_parser

Source§

fn clone(&self) -> yy_parser

Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for yy_parser

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
Source§

impl Copy for yy_parser

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.