Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | File List | Namespace Members | Class Members | File Members | Related Pages

xtl_node Class Template Reference

#include <xtl_base.h>

List of all members.


Detailed Description

template<typename NodeT, typename ExprT>
class cttl_impl::xtl_node< NodeT, ExprT >

Implements behavior of CTTL node expression adaptor.

NodeT
Template parameter specifying cttl::node.
ExprT
Template parameter specifying type of grammar expression, which is determined by the C++ compiler at compile time.

Definition at line 368 of file xtl_base.h.

Public Member Functions

 xtl_node (NodeT const &node_, ExprT const &expr_)
 Constructs and initializes the object.
template<typename UniverseT>
size_t match (UniverseT &edge_)
 Delegates grammar evaluation method call to the encapsulated grammar expression.
template<typename UniverseT>
size_t find (UniverseT &edge_)
 Delegates grammar evaluation method call to the encapsulated grammar expression.
template<typename UniverseT>
size_t bang_find (UniverseT &edge_)
 Delegates grammar evaluation method call to the encapsulated grammar expression.


Member Function Documentation

size_t bang_find UniverseT &  edge_  )  [inline]
 

Delegates grammar evaluation method call to the encapsulated grammar expression.

UniverseT
Template parameter specifying type of the parseable universe. Can be either cttl::const_edge or cttl::edge.
Parameters:
edge_ reference to the parseable universe.
Returns:
evaluation result.
Postcondition:
If method succeeds, encapsulated node is positioned on the upper boundary of the matched fragment.
See also:

Definition at line 493 of file xtl_base.h.

size_t find UniverseT &  edge_  )  [inline]
 

Delegates grammar evaluation method call to the encapsulated grammar expression.

UniverseT
Template parameter specifying type of the parseable universe. Can be either cttl::const_edge or cttl::edge.
Parameters:
edge_ reference to the parseable universe.
Returns:
evaluation result.
Postcondition:
If method succeeds, encapsulated node is positioned on the upper boundary of the matched fragment.
See also:

Definition at line 452 of file xtl_base.h.

size_t match UniverseT &  edge_  )  [inline]
 

Delegates grammar evaluation method call to the encapsulated grammar expression.

UniverseT
Template parameter specifying type of the parseable universe. Can be either cttl::const_edge or cttl::edge.
Parameters:
edge_ reference to the parseable universe.
Returns:
evaluation result.
Postcondition:
If method succeeds, encapsulated node is positioned on the upper boundary of the matched fragment.
See also:

Definition at line 411 of file xtl_base.h.


The documentation for this class was generated from the following file:
Generated on Thu Nov 2 17:45:23 2006 for Common Text Transformation Library by  doxygen 1.3.9.1