77 if (!_cur_line_->get()) {
90 _cur_line_->indent() = size_t(chew);
92 size_t keyword_off = size_t(chew);
94 cur_line().mark_keyword(keyword_off,keyword.length());
static bool plaintext()
Are we to omit parsing for C/C++ comments?
A directive line of no more specific type that is to be kept.
static void substitute(std::string const &replacement)
Substitute a diagnostic insert for the line in the line-buffer and print it to output.
static line_type next()
Process the current input line and return its line type.
static line_type eval(std::string keyword, chewer< parse_buffer > &chew)
Evaluate a directive.
std::string citable(chewer< std::string > &chew, size_t len=std::string::npos)
Make a citable version of length-delimited text.
static std::unique_ptr< parsed_line > _cur_line_
The current output line.
static void top()
Reinitialize the class static state.
chew_mode::greyspace const greyspace
An exemplar chew_mode::greyspace
static void flush()
Discharge any pending contradiction.
chew_mode::code const code
An exemplar chew_mode::code
`template struct chewer<CharSeq> is a cursor-like type that is associated with a character-sequence t...
template class canonical<What> encapsulates the canonical representation of values of type What...
static bool have_source_output()
Say whether the current comment generates source code.
line_type
Enumeration of types of input lines.
static std::ostream * output()
Get a pointer to the output stream.
static unsigned _lines_changed_
Number of input lines changed.
static std::string pretty()
Get a pretty printable version of the current input line.
static void transition(line_type linetype)
Transition the if-control state given an evaluated line type.
static std::istream * input()
Get a pointer to the input stream.
static unsigned _lines_suppressed_
Number of input lines suppressed.