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

struct _ActualParamList* args [read]
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

function call (dynamic attribute), type is "func"

Referenced by call_predefined_function(), free_booltree(), FunctionCall(), get_leaf_value(), and print_booltree().

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 [write]
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 [write]

compiled regular expression (using CL frontend)

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

struct { ... } sa_ref

reference to structural attribute.

If label is empty, this checks if the current position is at start or end of structural_attribute and returns INT value (this is kept for backward compatibility regarding lbound() and rbound() builtins; the new syntax is to use {s} and {/s}, which are represented as 'Tag' nodes.

If label is non-empty, the referenced S-attribute must have values, and the value of the enclosing region is returned as a string; in short, values of attributes can be accessed through label references .

Referenced by call_predefined_function(), do_IDReference(), do_LabelReference(), and get_leaf_value().

struct { ... } sbound

structure boundary

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:

Generated on Sun Feb 28 18:08:04 2010 for CWB by  doxygen 1.6.1