libyasm
Data Fields
yasm_expr Struct Reference

Expression. More...

#include <expr.h>

Data Fields

yasm_expr_op op
 Operation. More...
 
unsigned long line
 Line number where expression was defined. More...
 
int numterms
 Number of terms in the expression. More...
 
yasm_expr__item terms [2]
 Terms of the expression. More...
 

Detailed Description

Expression.

Definition at line 70 of file expr.h.

Field Documentation

unsigned long yasm_expr::line

Line number where expression was defined.

Definition at line 72 of file expr.h.

int yasm_expr::numterms

Number of terms in the expression.

Definition at line 73 of file expr.h.

yasm_expr_op yasm_expr::op

Operation.

Definition at line 71 of file expr.h.

yasm_expr__item yasm_expr::terms[2]

Terms of the expression.

Structure may be extended to include more terms, as some operations may allow more than two operand terms (ADD, MUL, OR, AND, XOR).

Definition at line 79 of file expr.h.


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