CWB
Data Fields

c_tree Union Reference

Union of structures underlying the Constraint / Constrainttree objects. More...

#include <eval.h>

Data Fields


Detailed Description

Union of structures underlying the Constraint / Constrainttree objects.

Each Constraint is a node in the Constrainttree.


Field Documentation

int canon

canonicalization mode (i.e.

flags)

Referenced by calculate_initial_matchlist_1(), do_flagged_string(), and OptimizeStringConstraint().

int cidconst

operand is {?? corpus position??} constant

struct { ... } constnode
union { ... } ctype
int delete
double fconst

operand is a float (well, double) constant

struct { ... } func
int iconst

operand is a integer constant.

struct { ... } idlist

True if closing tag, False for opening tag.

Referenced by eval_bool().

int* items
struct { ... } leaf
union c_tree* left
int negated
struct { ... } node
int nr_args

nr of arguments for this call

Referenced by FunctionCall(), and get_leaf_value().

int nr_items
enum b_ops op_id
struct { ... } pa_ref
int predef
union c_tree * right

compiled regular expression (using CL frontend)

Referenced by do_flagged_string(), eval_bool(), and free_booltree().

struct { ... } sa_ref
struct { ... } sbound

Referenced by eval_bool().

char* sconst

operand is a string constant.

the attribute which corresponds to the structure

Referenced by eval_bool().

The type of this particular node.

string_leaf, int_leaf, or float_leaf

must be id_list

must be var_ref

must be sa_ref

must be pa_ref

must be sbound

must be func

must be cnode

must be bnode

Allows the type member of the other structures within the union to be accessed.

Referenced by bool_and(), bool_implies(), bool_not(), bool_or(), calculate_initial_matchlist_1(), call_predefined_function(), do_flagged_string(), do_IDReference(), do_LabelReference(), do_RelExExpr(), do_RelExpr(), do_StringConstraint(), do_WordformPattern(), eval_bool(), free_booltree(), FunctionCall(), get_leaf_value(), OptimizeStringConstraint(), print_booltree(), try_optimization(), and Varref2IDList().

int val
char* varName
struct { ... } varref

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