Struct Parser::LineContents

Nested Relationships

This struct is a nested type of Class Parser.

Struct Documentation

struct LineContents

Public Functions

inline LineContents()
void reset_with_next_line(csubstr buf, size_t pos)
inline void reset(csubstr full_, csubstr stripped_)
inline size_t current_col() const
inline size_t current_col(csubstr s) const

Public Members

csubstr full

the full line, including newlines on the right

csubstr stripped

the stripped line, excluding newlines on the right

csubstr rem

the stripped line remainder; initially starts at the first non-space character

size_t indentation

the number of spaces on the beginning of the line