No Clock  1.0.2
Expressions

Arithmetic or boolean expression structs. More...

Modules

 Constructors / Destructors
 Create or destroy expressions.
 
 Getters
 Get properties of an expression.
 
 Input / Output
 Input or output expressions.
 
 Operations
 Operations on expressions.
 
 Setters
 Set properties of expressions.
 

Data Structures

struct  expression
 Expression. More...
 

Enumerations

enum  expression_type {
  EXPR_OR, EXPR_AND, EXPR_LT, EXPR_GT,
  EXPR_EQ, EXPR_NE, EXPR_LE, EXPR_GE,
  EXPR_ADD, EXPR_SUB, EXPR_MULT, EXPR_DIV,
  EXPR_MIN, EXPR_MAX, EXPR_NOT, EXPR_NEG,
  EXPR_ID, EXPR_NUMBER, EXPR_TRUE, EXPR_FALSE,
  EXPR_UNKNOWN
}
 Expression type. More...
 

Detailed Description

Arithmetic or boolean expression structs.

Since
version 1.0.0

This module declares the expression_type enum and the expression struct.

An expression can be:

For further information on:

To use lists of expression, see Lists of expressions.

Enumeration Type Documentation

#include <include/noclock/expression.h>

Expression type.

Since
version 1.0.0
Enumerator
EXPR_OR 

The expression is a disjunction.

EXPR_AND 

The expression is a conjonction.

EXPR_LT 

The expression is a lower than comparison.

EXPR_GT 

The expression is a greater than comparison.

EXPR_EQ 

The expression is an equality test.

EXPR_NE 

The expression is a not equal test.

EXPR_LE 

The expression is a lower or equal test.

EXPR_GE 

The expression is a greater or equal test.

EXPR_ADD 

The expression is an addition.

EXPR_SUB 

The expression is a substraction.

EXPR_MULT 

The expression is a multiplication.

EXPR_DIV 

The expression is a division.

EXPR_MIN 

The expression is a minimum.

EXPR_MAX 

The expression is a maximum.

EXPR_NOT 

The expression is a negation.

EXPR_NEG 

The expression is a negation.

EXPR_ID 

The expression refers to an identifier.

EXPR_NUMBER 

The expression is a number.

EXPR_TRUE 

The expression is true.

EXPR_FALSE 

The expression is false.

EXPR_UNKNOWN 

The expression's type is unknown.