CWB
Data Fields
e_tree Union Reference

Underlying union for the Evaltree object. More...

#include <eval.h>

Data Fields

enum tnodetype type
 What type of node does this union represent? More...
 
struct {
   enum tnodetype   type
 
   enum re_ops   op_id
 id_number of the RE operator More...
 
   Evaltree   left
 points to the first argument More...
 
   Evaltree   right
 points to the second argument – if it exists. More...
 
   int   min
 minimum number of repetitions. More...
 
   int   max
 maximum number of repetitions. More...
 
node
 node type: node More...
 
struct {
   enum tnodetype   type
 
   int   patindex
 index to the patternlist More...
 
leaf
 node type: leaf More...
 
struct {
   enum tnodetype   type
 
   enum cooc_op   op_id
 
   int   lw
 
   int   rw
 
   Attribute *   struc
 
   Evaltree   left
 
   Evaltree   right
 
cooc
 node type: meet_union More...
 
struct {
   enum tnodetype   type
 
   int   patindex
 index into pattern list More...
 
   int   min_dist
 minimal distance to next pattern More...
 
   int   max_dist
 maximal distance to next pattern More...
 
   Evaltree   next
 next pattern More...
 
tab_el
 node type: tabular More...
 

Detailed Description

Underlying union for the Evaltree object.

Consists of a number of anonymous-type structures (node, leaf, cooc, tab_el) that can be found in a tree.

The type member is always accessible.

See also
tnodetype

Field Documentation

struct { ... } cooc

node type: meet_union

Referenced by do_MeetStatement(), do_UnionStatement(), eval_mu_tree(), and print_evaltree().

struct { ... } leaf

node type: leaf

Referenced by eval_mu_tree(), evaltree2searchstr(), and print_evaltree().

Evaltree left

points to the first argument

Referenced by do_MeetStatement(), do_UnionStatement(), eval_mu_tree(), evaltree2searchstr(), and print_evaltree().

int lw
int max

maximum number of repetitions.

Referenced by evaltree2searchstr(), and print_evaltree().

int max_dist

maximal distance to next pattern

Referenced by add_tabular_pattern(), cqp_run_tab_query(), make_first_tabular_pattern(), and print_evaltree().

int min

minimum number of repetitions.

Referenced by evaltree2searchstr(), and print_evaltree().

int min_dist

minimal distance to next pattern

Referenced by add_tabular_pattern(), cqp_run_tab_query(), make_first_tabular_pattern(), and print_evaltree().

Evaltree next
struct { ... } node

node type: node

Referenced by evaltree2searchstr(), and print_evaltree().

enum re_ops op_id

id_number of the RE operator

Referenced by do_MeetStatement(), do_UnionStatement(), eval_mu_tree(), evaltree2searchstr(), and print_evaltree().

enum cooc_op op_id
int patindex

index to the patternlist

index into pattern list

Referenced by add_tabular_pattern(), cqp_run_tab_query(), eval_mu_tree(), evaltree2searchstr(), make_first_tabular_pattern(), and print_evaltree().

Evaltree right

points to the second argument – if it exists.

Referenced by do_MeetStatement(), do_UnionStatement(), eval_mu_tree(), evaltree2searchstr(), and print_evaltree().

int rw
Attribute* struc
struct { ... } tab_el
enum tnodetype type

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