#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include "lkc.h"
Go to the source code of this file.
|
#define | DEBUG_EXPR 0 |
|
#define | e1 (*ep1) |
|
#define | e2 (*ep2) |
|
#define | e1 (*ep1) |
|
#define | e2 (*ep2) |
|
#define | e1 (*ep1) |
|
#define | e2 (*ep2) |
|
#define | e1 (*ep1) |
|
#define | e2 (*ep2) |
|
|
struct expr * | expr_alloc_symbol (struct symbol *sym) |
|
struct expr * | expr_alloc_one (enum expr_type type, struct expr *ce) |
|
struct expr * | expr_alloc_two (enum expr_type type, struct expr *e1, struct expr *e2) |
|
struct expr * | expr_alloc_comp (enum expr_type type, struct symbol *s1, struct symbol *s2) |
|
struct expr * | expr_alloc_and (struct expr *e1, struct expr *e2) |
|
struct expr * | expr_alloc_or (struct expr *e1, struct expr *e2) |
|
struct expr * | expr_copy (const struct expr *org) |
|
void | expr_free (struct expr *e) |
|
void | expr_eliminate_eq (struct expr **ep1, struct expr **ep2) |
|
int | expr_eq (struct expr *e1, struct expr *e2) |
|
struct expr * | expr_eliminate_yn (struct expr *e) |
|
struct expr * | expr_trans_bool (struct expr *e) |
|
struct expr * | expr_eliminate_dups (struct expr *e) |
|
struct expr * | expr_transform (struct expr *e) |
|
int | expr_contains_symbol (struct expr *dep, struct symbol *sym) |
|
bool | expr_depends_symbol (struct expr *dep, struct symbol *sym) |
|
struct expr * | expr_extract_eq_and (struct expr **ep1, struct expr **ep2) |
|
struct expr * | expr_extract_eq_or (struct expr **ep1, struct expr **ep2) |
|
void | expr_extract_eq (enum expr_type type, struct expr **ep, struct expr **ep1, struct expr **ep2) |
|
struct expr * | expr_trans_compare (struct expr *e, enum expr_type type, struct symbol *sym) |
|
tristate | expr_calc_value (struct expr *e) |
|
int | expr_compare_type (enum expr_type t1, enum expr_type t2) |
|
struct expr * | expr_simplify_unmet_dep (struct expr *e1, struct expr *e2) |
|
void | expr_print (struct expr *e, void(*fn)(void *, struct symbol *, const char *), void *data, int prevtoken) |
|
void | expr_fprint (struct expr *e, FILE *out) |
|
void | expr_gstr_print (struct expr *e, struct gstr *gs) |
|