struct logic_expr

Overview

Element of the requirements expression More…

#include <logic_expr.h>

struct logic_expr {
    // fields

    logic_expr_type type;
    char* value;
    struct logic_expr* unary;
    struct logic_expr* lhv;
    struct logic_expr* rhv;
    struct logic_expr binary;
    union logic_expr u;
};

Detailed Documentation

Element of the requirements expression

Fields

logic_expr_type type

Type of expression element

char* value

Simple value

struct logic_expr* unary

Unary expression

struct logic_expr* lhv

Left hand value

struct logic_expr* rhv

Right hand value

struct logic_expr binary

Binary expression

union logic_expr u

Type specific data