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

#include <wsstree.h>

Data Fields

WsExpressionType type
 
WsUInt32 line
 
union {
   struct {
      struct WsExpressionRec *   left
 
      struct WsExpressionRec *   right
 
   }   comma
 
   struct {
      char *   identifier
 
      int   op
 
      struct WsExpressionRec *   expr
 
   }   assign
 
   struct {
      struct WsExpressionRec *   e_cond
 
      struct WsExpressionRec *   e_then
 
      struct WsExpressionRec *   e_else
 
   }   conditional
 
   struct {
      int   type
 
      struct WsExpressionRec *   left
 
      struct WsExpressionRec *   right
 
   }   logical
 
   struct {
      int   type
 
      struct WsExpressionRec *   left
 
      struct WsExpressionRec *   right
 
   }   binary
 
   struct {
      int   type
 
      struct WsExpressionRec *   expr
 
   }   unary
 
   struct {
      WsBool   addp
 
      char *   variable
 
   }   unary_var
 
   struct {
      WsBool   addp
 
      char *   variable
 
   }   postfix_var
 
   struct {
      int   type
 
      char *   base
 
      char *   name
 
      WsList *   arguments
 
   }   call
 
   struct {
      int   sign
 
      WsUInt32   ival
 
   }   integer
 
   char *   symbol
 
   WsUInt16   cindex
 
   WsFloat   fval
 
   WsUtf8String   string
 
u
 

Detailed Description

Definition at line 272 of file wsstree.h.

Field Documentation

WsBool WsExpressionRec::addp

Definition at line 338 of file wsstree.h.

WsList* WsExpressionRec::arguments

Definition at line 363 of file wsstree.h.

struct { ... } WsExpressionRec::assign
char* WsExpressionRec::base

Definition at line 357 of file wsstree.h.

struct { ... } WsExpressionRec::binary
struct { ... } WsExpressionRec::call

Referenced by ws_expr_call(), and ws_expr_linearize().

WsUInt16 WsExpressionRec::cindex

Definition at line 381 of file wsstree.h.

struct { ... } WsExpressionRec::comma

Referenced by ws_expr_comma(), and ws_expr_linearize().

struct { ... } WsExpressionRec::conditional
struct WsExpressionRec* WsExpressionRec::e_cond

Definition at line 302 of file wsstree.h.

struct WsExpressionRec* WsExpressionRec::e_else

Definition at line 304 of file wsstree.h.

struct WsExpressionRec* WsExpressionRec::e_then

Definition at line 303 of file wsstree.h.

struct WsExpressionRec* WsExpressionRec::expr

Definition at line 296 of file wsstree.h.

WsFloat WsExpressionRec::fval

Definition at line 384 of file wsstree.h.

Referenced by ws_expr_const_float(), and ws_expr_linearize().

char* WsExpressionRec::identifier

Definition at line 289 of file wsstree.h.

struct { ... } WsExpressionRec::integer
WsUInt32 WsExpressionRec::ival

Definition at line 376 of file wsstree.h.

struct WsExpressionRec* WsExpressionRec::left

Definition at line 281 of file wsstree.h.

WsUInt32 WsExpressionRec::line

Definition at line 275 of file wsstree.h.

Referenced by expr_alloc(), and ws_expr_linearize().

struct { ... } WsExpressionRec::logical
char* WsExpressionRec::name

Definition at line 360 of file wsstree.h.

int WsExpressionRec::op

Definition at line 293 of file wsstree.h.

struct { ... } WsExpressionRec::postfix_var
struct WsExpressionRec* WsExpressionRec::right

Definition at line 282 of file wsstree.h.

int WsExpressionRec::sign

Definition at line 375 of file wsstree.h.

WsUtf8String WsExpressionRec::string

Definition at line 385 of file wsstree.h.

Referenced by ws_expr_const_string(), and ws_expr_linearize().

char* WsExpressionRec::symbol

Definition at line 379 of file wsstree.h.

Referenced by ws_expr_linearize(), and ws_expr_symbol().

WsExpressionType WsExpressionRec::type

Definition at line 274 of file wsstree.h.

Referenced by expr_alloc(), ws_expr_linearize(), and ws_expr_unary().

int WsExpressionRec::type

Definition at line 312 of file wsstree.h.

struct { ... } WsExpressionRec::unary

Referenced by ws_expr_linearize(), and ws_expr_unary().

struct { ... } WsExpressionRec::unary_var
char* WsExpressionRec::variable

Definition at line 339 of file wsstree.h.


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.