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

Function GetAllExpSimpleValue

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

GetAllExpSimpleValue 获取if 条件里面所有的 if a then, 提前里面的a 或是if a ~= nil then 提前里面的a

(node ast.Exp, strArr *[]string)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls 2

GetExpNameFunction · 0.85
GetSimpleValueFunction · 0.85

Tested by

no test coverage detected