DeSR Dependency Parser

Parser::conf_feature Class Reference
[Configuration]

A conf_feature contains a set of feature specifications. More...

#include <conf_feature.h>

Inheritance diagram for Parser::conf_feature:

Inheritance graph
Collaboration diagram for Parser::conf_feature:

Collaboration graph

List of all members.

Public Member Functions

 conf_feature (char const *name)
 conf_feature (char const *name, char const *value)
virtual void serialize (std::ostream &os)
 Serialize variable so that it can be read back.

Protected Member Functions

virtual void parseValue (char const *&line)
 Parse the line of text, which should have the following syntax: feature tokenPath+ tokenPath : INT | rel(tokenPath) rel : leftChild | rightChild | par | prev | next | leftSibling | rightSibling.
virtual void reset ()


Detailed Description

A conf_feature contains a set of feature specifications.

Definition at line 60 of file conf_feature.h.


Member Function Documentation

void Parser::conf_feature::parseValue ( char const *&  line  )  [protected, virtual]

Parse the line of text, which should have the following syntax: feature tokenPath+ tokenPath : INT | rel(tokenPath) rel : leftChild | rightChild | par | prev | next | leftSibling | rightSibling.

Parameters:
line The line of text to be parsed.

Definition at line 95 of file conf_feature.cpp.

References IXE::next_token_line(), and IXE::Var< T >::value.


The documentation for this class was generated from the following files:
 
Copyright © 2005-2007 G. Attardi. Generated on 13 Aug 2009 by doxygen 1.5.7.1.