MCPcopy Create free account
hub / github.com/CppCXY/EmmyLuaCodeStyle / NextChar

Method NextChar

LuaParser/src/Lexer/TextReader.cpp:13–22  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

11}
12
13void TextReader::NextChar() {
14 if (_currentIndex + 1 < _text.size()) {
15 ++_currentIndex;
16 } else {
17 ++_currentIndex;
18 if (_currentIndex >= _text.size()) {
19 _isEof = true;
20 }
21 }
22}
23
24void TextReader::NextLine() {
25 while (_currentIndex < _text.size()) {

Callers 5

LexMethod · 0.80
ParseMethod · 0.80
AnalyzeDocFormatMethod · 0.80
LexMethod · 0.80
IncLinenumberMethod · 0.80

Calls 1

sizeMethod · 0.45

Tested by

no test coverage detected