MCPcopy Create free account
hub / github.com/Achain-Dev/Achain / parsing_level_overflow

Method parsing_level_overflow

src/Chain/libraries/glua/lparsercombinator.cpp:727–737  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

725 }
726
727 bool ParserContext::parsing_level_overflow(Input *input)
728 {
729 // whether nested parser calling too deeper
730 auto result = _parsing_level > PARSING_MAX_LEVEL_DEPTH;
731 if (result)
732 {
733 _last_error_token = input->read();
734 _last_match_token = input->read();
735 }
736 return result;
737 }
738
739 ParserFunctor *ParserContext::cache(std::string name, ParserFunctor *parser)
740 {

Callers 1

tryParseMethod · 0.80

Calls 1

readMethod · 0.45

Tested by

no test coverage detected