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

Method CheckNext1

LuaParser/src/Lexer/TextReader.cpp:63–69  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

61}
62
63bool TextReader::CheckNext1(int ch) {
64 if (_currentIndex < _text.size() && _text[_currentIndex] == ch) {
65 SaveAndNext();
66 return true;
67 }
68 return false;
69}
70
71bool TextReader::CheckNext2(std::string_view set) {
72 if (set.size() != 2) {

Callers 2

LexMethod · 0.80
ReadLongCLikeCommentMethod · 0.80

Calls 1

sizeMethod · 0.45

Tested by

no test coverage detected