Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/PHPantom-dev/phpantom_lsp
/ span
Function
span
src/parser/error_format.rs:328–330 ·
view source on GitHub ↗
(start: u32, end: u32)
Source
from the content-addressed store, hash-verified
326
}
327
328
fn span(start: u32, end: u32) -> Span {
329
Span::new(FileId::new(
"test.php"
), pos(start), pos(end))
330
}
331
332
#[test]
333
fn unexpected_minus_instead_of_variable() {
Callers
7
unexpected_minus_instead_of_variable
Function · 0.85
unexpected_token_with_multiple_expected
Function · 0.85
unexpected_token_with_two_expected
Function · 0.85
unexpected_token_no_expected
Function · 0.85
unclosed_single_quoted_string
Function · 0.85
unclosed_double_quoted_string
Function · 0.85
recursion_limit
Function · 0.85
Calls
1
pos
Function · 0.85
Tested by
7
unexpected_minus_instead_of_variable
Function · 0.68
unexpected_token_with_multiple_expected
Function · 0.68
unexpected_token_with_two_expected
Function · 0.68
unexpected_token_no_expected
Function · 0.68
unclosed_single_quoted_string
Function · 0.68
unclosed_double_quoted_string
Function · 0.68
recursion_limit
Function · 0.68