CWB
Data Fields
_variable_item Struct Reference

VariableItem object: an item within a variable. More...

#include <variables.h>

Data Fields

int free
 Boolean flag: is this item empty? More...
 
char * sval
 The actual string value of the item. More...
 
int ival
 Lexicon number associated with the item. More...
 

Detailed Description

VariableItem object: an item within a variable.

Field Documentation

int free
int ival

Lexicon number associated with the item.

Set to -1 on creation, but when the variable is verified against a corpus attribute, it is set to the lexicon number from that attribute.

Referenced by GetVariableItems(), VariableAddItem(), VariableSubtractItem(), and VerifyVariable().

char* sval

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