MCPcopy Create free account
hub / github.com/Tencent/LuaHelper / StrRemovePreG

Function StrRemovePreG

luahelper-lsp/langserver/check/common/util.go:401–411  ·  view source on GitHub ↗

StrRemovePreG 如果变量含有 !_G.的前缀,表示一定为全局空间的变量,切除_G.

(str string)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected