MCPcopy Create free account
hub / github.com/LemonOSProject/LemonOS / Eat

Method Eat

LibLemon/src/lexer.cpp:11–20  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

9 }
10
11 char BasicLexer::Eat(){
12 assert(!End());
13 char c = *it++;
14
15 if(c == '\n'){
16 line++;
17 }
18
19 return c;
20 }
21
22 bool BasicLexer::EatWord(const char* word){
23 size_t i = 0;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected