MCPcopy Create free account

hub / github.com/Tencent/LuaHelper / functions

Functions1,325 in github.com/Tencent/LuaHelper

MethodIsGFlag
IsGFlag 判断是否是为_G的全局变量
luahelper-lsp/langserver/check/common/var_info.go:340
MethodIsLineFragementEnum
IsLineFragementEnum 获取当前行关联是否有enum注解类型
luahelper-lsp/langserver/check/check_util.go:375
FunctionIsLocalReferExpEmpty
IsLocalReferExpEmpty 判断局部变量的定义的时候,定义的Exp是否指向的ReferExp为empty strName 为局部变量定义的名字 rightExp 为赋值表达式右边的变量
luahelper-lsp/langserver/check/common/util.go:1371
MethodIsMemberOfAnnotateClassByLoc
获取注解class
luahelper-lsp/langserver/check/check_for_type.go:106
MethodIsMemberOfAnnotateClassByVar
获取注解class
luahelper-lsp/langserver/check/check_for_type.go:35
MethodIsModuleInsideVar
IsModuleInsideVar 判断传入的是否为系统模块内的变量
luahelper-lsp/langserver/check/common/system_tips.go:998
FunctionIsOneValueType
IsOneValueType 判断exp是否为单值类型 如:整数,字符串等 不完全 区别于函数返回值可能有多个值
luahelper-lsp/langserver/check/common/util.go:436
MethodIsProtocolSubString
IsProtocolSubString 判断当前字符是否为某个协议前缀的子字符串
luahelper-lsp/langserver/check/common/global_conf.go:1084
FunctionIsReferExpEmpty
IsReferExpEmpty 判断赋值的Exp是否指向的ReferExp为empty leftExp 为赋值表达式左边的变量 rightExp 为赋值表达式右边的变量
luahelper-lsp/langserver/check/common/util.go:1317
FunctionIsSameErrList
(oldErrList []common.CheckError, newErrList []common.CheckError)
luahelper-lsp/langserver/lspcommon/util.go:26
FunctionIsSameExp
IsSameExp 判断两个Exp是否指向的一样
luahelper-lsp/langserver/check/common/util.go:1197
FunctionIsTypeEmpty
IsTypeEmpty 判断Type是否为空的, 空的意思是没有进行赋值
luahelper-lsp/langserver/check/annotation/annotateast/annotate_util.go:148
FunctionIsVararg
IsVararg 判断是否是可变参数
luahelper-lsp/langserver/check/common/util.go:452
FunctionIsVarargOrFuncCall
IsVarargOrFuncCall 判断exp是否为可变参数或是函数调用
luahelper-lsp/langserver/check/common/util.go:427
FunctionJoinSimpleStr
JoinSimpleStr 字符串数组,进行拼接,如果每个成员为简单的字符串
luahelper-lsp/langserver/check/common/util.go:536
FunctionJudgeIgnoreAssinVale
JudgeIgnoreAssinVale 判断是否要忽略此赋值语句的定义 例如这样的语句:a = a a = a or
luahelper-lsp/langserver/check/common/util.go:463
FunctionJudgeReferSuffixFlag
JudgeReferSuffixFlag 判断引入其他文件的方式,是不要引入的路径要包含其他文件的后缀
luahelper-lsp/langserver/check/common/util.go:1428
FunctionLastSegment
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
MethodLen
* * sort.Interface methods */
luahelper-lsp/langserver/check/check_lsp_symbol.go:516
MethodLen
* * sort.Interface methods */
luahelper-lsp/langserver/check/common/dir_manager.go:612
MethodLen
* * sort.Interface methods */
luahelper-lsp/langserver/check/common/annotate_info.go:238
MethodLen
()
luahelper-lsp/langserver/check/common/annotate_info.go:251
MethodLen
Len 注解错误排序相关的获取长度的函数
luahelper-lsp/langserver/check/common/annotate_info.go:369
MethodLen
* * sort.Interface methods */
luahelper-lsp/langserver/check/common/annotate_info.go:628
MethodLen
* * sort.Interface methods */
luahelper-lsp/langserver/check/common/annotate_info.go:713
MethodLess
(i, j int)
luahelper-lsp/langserver/check/check_lsp_symbol.go:517
MethodLess
(i, j int)
luahelper-lsp/langserver/check/common/dir_manager.go:613
MethodLess
Less 注解错误排序比较的函数
luahelper-lsp/langserver/check/common/enum_info.go:42
MethodLess
(i, j int)
luahelper-lsp/langserver/check/common/annotate_info.go:239
MethodLess
(i, j int)
luahelper-lsp/langserver/check/common/annotate_info.go:252
MethodLess
Less 注解错误排序比较的函数
luahelper-lsp/langserver/check/common/annotate_info.go:372
MethodLess
(i, j int)
luahelper-lsp/langserver/check/common/annotate_info.go:629
MethodLess
(i, j int)
luahelper-lsp/langserver/check/common/annotate_info.go:714
FunctionLocToRange
LocToRange luacheck里面的LocStruct转换为Range结构
luahelper-lsp/langserver/lspcommon/util.go:13
MethodLuaGarbageCollect
()
luahelper-vscode/src/debug/luaDebug.ts:866
MethodNewCacheNode
NewCacheNode 创建一个节点指针
luahelper-lsp/langserver/check/common/cache_lru.go:15
FunctionNewLRUCache
NewLRUCache 创建一个整体封装结构指针
luahelper-lsp/langserver/check/common/cache_lru.go:28
FunctionOffsetForPosition
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
MethodPeek
()
luahelper-lsp/langserver/check/common/annotate_enum.go:30
MethodPushProgressReport
PushProgressReport 给客户端推送加载的进度消息
luahelper-lsp/langserver/progress_ntf.go:27
MethodSetSubDirs
SetSubDirs set sub dir vec
luahelper-lsp/langserver/check/common/dir_manager.go:156
MethodShutdown
Shutdown lsp 关闭
luahelper-lsp/langserver/other_request.go:238
MethodSize
Size 返回目前的容量
luahelper-lsp/langserver/check/common/cache_lru.go:36
FunctionSplitVec
SplitVec 将vec里的字符串再切分 传入切分符号 返回一个新的vec
luahelper-lsp/langserver/stringutil/util.go:70
FunctionStrRemovePreG
StrRemovePreG 如果变量含有 !_G.的前缀,表示一定为全局空间的变量,切除_G.
luahelper-lsp/langserver/check/common/util.go:401
FunctionStrRemoveSigh
StrRemoveSigh 判断变量是否为!的前缀,如果是切除掉前缀
luahelper-lsp/langserver/check/common/util.go:414
FunctionStringToVscodeURI
StringToVscodeURI 文件真实路径转换成类似的 file:///g%3A/luaproject/src/tutorial.lua"
luahelper-lsp/langserver/pathpre/pathpre.go:50
MethodSwap
(i, j int)
luahelper-lsp/langserver/check/check_lsp_symbol.go:520
MethodSwap
(i, j int)
luahelper-lsp/langserver/check/common/dir_manager.go:617
MethodSwap
Swap 注解错误排序较好的函数
luahelper-lsp/langserver/check/common/enum_info.go:53
MethodSwap
(i, j int)
luahelper-lsp/langserver/check/common/annotate_info.go:243
MethodSwap
(i, j int)
luahelper-lsp/langserver/check/common/annotate_info.go:256
MethodSwap
Swap 注解错误排序较好的函数
luahelper-lsp/langserver/check/common/annotate_info.go:383
MethodSwap
(i, j int)
luahelper-lsp/langserver/check/common/annotate_info.go:649
MethodSwap
(i, j int)
luahelper-lsp/langserver/check/common/annotate_info.go:721
MethodTCPSplitChar
()
luahelper-vscode/src/debug/luaDebugRuntime.ts:26
FunctionTestAnnotateParserAlias1
(t *testing.T)
luahelper-lsp/langserver/check/annotation/annotateparser/annotate_parser_test.go:219
FunctionTestAnnotateParserAlias2
(t *testing.T)
luahelper-lsp/langserver/check/annotation/annotateparser/annotate_parser_test.go:262
FunctionTestAnnotateParserAlias3
(t *testing.T)
luahelper-lsp/langserver/check/annotation/annotateparser/annotate_parser_test.go:305
FunctionTestAnnotateParserAlias4
(t *testing.T)
luahelper-lsp/langserver/check/annotation/annotateparser/annotate_parser_test.go:348
FunctionTestAnnotateParserCandidate1
(t *testing.T)
luahelper-lsp/langserver/check/annotation/annotateparser/annotate_parser_test.go:382
FunctionTestAnnotateParserConst
(t *testing.T)
luahelper-lsp/langserver/check/annotation/annotateparser/annotate_parser_test.go:180
FunctionTestAnnotateParserEnum1
(t *testing.T)
luahelper-lsp/langserver/check/annotation/annotateparser/annotate_parser_test.go:406
FunctionTestAnnotateParserEnum2
(t *testing.T)
luahelper-lsp/langserver/check/annotation/annotateparser/annotate_parser_test.go:445
FunctionTestAnnotateParserFun
(t *testing.T)
luahelper-lsp/langserver/check/annotation/annotateparser/annotate_parser_test.go:137
FunctionTestAnnotateParserRun
(t *testing.T)
luahelper-lsp/langserver/check/annotation/annotateparser/annotate_parser_test.go:156
FunctionTestAnnotateParserType
(t *testing.T)
luahelper-lsp/langserver/check/annotation/annotateparser/annotate_parser_test.go:108
FunctionTestComplete1
(t *testing.T)
luahelper-lsp/langserver/textdocument_complete_test.go:13
FunctionTestComplete1
(t *testing.T)
luahelper-lsp/langserver/codingconv/condingconv_test.go:8
FunctionTestComplete10
测试全局table多个文件定义,对它的代码补全
luahelper-lsp/langserver/textdocument_complete_test.go:1724
FunctionTestComplete2
(t *testing.T)
luahelper-lsp/langserver/textdocument_complete_test.go:102
FunctionTestComplete3
(t *testing.T)
luahelper-lsp/langserver/textdocument_complete_test.go:679
FunctionTestComplete4
# table的长度代码补全
luahelper-lsp/langserver/textdocument_complete_test.go:859
FunctionTestComplete5
测试5,返回的table有嵌套的table代码补全
luahelper-lsp/langserver/textdocument_complete_test.go:1015
FunctionTestComplete6
测试6,补全table的时候,展开table详细的信息
luahelper-lsp/langserver/textdocument_complete_test.go:1182
FunctionTestComplete7
测试,注解class,展开table详细的信息
luahelper-lsp/langserver/textdocument_complete_test.go:1327
FunctionTestComplete8
测试,注解class,展开table详细的信息2
luahelper-lsp/langserver/textdocument_complete_test.go:1492
FunctionTestComplete9
(t *testing.T)
luahelper-lsp/langserver/textdocument_complete_test.go:1618
FunctionTestCompleteAlias1
测试alias的代码补全
luahelper-lsp/langserver/textdocument_complete_test.go:1847
FunctionTestCompleteAlias12
测试alias的代码补全, 返回的内容不包含 " 或是 '
luahelper-lsp/langserver/textdocument_complete_test.go:1994
FunctionTestCompleteIntelligent1
历史记录智能补全,全局变量
luahelper-lsp/langserver/textdocument_complete_test.go:2311
FunctionTestCompleteIntelligent2
历史记录智能补全, local变量
luahelper-lsp/langserver/textdocument_complete_test.go:2570
FunctionTestCompleteIntelligent3
历史记录智能补全, 未定义的变量
luahelper-lsp/langserver/textdocument_complete_test.go:2829
FunctionTestCompleteTableKey
测试注解table中的key值补全
luahelper-lsp/langserver/textdocument_complete_test.go:2161
FunctionTestCompleteVarAndAnnotate
变量同时有类型也有注解
luahelper-lsp/langserver/textdocument_complete_test.go:3088
FunctionTestCorrectParse
(t *testing.T)
luahelper-lsp/langserver/check/annotation/annotateparser/annotate_parser_test.go:9
FunctionTestHover1
(t *testing.T)
luahelper-lsp/langserver/textdocument_hover_test.go:13
FunctionTestHover10
测试注解与变量结合的:https://github.com/Tencent/LuaHelper/issues/61
luahelper-lsp/langserver/textdocument_hover_test.go:829
FunctionTestHover11
原表变量 https://github.com/Tencent/LuaHelper/issues/61
luahelper-lsp/langserver/textdocument_hover_test.go:893
FunctionTestHover12
原表变量含义__call https://github.com/Tencent/LuaHelper/issues/61
luahelper-lsp/langserver/textdocument_hover_test.go:1015
FunctionTestHover13
注解与变量相结合,子定义是否会覆盖注解的
luahelper-lsp/langserver/textdocument_hover_test.go:1113
FunctionTestHover2
(t *testing.T)
luahelper-lsp/langserver/textdocument_hover_test.go:99
FunctionTestHover3
(t *testing.T)
luahelper-lsp/langserver/textdocument_hover_test.go:248
FunctionTestHover4
测试项目中特有的improt功能
luahelper-lsp/langserver/textdocument_hover_test.go:405
FunctionTestHover5
测试hover一个table时候,展开table的所有信息
luahelper-lsp/langserver/textdocument_hover_test.go:480
FunctionTestHover6
测试hover注解类型时候,展开信息
luahelper-lsp/langserver/textdocument_hover_test.go:577
FunctionTestHover7
测试hover注解类型时候,展开信息2
luahelper-lsp/langserver/textdocument_hover_test.go:658
FunctionTestHover8
测试hover全局变量多个文件定义
luahelper-lsp/langserver/textdocument_hover_test.go:735
FunctionTestHoverAnnotate
注解类型
luahelper-lsp/langserver/textdocument_hover_test.go:330
FunctionTestHoverExpandG
expand G 扩展变量,出现了的变量
luahelper-lsp/langserver/textdocument_hover_test.go:1262
← previousnext →1,101–1,200 of 1,325, ranked by callers