Struct yy_parser

Source
#[repr(C)]
pub struct yy_parser {
Show 70 fields pub old_parser: *mut yy_parser, pub yylval: YYSTYPE, pub yychar: c_int, pub yyerrstatus: c_int, pub stack: *mut yy_stack_frame, pub stack_max1: *mut yy_stack_frame, pub ps: *mut yy_stack_frame, pub yylen: c_int, pub lex_formbrack: I32, pub lex_brackets: I32, pub lex_casemods: I32, pub lex_brackstack: *mut c_char, pub lex_casestack: *mut c_char, 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: UV, pub multi_close: UV, 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 LEXSHARED, pub linestr: *mut SV, pub bufptr: *mut c_char, pub oldbufptr: *mut c_char, pub oldoldbufptr: *mut c_char, pub bufend: *mut c_char, pub linestart: *mut c_char, pub last_uni: *mut c_char, pub last_lop: *mut c_char, pub copline: line_t, pub in_my: U16, pub lex_state: U8, pub error_count: U8, pub in_my_stash: *mut HV, pub rsfp: *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: [c_char; 256], pub herelines: line_t, pub preambling: line_t, pub sig_elems: UV, pub sig_optelems: UV, pub sig_slurpy: c_char, 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: c_int§yyerrstatus: c_int§stack: *mut yy_stack_frame§stack_max1: *mut yy_stack_frame§ps: *mut yy_stack_frame§yylen: c_int§lex_formbrack: I32§lex_brackets: I32§lex_casemods: I32§lex_brackstack: *mut c_char§lex_casestack: *mut c_char§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: UV§multi_close: UV§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 LEXSHARED§linestr: *mut SV§bufptr: *mut c_char§oldbufptr: *mut c_char§oldoldbufptr: *mut c_char§bufend: *mut c_char§linestart: *mut c_char§last_uni: *mut c_char§last_lop: *mut c_char§copline: line_t§in_my: U16§lex_state: U8§error_count: U8§in_my_stash: *mut HV§rsfp: *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: [c_char; 256]§herelines: line_t§preambling: line_t§sig_elems: UV§sig_optelems: UV§sig_slurpy: c_char§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 fn filtered(&self) -> U16

Source

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

Source

pub fn saw_infix_sigil(&self) -> U16

Source

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

Source

pub fn parsed_sub(&self) -> U16

Source

pub fn set_parsed_sub(&mut self, 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 copy of the value. Read more
1.0.0 · 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

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.