Union of structures underlying the Constraint / Constrainttree objects. More...
#include <eval.h>
Union of structures underlying the Constraint / Constrainttree objects.
Each Constraint is a node in the Constrainttree.
struct _ActualParamList* args [read] |
arguments of the function
Referenced by call_predefined_function(), free_booltree(), FunctionCall(), get_leaf_value(), and print_booltree().
the P-attribute we are referring to
the s-attribute we are referring to
Referenced by calculate_initial_matchlist_1(), call_predefined_function(), do_IDReference(), do_LabelReference(), do_RelExpr(), do_StringConstraint(), eval_bool(), free_booltree(), get_leaf_value(), OptimizeStringConstraint(), print_booltree(), try_optimization(), and Varref2IDList().
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 |
"constant" node in the evaluation tree
Referenced by bool_and(), bool_implies(), bool_not(), bool_or(), calculate_initial_matchlist_1(), do_WordformPattern(), eval_bool(), OptimizeStringConstraint(), print_booltree(), try_optimization(), and Varref2IDList().
union { ... } ctype |
Union containing the constant type.
Referenced by calculate_initial_matchlist_1(), do_flagged_string(), free_booltree(), get_leaf_value(), OptimizeStringConstraint(), print_booltree(), and try_optimization().
int delete |
delete label after using it ?
Referenced by do_IDReference(), do_LabelReference(), do_RelExpr(), do_StringConstraint(), eval_bool(), get_leaf_value(), OptimizeStringConstraint(), and Varref2IDList().
Referenced by FunctionCall(), get_leaf_value(), and print_booltree().
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 |
an array of item IDs of size nr_items
Referenced by calculate_initial_matchlist_1(), eval_bool(), free_booltree(), OptimizeStringConstraint(), print_booltree(), try_optimization(), and Varref2IDList().
may be empty (NULL)
Referenced by calculate_initial_matchlist_1(), do_IDReference(), do_LabelReference(), do_RelExpr(), do_StringConstraint(), eval_bool(), free_booltree(), get_leaf_value(), OptimizeStringConstraint(), print_booltree(), try_optimization(), and Varref2IDList().
struct { ... } leaf |
constant (string, int, float, .
..)
Referenced by calculate_initial_matchlist_1(), do_flagged_string(), eval_bool(), free_booltree(), get_leaf_value(), OptimizeStringConstraint(), print_booltree(), and try_optimization().
points to the first operand
Referenced by bool_and(), bool_implies(), bool_not(), bool_or(), calculate_initial_matchlist_1(), do_RelExExpr(), do_RelExpr(), eval_bool(), free_booltree(), OptimizeStringConstraint(), print_booltree(), and try_optimization().
int negated |
struct { ... } node |
"standard" operand node in the evaluation tree; type is "bnode"
Referenced by bool_and(), bool_implies(), bool_not(), bool_or(), calculate_initial_matchlist_1(), do_RelExExpr(), do_RelExpr(), eval_bool(), free_booltree(), OptimizeStringConstraint(), print_booltree(), and try_optimization().
int nr_args |
nr of arguments for this call
Referenced by FunctionCall(), and get_leaf_value().
int nr_items |
identifier of the bool operator
Referenced by bool_and(), bool_implies(), bool_not(), bool_or(), calculate_initial_matchlist_1(), do_RelExExpr(), do_RelExpr(), eval_bool(), OptimizeStringConstraint(), print_booltree(), and try_optimization().
struct { ... } pa_ref |
reference to positional attribute
Referenced by calculate_initial_matchlist_1(), call_predefined_function(), do_IDReference(), do_LabelReference(), do_RelExpr(), do_StringConstraint(), get_leaf_value(), OptimizeStringConstraint(), print_booltree(), and try_optimization().
pattern type: normal wordform or reg.
exp.
Referenced by calculate_initial_matchlist_1(), do_flagged_string(), eval_bool(), free_booltree(), get_leaf_value(), OptimizeStringConstraint(), print_booltree(), and try_optimization().
int predef |
Referenced by FunctionCall(), get_leaf_value(), and print_booltree().
points to the second operand, if present
Referenced by bool_and(), bool_implies(), bool_not(), bool_or(), calculate_initial_matchlist_1(), do_RelExExpr(), do_RelExpr(), eval_bool(), free_booltree(), OptimizeStringConstraint(), print_booltree(), and try_optimization().
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 |
Value of the constant: 1 or 0 for true or false.
Referenced by bool_and(), bool_implies(), bool_not(), bool_or(), calculate_initial_matchlist_1(), do_WordformPattern(), eval_bool(), OptimizeStringConstraint(), print_booltree(), try_optimization(), and Varref2IDList().
char* varName |
Referenced by do_RelExpr(), free_booltree(), and print_booltree().
struct { ... } varref |
Referenced by do_RelExpr(), free_booltree(), and print_booltree().