Kannel: Open Source WAP and SMS gateway  svn-r5335
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

◆ block

WsList* WsStatementRec::block

Definition at line 529 of file wsstree.h.

Referenced by ws_stmt_block(), and ws_stmt_linearize().

◆ e1

WsExpression* WsStatementRec::e1

Definition at line 544 of file wsstree.h.

◆ e2

WsExpression* WsStatementRec::e2

Definition at line 545 of file wsstree.h.

◆ e3

WsExpression* WsStatementRec::e3

Definition at line 546 of file wsstree.h.

◆ expr

WsExpression* WsStatementRec::expr

Definition at line 531 of file wsstree.h.

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

◆ first_line

WsUInt32 WsStatementRec::first_line

Definition at line 524 of file wsstree.h.

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

◆ init

WsList* WsStatementRec::init

Definition at line 543 of file wsstree.h.

◆ last_line

WsUInt32 WsStatementRec::last_line

Definition at line 525 of file wsstree.h.

Referenced by stmt_alloc(), and ws_stmt_linearize().

◆ s_else

struct WsStatementRec* WsStatementRec::s_else

Definition at line 537 of file wsstree.h.

◆ s_for

struct { ... } WsStatementRec::s_for

Referenced by ws_stmt_for(), and ws_stmt_linearize().

◆ s_if

struct { ... } WsStatementRec::s_if

Referenced by ws_stmt_if(), and ws_stmt_linearize().

◆ s_then

struct WsStatementRec* WsStatementRec::s_then

Definition at line 536 of file wsstree.h.

◆ s_while

struct { ... } WsStatementRec::s_while

Referenced by ws_stmt_linearize(), and ws_stmt_while().

◆ stmt

struct WsStatementRec* WsStatementRec::stmt

Definition at line 547 of file wsstree.h.

◆ type

WsStatementType WsStatementRec::type

Definition at line 523 of file wsstree.h.

Referenced by stmt_alloc(), and ws_stmt_linearize().

◆ u

◆ var

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.