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
↓ 1 callers
Function
parseUri
(uri)
luahelper-vscode/client/3rd/vscode-lua-doc/extension.js:172
↓ 1 callers
Method
parseWhileStat
while exp do block end
luahelper-lsp/langserver/check/compiler/parser/parse_stat.go:117
↓ 1 callers
Function
parserAliasState
解析@Alias ---@alias NEW_NAME TYPE
luahelper-lsp/langserver/check/annotation/annotateparser/annotate_parser_state.go:71
↓ 1 callers
Function
parserClassState
解析@class ---@class MY_TYPE[:PARENT_TYPE] [@comment] ---@class MY_TYPE{:PARENT_TYPE [,PARENT_TYPE]}
luahelper-lsp/langserver/check/annotation/annotateparser/annotate_parser_state.go:109
↓ 1 callers
Function
parserEnumState
解析@enum ---@enum start @comment 表示枚举段的开始 ---@enum end @comment 表示枚举段的结束
luahelper-lsp/langserver/check/annotation/annotateparser/annotate_parser_state.go:342
↓ 1 callers
Function
parserExtraAliasLine
ParserAliasLine 额外解析alias换行的,例如这样的:---| '"w"' # Write data to this program by `file`.
luahelper-lsp/langserver/check/annotation/annotateparser/annotate_parser_type.go:282
↓ 1 callers
Function
parserFieldState
解析@field ---@field [public|protected|private] field_name FIELDLTYPE[|OTHER_TYPE] [@comment]
luahelper-lsp/langserver/check/annotation/annotateparser/annotate_parser_state.go:169
↓ 1 callers
Function
parserGenericState
解析@generic ---@generic T1 [: PARENT_TYPE] [, T2 [: PARENT_TYPE]] @comment @comment
luahelper-lsp/langserver/check/annotation/annotateparser/annotate_parser_state.go:282
↓ 1 callers
Function
parserOneState
(l *annotatelexer.AnnotateLexer)
luahelper-lsp/langserver/check/annotation/annotateparser/annotate_parser.go:117
↓ 1 callers
Function
parserOverloadState
解析@overload ---@overload fun(list:table, sep:string):string
luahelper-lsp/langserver/check/annotation/annotateparser/annotate_parser_state.go:150
↓ 1 callers
Function
parserParamState
解析@param ---@param [const] param_name MY_TYPE[|other_type] [@comment]
luahelper-lsp/langserver/check/annotation/annotateparser/annotate_parser_state.go:212
↓ 1 callers
Function
parserReturnState
解析@return ---@return RETURN_TYPE[|OTHER_TYPE] [@comment1] ---@return RETURN_TYPE1[|OTHER_TYPE], RETURN_TYPE2[|OTHER_TYPE] [@comment1] [@comment2]
luahelper-lsp/langserver/check/annotation/annotateparser/annotate_parser_state.go:248
↓ 1 callers
Function
parserSingleType
继续单个的类型,不包含|
luahelper-lsp/langserver/check/annotation/annotateparser/annotate_parser_type.go:11
↓ 1 callers
Function
parserTableType
解析table 类型 ---@type table<KEY_TYPE[|KEY_OTHER_TYPE], VALUE_TYPE[|VAULE_OTHER_TYPE]> ---@type table (table有可能没有key或value)
luahelper-lsp/langserver/check/annotation/annotateparser/annotate_parser_type.go:241
↓ 1 callers
Function
parserTypeState
解析最基础的@type ---@type [const] MY_TYPE[|OTHER_TYPE] [@comment] ---@type [const] MY_TYPE[|OTHER_TYPE], [const] MY_TYPE[|OTHER_TYPE] [@comment] [@comment]
luahelper-lsp/langserver/check/annotation/annotateparser/annotate_parser_state.go:12
↓ 1 callers
Function
parserVarargState
解析@vararg ---@vararg TYPE
luahelper-lsp/langserver/check/annotation/annotateparser/annotate_parser_state.go:324
↓ 1 callers
Method
poorMatch
()
luahelper-lsp/langserver/check/check_lsp_symbol.go:469
↓ 1 callers
Function
preNUm
(data byte)
luahelper-lsp/langserver/codingconv/codingconv.go:27
↓ 1 callers
Method
prevK
()
luahelper-lsp/langserver/check/check_lsp_symbol.go:210
↓ 1 callers
Method
printLog
* 在Debugger日志中输出
luahelper-vscode/src/debug/luaDebugRuntime.ts:209
↓ 1 callers
Function
print_all_breakpoint_map
打印断点信息
luahelper-vscode/debugger/debugger_lib/libpdebug.cpp:114
↓ 1 callers
Method
processADBReverse
(messageObj)
luahelper-vscode/src/debug/visualSetting.ts:189
↓ 1 callers
Method
processSaveSettings
(messageObj)
luahelper-vscode/src/debug/visualSetting.ts:205
↓ 1 callers
Method
protocolCodeComplete
查找所有的协议前缀
luahelper-lsp/langserver/check/check_lsp_complete.go:146
↓ 1 callers
Method
pushAllChangeFileDiagnosticErr
pushAllChangeFileDiagnosticErr 推送所有的临时错误
luahelper-lsp/langserver/diagnostics_manager.go:193
↓ 1 callers
Function
push_args
luahelper-vscode/debugger/debugger_lib/libpdebug.cpp:174
↓ 1 callers
Method
readEscapeSequence
(i *int)
luahelper-lsp/langserver/check/compiler/lexer/lexer.go:852
↓ 1 callers
Method
rebuildAcceptExtMap
(userSetExt? : string)
luahelper-vscode/src/common/tools.ts:116
↓ 1 callers
Method
rebuildWorkspaceNamePathMap
(rootPath : string)
luahelper-vscode/src/common/pathManager.ts:26
↓ 1 callers
Function
recvFindSymbol
将每个协程得到的结果整合到最终需要返回的结果中
luahelper-lsp/langserver/check/check_lsp_symbol.go:829
↓ 1 callers
Function
recvFourFile
(defineVecs *[]DefineStruct, fourFileChan FourFileChan, ignoreDefineLoc lexer.Location)
luahelper-lsp/langserver/check/check_lsp_references.go:230
↓ 1 callers
Method
recvSecondProject
(projectChan SecondProjectChan)
luahelper-lsp/langserver/check/check_second_project.go:42
↓ 1 callers
Function
recvThirdFile
(third *results.AnalysisThird, thirdChan thirdFileChan)
luahelper-lsp/langserver/check/check_third_file.go:43
↓ 1 callers
Method
recvWorkChann
(chanResult FirstWorkChan)
luahelper-lsp/langserver/check/check_first_hanlde.go:152
↓ 1 callers
Method
refreshLuaMemoty
* 刷新显示lua虚拟机内存信息
luahelper-vscode/src/debug/luaDebugRuntime.ts:216
↓ 1 callers
Function
relateVarBeforeFragementNewType
判断varInfo是否要与紧跟着前面的注释段里面的class或是alias关联起来 返回值表示这次是否有关联到
luahelper-lsp/langserver/check/common/annotate_info.go:655
↓ 1 callers
Method
relateVarBeforeFragementType
判断varInfo是否要与紧跟着前面的注释段里面的type域关联起来 返回值表示这次是否有关联到
luahelper-lsp/langserver/check/common/annotate_info.go:771
↓ 1 callers
Method
removeDir
(dir)
luahelper-vscode/src/common/tools.ts:152
↓ 1 callers
Method
removeWorkspaceFolder
removeWorkspaceFolder 处理移除文件夹
luahelper-lsp/langserver/workspace_folders.go:72
↓ 1 callers
Function
requestAnnotatorsImpl
(editor: vscode.TextEditor, client: LanguageClient)
luahelper-vscode/src/annotator.ts:51
↓ 1 callers
Method
resetDirCache
resetDirCache
luahelper-lsp/langserver/check/common/dir_manager.go:212
↓ 1 callers
Function
revealWebviewPanel
(workPath, webviewPanel, state)
luahelper-vscode/client/3rd/vscode-lua-doc/extension.js:248
↓ 1 callers
Function
runLocalDiagnostices
(localpath string)
luahelper-lsp/main.go:110
↓ 1 callers
Method
scanFileIncludeAllFiles
扫描散落的文件,包含的所有文件
luahelper-lsp/langserver/check/check_third_file.go:137
↓ 1 callers
Method
scanIdentifier
scanIdentifier 获取下个标识符
luahelper-lsp/langserver/check/annotation/annotatelexer/annotate_lexer.go:295
↓ 1 callers
Method
scanIdentifier
scanIdentifier 获取下个标识符
luahelper-lsp/langserver/check/compiler/lexer/lexer.go:652
↓ 1 callers
Method
scanIllegalToken
()
luahelper-lsp/langserver/check/compiler/lexer/lexer.go:435
↓ 1 callers
Method
scanNumber
scanNumber 扫描数字
luahelper-lsp/langserver/check/compiler/lexer/lexer.go:681
↓ 1 callers
Method
scanProjectAllFiles
只扫描工程中所有加载的文件
luahelper-lsp/langserver/check/check_second_project.go:240
↓ 1 callers
Method
scanShortString
()
luahelper-lsp/langserver/check/annotation/annotatelexer/annotate_lexer.go:271
↓ 1 callers
Method
scanShortString
()
luahelper-lsp/langserver/check/compiler/lexer/lexer.go:950
↓ 1 callers
Method
setConfigRelativeDir
(baseDir string)
luahelper-lsp/langserver/check/common/dir_manager.go:77
↓ 1 callers
Function
setConfigSet
setConfigSet 设置配置
luahelper-lsp/langserver/lsp_server.go:154
↓ 1 callers
Method
setInfoFileAnnotateTypes
设置变量关联的注解类型
luahelper-lsp/langserver/check/check_lsp_annotate.go:1433
↓ 1 callers
Method
setLaunchjson
(rootFolder, key, value, tag = '')
luahelper-vscode/src/debug/visualSetting.ts:11
↓ 1 callers
Method
setSysNotUseMap
()
luahelper-lsp/langserver/check/common/global_conf.go:312
↓ 1 callers
Method
setVariable
* 设置 某一变量的值 * @param callback: 收到请求返回后的回调函数 * @param callbackArgs:回调参数 * @param name: 变量名 * @param newValue: 用户设置的新值 * @param
luahelper-vscode/src/debug/luaDebugRuntime.ts:129
↓ 1 callers
Method
showTip
* 显示tip info
luahelper-vscode/src/debug/luaDebugRuntime.ts:223
↓ 1 callers
Method
skipComment
skipComment 跳过注释, 获取注释内容 shortFlag true表示长注释,false表示短注释 strComment 为注释的内容
luahelper-lsp/langserver/check/compiler/lexer/lexer.go:619
↓ 1 callers
Method
skipWhiteSpaces
skipWhiteSpaces 跳过空格
luahelper-lsp/langserver/check/annotation/annotatelexer/annotate_lexer.go:109
↓ 1 callers
Method
skipWhiteSpaces
skipWhiteSpaces 跳过空格
luahelper-lsp/langserver/check/compiler/lexer/lexer.go:525
↓ 1 callers
Function
socketRPC
网络的方式运行rpc
luahelper-lsp/main.go:73
↓ 1 callers
Function
spliteAnnotateStr
(contents []byte, offset int)
luahelper-lsp/langserver/textdocument_hover.go:191
↓ 1 callers
Method
stack
* 向 luadebug.ts 返回保存的堆栈信息
luahelper-vscode/src/debug/luaDebugRuntime.ts:199
↓ 1 callers
Method
startClient
(sendArgs)
luahelper-vscode/src/debug/luaDebug.ts:435
↓ 1 callers
Function
startServer
()
luahelper-vscode/src/extension.ts:129
↓ 1 callers
Method
startServer
(sendArgs)
luahelper-vscode/src/debug/luaDebug.ts:373
↓ 1 callers
Function
step_process
单步处理
luahelper-vscode/debugger/debugger_lib/libpdebug.cpp:540
↓ 1 callers
Method
stopRun
* 通知Debugger停止运行
luahelper-vscode/src/debug/luaDebugRuntime.ts:159
↓ 1 callers
Function
stopServer
()
luahelper-vscode/src/extension.ts:348
↓ 1 callers
Method
systemMoudleComplete
查找所有的协议前缀
luahelper-lsp/langserver/check/check_lsp_complete.go:373
↓ 1 callers
Method
test
(s string)
luahelper-lsp/langserver/check/compiler/lexer/lexer_test.go:172
↓ 1 callers
Method
testSpecial
()
luahelper-lsp/langserver/check/compiler/lexer/lexer_test.go:207
↓ 1 callers
Function
transferSymbolVec
transferSymbolVec 转换fileSybmols为DocumentSymbol
luahelper-lsp/langserver/textdocument_symbol.go:30
↓ 1 callers
Function
updateAnnotators
(editor: vscode.TextEditor, type: AnnotatorType, ranges: vscode.Range[])
luahelper-vscode/src/annotator.ts:85
↓ 1 callers
Method
updateLuaPandaFile
(LuaPandaPath)
luahelper-vscode/src/debug/updateManager.ts:63
↓ 1 callers
Method
varInfoHasSubKey
判断变量是否含有子的strKey子项
luahelper-lsp/langserver/check/check_find_var_refer.go:454
Function
BenchmarkCombineTest1
(b *testing.B)
luahelper-lsp/langserver/check/compiler/lexer/lexer_test.go:274
Function
BenchmarkConstCopy
BenchmarkConstCopy 产生常量来替换
luahelper-lsp/langserver/check/compiler/lexer/lexer_test.go:118
Function
BenchmarkEveryCopy
BenchmarkEveryCopy copy每一个成员
luahelper-lsp/langserver/check/compiler/lexer/lexer_test.go:131
Function
BenchmarkIsLetter
(b *testing.B)
luahelper-lsp/langserver/check/compiler/lexer/lexer_test.go:162
Function
BenchmarkLexerTest
BenchmarkLexerTest 改写的字符串匹配
luahelper-lsp/langserver/check/compiler/lexer/lexer_test.go:188
Function
BenchmarkLexerTestOld
BenchmarkLexerTestOld 利用字符串自带的方法匹配
luahelper-lsp/langserver/check/compiler/lexer/lexer_test.go:198
Function
BenchmarkLexerTestSpecial
BenchmarkLexerTestSpecial 匹配特殊的
luahelper-lsp/langserver/check/compiler/lexer/lexer_test.go:220
Function
BenchmarkNormalIsLetter
(b *testing.B)
luahelper-lsp/langserver/check/compiler/lexer/lexer_test.go:147
Function
BenchmarkSplitTest1
BenchmarkSplitTest1 测试分开的结构
luahelper-lsp/langserver/check/compiler/lexer/lexer_test.go:247
Function
BenchmarkTmpCopy
BenchmarkTmpCopy 产生临时变量来赋值
luahelper-lsp/langserver/check/compiler/lexer/lexer_test.go:105
Function
Benchmark_BytesToString
(b *testing.B)
luahelper-lsp/langserver/strbytesconv/strbytesconv_test.go:94
Function
Benchmark_StringToBytes
(b *testing.B)
luahelper-lsp/langserver/strbytesconv/strbytesconv_test.go:82
Function
Benchmark_getBytesToString
(b *testing.B)
luahelper-lsp/langserver/strbytesconv/strbytesconv_test.go:100
Function
Benchmark_getStringToBytes
(b *testing.B)
luahelper-lsp/langserver/strbytesconv/strbytesconv_test.go:88
Method
CUR_THREAD_ID
()
luahelper-vscode/src/common/threadManager.ts:7
Method
CancelRequest
CancelRequest 取消一个请求
luahelper-lsp/langserver/other_request.go:15
Method
ChangeConfiguration
ChangeConfiguration 修改配置请求
luahelper-lsp/langserver/other_request.go:155
Function
ChangeFuncSelfToReferVar
ChangeFuncSelfToReferVar 冒号 函数,self语法进行转换 判断是否为这样的在冒号函数内, self.b 这样的 self要进行转换为b,统一起来 a = {} function a:test1() self.b = 3 -- 传入的为self.b end
luahelper-lsp/langserver/check/common/util.go:1040
Function
ChangeSelfToVarComplete
ChangeSelfToVarComplete 冒号 函数,self语法进行转换
luahelper-lsp/langserver/check/common/util.go:1077
Method
CheckMapEnum
checkMapEnum 检查文件map的enum枚举段定义是否有重复的值
luahelper-lsp/langserver/check/results/file_struct.go:49
Function
CloseLog
是否关闭日志
luahelper-lsp/langserver/log/log.go:46
Function
CompExp
比较两个exp是否内容重复,只针对部分类型,
luahelper-lsp/langserver/check/common/util.go:677
Function
CompareTwoLoc
CompareTwoLoc 对比两个loc是否一样的
luahelper-lsp/langserver/check/compiler/lexer/common.go:58
← previous
next →
901–1,000 of 1,325, ranked by callers