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

Method GetTokenRange

LuaParser/src/Lexer/TextReader.cpp:87–89  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

85}
86
87TextRange TextReader::GetTokenRange() const {
88 return TextRange(_buffStart, _buffIndex - _buffStart + 1);
89}
90
91void TextReader::ResetBuffer() {
92 _hasSaveText = false;

Callers 3

ParseToWordsMethod · 0.45
ParseToIdentifiesMethod · 0.45
ParseMethod · 0.45

Calls 1

TextRangeClass · 0.85

Tested by

no test coverage detected