Lines Matching defs:yy_parser

34 typedef struct yy_parser {  struct
38 struct yy_parser *old_parser; /* previous value of PL_parser */ argument
39 YYSTYPE yylval; /* value of lookahead symbol, set by yylex() */
40 int yychar; /* The lookahead symbol. */
43 int yyerrstatus;
45 yy_stack_frame *stack; /* base of stack */
46 yy_stack_frame *stack_max1;/* (top-1)th element of allocated stack */
47 yy_stack_frame *ps; /* current stack frame */
48 int yylen; /* length of active reduction */
52 I32 lex_formbrack; /* bracket count at outer format level */
53 I32 lex_brackets; /* square and curly bracket count */
54 I32 lex_casemods; /* casemod count */
55 char *lex_brackstack;/* what kind of brackets to pop */
56 char *lex_casestack; /* what kind of case mods in effect */
57 U8 lex_defer; /* state after determined token */
58 U8 lex_dojoin; /* doing an array interpolation
60 U8 expect; /* how to interpret ambiguous tokens */
61 bool preambled;
62 bool sub_no_recover; /* can't recover from a sublex error */
63 U8 sub_error_count; /* the number of errors before sublexing */
64 OP *lex_inpat; /* in pattern $) and $| are special */
65 OP *lex_op; /* extra info to pass back on op */
66 SV *lex_repl; /* runtime replacement from s/// */
67 U16 lex_inwhat; /* what kind of quoting are we in */
68 OPCODE last_lop_op; /* last named list or unary operator */
69 I32 lex_starts; /* how many interps done on level */
70 SV *lex_stuff; /* runtime pattern from m// or s/// */
71 I32 multi_start; /* 1st line of multi-line string */
72 I32 multi_end; /* last line of multi-line string */
73 UV multi_open; /* delimiter code point of said string */
74 UV multi_close; /* delimiter code point of said string */
75 bool lex_re_reparsing; /* we're doing G_RE_REPARSING */
76 U8 lex_super_state;/* lexer state to save */
77 U16 lex_sub_inwhat; /* "lex_inwhat" to use in sublex_push */
78 I32 lex_allbrackets;/* (), [], {}, ?: bracket count */
79 OP *lex_sub_op; /* current op in y/// or pattern */
80 SV *lex_sub_repl; /* repl of s/// used in sublex_push */
81 LEXSHARED *lex_shared;
82 SV *linestr; /* current chunk of src text */
83 char *bufptr; /* carries the cursor (current parsing
86 char *oldbufptr; /* in yylex, beginning of current token */
87 char *oldoldbufptr; /* in yylex, beginning of previous token */
88 char *bufend;
89 char *linestart; /* beginning of most recently read line */
90 char *last_uni; /* position of last named-unary op */
91 char *last_lop; /* position of last list operator */
96 line_t copline;
97 U16 in_my; /* we're compiling a "my"/"our" declaration */
98 U8 lex_state; /* next token is determined */
99 U8 error_count; /* how many compile errors so far, max 10 */
100 HV *in_my_stash; /* declared class of this "my" declaration */
101 PerlIO *rsfp; /* current source file pointer */
102 AV *rsfp_filters; /* holds chain of active source filters */
127 } yy_parser; argument