Lines Matching refs:lex_state
216 ZEND_API void zend_save_lexical_state(zend_lex_state *lex_state) in zend_save_lexical_state() argument
218 lex_state->yy_leng = SCNG(yy_leng); in zend_save_lexical_state()
219 lex_state->yy_start = SCNG(yy_start); in zend_save_lexical_state()
220 lex_state->yy_text = SCNG(yy_text); in zend_save_lexical_state()
221 lex_state->yy_cursor = SCNG(yy_cursor); in zend_save_lexical_state()
222 lex_state->yy_marker = SCNG(yy_marker); in zend_save_lexical_state()
223 lex_state->yy_limit = SCNG(yy_limit); in zend_save_lexical_state()
225 lex_state->state_stack = SCNG(state_stack); in zend_save_lexical_state()
228 lex_state->nest_location_stack = SCNG(nest_location_stack); in zend_save_lexical_state()
231 lex_state->heredoc_label_stack = SCNG(heredoc_label_stack); in zend_save_lexical_state()
234 lex_state->in = SCNG(yy_in); in zend_save_lexical_state()
235 lex_state->yy_state = YYSTATE; in zend_save_lexical_state()
236 lex_state->filename = CG(compiled_filename); in zend_save_lexical_state()
237 lex_state->lineno = CG(zend_lineno); in zend_save_lexical_state()
240 lex_state->script_org = SCNG(script_org); in zend_save_lexical_state()
241 lex_state->script_org_size = SCNG(script_org_size); in zend_save_lexical_state()
242 lex_state->script_filtered = SCNG(script_filtered); in zend_save_lexical_state()
243 lex_state->script_filtered_size = SCNG(script_filtered_size); in zend_save_lexical_state()
244 lex_state->input_filter = SCNG(input_filter); in zend_save_lexical_state()
245 lex_state->output_filter = SCNG(output_filter); in zend_save_lexical_state()
246 lex_state->script_encoding = SCNG(script_encoding); in zend_save_lexical_state()
248 lex_state->on_event = SCNG(on_event); in zend_save_lexical_state()
249 lex_state->on_event_context = SCNG(on_event_context); in zend_save_lexical_state()
251 lex_state->ast = CG(ast); in zend_save_lexical_state()
252 lex_state->ast_arena = CG(ast_arena); in zend_save_lexical_state()
255 ZEND_API void zend_restore_lexical_state(zend_lex_state *lex_state) in zend_restore_lexical_state() argument
257 SCNG(yy_leng) = lex_state->yy_leng; in zend_restore_lexical_state()
258 SCNG(yy_start) = lex_state->yy_start; in zend_restore_lexical_state()
259 SCNG(yy_text) = lex_state->yy_text; in zend_restore_lexical_state()
260 SCNG(yy_cursor) = lex_state->yy_cursor; in zend_restore_lexical_state()
261 SCNG(yy_marker) = lex_state->yy_marker; in zend_restore_lexical_state()
262 SCNG(yy_limit) = lex_state->yy_limit; in zend_restore_lexical_state()
265 SCNG(state_stack) = lex_state->state_stack; in zend_restore_lexical_state()
268 SCNG(nest_location_stack) = lex_state->nest_location_stack; in zend_restore_lexical_state()
272 SCNG(heredoc_label_stack) = lex_state->heredoc_label_stack; in zend_restore_lexical_state()
274 SCNG(yy_in) = lex_state->in; in zend_restore_lexical_state()
275 YYSETCONDITION(lex_state->yy_state); in zend_restore_lexical_state()
276 CG(zend_lineno) = lex_state->lineno; in zend_restore_lexical_state()
277 zend_restore_compiled_filename(lex_state->filename); in zend_restore_lexical_state()
283 SCNG(script_org) = lex_state->script_org; in zend_restore_lexical_state()
284 SCNG(script_org_size) = lex_state->script_org_size; in zend_restore_lexical_state()
285 SCNG(script_filtered) = lex_state->script_filtered; in zend_restore_lexical_state()
286 SCNG(script_filtered_size) = lex_state->script_filtered_size; in zend_restore_lexical_state()
287 SCNG(input_filter) = lex_state->input_filter; in zend_restore_lexical_state()
288 SCNG(output_filter) = lex_state->output_filter; in zend_restore_lexical_state()
289 SCNG(script_encoding) = lex_state->script_encoding; in zend_restore_lexical_state()
291 SCNG(on_event) = lex_state->on_event; in zend_restore_lexical_state()
292 SCNG(on_event_context) = lex_state->on_event_context; in zend_restore_lexical_state()
294 CG(ast) = lex_state->ast; in zend_restore_lexical_state()
295 CG(ast_arena) = lex_state->ast_arena; in zend_restore_lexical_state()