Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/z7zmey/php-parser
/ String
Method
String
errors/error.go:23–30 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
21
}
22
23
func
(e *Error) String() string {
24
atLine :=
""
25
if
e.Pos != nil {
26
atLine = fmt.Sprintf(
" at line %d"
, e.Pos.StartLine)
27
}
28
29
return
fmt.Sprintf(
"%s%s"
, e.Msg, atLine)
30
}
Callers
6
TestPrint
Function · 0.95
TestPrintWithotPos
Function · 0.95
EnterNode
Method · 0.45
EnterNode
Method · 0.45
EnterNode
Method · 0.45
EnterNode
Method · 0.45
Calls
no outgoing calls
Tested by
2
TestPrint
Function · 0.76
TestPrintWithotPos
Function · 0.76