MCPcopy Create free account

hub / github.com/Tencent/LuaHelper / functions

Functions1,325 in github.com/Tencent/LuaHelper

↓ 1 callersFunctionparseUri
(uri)
luahelper-vscode/client/3rd/vscode-lua-doc/extension.js:172
↓ 1 callersMethodparseWhileStat
while exp do block end
luahelper-lsp/langserver/check/compiler/parser/parse_stat.go:117
↓ 1 callersFunctionparserAliasState
解析@Alias ---@alias NEW_NAME TYPE
luahelper-lsp/langserver/check/annotation/annotateparser/annotate_parser_state.go:71
↓ 1 callersFunctionparserClassState
解析@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 callersFunctionparserEnumState
解析@enum ---@enum start @comment 表示枚举段的开始 ---@enum end @comment 表示枚举段的结束
luahelper-lsp/langserver/check/annotation/annotateparser/annotate_parser_state.go:342
↓ 1 callersFunctionparserExtraAliasLine
ParserAliasLine 额外解析alias换行的,例如这样的:---| '"w"' # Write data to this program by `file`.
luahelper-lsp/langserver/check/annotation/annotateparser/annotate_parser_type.go:282
↓ 1 callersFunctionparserFieldState
解析@field ---@field [public|protected|private] field_name FIELDLTYPE[|OTHER_TYPE] [@comment]
luahelper-lsp/langserver/check/annotation/annotateparser/annotate_parser_state.go:169
↓ 1 callersFunctionparserGenericState
解析@generic ---@generic T1 [: PARENT_TYPE] [, T2 [: PARENT_TYPE]] @comment @comment
luahelper-lsp/langserver/check/annotation/annotateparser/annotate_parser_state.go:282
↓ 1 callersFunctionparserOneState
(l *annotatelexer.AnnotateLexer)
luahelper-lsp/langserver/check/annotation/annotateparser/annotate_parser.go:117
↓ 1 callersFunctionparserOverloadState
解析@overload ---@overload fun(list:table, sep:string):string
luahelper-lsp/langserver/check/annotation/annotateparser/annotate_parser_state.go:150
↓ 1 callersFunctionparserParamState
解析@param ---@param [const] param_name MY_TYPE[|other_type] [@comment]
luahelper-lsp/langserver/check/annotation/annotateparser/annotate_parser_state.go:212
↓ 1 callersFunctionparserReturnState
解析@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 callersFunctionparserSingleType
继续单个的类型,不包含|
luahelper-lsp/langserver/check/annotation/annotateparser/annotate_parser_type.go:11
↓ 1 callersFunctionparserTableType
解析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 callersFunctionparserTypeState
解析最基础的@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 callersFunctionparserVarargState
解析@vararg ---@vararg TYPE
luahelper-lsp/langserver/check/annotation/annotateparser/annotate_parser_state.go:324
↓ 1 callersMethodpoorMatch
()
luahelper-lsp/langserver/check/check_lsp_symbol.go:469
↓ 1 callersFunctionpreNUm
(data byte)
luahelper-lsp/langserver/codingconv/codingconv.go:27
↓ 1 callersMethodprevK
()
luahelper-lsp/langserver/check/check_lsp_symbol.go:210
↓ 1 callersMethodprintLog
* 在Debugger日志中输出
luahelper-vscode/src/debug/luaDebugRuntime.ts:209
↓ 1 callersFunctionprint_all_breakpoint_map
打印断点信息
luahelper-vscode/debugger/debugger_lib/libpdebug.cpp:114
↓ 1 callersMethodprocessADBReverse
(messageObj)
luahelper-vscode/src/debug/visualSetting.ts:189
↓ 1 callersMethodprocessSaveSettings
(messageObj)
luahelper-vscode/src/debug/visualSetting.ts:205
↓ 1 callersMethodprotocolCodeComplete
查找所有的协议前缀
luahelper-lsp/langserver/check/check_lsp_complete.go:146
↓ 1 callersMethodpushAllChangeFileDiagnosticErr
pushAllChangeFileDiagnosticErr 推送所有的临时错误
luahelper-lsp/langserver/diagnostics_manager.go:193
↓ 1 callersFunctionpush_args
luahelper-vscode/debugger/debugger_lib/libpdebug.cpp:174
↓ 1 callersMethodreadEscapeSequence
(i *int)
luahelper-lsp/langserver/check/compiler/lexer/lexer.go:852
↓ 1 callersMethodrebuildAcceptExtMap
(userSetExt? : string)
luahelper-vscode/src/common/tools.ts:116
↓ 1 callersMethodrebuildWorkspaceNamePathMap
(rootPath : string)
luahelper-vscode/src/common/pathManager.ts:26
↓ 1 callersFunctionrecvFindSymbol
将每个协程得到的结果整合到最终需要返回的结果中
luahelper-lsp/langserver/check/check_lsp_symbol.go:829
↓ 1 callersFunctionrecvFourFile
(defineVecs *[]DefineStruct, fourFileChan FourFileChan, ignoreDefineLoc lexer.Location)
luahelper-lsp/langserver/check/check_lsp_references.go:230
↓ 1 callersMethodrecvSecondProject
(projectChan SecondProjectChan)
luahelper-lsp/langserver/check/check_second_project.go:42
↓ 1 callersFunctionrecvThirdFile
(third *results.AnalysisThird, thirdChan thirdFileChan)
luahelper-lsp/langserver/check/check_third_file.go:43
↓ 1 callersMethodrecvWorkChann
(chanResult FirstWorkChan)
luahelper-lsp/langserver/check/check_first_hanlde.go:152
↓ 1 callersMethodrefreshLuaMemoty
* 刷新显示lua虚拟机内存信息
luahelper-vscode/src/debug/luaDebugRuntime.ts:216
↓ 1 callersFunctionrelateVarBeforeFragementNewType
判断varInfo是否要与紧跟着前面的注释段里面的class或是alias关联起来 返回值表示这次是否有关联到
luahelper-lsp/langserver/check/common/annotate_info.go:655
↓ 1 callersMethodrelateVarBeforeFragementType
判断varInfo是否要与紧跟着前面的注释段里面的type域关联起来 返回值表示这次是否有关联到
luahelper-lsp/langserver/check/common/annotate_info.go:771
↓ 1 callersMethodremoveDir
(dir)
luahelper-vscode/src/common/tools.ts:152
↓ 1 callersMethodremoveWorkspaceFolder
removeWorkspaceFolder 处理移除文件夹
luahelper-lsp/langserver/workspace_folders.go:72
↓ 1 callersFunctionrequestAnnotatorsImpl
(editor: vscode.TextEditor, client: LanguageClient)
luahelper-vscode/src/annotator.ts:51
↓ 1 callersMethodresetDirCache
resetDirCache
luahelper-lsp/langserver/check/common/dir_manager.go:212
↓ 1 callersFunctionrevealWebviewPanel
(workPath, webviewPanel, state)
luahelper-vscode/client/3rd/vscode-lua-doc/extension.js:248
↓ 1 callersFunctionrunLocalDiagnostices
(localpath string)
luahelper-lsp/main.go:110
↓ 1 callersMethodscanFileIncludeAllFiles
扫描散落的文件,包含的所有文件
luahelper-lsp/langserver/check/check_third_file.go:137
↓ 1 callersMethodscanIdentifier
scanIdentifier 获取下个标识符
luahelper-lsp/langserver/check/annotation/annotatelexer/annotate_lexer.go:295
↓ 1 callersMethodscanIdentifier
scanIdentifier 获取下个标识符
luahelper-lsp/langserver/check/compiler/lexer/lexer.go:652
↓ 1 callersMethodscanIllegalToken
()
luahelper-lsp/langserver/check/compiler/lexer/lexer.go:435
↓ 1 callersMethodscanNumber
scanNumber 扫描数字
luahelper-lsp/langserver/check/compiler/lexer/lexer.go:681
↓ 1 callersMethodscanProjectAllFiles
只扫描工程中所有加载的文件
luahelper-lsp/langserver/check/check_second_project.go:240
↓ 1 callersMethodscanShortString
()
luahelper-lsp/langserver/check/annotation/annotatelexer/annotate_lexer.go:271
↓ 1 callersMethodscanShortString
()
luahelper-lsp/langserver/check/compiler/lexer/lexer.go:950
↓ 1 callersMethodsetConfigRelativeDir
(baseDir string)
luahelper-lsp/langserver/check/common/dir_manager.go:77
↓ 1 callersFunctionsetConfigSet
setConfigSet 设置配置
luahelper-lsp/langserver/lsp_server.go:154
↓ 1 callersMethodsetInfoFileAnnotateTypes
设置变量关联的注解类型
luahelper-lsp/langserver/check/check_lsp_annotate.go:1433
↓ 1 callersMethodsetLaunchjson
(rootFolder, key, value, tag = '')
luahelper-vscode/src/debug/visualSetting.ts:11
↓ 1 callersMethodsetSysNotUseMap
()
luahelper-lsp/langserver/check/common/global_conf.go:312
↓ 1 callersMethodsetVariable
* 设置 某一变量的值 * @param callback: 收到请求返回后的回调函数 * @param callbackArgs:回调参数 * @param name: 变量名 * @param newValue: 用户设置的新值 * @param
luahelper-vscode/src/debug/luaDebugRuntime.ts:129
↓ 1 callersMethodshowTip
* 显示tip info
luahelper-vscode/src/debug/luaDebugRuntime.ts:223
↓ 1 callersMethodskipComment
skipComment 跳过注释, 获取注释内容 shortFlag true表示长注释,false表示短注释 strComment 为注释的内容
luahelper-lsp/langserver/check/compiler/lexer/lexer.go:619
↓ 1 callersMethodskipWhiteSpaces
skipWhiteSpaces 跳过空格
luahelper-lsp/langserver/check/annotation/annotatelexer/annotate_lexer.go:109
↓ 1 callersMethodskipWhiteSpaces
skipWhiteSpaces 跳过空格
luahelper-lsp/langserver/check/compiler/lexer/lexer.go:525
↓ 1 callersFunctionsocketRPC
网络的方式运行rpc
luahelper-lsp/main.go:73
↓ 1 callersFunctionspliteAnnotateStr
(contents []byte, offset int)
luahelper-lsp/langserver/textdocument_hover.go:191
↓ 1 callersMethodstack
* 向 luadebug.ts 返回保存的堆栈信息
luahelper-vscode/src/debug/luaDebugRuntime.ts:199
↓ 1 callersMethodstartClient
(sendArgs)
luahelper-vscode/src/debug/luaDebug.ts:435
↓ 1 callersFunctionstartServer
()
luahelper-vscode/src/extension.ts:129
↓ 1 callersMethodstartServer
(sendArgs)
luahelper-vscode/src/debug/luaDebug.ts:373
↓ 1 callersFunctionstep_process
单步处理
luahelper-vscode/debugger/debugger_lib/libpdebug.cpp:540
↓ 1 callersMethodstopRun
* 通知Debugger停止运行
luahelper-vscode/src/debug/luaDebugRuntime.ts:159
↓ 1 callersFunctionstopServer
()
luahelper-vscode/src/extension.ts:348
↓ 1 callersMethodsystemMoudleComplete
查找所有的协议前缀
luahelper-lsp/langserver/check/check_lsp_complete.go:373
↓ 1 callersMethodtest
(s string)
luahelper-lsp/langserver/check/compiler/lexer/lexer_test.go:172
↓ 1 callersMethodtestSpecial
()
luahelper-lsp/langserver/check/compiler/lexer/lexer_test.go:207
↓ 1 callersFunctiontransferSymbolVec
transferSymbolVec 转换fileSybmols为DocumentSymbol
luahelper-lsp/langserver/textdocument_symbol.go:30
↓ 1 callersFunctionupdateAnnotators
(editor: vscode.TextEditor, type: AnnotatorType, ranges: vscode.Range[])
luahelper-vscode/src/annotator.ts:85
↓ 1 callersMethodupdateLuaPandaFile
(LuaPandaPath)
luahelper-vscode/src/debug/updateManager.ts:63
↓ 1 callersMethodvarInfoHasSubKey
判断变量是否含有子的strKey子项
luahelper-lsp/langserver/check/check_find_var_refer.go:454
FunctionBenchmarkCombineTest1
(b *testing.B)
luahelper-lsp/langserver/check/compiler/lexer/lexer_test.go:274
FunctionBenchmarkConstCopy
BenchmarkConstCopy 产生常量来替换
luahelper-lsp/langserver/check/compiler/lexer/lexer_test.go:118
FunctionBenchmarkEveryCopy
BenchmarkEveryCopy copy每一个成员
luahelper-lsp/langserver/check/compiler/lexer/lexer_test.go:131
FunctionBenchmarkIsLetter
(b *testing.B)
luahelper-lsp/langserver/check/compiler/lexer/lexer_test.go:162
FunctionBenchmarkLexerTest
BenchmarkLexerTest 改写的字符串匹配
luahelper-lsp/langserver/check/compiler/lexer/lexer_test.go:188
FunctionBenchmarkLexerTestOld
BenchmarkLexerTestOld 利用字符串自带的方法匹配
luahelper-lsp/langserver/check/compiler/lexer/lexer_test.go:198
FunctionBenchmarkLexerTestSpecial
BenchmarkLexerTestSpecial 匹配特殊的
luahelper-lsp/langserver/check/compiler/lexer/lexer_test.go:220
FunctionBenchmarkNormalIsLetter
(b *testing.B)
luahelper-lsp/langserver/check/compiler/lexer/lexer_test.go:147
FunctionBenchmarkSplitTest1
BenchmarkSplitTest1 测试分开的结构
luahelper-lsp/langserver/check/compiler/lexer/lexer_test.go:247
FunctionBenchmarkTmpCopy
BenchmarkTmpCopy 产生临时变量来赋值
luahelper-lsp/langserver/check/compiler/lexer/lexer_test.go:105
FunctionBenchmark_BytesToString
(b *testing.B)
luahelper-lsp/langserver/strbytesconv/strbytesconv_test.go:94
FunctionBenchmark_StringToBytes
(b *testing.B)
luahelper-lsp/langserver/strbytesconv/strbytesconv_test.go:82
FunctionBenchmark_getBytesToString
(b *testing.B)
luahelper-lsp/langserver/strbytesconv/strbytesconv_test.go:100
FunctionBenchmark_getStringToBytes
(b *testing.B)
luahelper-lsp/langserver/strbytesconv/strbytesconv_test.go:88
MethodCUR_THREAD_ID
()
luahelper-vscode/src/common/threadManager.ts:7
MethodCancelRequest
CancelRequest 取消一个请求
luahelper-lsp/langserver/other_request.go:15
MethodChangeConfiguration
ChangeConfiguration 修改配置请求
luahelper-lsp/langserver/other_request.go:155
FunctionChangeFuncSelfToReferVar
ChangeFuncSelfToReferVar 冒号 函数,self语法进行转换 判断是否为这样的在冒号函数内, self.b 这样的 self要进行转换为b,统一起来 a = {} function a:test1() self.b = 3 -- 传入的为self.b end
luahelper-lsp/langserver/check/common/util.go:1040
FunctionChangeSelfToVarComplete
ChangeSelfToVarComplete 冒号 函数,self语法进行转换
luahelper-lsp/langserver/check/common/util.go:1077
MethodCheckMapEnum
checkMapEnum 检查文件map的enum枚举段定义是否有重复的值
luahelper-lsp/langserver/check/results/file_struct.go:49
FunctionCloseLog
是否关闭日志
luahelper-lsp/langserver/log/log.go:46
FunctionCompExp
比较两个exp是否内容重复,只针对部分类型,
luahelper-lsp/langserver/check/common/util.go:677
FunctionCompareTwoLoc
CompareTwoLoc 对比两个loc是否一样的
luahelper-lsp/langserver/check/compiler/lexer/common.go:58
← previousnext →901–1,000 of 1,325, ranked by callers