- determineIndentation
size_t determineIndentation(string whitespace, bool error)
Undocumented in source. Be warned that the author may not have intended to support it.
- empty
bool empty()
Undocumented in source. Be warned that the author may not have intended to support it.
- expect
bool expect(TokenType type, string match, string srcfile, size_t srcline)
Does a peek and advances a token and adds an error if it doesn't match.
- front
auto front()
Undocumented in source. Be warned that the author may not have intended to support it.
- indexEOL
size_t indexEOL()
Undocumented in source. Be warned that the author may not have intended to support it.
- match
bool match(TokenType type, string match)
Does a peek and advances a token.
- peek
bool peek(TokenType type, string match)
Checks if the current token matches type & optional match.
- popFront
void popFront()
Undocumented in source. Be warned that the author may not have intended to support it.
- read
string read(size_t[2] range)
Undocumented in source. Be warned that the author may not have intended to support it.
- reset
void reset()
Undocumented in source. Be warned that the author may not have intended to support it.
- save
auto save()
Undocumented in source. Be warned that the author may not have intended to support it.
- skipAll
size_t skipAll(TokenType[] types)
Undocumented in source. Be warned that the author may not have intended to support it.
- skipAllCount
size_t[] skipAllCount(TokenType[] types)
Undocumented in source. Be warned that the author may not have intended to support it.