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

Method AddLocVar

luahelper-lsp/langserver/check/common/scope_info.go:61–77  ·  view source on GitHub ↗

AddLocVar 块里面增加一个变量(局部变量)

(fileName string, name string, LuaType LuaType, exp ast.Exp, loc lexer.Location,
	varIndex uint8)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 5

cgFuncDefExpMethod · 0.80
cgForNumStatMethod · 0.80
cgForInStatMethod · 0.80
cgLocalFuncDefStatMethod · 0.80
cgLocalVarDeclStatMethod · 0.80

Calls 1

InsertLocalVarMethod · 0.95

Tested by

no test coverage detected