Kannel: Open Source WAP and SMS gateway  $Revision: 5037 $
WsStatementRec Struct Reference

#include <wsstree.h>

Data Fields

WsStatementType type
 
WsUInt32 first_line
 
WsUInt32 last_line
 
union {
   WsList *   block
 
   WsList *   var
 
   WsExpression *   expr
 
   struct {
      WsExpression *   expr
 
      struct WsStatementRec *   s_then
 
      struct WsStatementRec *   s_else
 
   }   s_if
 
   struct {
      WsList *   init
 
      WsExpression *   e1
 
      WsExpression *   e2
 
      WsExpression *   e3
 
      struct WsStatementRec *   stmt
 
   }   s_for
 
   struct {
      WsExpression *   expr
 
      struct WsStatementRec *   stmt
 
   }   s_while
 
u
 

Detailed Description

Definition at line 521 of file wsstree.h.

Field Documentation

WsList* WsStatementRec::block

Definition at line 529 of file wsstree.h.

Referenced by ws_stmt_block(), and ws_stmt_linearize().

WsExpression* WsStatementRec::e1

Definition at line 544 of file wsstree.h.

WsExpression* WsStatementRec::e2

Definition at line 545 of file wsstree.h.

WsExpression* WsStatementRec::e3

Definition at line 546 of file wsstree.h.

WsExpression* WsStatementRec::expr

Definition at line 531 of file wsstree.h.

Referenced by ws_stmt_expr(), ws_stmt_linearize(), and ws_stmt_return().

WsUInt32 WsStatementRec::first_line

Definition at line 524 of file wsstree.h.

Referenced by stmt_alloc(), ws_stmt_linearize(), and yyparse().

WsList* WsStatementRec::init

Definition at line 543 of file wsstree.h.

WsUInt32 WsStatementRec::last_line

Definition at line 525 of file wsstree.h.

Referenced by stmt_alloc(), and ws_stmt_linearize().

struct WsStatementRec* WsStatementRec::s_else

Definition at line 537 of file wsstree.h.

struct { ... } WsStatementRec::s_for

Referenced by ws_stmt_for(), and ws_stmt_linearize().

struct { ... } WsStatementRec::s_if

Referenced by ws_stmt_if(), and ws_stmt_linearize().

struct WsStatementRec* WsStatementRec::s_then

Definition at line 536 of file wsstree.h.

struct { ... } WsStatementRec::s_while

Referenced by ws_stmt_linearize(), and ws_stmt_while().

struct WsStatementRec* WsStatementRec::stmt

Definition at line 547 of file wsstree.h.

WsStatementType WsStatementRec::type

Definition at line 523 of file wsstree.h.

Referenced by stmt_alloc(), and ws_stmt_linearize().

WsList* WsStatementRec::var

Definition at line 530 of file wsstree.h.

Referenced by ws_stmt_linearize(), and ws_stmt_variable().


The documentation for this struct was generated from the following file:
See file LICENSE for details about the license agreement for using, modifying, copying or deriving work from this software.