Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Tencent/LuaHelper
/ functions
Functions
1,325 in github.com/Tencent/LuaHelper
⨍
Functions
1,325
◇
Types & classes
551
Method
IsGFlag
IsGFlag 判断是否是为_G的全局变量
luahelper-lsp/langserver/check/common/var_info.go:340
Method
IsLineFragementEnum
IsLineFragementEnum 获取当前行关联是否有enum注解类型
luahelper-lsp/langserver/check/check_util.go:375
Function
IsLocalReferExpEmpty
IsLocalReferExpEmpty 判断局部变量的定义的时候,定义的Exp是否指向的ReferExp为empty strName 为局部变量定义的名字 rightExp 为赋值表达式右边的变量
luahelper-lsp/langserver/check/common/util.go:1371
Method
IsMemberOfAnnotateClassByLoc
获取注解class
luahelper-lsp/langserver/check/check_for_type.go:106
Method
IsMemberOfAnnotateClassByVar
获取注解class
luahelper-lsp/langserver/check/check_for_type.go:35
Method
IsModuleInsideVar
IsModuleInsideVar 判断传入的是否为系统模块内的变量
luahelper-lsp/langserver/check/common/system_tips.go:998
Function
IsOneValueType
IsOneValueType 判断exp是否为单值类型 如:整数,字符串等 不完全 区别于函数返回值可能有多个值
luahelper-lsp/langserver/check/common/util.go:436
Method
IsProtocolSubString
IsProtocolSubString 判断当前字符是否为某个协议前缀的子字符串
luahelper-lsp/langserver/check/common/global_conf.go:1084
Function
IsReferExpEmpty
IsReferExpEmpty 判断赋值的Exp是否指向的ReferExp为empty leftExp 为赋值表达式左边的变量 rightExp 为赋值表达式右边的变量
luahelper-lsp/langserver/check/common/util.go:1317
Function
IsSameErrList
(oldErrList []common.CheckError, newErrList []common.CheckError)
luahelper-lsp/langserver/lspcommon/util.go:26
Function
IsSameExp
IsSameExp 判断两个Exp是否指向的一样
luahelper-lsp/langserver/check/common/util.go:1197
Function
IsTypeEmpty
IsTypeEmpty 判断Type是否为空的, 空的意思是没有进行赋值
luahelper-lsp/langserver/check/annotation/annotateast/annotate_util.go:148
Function
IsVararg
IsVararg 判断是否是可变参数
luahelper-lsp/langserver/check/common/util.go:452
Function
IsVarargOrFuncCall
IsVarargOrFuncCall 判断exp是否为可变参数或是函数调用
luahelper-lsp/langserver/check/common/util.go:427
Function
JoinSimpleStr
JoinSimpleStr 字符串数组,进行拼接,如果每个成员为简单的字符串
luahelper-lsp/langserver/check/common/util.go:536
Function
JudgeIgnoreAssinVale
JudgeIgnoreAssinVale 判断是否要忽略此赋值语句的定义 例如这样的语句:a = a a = a or
luahelper-lsp/langserver/check/common/util.go:463
Function
JudgeReferSuffixFlag
JudgeReferSuffixFlag 判断引入其他文件的方式,是不要引入的路径要包含其他文件的后缀
luahelper-lsp/langserver/check/common/util.go:1428
Function
LastSegment
LastSegment returns the substring representing the last segment from the input, where each byte has an associated RuneRole in the roles slice. This ma
luahelper-lsp/langserver/check/check_lsp_symbol.go:164
Method
Len
* * sort.Interface methods */
luahelper-lsp/langserver/check/check_lsp_symbol.go:516
Method
Len
* * sort.Interface methods */
luahelper-lsp/langserver/check/common/dir_manager.go:612
Method
Len
* * sort.Interface methods */
luahelper-lsp/langserver/check/common/annotate_info.go:238
Method
Len
()
luahelper-lsp/langserver/check/common/annotate_info.go:251
Method
Len
Len 注解错误排序相关的获取长度的函数
luahelper-lsp/langserver/check/common/annotate_info.go:369
Method
Len
* * sort.Interface methods */
luahelper-lsp/langserver/check/common/annotate_info.go:628
Method
Len
* * sort.Interface methods */
luahelper-lsp/langserver/check/common/annotate_info.go:713
Method
Less
(i, j int)
luahelper-lsp/langserver/check/check_lsp_symbol.go:517
Method
Less
(i, j int)
luahelper-lsp/langserver/check/common/dir_manager.go:613
Method
Less
Less 注解错误排序比较的函数
luahelper-lsp/langserver/check/common/enum_info.go:42
Method
Less
(i, j int)
luahelper-lsp/langserver/check/common/annotate_info.go:239
Method
Less
(i, j int)
luahelper-lsp/langserver/check/common/annotate_info.go:252
Method
Less
Less 注解错误排序比较的函数
luahelper-lsp/langserver/check/common/annotate_info.go:372
Method
Less
(i, j int)
luahelper-lsp/langserver/check/common/annotate_info.go:629
Method
Less
(i, j int)
luahelper-lsp/langserver/check/common/annotate_info.go:714
Function
LocToRange
LocToRange luacheck里面的LocStruct转换为Range结构
luahelper-lsp/langserver/lspcommon/util.go:13
Method
LuaGarbageCollect
()
luahelper-vscode/src/debug/luaDebug.ts:866
Method
NewCacheNode
NewCacheNode 创建一个节点指针
luahelper-lsp/langserver/check/common/cache_lru.go:15
Function
NewLRUCache
NewLRUCache 创建一个整体封装结构指针
luahelper-lsp/langserver/check/common/cache_lru.go:28
Function
OffsetForPosition
OffsetForPosition Previously used bytes converted to rune. Now use the high bit to determine how many bits the character occupies. posLine (zero-based
luahelper-lsp/langserver/lspcommon/util.go:54
Method
Peek
()
luahelper-lsp/langserver/check/common/annotate_enum.go:30
Method
PushProgressReport
PushProgressReport 给客户端推送加载的进度消息
luahelper-lsp/langserver/progress_ntf.go:27
Method
SetSubDirs
SetSubDirs set sub dir vec
luahelper-lsp/langserver/check/common/dir_manager.go:156
Method
Shutdown
Shutdown lsp 关闭
luahelper-lsp/langserver/other_request.go:238
Method
Size
Size 返回目前的容量
luahelper-lsp/langserver/check/common/cache_lru.go:36
Function
SplitVec
SplitVec 将vec里的字符串再切分 传入切分符号 返回一个新的vec
luahelper-lsp/langserver/stringutil/util.go:70
Function
StrRemovePreG
StrRemovePreG 如果变量含有 !_G.的前缀,表示一定为全局空间的变量,切除_G.
luahelper-lsp/langserver/check/common/util.go:401
Function
StrRemoveSigh
StrRemoveSigh 判断变量是否为!的前缀,如果是切除掉前缀
luahelper-lsp/langserver/check/common/util.go:414
Function
StringToVscodeURI
StringToVscodeURI 文件真实路径转换成类似的 file:///g%3A/luaproject/src/tutorial.lua"
luahelper-lsp/langserver/pathpre/pathpre.go:50
Method
Swap
(i, j int)
luahelper-lsp/langserver/check/check_lsp_symbol.go:520
Method
Swap
(i, j int)
luahelper-lsp/langserver/check/common/dir_manager.go:617
Method
Swap
Swap 注解错误排序较好的函数
luahelper-lsp/langserver/check/common/enum_info.go:53
Method
Swap
(i, j int)
luahelper-lsp/langserver/check/common/annotate_info.go:243
Method
Swap
(i, j int)
luahelper-lsp/langserver/check/common/annotate_info.go:256
Method
Swap
Swap 注解错误排序较好的函数
luahelper-lsp/langserver/check/common/annotate_info.go:383
Method
Swap
(i, j int)
luahelper-lsp/langserver/check/common/annotate_info.go:649
Method
Swap
(i, j int)
luahelper-lsp/langserver/check/common/annotate_info.go:721
Method
TCPSplitChar
()
luahelper-vscode/src/debug/luaDebugRuntime.ts:26
Function
TestAnnotateParserAlias1
(t *testing.T)
luahelper-lsp/langserver/check/annotation/annotateparser/annotate_parser_test.go:219
Function
TestAnnotateParserAlias2
(t *testing.T)
luahelper-lsp/langserver/check/annotation/annotateparser/annotate_parser_test.go:262
Function
TestAnnotateParserAlias3
(t *testing.T)
luahelper-lsp/langserver/check/annotation/annotateparser/annotate_parser_test.go:305
Function
TestAnnotateParserAlias4
(t *testing.T)
luahelper-lsp/langserver/check/annotation/annotateparser/annotate_parser_test.go:348
Function
TestAnnotateParserCandidate1
(t *testing.T)
luahelper-lsp/langserver/check/annotation/annotateparser/annotate_parser_test.go:382
Function
TestAnnotateParserConst
(t *testing.T)
luahelper-lsp/langserver/check/annotation/annotateparser/annotate_parser_test.go:180
Function
TestAnnotateParserEnum1
(t *testing.T)
luahelper-lsp/langserver/check/annotation/annotateparser/annotate_parser_test.go:406
Function
TestAnnotateParserEnum2
(t *testing.T)
luahelper-lsp/langserver/check/annotation/annotateparser/annotate_parser_test.go:445
Function
TestAnnotateParserFun
(t *testing.T)
luahelper-lsp/langserver/check/annotation/annotateparser/annotate_parser_test.go:137
Function
TestAnnotateParserRun
(t *testing.T)
luahelper-lsp/langserver/check/annotation/annotateparser/annotate_parser_test.go:156
Function
TestAnnotateParserType
(t *testing.T)
luahelper-lsp/langserver/check/annotation/annotateparser/annotate_parser_test.go:108
Function
TestComplete1
(t *testing.T)
luahelper-lsp/langserver/textdocument_complete_test.go:13
Function
TestComplete1
(t *testing.T)
luahelper-lsp/langserver/codingconv/condingconv_test.go:8
Function
TestComplete10
测试全局table多个文件定义,对它的代码补全
luahelper-lsp/langserver/textdocument_complete_test.go:1724
Function
TestComplete2
(t *testing.T)
luahelper-lsp/langserver/textdocument_complete_test.go:102
Function
TestComplete3
(t *testing.T)
luahelper-lsp/langserver/textdocument_complete_test.go:679
Function
TestComplete4
# table的长度代码补全
luahelper-lsp/langserver/textdocument_complete_test.go:859
Function
TestComplete5
测试5,返回的table有嵌套的table代码补全
luahelper-lsp/langserver/textdocument_complete_test.go:1015
Function
TestComplete6
测试6,补全table的时候,展开table详细的信息
luahelper-lsp/langserver/textdocument_complete_test.go:1182
Function
TestComplete7
测试,注解class,展开table详细的信息
luahelper-lsp/langserver/textdocument_complete_test.go:1327
Function
TestComplete8
测试,注解class,展开table详细的信息2
luahelper-lsp/langserver/textdocument_complete_test.go:1492
Function
TestComplete9
(t *testing.T)
luahelper-lsp/langserver/textdocument_complete_test.go:1618
Function
TestCompleteAlias1
测试alias的代码补全
luahelper-lsp/langserver/textdocument_complete_test.go:1847
Function
TestCompleteAlias12
测试alias的代码补全, 返回的内容不包含 " 或是 '
luahelper-lsp/langserver/textdocument_complete_test.go:1994
Function
TestCompleteIntelligent1
历史记录智能补全,全局变量
luahelper-lsp/langserver/textdocument_complete_test.go:2311
Function
TestCompleteIntelligent2
历史记录智能补全, local变量
luahelper-lsp/langserver/textdocument_complete_test.go:2570
Function
TestCompleteIntelligent3
历史记录智能补全, 未定义的变量
luahelper-lsp/langserver/textdocument_complete_test.go:2829
Function
TestCompleteTableKey
测试注解table中的key值补全
luahelper-lsp/langserver/textdocument_complete_test.go:2161
Function
TestCompleteVarAndAnnotate
变量同时有类型也有注解
luahelper-lsp/langserver/textdocument_complete_test.go:3088
Function
TestCorrectParse
(t *testing.T)
luahelper-lsp/langserver/check/annotation/annotateparser/annotate_parser_test.go:9
Function
TestHover1
(t *testing.T)
luahelper-lsp/langserver/textdocument_hover_test.go:13
Function
TestHover10
测试注解与变量结合的:https://github.com/Tencent/LuaHelper/issues/61
luahelper-lsp/langserver/textdocument_hover_test.go:829
Function
TestHover11
原表变量 https://github.com/Tencent/LuaHelper/issues/61
luahelper-lsp/langserver/textdocument_hover_test.go:893
Function
TestHover12
原表变量含义__call https://github.com/Tencent/LuaHelper/issues/61
luahelper-lsp/langserver/textdocument_hover_test.go:1015
Function
TestHover13
注解与变量相结合,子定义是否会覆盖注解的
luahelper-lsp/langserver/textdocument_hover_test.go:1113
Function
TestHover2
(t *testing.T)
luahelper-lsp/langserver/textdocument_hover_test.go:99
Function
TestHover3
(t *testing.T)
luahelper-lsp/langserver/textdocument_hover_test.go:248
Function
TestHover4
测试项目中特有的improt功能
luahelper-lsp/langserver/textdocument_hover_test.go:405
Function
TestHover5
测试hover一个table时候,展开table的所有信息
luahelper-lsp/langserver/textdocument_hover_test.go:480
Function
TestHover6
测试hover注解类型时候,展开信息
luahelper-lsp/langserver/textdocument_hover_test.go:577
Function
TestHover7
测试hover注解类型时候,展开信息2
luahelper-lsp/langserver/textdocument_hover_test.go:658
Function
TestHover8
测试hover全局变量多个文件定义
luahelper-lsp/langserver/textdocument_hover_test.go:735
Function
TestHoverAnnotate
注解类型
luahelper-lsp/langserver/textdocument_hover_test.go:330
Function
TestHoverExpandG
expand G 扩展变量,出现了的变量
luahelper-lsp/langserver/textdocument_hover_test.go:1262
← previous
next →
1,101–1,200 of 1,325, ranked by callers