struct tad_int_expr_t
Overview
Struct for arithmetic (and boolean?) expressions in traffic operations Expression is constructed with for arithmetical operations from constants and “variables”, which are references to iterated artuments. More…
#include <tad_types.h> struct tad_int_expr_t { // fields tad_expr_node_type n_type; size_t d_len; int32_t val_i32; int64_t val_i64; int arg_num; tad_int_expr_t* exprs; };
Detailed Documentation
Struct for arithmetic (and boolean?) expressions in traffic operations Expression is constructed with for arithmetical operations from constants and “variables”, which are references to iterated artuments.
Fields
tad_expr_node_type n_type
node type
size_t d_len
length of data:
for node with operation is length of array with operands.
for constant node is ‘sizeof’ integer variable, may be 4 or 8.
int32_t val_i32
int 32 value
int64_t val_i64
int 64 value
int arg_num
number of referenced argument
tad_int_expr_t* exprs
array with operands