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

◆ addp

WsBool WsExpressionRec::addp

Definition at line 338 of file wsstree.h.

◆ arguments

WsList* WsExpressionRec::arguments

Definition at line 363 of file wsstree.h.

◆ assign

struct { ... } WsExpressionRec::assign

◆ base

char* WsExpressionRec::base

Definition at line 357 of file wsstree.h.

◆ binary

struct { ... } WsExpressionRec::binary

◆ call

struct { ... } WsExpressionRec::call

Referenced by ws_expr_call(), and ws_expr_linearize().

◆ cindex

WsUInt16 WsExpressionRec::cindex

Definition at line 381 of file wsstree.h.

◆ comma

struct { ... } WsExpressionRec::comma

Referenced by ws_expr_comma(), and ws_expr_linearize().

◆ conditional

struct { ... } WsExpressionRec::conditional

◆ e_cond

struct WsExpressionRec* WsExpressionRec::e_cond

Definition at line 302 of file wsstree.h.

◆ e_else

struct WsExpressionRec* WsExpressionRec::e_else

Definition at line 304 of file wsstree.h.

◆ e_then

struct WsExpressionRec* WsExpressionRec::e_then

Definition at line 303 of file wsstree.h.

◆ expr

struct WsExpressionRec* WsExpressionRec::expr

Definition at line 296 of file wsstree.h.

◆ fval

WsFloat WsExpressionRec::fval

Definition at line 384 of file wsstree.h.

Referenced by ws_expr_const_float(), and ws_expr_linearize().

◆ identifier

char* WsExpressionRec::identifier

Definition at line 289 of file wsstree.h.

◆ integer

struct { ... } WsExpressionRec::integer

◆ ival

WsUInt32 WsExpressionRec::ival

Definition at line 376 of file wsstree.h.

◆ left

struct WsExpressionRec* WsExpressionRec::left

Definition at line 281 of file wsstree.h.

◆ line

WsUInt32 WsExpressionRec::line

Definition at line 275 of file wsstree.h.

Referenced by expr_alloc(), and ws_expr_linearize().

◆ logical

struct { ... } WsExpressionRec::logical

◆ name

char* WsExpressionRec::name

Definition at line 360 of file wsstree.h.

◆ op

int WsExpressionRec::op

Definition at line 293 of file wsstree.h.

◆ postfix_var

struct { ... } WsExpressionRec::postfix_var

◆ right

struct WsExpressionRec* WsExpressionRec::right

Definition at line 282 of file wsstree.h.

◆ sign

int WsExpressionRec::sign

Definition at line 375 of file wsstree.h.

◆ string

WsUtf8String WsExpressionRec::string

Definition at line 385 of file wsstree.h.

Referenced by ws_expr_const_string(), and ws_expr_linearize().

◆ symbol

char* WsExpressionRec::symbol

Definition at line 379 of file wsstree.h.

Referenced by ws_expr_linearize(), and ws_expr_symbol().

◆ type [1/2]

WsExpressionType WsExpressionRec::type

Definition at line 274 of file wsstree.h.

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

◆ type [2/2]

int WsExpressionRec::type

Definition at line 312 of file wsstree.h.

◆ u

◆ unary

struct { ... } WsExpressionRec::unary

Referenced by ws_expr_linearize(), and ws_expr_unary().

◆ unary_var

struct { ... } WsExpressionRec::unary_var

◆ variable

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.