|
FE 0.16.1
Fast, Effecient FrontEnds
|
What Parser::expect was after - a Tag, or free-form markup. More...
#include <fe/parser.h>
Public Member Functions | |
| Expected (Tag tag) | |
| Expected (Cited what) | |
| Expected (Cite what) | |
| template<size_t N> | |
| Expected (const char(&what)[N]) | |
Public Attributes | |
| Tag | tag = Tag::Nil |
| Tag::Nil, if the expectation was not a Tag. | |
| Cited | what |
| Already rendered as markup - Parser::tag2str_ backticks a Tag. | |
What Parser::expect was after - a Tag, or free-form markup.
Both spellings are one parameter rather than two overloads, so that Parser::syntax_err stays a single signature: a declaration in S then replaces it instead of hiding a set of siblings alongside it.
|
inline |
Definition at line 253 of file parser.h.
References tag, fe::Parser< Tok, Tag, K, S >::tag2str_(), and what.
Referenced by Expected().
|
inline |
|
inline |
|
inline |
Definition at line 261 of file parser.h.
References Expected(), and what.
| Tag fe::Parser< Tok, Tag, K, S >::Expected::tag = Tag::Nil |
Tag::Nil, if the expectation was not a Tag.
Definition at line 250 of file parser.h.
Referenced by Expected().
| Cited fe::Parser< Tok, Tag, K, S >::Expected::what |
Already rendered as markup - Parser::tag2str_ backticks a Tag.
Definition at line 251 of file parser.h.
Referenced by Expected(), Expected(), Expected(), and Expected().