MCPcopy Create free account

hub / github.com/Tencent/LuaHelper / functions

Functions1,325 in github.com/Tencent/LuaHelper

↓ 1 callersMethodRelateTypeVarInfo
RelateTypeVarInfo 这个文件新产生的符号,关联到第一阶段中的变量信息 globalMaps 为lua文件所产生的所有全局信息 mainScope 为lua文件所对应的主scope信息,通过scope可以遍历到所有的局部变量
luahelper-lsp/langserver/check/common/annotate_info.go:811
↓ 1 callersMethodRelease
()
luahelper-lsp/langserver/check/common/dir_manager.go:244
↓ 1 callersMethodRemoveOneFile
RemoveOneFile 清除指定的文件
luahelper-lsp/langserver/check/common/file_index_info.go:67
↓ 1 callersMethodRemoveOneSubDir
RemoveOneSubDir 移除一个子文件夹
luahelper-lsp/langserver/check/common/dir_manager.go:753
↓ 1 callersMethodResertData
ResertData resert cache data
luahelper-lsp/langserver/check/common/complete_cache.go:83
↓ 1 callersMethodRunLocalDiagnostices
RunLocalDiagnostices 运行本地模式,校验错误
luahelper-lsp/langserver/lsp_cmd_run.go:13
↓ 1 callersMethodSetBeforeHashtag
SetBeforeHashtag set before hash tag
luahelper-lsp/langserver/check/common/complete_cache.go:115
↓ 1 callersMethodSetClearParamQuotes
SetClearParamQuotes set clearParamQuotes
luahelper-lsp/langserver/check/common/complete_cache.go:105
↓ 1 callersMethodSetClientPluginPath
SetClientPluginPath Set client Plugin path
luahelper-lsp/langserver/check/common/dir_manager.go:57
↓ 1 callersMethodSetColonFlag
SetColonFlag 设置最后的补全是否为冒号语法:
luahelper-lsp/langserver/check/common/complete_cache.go:161
↓ 1 callersMethodSetCompleteVar
SetCompleteVar set completeVar
luahelper-lsp/langserver/check/common/complete_cache.go:95
↓ 1 callersMethodSetEnd
SetEnd 设置结尾
luahelper-lsp/langserver/check/compiler/lexer/lexer.go:1004
↓ 1 callersMethodSetErrHandler
SetErrHandler 设置分析错误的处理函数
luahelper-lsp/langserver/check/compiler/lexer/lexer.go:79
↓ 1 callersMethodSetFileResult
(fileResult *FileResult)
luahelper-lsp/langserver/check/results/reference_result.go:117
↓ 1 callersMethodSetFirstReportFlag
SetFirstReportFlag 设置是否第一次上报标记
luahelper-lsp/langserver/online_report.go:42
↓ 1 callersMethodSetOnlineReportParam
SetOnlineReportParam 连接初始化时,同步客户端的类型,以及这个工程的所包含的lua文件数量
luahelper-lsp/langserver/online_report.go:24
↓ 1 callersMethodSetPreviewFieldsNum
SetPreviewFieldsNum set preview fields num
luahelper-lsp/langserver/check/common/global_conf.go:772
↓ 1 callersMethodSetRealTimeFlag
SetRealTimeFlag set real time flag
luahelper-lsp/langserver/check/analysis/analysis.go:330
↓ 1 callersMethodSetReportOtherInfo
SetReportOtherInfo 设置上报的其他信息
luahelper-lsp/langserver/online_report.go:47
↓ 1 callersMethodSetVSCodeExtensionPath
(str:string)
luahelper-vscode/src/common/tools.ts:21
↓ 1 callersMethodSkipFirstLineComment
SkipFirstLineComment 跳过首行可能的注释
luahelper-lsp/langserver/check/compiler/lexer/lexer.go:89
↓ 1 callersFunctionSlua_UE_find_function
luahelper-vscode/debugger/debugger_lib/libpdebug.cpp:890
↓ 1 callersFunctionStrToDefineVarStruct
StrToDefineVarStruct change str to defineVarStruct
luahelper-lsp/langserver/check/check_util.go:826
↓ 1 callersFunctionStrToReferType
StrToReferType 字符串转换为对应的ReferType
luahelper-lsp/langserver/check/common/refer_info.go:78
↓ 1 callersMethodUDPReportOnline
UDPReportOnline 上报协程
luahelper-lsp/langserver/get_online_req.go:35
↓ 1 callersFunction_isFieldSep
fieldsep ::= ‘,’ | ‘;’
luahelper-lsp/langserver/check/compiler/parser/parse_exp.go:307
↓ 1 callersFunctionactivateLuaDoc
(workPath, disposables, LuaDoc)
luahelper-vscode/client/3rd/vscode-lua-doc/extension.js:265
↓ 1 callersMethodaddClientExpLuaFile
加入插件客户端额外提供的lua文件夹文件
luahelper-lsp/langserver/check/check_second_project.go:233
↓ 1 callersFunctionaddSymbolInfo
根据当前varInfo 中的信息 赋予需要返回的symbol信息
luahelper-lsp/langserver/check/check_lsp_symbol.go:525
↓ 1 callersMethodaddWorkspaceFolder
addWorkspaceFolder 处理增加文件夹
luahelper-lsp/langserver/workspace_folders.go:29
↓ 1 callersMethodanalysisAnnotateFragement
analysisAnnotateFragement 分析单个块的注解结构
luahelper-lsp/langserver/check/common/annotate_info.go:405
↓ 1 callersMethodanalysisNoDefineName
对当前的TableAccessExp 进行分析,若之前有变量的定义,则不插入,否则插入到globalNoDefineMaps中
luahelper-lsp/langserver/check/analysis/analysis_search.go:1343
↓ 1 callersMethodanalysisNoDefineStr
(node *ast.StringExp)
luahelper-lsp/langserver/check/analysis/analysis_search.go:1359
↓ 1 callersFunctionappendAliasState
constType常量补偿到aliasState中
luahelper-lsp/langserver/check/annotation/annotateparser/annotate_parser.go:68
↓ 1 callersMethodastConvertToAnnotateType
ast表达式关联到注解类型
luahelper-lsp/langserver/check/check_lsp_annotate.go:1059
↓ 1 callersFunctionbreakpoint_process
断点命中判断 retuen : is_hit
luahelper-vscode/debugger/debugger_lib/libpdebug.cpp:520
↓ 1 callersMethodcalcIsEnumType
()
luahelper-lsp/langserver/check/common/annotate_info.go:923
↓ 1 callersFunctioncalcMatchStrScore
计算匹配字符串的得分
luahelper-lsp/langserver/check/common/dir_manager.go:622
↓ 1 callersMethodcgAssignStat
varlist ‘=’ explist varlist ::= var {‘,’ var} var ::= Name | prefixexp ‘[’ exp ‘]’ | prefixexp ‘.’ Name * 1) 下面这种全局函数的定义会走进来 function abcd2() local
luahelper-lsp/langserver/check/analysis/analysis_stat.go:838
↓ 1 callersMethodcgBinopExp
r[a] := exp1 op exp2
luahelper-lsp/langserver/check/analysis/analysis_exp.go:228
↓ 1 callersMethodcgBreakStat
(node *ast.BreakStat)
luahelper-lsp/langserver/check/analysis/analysis_stat.go:125
↓ 1 callersMethodcgDoStat
(node *ast.DoStat)
luahelper-lsp/langserver/check/analysis/analysis_stat.go:128
↓ 1 callersMethodcgForInStat
泛型for a = {"one", "two", "three"} for i, v in ipairs(a) do
luahelper-lsp/langserver/check/analysis/analysis_stat.go:377
↓ 1 callersMethodcgForNumStat
for var=exp1,exp2,exp3 do var 从 exp1 变化到 exp2,每次变化以 exp3 为步长递增 var,并执行一次 "执行体" exp3 是可选的,如果不指定,默认为1。
luahelper-lsp/langserver/check/analysis/analysis_stat.go:317
↓ 1 callersMethodcgFuncCallExp
r[a] := f(args)
luahelper-lsp/langserver/check/analysis/analysis_exp.go:348
↓ 1 callersMethodcgFuncCallStat
当调用这样的函数时 aaa:bb("1", "2") 其中aaa 为 PrefixExp, bb 为NameExp,括号内的为参数
luahelper-lsp/langserver/check/analysis/analysis_stat.go:44
↓ 1 callersMethodcgGotoStat
goto label
luahelper-lsp/langserver/check/analysis/analysis_stat.go:415
↓ 1 callersMethodcgIfStat
* _________________ _________________ _____________ / false? jmp | / false? jmp | / false? jmp |
luahelper-lsp/langserver/check/analysis/analysis_stat.go:198
↓ 1 callersMethodcgLabelStat
::continue::
luahelper-lsp/langserver/check/analysis/analysis_stat.go:410
↓ 1 callersMethodcgLocalFuncDefStat
(node *ast.LocalFuncDefStat)
luahelper-lsp/langserver/check/analysis/analysis_stat.go:449
↓ 1 callersMethodcgLocalVarDeclStat
(node *ast.LocalVarDeclStat)
luahelper-lsp/langserver/check/analysis/analysis_stat.go:457
↓ 1 callersMethodcgNameExp
r[a] := name binParentExp 为二元表达式,父的BinopExp指针, 例如 a = b and c,当对c变量调用cgExp时候,binParentExp为b and c
luahelper-lsp/langserver/check/analysis/analysis_exp.go:54
↓ 1 callersMethodcgRepeatStat
* ______________ | false? jmp | V / repeat block until exp */
luahelper-lsp/langserver/check/analysis/analysis_stat.go:173
↓ 1 callersMethodcgRetStat
(exps []ast.Exp)
luahelper-lsp/langserver/check/analysis/analysis_block.go:18
↓ 1 callersMethodcgStat
(node ast.Stat)
luahelper-lsp/langserver/check/analysis/analysis_stat.go:11
↓ 1 callersMethodcgTableAccessExp
r[a] := prefix[key] binParentExp 为二元表达式,父的BinopExp指针, 例如 a = b and c,当对c变量调用cgExp时候,binParentExp为b and c
luahelper-lsp/langserver/check/analysis/analysis_exp.go:377
↓ 1 callersMethodcgTableConstructorExp
(node *ast.TableConstructorExp, parentVar *common.VarInfo)
luahelper-lsp/langserver/check/analysis/analysis_exp.go:143
↓ 1 callersMethodcgUnopExp
r[a] := op exp
luahelper-lsp/langserver/check/analysis/analysis_exp.go:212
↓ 1 callersMethodcgVarargExp
...
luahelper-lsp/langserver/check/analysis/analysis_exp.go:41
↓ 1 callersMethodcgWhileStat
* ______________ / false? jmp | / | while exp do block end <-' ^ \ |___________/
luahelper-lsp/langserver/check/analysis/analysis_stat.go:152
↓ 1 callersFunctionchangeExMod
()
luahelper-vscode/src/extension.ts:155
↓ 1 callersMethodcheckAllAnnotateEnum
checkAllAnnotateEnum 检查所有的枚举注释代码段是否有重复的值
luahelper-lsp/langserver/check/check_lsp_annotate.go:216
↓ 1 callersMethodcheckAssignTypeSame
判断复制表达式是否改变了类型
luahelper-lsp/langserver/check/analysis/analysis_check_assign.go:11
↓ 1 callersMethodcheckBinopExpTypeSame
(node *ast.BinopExp)
luahelper-lsp/langserver/check/analysis/analysis_check_binop.go:11
↓ 1 callersMethodcheckConstAssgin
是否给常量赋值 当有a.b.c时,只判断a是否常量 若a是import值,则只判断b是否常量
luahelper-lsp/langserver/check/analysis/analysis_check_const.go:11
↓ 1 callersMethodcheckCreateTypeListDuplicate
判断定义的注解类型是否重复
luahelper-lsp/langserver/check/check_lsp_annotate.go:137
↓ 1 callersMethodcheckDuplicateFunParam
检查函数的是否包含同名的参数
luahelper-lsp/langserver/check/analysis/analysis_exp.go:68
↓ 1 callersMethodcheckEnum
是否给常量赋值 当有a.b.c时,只判断a是否常量 若a是import值,则只判断b是否常量
luahelper-lsp/langserver/check/analysis/analysis_check_enum.go:11
↓ 1 callersMethodcheckFileAnnotate
单个注解文件进行check
luahelper-lsp/langserver/check/check_lsp_annotate.go:50
↓ 1 callersMethodcheckFileMapAnnotateEnum
checkAllAnnotateEnum 检查所有的枚举注释代码段是否有重复的值
luahelper-lsp/langserver/check/check_lsp_annotate.go:190
↓ 1 callersMethodcheckFullPath
( shortPath: string , oPath?: string)
luahelper-vscode/src/common/pathManager.ts:115
↓ 1 callersFunctioncheckHasBreakpoint
检查函数中是否有断点。int check_has_breakpoint 0:全局无断点 , 1:全局有断点但本文件中无断点 , 2:本文件中有断点 , 3:函数中有断点
luahelper-vscode/debugger/debugger_lib/libpdebug.cpp:641
↓ 1 callersMethodcheckIsRealHitBreakpoint
()
luahelper-vscode/src/debug/luaDebug.ts:119
↓ 1 callersMethodcheckLeftAssign
解析赋值表达式,左侧的变量,判断是否要定义变量 返回值 needDefine 表示是否要定义变量 返回值 flagG 表示是否为_G的变量 返回值 strName 表示赋值的前半部分名字, 去掉了前缀_G. 返回值 strProPre 表示是否为协议的前缀 为c2s 或是s2s 返回值 lexer.
luahelper-lsp/langserver/check/analysis/analysis_stat.go:586
↓ 1 callersMethodcheckLocFuncCall
()
luahelper-lsp/langserver/check/analysis/analysis_check_func.go:142
↓ 1 callersMethodcheckLocVarCall
()
luahelper-lsp/langserver/check/analysis/analysis_check_loc_var.go:8
↓ 1 callersMethodcheckLocVarNotUse
判断局部变量是否定义了未使用
luahelper-lsp/langserver/check/analysis/analysis_search.go:430
↓ 1 callersMethodcheckOneProject
(second *results.SingleProjectResult)
luahelper-lsp/langserver/check/check_second_project.go:271
↓ 1 callersMethodcheckRightPath
( fileName: string , oPath: string, fullPathArray)
luahelper-vscode/src/common/pathManager.ts:163
↓ 1 callersMethodcheckSameNameFile
(distinguishSameNameFile)
luahelper-vscode/src/common/pathManager.ts:85
↓ 1 callersMethodcheckScopeEnumVar
checkScopeEnumVar 检查局部变量table的枚举定义
luahelper-lsp/langserver/check/results/file_struct.go:70
↓ 1 callersFunctionclearEmpytAlias
判断是否有空的AliasState,如果有清除掉
luahelper-lsp/langserver/check/annotation/annotateparser/annotate_parser.go:87
↓ 1 callersMethodclearLspServer
clearLspServer 清空存在的信息
luahelper-lsp/langserver/other_request.go:189
↓ 1 callersFunctioncmdRPC
cmd 的方式运行rpc
luahelper-lsp/main.go:60
↓ 1 callersFunctioncompile
(workPath, language, version, srcPath, dstPath)
luahelper-vscode/client/3rd/vscode-lua-doc/extension.js:90
↓ 1 callersFunctioncompileCss
(srcPath, dstPath, name)
luahelper-vscode/client/3rd/vscode-lua-doc/extension.js:11
↓ 1 callersFunctioncompileHtml
(srcPath, dstPath, language, version, name)
luahelper-vscode/client/3rd/vscode-lua-doc/extension.js:22
↓ 1 callersFunctioncompileOther
(srcPath, dstPath, name)
luahelper-vscode/client/3rd/vscode-lua-doc/extension.js:7
↓ 1 callersMethodcompleteAnnotatTypeStr
代码补全时,有注解类型的字段提示
luahelper-lsp/langserver/check/check_lsp_hover_complete_util.go:51
↓ 1 callersMethodcomputeScore
(candidate string, candidateLower []byte)
luahelper-lsp/langserver/check/check_lsp_symbol.go:340
↓ 1 callersFunctionconstructCopyone
(l *Lexer)
luahelper-lsp/langserver/check/compiler/lexer/lexer_test.go:28
↓ 1 callersMethodcontinue
* 通知Debugger继续执行 * @param callback: 收到请求返回后的回调函数 * @param callbackArgs:回调参数 * @param event:事件名
luahelper-vscode/src/debug/luaDebugRuntime.ts:66
↓ 1 callersMethodcontinueWithFakeHitBk
* 通知Debugger继续执行 * @param callback: 收到请求返回后的回调函数 * @param callbackArgs:回调参数 * @param event:事件名
luahelper-vscode/src/debug/luaDebugRuntime.ts:78
↓ 1 callersFunctionconvertVarInfoFlieToDefine
VarInfoFlie 转换为DefineStruct定义的信息
luahelper-lsp/langserver/check/check_util.go:657
↓ 1 callersMethodcopyAttachConfig
(args)
luahelper-vscode/src/debug/luaDebug.ts:193
↓ 1 callersFunctioncreateDefaultGlobalConfig
创建默认的GlobalConfig
luahelper-lsp/langserver/check/common/global_conf.go:166
↓ 1 callersFunctioncreateDefaultJSONCfig
创建默认的json config
luahelper-lsp/langserver/check/common/global_conf.go:278
↓ 1 callersFunctioncreateDirManager
create default dir manager
luahelper-lsp/langserver/check/common/dir_manager.go:43
↓ 1 callersFunctioncreateLspTestWithPlugin
(strRootPath string, strRootUri string, pluginPath string)
luahelper-lsp/langserver/lsptest.go:35
↓ 1 callersFunctioncreatePanel
(workPath, disposables, viewType)
luahelper-vscode/client/3rd/vscode-lua-doc/extension.js:195
← previousnext →601–700 of 1,325, ranked by callers