[][src]Struct libperl_sys::perl_core::yy_parser

#[repr(C)]
pub struct yy_parser {
    pub old_parser: *mut yy_parser,
    pub yylval: YYSTYPE,
    pub yychar: c_int,
    pub yyerrstatus: c_int,
    pub yylen: c_int,
    pub stack: *mut yy_stack_frame,
    pub stack_max1: *mut yy_stack_frame,
    pub ps: *mut yy_stack_frame,
    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 lex_formbrack: I32,
    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: IV,
    pub sig_optelems: IV,
    pub sig_slurpy: c_char,
    pub recheck_utf8_validity: bool,
    pub _bitfield_1: __BindgenBitfieldUnit<[u8; 1], u8>,
    pub __bindgen_padding_0: [u8; 5],
}

Fields

old_parser: *mut yy_parseryylval: YYSTYPEyychar: c_intyyerrstatus: c_intyylen: c_intstack: *mut yy_stack_framestack_max1: *mut yy_stack_frameps: *mut yy_stack_framelex_brackets: I32lex_casemods: I32lex_brackstack: *mut c_charlex_casestack: *mut c_charlex_defer: U8lex_dojoin: U8expect: U8preambled: boollex_formbrack: I32lex_inpat: *mut OPlex_op: *mut OPlex_repl: *mut SVlex_inwhat: U16last_lop_op: U16lex_starts: I32lex_stuff: *mut SVmulti_start: I32multi_end: I32multi_open: UVmulti_close: UVlex_re_reparsing: boollex_super_state: U8lex_sub_inwhat: U16lex_allbrackets: I32lex_sub_op: *mut OPlex_sub_repl: *mut SVlex_shared: *mut LEXSHAREDlinestr: *mut SVbufptr: *mut c_charoldbufptr: *mut c_charoldoldbufptr: *mut c_charbufend: *mut c_charlinestart: *mut c_charlast_uni: *mut c_charlast_lop: *mut c_charcopline: line_tin_my: U16lex_state: U8error_count: U8in_my_stash: *mut HVrsfp: *mut PerlIOrsfp_filters: *mut AVnextval: [YYSTYPE; 5]nexttype: [I32; 5]nexttoke: U8form_lex_state: U8lex_fakeeof: U8lex_flags: U8saved_curcop: *mut COPtokenbuf: [c_char; 256]herelines: line_tpreambling: line_tsig_elems: IVsig_optelems: IVsig_slurpy: c_charrecheck_utf8_validity: bool_bitfield_1: __BindgenBitfieldUnit<[u8; 1], u8>__bindgen_padding_0: [u8; 5]

Methods

impl yy_parser[src]

pub fn in_pod(&self) -> c_uint[src]

pub fn set_in_pod(&mut self, val: c_uint)[src]

pub fn filtered(&self) -> c_uint[src]

pub fn set_filtered(&mut self, val: c_uint)[src]

pub fn saw_infix_sigil(&self) -> c_uint[src]

pub fn set_saw_infix_sigil(&mut self, val: c_uint)[src]

pub fn parsed_sub(&self) -> c_uint[src]

pub fn set_parsed_sub(&mut self, val: c_uint)[src]

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

Trait Implementations

impl Clone for yy_parser[src]

impl Copy for yy_parser[src]

impl Debug for yy_parser[src]

Auto Trait Implementations

Blanket Implementations

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> From<T> for T[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

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

The type returned in the event of a conversion error.

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]