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

Method CurrentIsNewLine

LuaParser/src/Lexer/LuaLexer.cpp:615–618  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

613}
614
615bool LuaLexer::CurrentIsNewLine() {
616 int ch = _reader.GetCurrentChar();
617 return ch == '\n' || ch == '\r';
618}
619
620bool LuaLexer::IsReserved(std::string_view text) {
621 return LuaReserved.find(text) != LuaReserved.end();

Callers

nothing calls this directly

Calls 1

GetCurrentCharMethod · 0.80

Tested by

no test coverage detected