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
Method
RelateTypeVarInfo
RelateTypeVarInfo 这个文件新产生的符号,关联到第一阶段中的变量信息 globalMaps 为lua文件所产生的所有全局信息 mainScope 为lua文件所对应的主scope信息,通过scope可以遍历到所有的局部变量
luahelper-lsp/langserver/check/common/annotate_info.go:811
↓ 1 callers
Method
Release
()
luahelper-lsp/langserver/check/common/dir_manager.go:244
↓ 1 callers
Method
RemoveOneFile
RemoveOneFile 清除指定的文件
luahelper-lsp/langserver/check/common/file_index_info.go:67
↓ 1 callers
Method
RemoveOneSubDir
RemoveOneSubDir 移除一个子文件夹
luahelper-lsp/langserver/check/common/dir_manager.go:753
↓ 1 callers
Method
ResertData
ResertData resert cache data
luahelper-lsp/langserver/check/common/complete_cache.go:83
↓ 1 callers
Method
RunLocalDiagnostices
RunLocalDiagnostices 运行本地模式,校验错误
luahelper-lsp/langserver/lsp_cmd_run.go:13
↓ 1 callers
Method
SetBeforeHashtag
SetBeforeHashtag set before hash tag
luahelper-lsp/langserver/check/common/complete_cache.go:115
↓ 1 callers
Method
SetClearParamQuotes
SetClearParamQuotes set clearParamQuotes
luahelper-lsp/langserver/check/common/complete_cache.go:105
↓ 1 callers
Method
SetClientPluginPath
SetClientPluginPath Set client Plugin path
luahelper-lsp/langserver/check/common/dir_manager.go:57
↓ 1 callers
Method
SetColonFlag
SetColonFlag 设置最后的补全是否为冒号语法:
luahelper-lsp/langserver/check/common/complete_cache.go:161
↓ 1 callers
Method
SetCompleteVar
SetCompleteVar set completeVar
luahelper-lsp/langserver/check/common/complete_cache.go:95
↓ 1 callers
Method
SetEnd
SetEnd 设置结尾
luahelper-lsp/langserver/check/compiler/lexer/lexer.go:1004
↓ 1 callers
Method
SetErrHandler
SetErrHandler 设置分析错误的处理函数
luahelper-lsp/langserver/check/compiler/lexer/lexer.go:79
↓ 1 callers
Method
SetFileResult
(fileResult *FileResult)
luahelper-lsp/langserver/check/results/reference_result.go:117
↓ 1 callers
Method
SetFirstReportFlag
SetFirstReportFlag 设置是否第一次上报标记
luahelper-lsp/langserver/online_report.go:42
↓ 1 callers
Method
SetOnlineReportParam
SetOnlineReportParam 连接初始化时,同步客户端的类型,以及这个工程的所包含的lua文件数量
luahelper-lsp/langserver/online_report.go:24
↓ 1 callers
Method
SetPreviewFieldsNum
SetPreviewFieldsNum set preview fields num
luahelper-lsp/langserver/check/common/global_conf.go:772
↓ 1 callers
Method
SetRealTimeFlag
SetRealTimeFlag set real time flag
luahelper-lsp/langserver/check/analysis/analysis.go:330
↓ 1 callers
Method
SetReportOtherInfo
SetReportOtherInfo 设置上报的其他信息
luahelper-lsp/langserver/online_report.go:47
↓ 1 callers
Method
SetVSCodeExtensionPath
(str:string)
luahelper-vscode/src/common/tools.ts:21
↓ 1 callers
Method
SkipFirstLineComment
SkipFirstLineComment 跳过首行可能的注释
luahelper-lsp/langserver/check/compiler/lexer/lexer.go:89
↓ 1 callers
Function
Slua_UE_find_function
luahelper-vscode/debugger/debugger_lib/libpdebug.cpp:890
↓ 1 callers
Function
StrToDefineVarStruct
StrToDefineVarStruct change str to defineVarStruct
luahelper-lsp/langserver/check/check_util.go:826
↓ 1 callers
Function
StrToReferType
StrToReferType 字符串转换为对应的ReferType
luahelper-lsp/langserver/check/common/refer_info.go:78
↓ 1 callers
Method
UDPReportOnline
UDPReportOnline 上报协程
luahelper-lsp/langserver/get_online_req.go:35
↓ 1 callers
Function
_isFieldSep
fieldsep ::= ‘,’ | ‘;’
luahelper-lsp/langserver/check/compiler/parser/parse_exp.go:307
↓ 1 callers
Function
activateLuaDoc
(workPath, disposables, LuaDoc)
luahelper-vscode/client/3rd/vscode-lua-doc/extension.js:265
↓ 1 callers
Method
addClientExpLuaFile
加入插件客户端额外提供的lua文件夹文件
luahelper-lsp/langserver/check/check_second_project.go:233
↓ 1 callers
Function
addSymbolInfo
根据当前varInfo 中的信息 赋予需要返回的symbol信息
luahelper-lsp/langserver/check/check_lsp_symbol.go:525
↓ 1 callers
Method
addWorkspaceFolder
addWorkspaceFolder 处理增加文件夹
luahelper-lsp/langserver/workspace_folders.go:29
↓ 1 callers
Method
analysisAnnotateFragement
analysisAnnotateFragement 分析单个块的注解结构
luahelper-lsp/langserver/check/common/annotate_info.go:405
↓ 1 callers
Method
analysisNoDefineName
对当前的TableAccessExp 进行分析,若之前有变量的定义,则不插入,否则插入到globalNoDefineMaps中
luahelper-lsp/langserver/check/analysis/analysis_search.go:1343
↓ 1 callers
Method
analysisNoDefineStr
(node *ast.StringExp)
luahelper-lsp/langserver/check/analysis/analysis_search.go:1359
↓ 1 callers
Function
appendAliasState
constType常量补偿到aliasState中
luahelper-lsp/langserver/check/annotation/annotateparser/annotate_parser.go:68
↓ 1 callers
Method
astConvertToAnnotateType
ast表达式关联到注解类型
luahelper-lsp/langserver/check/check_lsp_annotate.go:1059
↓ 1 callers
Function
breakpoint_process
断点命中判断 retuen : is_hit
luahelper-vscode/debugger/debugger_lib/libpdebug.cpp:520
↓ 1 callers
Method
calcIsEnumType
()
luahelper-lsp/langserver/check/common/annotate_info.go:923
↓ 1 callers
Function
calcMatchStrScore
计算匹配字符串的得分
luahelper-lsp/langserver/check/common/dir_manager.go:622
↓ 1 callers
Method
cgAssignStat
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 callers
Method
cgBinopExp
r[a] := exp1 op exp2
luahelper-lsp/langserver/check/analysis/analysis_exp.go:228
↓ 1 callers
Method
cgBreakStat
(node *ast.BreakStat)
luahelper-lsp/langserver/check/analysis/analysis_stat.go:125
↓ 1 callers
Method
cgDoStat
(node *ast.DoStat)
luahelper-lsp/langserver/check/analysis/analysis_stat.go:128
↓ 1 callers
Method
cgForInStat
泛型for a = {"one", "two", "three"} for i, v in ipairs(a) do
luahelper-lsp/langserver/check/analysis/analysis_stat.go:377
↓ 1 callers
Method
cgForNumStat
for var=exp1,exp2,exp3 do var 从 exp1 变化到 exp2,每次变化以 exp3 为步长递增 var,并执行一次 "执行体" exp3 是可选的,如果不指定,默认为1。
luahelper-lsp/langserver/check/analysis/analysis_stat.go:317
↓ 1 callers
Method
cgFuncCallExp
r[a] := f(args)
luahelper-lsp/langserver/check/analysis/analysis_exp.go:348
↓ 1 callers
Method
cgFuncCallStat
当调用这样的函数时 aaa:bb("1", "2") 其中aaa 为 PrefixExp, bb 为NameExp,括号内的为参数
luahelper-lsp/langserver/check/analysis/analysis_stat.go:44
↓ 1 callers
Method
cgGotoStat
goto label
luahelper-lsp/langserver/check/analysis/analysis_stat.go:415
↓ 1 callers
Method
cgIfStat
* _________________ _________________ _____________ / false? jmp | / false? jmp | / false? jmp |
luahelper-lsp/langserver/check/analysis/analysis_stat.go:198
↓ 1 callers
Method
cgLabelStat
::continue::
luahelper-lsp/langserver/check/analysis/analysis_stat.go:410
↓ 1 callers
Method
cgLocalFuncDefStat
(node *ast.LocalFuncDefStat)
luahelper-lsp/langserver/check/analysis/analysis_stat.go:449
↓ 1 callers
Method
cgLocalVarDeclStat
(node *ast.LocalVarDeclStat)
luahelper-lsp/langserver/check/analysis/analysis_stat.go:457
↓ 1 callers
Method
cgNameExp
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 callers
Method
cgRepeatStat
* ______________ | false? jmp | V / repeat block until exp */
luahelper-lsp/langserver/check/analysis/analysis_stat.go:173
↓ 1 callers
Method
cgRetStat
(exps []ast.Exp)
luahelper-lsp/langserver/check/analysis/analysis_block.go:18
↓ 1 callers
Method
cgStat
(node ast.Stat)
luahelper-lsp/langserver/check/analysis/analysis_stat.go:11
↓ 1 callers
Method
cgTableAccessExp
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 callers
Method
cgTableConstructorExp
(node *ast.TableConstructorExp, parentVar *common.VarInfo)
luahelper-lsp/langserver/check/analysis/analysis_exp.go:143
↓ 1 callers
Method
cgUnopExp
r[a] := op exp
luahelper-lsp/langserver/check/analysis/analysis_exp.go:212
↓ 1 callers
Method
cgVarargExp
...
luahelper-lsp/langserver/check/analysis/analysis_exp.go:41
↓ 1 callers
Method
cgWhileStat
* ______________ / false? jmp | / | while exp do block end <-' ^ \ |___________/
luahelper-lsp/langserver/check/analysis/analysis_stat.go:152
↓ 1 callers
Function
changeExMod
()
luahelper-vscode/src/extension.ts:155
↓ 1 callers
Method
checkAllAnnotateEnum
checkAllAnnotateEnum 检查所有的枚举注释代码段是否有重复的值
luahelper-lsp/langserver/check/check_lsp_annotate.go:216
↓ 1 callers
Method
checkAssignTypeSame
判断复制表达式是否改变了类型
luahelper-lsp/langserver/check/analysis/analysis_check_assign.go:11
↓ 1 callers
Method
checkBinopExpTypeSame
(node *ast.BinopExp)
luahelper-lsp/langserver/check/analysis/analysis_check_binop.go:11
↓ 1 callers
Method
checkConstAssgin
是否给常量赋值 当有a.b.c时,只判断a是否常量 若a是import值,则只判断b是否常量
luahelper-lsp/langserver/check/analysis/analysis_check_const.go:11
↓ 1 callers
Method
checkCreateTypeListDuplicate
判断定义的注解类型是否重复
luahelper-lsp/langserver/check/check_lsp_annotate.go:137
↓ 1 callers
Method
checkDuplicateFunParam
检查函数的是否包含同名的参数
luahelper-lsp/langserver/check/analysis/analysis_exp.go:68
↓ 1 callers
Method
checkEnum
是否给常量赋值 当有a.b.c时,只判断a是否常量 若a是import值,则只判断b是否常量
luahelper-lsp/langserver/check/analysis/analysis_check_enum.go:11
↓ 1 callers
Method
checkFileAnnotate
单个注解文件进行check
luahelper-lsp/langserver/check/check_lsp_annotate.go:50
↓ 1 callers
Method
checkFileMapAnnotateEnum
checkAllAnnotateEnum 检查所有的枚举注释代码段是否有重复的值
luahelper-lsp/langserver/check/check_lsp_annotate.go:190
↓ 1 callers
Method
checkFullPath
( shortPath: string , oPath?: string)
luahelper-vscode/src/common/pathManager.ts:115
↓ 1 callers
Function
checkHasBreakpoint
检查函数中是否有断点。int check_has_breakpoint 0:全局无断点 , 1:全局有断点但本文件中无断点 , 2:本文件中有断点 , 3:函数中有断点
luahelper-vscode/debugger/debugger_lib/libpdebug.cpp:641
↓ 1 callers
Method
checkIsRealHitBreakpoint
()
luahelper-vscode/src/debug/luaDebug.ts:119
↓ 1 callers
Method
checkLeftAssign
解析赋值表达式,左侧的变量,判断是否要定义变量 返回值 needDefine 表示是否要定义变量 返回值 flagG 表示是否为_G的变量 返回值 strName 表示赋值的前半部分名字, 去掉了前缀_G. 返回值 strProPre 表示是否为协议的前缀 为c2s 或是s2s 返回值 lexer.
luahelper-lsp/langserver/check/analysis/analysis_stat.go:586
↓ 1 callers
Method
checkLocFuncCall
()
luahelper-lsp/langserver/check/analysis/analysis_check_func.go:142
↓ 1 callers
Method
checkLocVarCall
()
luahelper-lsp/langserver/check/analysis/analysis_check_loc_var.go:8
↓ 1 callers
Method
checkLocVarNotUse
判断局部变量是否定义了未使用
luahelper-lsp/langserver/check/analysis/analysis_search.go:430
↓ 1 callers
Method
checkOneProject
(second *results.SingleProjectResult)
luahelper-lsp/langserver/check/check_second_project.go:271
↓ 1 callers
Method
checkRightPath
( fileName: string , oPath: string, fullPathArray)
luahelper-vscode/src/common/pathManager.ts:163
↓ 1 callers
Method
checkSameNameFile
(distinguishSameNameFile)
luahelper-vscode/src/common/pathManager.ts:85
↓ 1 callers
Method
checkScopeEnumVar
checkScopeEnumVar 检查局部变量table的枚举定义
luahelper-lsp/langserver/check/results/file_struct.go:70
↓ 1 callers
Function
clearEmpytAlias
判断是否有空的AliasState,如果有清除掉
luahelper-lsp/langserver/check/annotation/annotateparser/annotate_parser.go:87
↓ 1 callers
Method
clearLspServer
clearLspServer 清空存在的信息
luahelper-lsp/langserver/other_request.go:189
↓ 1 callers
Function
cmdRPC
cmd 的方式运行rpc
luahelper-lsp/main.go:60
↓ 1 callers
Function
compile
(workPath, language, version, srcPath, dstPath)
luahelper-vscode/client/3rd/vscode-lua-doc/extension.js:90
↓ 1 callers
Function
compileCss
(srcPath, dstPath, name)
luahelper-vscode/client/3rd/vscode-lua-doc/extension.js:11
↓ 1 callers
Function
compileHtml
(srcPath, dstPath, language, version, name)
luahelper-vscode/client/3rd/vscode-lua-doc/extension.js:22
↓ 1 callers
Function
compileOther
(srcPath, dstPath, name)
luahelper-vscode/client/3rd/vscode-lua-doc/extension.js:7
↓ 1 callers
Method
completeAnnotatTypeStr
代码补全时,有注解类型的字段提示
luahelper-lsp/langserver/check/check_lsp_hover_complete_util.go:51
↓ 1 callers
Method
computeScore
(candidate string, candidateLower []byte)
luahelper-lsp/langserver/check/check_lsp_symbol.go:340
↓ 1 callers
Function
constructCopyone
(l *Lexer)
luahelper-lsp/langserver/check/compiler/lexer/lexer_test.go:28
↓ 1 callers
Method
continue
* 通知Debugger继续执行 * @param callback: 收到请求返回后的回调函数 * @param callbackArgs:回调参数 * @param event:事件名
luahelper-vscode/src/debug/luaDebugRuntime.ts:66
↓ 1 callers
Method
continueWithFakeHitBk
* 通知Debugger继续执行 * @param callback: 收到请求返回后的回调函数 * @param callbackArgs:回调参数 * @param event:事件名
luahelper-vscode/src/debug/luaDebugRuntime.ts:78
↓ 1 callers
Function
convertVarInfoFlieToDefine
VarInfoFlie 转换为DefineStruct定义的信息
luahelper-lsp/langserver/check/check_util.go:657
↓ 1 callers
Method
copyAttachConfig
(args)
luahelper-vscode/src/debug/luaDebug.ts:193
↓ 1 callers
Function
createDefaultGlobalConfig
创建默认的GlobalConfig
luahelper-lsp/langserver/check/common/global_conf.go:166
↓ 1 callers
Function
createDefaultJSONCfig
创建默认的json config
luahelper-lsp/langserver/check/common/global_conf.go:278
↓ 1 callers
Function
createDirManager
create default dir manager
luahelper-lsp/langserver/check/common/dir_manager.go:43
↓ 1 callers
Function
createLspTestWithPlugin
(strRootPath string, strRootUri string, pluginPath string)
luahelper-lsp/langserver/lsptest.go:35
↓ 1 callers
Function
createPanel
(workPath, disposables, viewType)
luahelper-vscode/client/3rd/vscode-lua-doc/extension.js:195
← previous
next →
601–700 of 1,325, ranked by callers