stmt_loop_link_s Struct Reference

#include <defines.h>

Data Fields

statementstmt
int id
int type
stmt_loop_linknext

Detailed Description

Special statement link that stores the ID of the statement that the specified statement pointer needs to traverse when it has completed. These structure types are used by the statement CDD reader. When a statement is read that points to a statement that hasn't been read out of the CDD, the read statement is stored into one of these link types that is linked like a stack (pushed/popped at the head). The head of this stack is interrogated by future statements being read out. When a statement's ID matches the ID at the head of the stack, the element is popped and the two statements are linked accordingly. This sequence is used to handle statement looping.


Field Documentation

ID of next statement after last

Referenced by statement_queue_add(), statement_queue_compare(), and statement_queue_display().

Pointer to next statement in stack

Referenced by statement_queue_add(), statement_queue_compare(), and statement_queue_display().

Pointer to last statement in loop

Referenced by statement_queue_add(), statement_queue_compare(), and statement_queue_display().

Specifies if the ID is for next_true (0), next_false (1) or head (2)

Referenced by statement_queue_add(), statement_queue_compare(), and statement_queue_display().


The documentation for this struct was generated from the following file:
Generated on Sun Nov 21 00:55:43 2010 for Covered by  doxygen 1.6.3