CWB
Data Fields
evalenv Struct Reference

The EvalEnvironment object: environment variables for the evaluation of a corpus query. More...

#include <eval.h>

Data Fields

CorpusListquery_corpus
 the search corpus for this query part More...
 
int rp
 index of current range (in subqueries) More...
 
SymbolTable labels
 symbol table for labels More...
 
int MaxPatIndex
 the current number of patterns More...
 
Patternlist patternlist
 global variable which holds the pattern list More...
 
Constrainttree gconstraint
 the "global constraint" More...
 
Evaltree evaltree
 the evaluation tree (with regular exprs) More...
 
DFA dfa
 the regex NFA for the current query More...
 
int has_target_indicator
 is there a target mark ('@') in the query? More...
 
LabelEntry target_label
 targets are implemented as a special label "target" now More...
 
LabelEntry match_label
 special "match" and "matchend"-Labels for access to start & end of match within query More...
 
LabelEntry matchend_label
 
Context search_context
 the search context (within...) More...
 
Attributealigned
 the attribute holding the alignment info More...
 
int negated
 1 iff we should negate alignment constr More...
 

Detailed Description

The EvalEnvironment object: environment variables for the evaluation of a corpus query.

Field Documentation

Attribute* aligned

the attribute holding the alignment info

Referenced by prepare_AlignmentConstraints(), simulate(), and simulate_dfa().

the regex NFA for the current query

Referenced by check_alignment_constraints(), do_SearchPattern(), simulate(), and simulate_dfa().

Evaltree evaltree

the evaluation tree (with regular exprs)

Referenced by cqp_run_mu_query(), cqp_run_tab_query(), do_MUQuery(), do_SearchPattern(), do_TABQuery(), and next_environment().

Constrainttree gconstraint

the "global constraint"

Referenced by do_SearchPattern(), free_environment(), next_environment(), and simulate().

int has_target_indicator

is there a target mark ('@') in the query?

Referenced by do_NamedWfPattern(), free_environment(), next_environment(), simulate(), and simulate_dfa().

SymbolTable labels
LabelEntry match_label

special "match" and "matchend"-Labels for access to start & end of match within query

Referenced by next_environment(), and simulate().

LabelEntry matchend_label

Referenced by next_environment(), and simulate().

int MaxPatIndex
int negated

1 iff we should negate alignment constr

Referenced by check_alignment_constraints(), and next_environment().

Patternlist patternlist
CorpusList* query_corpus
int rp

index of current range (in subqueries)

Referenced by eval_constraint(), and simulate().

Context search_context

the search context (within...)

Referenced by free_environment(), next_environment(), and simulate().

LabelEntry target_label

targets are implemented as a special label "target" now

Referenced by do_NamedWfPattern(), next_environment(), and simulate().


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