coan  6.0.1
A C/C++ Configuration Analyzer
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros
chew.h File Reference
#include "prohibit.h"
#include "eol.h"
#include <type_traits>
#include <cctype>

Go to the source code of this file.

Classes

struct  chew_mode::whitespace
 A tag class for selecting a chew mode. More...
 
struct  chew_mode::greyspace
 A tag class for selecting a chew mode. More...
 
struct  chew_mode::continuation
 A tag class for selecting a chew mode. More...
 
struct  chew_mode::cxx_comment
 A tag class for selecting a chew mode. More...
 
struct  chew_mode::c_comment
 A tag class for selecting a chew mode. More...
 
struct  chew_mode::string_literal
 A tag class for selecting a chew mode. More...
 
struct  chew_mode::character_literal
 A tag class for selecting a chew mode. More...
 
struct  chew_mode::raw_string_literal
 A tag class for selecting a chew mode. More...
 
struct  chew_mode::header_name
 A tag class for selecting a chew mode. More...
 
struct  chew_mode::code
 A tag class for selecting a chew mode. More...
 
struct  chew_mode::name
 A tag class for selecting a chew mode. More...
 
struct  chew_mode::literal_space
 A tag class for selecting a chew mode. More...
 
struct  chew_mode::punctuation
 A tag class for selecting a chew mode. More...
 
struct  chew_mode::number_space
 A tag class for selecting a chew mode. More...
 
struct  chew_mode::stringify
 A tag class for selecting a chew mode. More...
 
struct  chew_mode::token_paste
 A tag class for selecting a chew mode. More...
 
struct  chewer< CharSeq >
 `template struct chewer<CharSeq> is a cursor-like type that is associated with a character-sequence type upon which it can performs some routine forms of lexical scanning. More...
 

Enumerations

enum  text_type {
  none, whitespace, greyspace, continuation,
  cxx_comment, c_comment, string_literal, character_literal,
  raw_string_literal, header_name, code, name,
  literal_space, punctuation, number_space, stringify,
  token_paste
}
 Types of text.
 

Variables

static bool const chew_mode::plaintext = false
 Do not recognize C/C++ comments.
 
static bool const chew_mode::cxxtext = true
 Recognize C/C++ comments.
 
chew_mode::whitespace const whitespace
 An exemplar chew_mode::whitespace
 
chew_mode::greyspace const greyspace
 An exemplar chew_mode::greyspace
 
chew_mode::continuation const continuation
 An exemplar chew_mode::continuation
 
chew_mode::cxx_comment const cxx_comment
 An exemplar chew_mode::cxx_comment
 
chew_mode::c_comment const c_comment
 An exemplar chew_mode::c_comment
 
chew_mode::string_literal const string_literal
 An exemplar chew_mode::string_literal
 
chew_mode::character_literal const character_literal
 An exemplar chew_mode::character_literal
 
chew_mode::raw_string_literal const raw_string_literal
 An exemplar chew_mode::raw_string_literal
 
chew_mode::header_name const header_name
 An exemplar chew_mode::header_name
 
chew_mode::code const code
 An exemplar chew_mode::code
 
chew_mode::name const name
 An exemplar chew_mode::name
 
chew_mode::literal_space const literal_space
 An exemplar chew_mode::literal_space
 
chew_mode::punctuation const punctuation
 An exemplar chew_mode::punctuation
 
chew_mode::number_space const number_space
 An exemplar chew_mode::number_space
 
chew_mode::stringify const stringify
 An exemplar chew_mode::stringify
 
chew_mode::token_paste const token_paste
 An exemplar chew_mode::token_paste
 

Detailed Description

This defines template struct chewer<CharSeq> and associated tag classes.

Definition in file chew.h.