QuakeForge  0.7.2.210-815cf
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
ex_expr_s Struct Reference

Binary and unary expressions. More...

Collaboration diagram for ex_expr_s:
[legend]

Data Fields

struct expr_se1
 left side of binary, sole of unary More...
 
struct expr_se2
 right side of binary, null for unary More...
 
int op
 op-code of this expression More...
 
struct type_stype
 the type of the result of this expression More...
 

Detailed Description

Binary and unary expressions.

This is used for both binary and unary expressions. Unary expressions do not use e2. The opcode is generally the parser token for the expression, though special codes are used for non-math expressions.

Field Documentation

struct expr_s* e1

left side of binary, sole of unary

struct expr_s* e2

right side of binary, null for unary

int op

op-code of this expression

struct type_s* type

the type of the result of this expression


The documentation for this struct was generated from the following file: