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

Method GetSaveText

LuaParser/src/Lexer/TextReader.cpp:97–102  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

95}
96
97std::string_view TextReader::GetSaveText() const {
98 if (_hasSaveText) {
99 return _text.substr(_buffStart, _buffIndex - _buffStart + 1);
100 }
101 return _text.substr(_buffStart, 0);
102}
103
104bool TextReader::IsEof() const {
105 return _isEof;

Callers 6

ParseToWordsMethod · 0.80
ParseToIdentifiesMethod · 0.80
ParseMethod · 0.80
CompileMethod · 0.80
AnalyzeDocFormatMethod · 0.80
LexMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected