ruleLabeler Class Reference

ruleLabeler is an auxiliary class for the depLabeler More...

#include <dep_rules.h>

Collaboration diagram for ruleLabeler:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 ruleLabeler (void)
 Constructor.
 ruleLabeler (const std::string &, rule_expression *)
bool check (dep_tree::iterator, dep_tree::iterator) const
 Evaluate rule conditions.

Public Attributes

std::string label
rule_expressionre
std::string ancestorLabel
int line
 line in the file where rule was, useful to trace and issue errors

Detailed Description

ruleLabeler is an auxiliary class for the depLabeler


Constructor & Destructor Documentation

ruleLabeler::ruleLabeler ( void   ) 

Constructor.

ruleLabeler::ruleLabeler ( const std::string &  ,
rule_expression  
)

Member Function Documentation

bool ruleLabeler::check ( dep_tree::iterator  ancestor,
dep_tree::iterator  descendant 
) const

Evaluate rule conditions.

References rule_expression::check(), re, and TRACE.


Member Data Documentation

std::string ruleLabeler::label

line in the file where rule was, useful to trace and issue errors

Referenced by check().


The documentation for this class was generated from the following files:
Generated on Tue Jul 27 16:29:33 2010 for FreeLing by  doxygen 1.6.3