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

policy_space< flag_follow_region > Struct Template Reference

#include <policy.h>

Inheritance diagram for policy_space< flag_follow_region >:

Inheritance graph
[legend]
Collaboration diagram for policy_space< flag_follow_region >:

Collaboration graph
[legend]
List of all members.

Detailed Description

template<>
struct cttl::policy_space< flag_follow_region >

Makes user-defined regions "invisible" to CTTL lexer.

The region policy is typically used inside two-pass algorithms. For example, programming language comments can be detected by first pass through the input. During first pass, the boundaries of comments are added to the internal map of user regions that is kept and maintained by the policy. During the second pass, the internal region map is looked up and bypassed by the lexer.

Definition at line 459 of file policy.h.


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