Main Page | Data Structures | File List | Data Fields | Globals

flowcontrol.h File Reference

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

void emit_if (void)
void emit_then (void)
void emit_else (void)
void emit_begin (void)
void emit_again (void)
void emit_until (void)
void emit_while (void)
void emit_repeat (void)
void mark_do (void)
void resolve_loop (void)
void emit_case (void)
void emit_of (void)
void emit_endof (void)
void emit_endcase (void)
void announce_control_structs (int severity, char *call_cond, unsigned int abs_token_limit)
void clear_control_structs_to_limit (char *call_cond, unsigned int abs_token_limit)
void clear_control_structs (char *call_cond)

Variables

int control_stack_depth


Function Documentation

void announce_control_structs int  severity,
char *  call_cond,
unsigned int  abs_token_limit
 

Definition at line 1934 of file flowcontrol.c.

References control_struct_incomplete(), cstag_group::cs_abs_token_num, cstag_group::cs_not_dup, and cstag_group::prev.

Referenced by create_word(), dev_vocab_control_struct_check(), and error_check_locals().

Here is the call graph for this function:

void clear_control_structs char *  call_cond  ) 
 

Definition at line 2077 of file flowcontrol.c.

References clear_control_structs_to_limit().

Referenced by fcode_end_err_check().

Here is the call graph for this function:

void clear_control_structs_to_limit char *  call_cond,
unsigned int  abs_token_limit
 

Definition at line 2012 of file flowcontrol.c.

References control_stack_depth, control_struct_incomplete(), cstag_group::cs_abs_token_num, cstag_group::cs_not_dup, cstag_group::cs_tag, DO_CSTAG, do_loop_depth, pop_cstag(), and TKERROR.

Referenced by clear_control_structs(), and handle_internal().

Here is the call graph for this function:

void emit_again void   ) 
 

Definition at line 1328 of file flowcontrol.c.

References BEGIN_CSTAG, emit_token(), and resolve_backward().

Referenced by emit_repeat(), and handle_internal().

Here is the call graph for this function:

void emit_begin void   ) 
 

Definition at line 1294 of file flowcontrol.c.

References BEGIN_CSTAG, emit_token(), and mark_backward_target().

Referenced by handle_internal().

Here is the call graph for this function:

void emit_case void   ) 
 

Definition at line 1640 of file flowcontrol.c.

References CASE_CSTAG, emit_token(), and push_cstag().

Referenced by handle_internal().

Here is the call graph for this function:

void emit_else void   ) 
 

Definition at line 1258 of file flowcontrol.c.

References control_stack_depth, control_structure_swap(), emit_then(), emit_token(), IF_CSTAG, mark_forward_branch(), and not_cs_underflow.

Referenced by handle_internal().

Here is the call graph for this function:

void emit_endcase void   ) 
 

Definition at line 1845 of file flowcontrol.c.

References CASE_CSTAG, control_structure_swap(), cstag_group::cs_datum, emit_token(), ENDOF_CSTAG, matchup_control_structure(), pop_cstag(), and resolve_forward().

Referenced by handle_internal().

Here is the call graph for this function:

void emit_endof void   ) 
 

Definition at line 1760 of file flowcontrol.c.

References control_stack_size_test(), control_structure_swap(), emit_token(), ENDOF_CSTAG, mark_forward_branch(), OF_CSTAG, and resolve_forward().

Referenced by handle_internal().

Here is the call graph for this function:

void emit_if void   ) 
 

Definition at line 1155 of file flowcontrol.c.

References emit_token(), IF_CSTAG, and mark_forward_branch().

Referenced by abort_quote(), and handle_internal().

Here is the call graph for this function:

void emit_of void   ) 
 

Definition at line 1692 of file flowcontrol.c.

References CASE_CSTAG, cstag_group::cs_datum, emit_token(), mark_forward_branch(), matchup_control_structure(), and OF_CSTAG.

Referenced by handle_internal().

Here is the call graph for this function:

void emit_repeat void   ) 
 

Definition at line 1452 of file flowcontrol.c.

References BEGIN_CSTAG, emit_again(), emit_token(), matchup_two_control_structures(), not_consuming_two, not_cs_underflow, resolve_forward(), and WHILE_CSTAG.

Referenced by handle_internal().

Here is the call graph for this function:

void emit_then void   ) 
 

Definition at line 1196 of file flowcontrol.c.

References cstag_group::cs_tag, emit_token(), IF_CSTAG, resolve_forward(), and WHILE_CSTAG.

Referenced by abort_quote(), emit_else(), and handle_internal().

Here is the call graph for this function:

void emit_until void   ) 
 

Definition at line 1347 of file flowcontrol.c.

References BEGIN_CSTAG, emit_token(), and resolve_backward().

Referenced by handle_internal().

Here is the call graph for this function:

void emit_while void   ) 
 

Definition at line 1402 of file flowcontrol.c.

References control_stack_depth, control_structure_swap(), emit_token(), mark_forward_branch(), and WHILE_CSTAG.

Referenced by handle_internal().

Here is the call graph for this function:

void mark_do void   ) 
 

Definition at line 1518 of file flowcontrol.c.

References cstag_group::cs_not_dup, DO_CSTAG, do_loop_depth, mark_backward_target(), and mark_forward_branch().

Referenced by handle_internal().

Here is the call graph for this function:

void resolve_loop void   ) 
 

Definition at line 1599 of file flowcontrol.c.

References didnt_print_otl, DO_CSTAG, do_loop_depth, emit_offset(), matchup_two_control_structures(), not_consuming_two, not_cs_underflow, resolve_backward(), and resolve_forward().

Referenced by handle_internal().

Here is the call graph for this function:


Variable Documentation

int control_stack_depth
 

Definition at line 133 of file flowcontrol.c.

Referenced by clear_control_structs_to_limit(), control_stack_size_test(), create_word(), emit_else(), emit_while(), pop_cstag(), and push_cstag().


Generated on Fri Aug 18 14:04:25 2006 for Toke1.0 by  doxygen 1.4.4