MCPcopy Create free account
hub / github.com/PHPantom-dev/phpantom_lsp / recursion_limit

Function recursion_limit

src/parser/error_format.rs:415–419  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

413
414 #[test]
415 fn recursion_limit() {
416 let err = ParseError::RecursionLimitExceeded(span(0, 100));
417 let msg = format_parse_error(&err);
418 assert_eq!(msg, "Syntax error: maximum nesting depth exceeded");
419 }
420
421 #[test]
422 fn syntax_error_unexpected_char() {

Callers

nothing calls this directly

Calls 2

spanFunction · 0.85
format_parse_errorFunction · 0.85

Tested by

no test coverage detected