Definition in file policy.h.
#include "xtl_region_map.h"
Include dependency graph for policy.h:
This graph shows which files directly or indirectly include this file:
Go to the source code of this file.
Namespaces | |
namespace | cttl |
Classes | |
class | policy_mapped_space |
This a base class for region-based white space policy classes. More... | |
struct | policy_space |
Generic version of pre-defined policy. More... | |
struct | policy_space< flag_follow_space > |
This policy instructs cttl lexer to automatically skip white space characters ht, lf, vt, ff, cr, and space. More... | |
struct | policy_space< flag_follow_region > |
Makes user-defined regions "invisible" to CTTL lexer. More... | |
struct | policy_space< flag_follow_space|flag_follow_region > |
This policy instructs CTTL lexer to automatically skip white space characters ht, lf, vt, ff, cr, and space, combined with user-defined regions. More... | |
struct | policy_space< flag_greedy|flag_follow_space > |
greedy version of white space policy More... | |
struct | policy_space< flag_greedy > |
greedy version of white space policy More... | |
struct | policy_space< flag_greedy|flag_follow_region > |
greedy version of user-defined region policy More... | |
struct | policy_space< flag_greedy|flag_follow_space|flag_follow_region > |
greedy version of the combined policy More... | |
struct | policy_space< flag_cpp_comments > |
Typical C++ white space, including C and C++ style comments. More... | |
struct | policy_space< flag_greedy|flag_cpp_comments > |
Greedy version of C++ white space. More... | |
Variables | |
const int | flag_follow_space = 1 |
Suggests that the specialization understands conventional white space. | |
const int | flag_follow_region = 2 |
Suggests that the specialization understands user-defined regions. | |
const int | flag_greedy = 4 |
Suggests that the specialization implements greedy evaluation algorithm. | |
const int | flag_cpp_comments = 8 |
Suggests that the specialization understands C/C++ comments. | |
const int | flag_follow_either = flag_follow_space | flag_follow_region |
Convinience flag. |