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
goThirdFile
goThirdFile 第三轮分析lua单个文件,接受主协程发送需要分析的文件
luahelper-lsp/langserver/check/check_third_file.go:23
↓ 1 callers
Function
goroutineFindSymbols
(ch chan symbolsChan)
luahelper-lsp/langserver/check/check_lsp_symbol.go:800
↓ 1 callers
Function
handleAllFilesReference
多协程分析所有的文件
luahelper-lsp/langserver/check/check_lsp_references.go:246
↓ 1 callers
Function
handleAllFilesSymbols
(pattern string, allProject *AllProject, results *resultSorter, fileList []string)
luahelper-lsp/langserver/check/check_lsp_symbol.go:718
↓ 1 callers
Method
handleAnnotateHover
判断是否为注解带来的悬停提示打开一个文件 处理注解系统带来的类型定义
luahelper-lsp/langserver/textdocument_hover.go:132
↓ 1 callers
Method
handleAnnotateTypeDefine
handleAnnotateTypeDefine 处理注解系统带来的类型定义
luahelper-lsp/langserver/textdocument_define.go:72
↓ 1 callers
Method
handleChange
(ctx context.Context)
luahelper-lsp/langserver/other_request.go:199
↓ 1 callers
Method
handleFiles
进行第三轮分析,散落的文件
luahelper-lsp/langserver/check/check_third_file.go:57
↓ 1 callers
Method
handleFindVarColor
(color *results.ColorFileResult)
luahelper-lsp/langserver/check/check_color_file.go:47
↓ 1 callers
Method
handleGenerateAnnotateArea
处理快捷生成---@ 注解的提示
luahelper-lsp/langserver/textdocument_complete.go:578
↓ 1 callers
Method
handleGenerateAnnotateType
处理注解系统的代码补全,注解系统是以---@开头的
luahelper-lsp/langserver/textdocument_complete.go:154
↓ 1 callers
Method
handleNotNeedDefine
处理assign语句没有直接定义变量的时候
luahelper-lsp/langserver/check/analysis/analysis_stat.go:747
↓ 1 callers
Method
handleOneFile
(thirdStruct *results.AnalysisThird, third *results.AnalysisThirdFile)
luahelper-lsp/langserver/check/check_third_file.go:168
↓ 1 callers
Method
handleOtherFileInsertSub
处理其他文件给全局变量增加的子成员
luahelper-lsp/langserver/check/check_second_project.go:323
↓ 1 callers
Function
handleRecv
处理udp的回包,获取在线人数
luahelper-lsp/langserver/get_online_req.go:69
↓ 1 callers
Function
hook_process_cfunction
luahelper-vscode/debugger/debugger_lib/libpdebug.cpp:615
↓ 1 callers
Function
hook_process_code_section
luahelper-vscode/debugger/debugger_lib/libpdebug.cpp:627
↓ 1 callers
Function
hook_process_reconnect
luahelper-vscode/debugger/debugger_lib/libpdebug.cpp:582
↓ 1 callers
Function
hook_process_recv_message
luahelper-vscode/debugger/debugger_lib/libpdebug.cpp:603
↓ 1 callers
Method
hoverOpenFile
判断是否悬停提示打开一个文件
luahelper-lsp/langserver/textdocument_hover.go:110
↓ 1 callers
Function
idxOfSquareBracketAndQuote
获取["的位置
luahelper-lsp/langserver/textdocument_complete.go:215
↓ 1 callers
Method
init
()
luahelper-vscode/src/common/logManager.ts:7
↓ 1 callers
Method
insertAnalysisGlobalVar
向分析的单个工程中,添加全局定义的变量
luahelper-lsp/langserver/check/analysis/analysis.go:128
↓ 1 callers
Method
insertErr
(oneErr lexer.ParseError)
luahelper-lsp/langserver/check/compiler/parser/parser.go:79
↓ 1 callers
Function
insertFindExpFile
插入一个根据到的中间引用结果
luahelper-lsp/langserver/check/check_find_var_refer.go:1047
↓ 1 callers
Method
insertFirstFileStruct
insertFirstFileStruct 插入一个第一阶段处理的结果
luahelper-lsp/langserver/check/check_util.go:211
↓ 1 callers
Method
insertOneModuleSubVars
把模块的所有成员,放入进来
luahelper-lsp/langserver/check/common/system_tips.go:79
↓ 1 callers
Method
insertSecondProjectAnalysis
向二阶段工程分析中,插入第二阶段的AnalysisFileResult
luahelper-lsp/langserver/check/analysis/analysis.go:149
↓ 1 callers
Function
isAllClassDefault
(classList []*common.OneClassInfo)
luahelper-lsp/langserver/check/check_lsp_hover_complete_util.go:333
↓ 1 callers
Function
isBeforeHasHashtag
判断是否为等于右边的补全
luahelper-lsp/langserver/textdocument_complete.go:225
↓ 1 callers
Method
isCanHighlight
isCanHighlight 判断是否可以对变量着色功能, 防止修改文件过程中频繁调用着色功能
luahelper-lsp/langserver/lsp_server.go:147
↓ 1 callers
Function
isCodeSection
判断字符串是否匹配[string "
luahelper-vscode/debugger/debugger_lib/libpdebug.cpp:510
↓ 1 callers
Function
isDir
(path string)
luahelper-lsp/langserver/check/common/dir_manager.go:300
↓ 1 callers
Method
isEnterWrap
()
luahelper-lsp/langserver/check/compiler/lexer/lexer.go:499
↓ 1 callers
Method
isExistSecondProjectAnalysis
判断二阶段工程分析中,AnalysisFileResult是否已经存在了
luahelper-lsp/langserver/check/analysis/analysis.go:154
↓ 1 callers
Method
isHasErrorNoFile
isHasErrorNoFile 判断文件是否包含引用错误
luahelper-lsp/langserver/check/results/file_result.go:360
↓ 1 callers
Function
isHasFindExpFile
isHasFindExpFile 判断跟踪的引用Exp之前是否跟踪到过
luahelper-lsp/langserver/check/check_find_var_refer.go:1025
↓ 1 callers
Function
isHasSymbol
判断是否重复了,递归可能会包含重复的
luahelper-lsp/langserver/check/check_find_var_refer.go:994
↓ 1 callers
Function
isHexInteger
判断是否为十六进制整型, ^-?0x[0-9a-f]+$
luahelper-lsp/langserver/check/compiler/parser/parser_number.go:61
↓ 1 callers
Function
isLetterTest
(c byte)
luahelper-lsp/langserver/check/compiler/lexer/lexer_test.go:143
↓ 1 callers
Function
isLettersTest
(c byte)
luahelper-lsp/langserver/check/compiler/lexer/lexer_test.go:158
↓ 1 callers
Function
isLuajitHexInteger
判断是否为十六进制Luajit整型
luahelper-lsp/langserver/check/compiler/parser/parser_number.go:99
↓ 1 callers
Function
isLuajitSimpleInterger
(str string)
luahelper-lsp/langserver/check/compiler/parser/parser_number.go:32
↓ 1 callers
Method
isNewWhiteSpace
isNewWhiteSpace 判断是否空白
luahelper-lsp/langserver/check/compiler/lexer/lexer.go:812
↓ 1 callers
Method
isPreComment
isPreComment 判断是否为 --开头
luahelper-lsp/langserver/check/compiler/lexer/lexer.go:512
↓ 1 callers
Method
isReferFileContainFiles
判断引用的文件是否包含指定的文件列表
luahelper-lsp/langserver/check/results/file_result.go:371
↓ 1 callers
Function
isReturnOrBlockEnd
(tokenKind lexer.TkKind)
luahelper-lsp/langserver/check/compiler/parser/parse_block.go:52
↓ 1 callers
Function
isSimpleInteger
判断是否为简单整型, ^[+-]?[0-9]+$
luahelper-lsp/langserver/check/compiler/parser/parser_number.go:13
↓ 1 callers
Function
isUtf8
(data []byte)
luahelper-lsp/langserver/codingconv/codingconv.go:41
↓ 1 callers
Method
isVarAnnotateEnum
判断变量关联的注解是否有标明为枚举的类型
luahelper-lsp/langserver/check/results/file_struct.go:138
↓ 1 callers
Function
isWhiteSpace
(c byte)
luahelper-lsp/langserver/check/annotation/annotatelexer/annotate_lexer.go:444
↓ 1 callers
Function
isWhiteSpace
(c byte)
luahelper-lsp/langserver/check/compiler/lexer/lexer.go:1008
↓ 1 callers
Function
judgeAssignSelf
judgeAssignSelf 根据传入的var = exp, 判断是否为 a = a 或者为 _G.b = _G.b
luahelper-lsp/langserver/check/common/util.go:470
↓ 1 callers
Function
judgeBeforeCommentHorizontal
(contents []byte, offset int)
luahelper-lsp/langserver/textdocument_complete.go:494
↓ 1 callers
Method
judgeCompeleteFile
判断是否为文件目录补全
luahelper-lsp/langserver/textdocument_complete.go:317
↓ 1 callers
Method
judgetSystemFuncSignature
判断是否为系统函数sigatrueHelp
luahelper-lsp/langserver/check/check_lsp_signaturehelp.go:275
↓ 1 callers
Method
judgetSystemModuleFuncSigatrue
判断是否为系统模块中的成员函数sigatrueHelp
luahelper-lsp/langserver/check/check_lsp_signaturehelp.go:286
↓ 1 callers
Function
judgetSystemModuleMemHover
判断是否为系统的模块中的成员hover
luahelper-lsp/langserver/check/check_lsp_hover.go:306
↓ 1 callers
Function
judgetSystemModuleOrFuncHover
判断变量是否直接为系统模块或函数的hover
luahelper-lsp/langserver/check/check_lsp_hover.go:287
↓ 1 callers
Function
litehook_recv_message
luahelper-vscode/debugger/debugger_lib/libpdebug.cpp:594
↓ 1 callers
Function
load
luahelper-vscode/debugger/debugger_lib/libpdebug.cpp:951
↓ 1 callers
Method
logInDebugConsole
* 在调试控制台中打印日志
luahelper-vscode/src/debug/luaDebugRuntime.ts:237
↓ 1 callers
Method
lspCodeComplete
代码补全进行的分发
luahelper-lsp/langserver/check/check_lsp_complete.go:532
↓ 1 callers
Method
luaGarbageCollect
* 强制回收内存
luahelper-vscode/src/debug/luaDebugRuntime.ts:176
↓ 1 callers
Function
matchSpecialBracketsStr
如果输入的为 b["c"],当对c查找定义时候,offset移动到]后面,再统一处理
luahelper-lsp/langserver/stringutil/util.go:237
↓ 1 callers
Method
mergeEnumFragment
mergeEnumFragment 枚举段落的开始与结束拼接
luahelper-lsp/langserver/check/common/annotate_info.go:939
↓ 1 callers
Method
needAnnotateTableFieldRepair
判断是否为注解table中的key值补全,例如: ---@type oneTable local one = { b-- 此时输入b时候,代码补全one的成员 }
luahelper-lsp/langserver/check/check_lsp_hover_complete_util.go:594
↓ 1 callers
Function
needCompile
(workPath, dstPath)
luahelper-vscode/client/3rd/vscode-lua-doc/extension.js:111
↓ 1 callers
Method
noPreComplete
没有前缀的代码补全
luahelper-lsp/langserver/check/check_lsp_complete.go:442
↓ 1 callers
Function
offsetForStartAndEnd
Previously used bytes converted to rune. Now use the high bit to determine how many bits the character occupies.
luahelper-lsp/langserver/lspcommon/file_cache.go:61
↓ 1 callers
Function
onDidChangeActiveTextEditor
(editor: vscode.TextEditor | undefined)
luahelper-vscode/src/extension.ts:117
↓ 1 callers
Method
on_off_analyzer
(messageObj)
luahelper-vscode/src/debug/visualSetting.ts:165
↓ 1 callers
Method
otherPreComplete
其他前缀代码补全
luahelper-lsp/langserver/check/check_lsp_complete.go:393
↓ 1 callers
Method
paramCandidateComplete
判断是否为函数参数的候选词代码补全, 函数的参数为alias类型,补全参数常量
luahelper-lsp/langserver/check/check_lsp_hover_complete_util.go:442
↓ 1 callers
Method
parseArgs
args ::= ‘(’ [explist] ‘)’ | tableconstructor | LiteralString
luahelper-lsp/langserver/check/compiler/parser/parse_prefix_exp.go:155
↓ 1 callers
Method
parseAssignOrFuncCallStat
varlist ‘=’ explist functioncall
luahelper-lsp/langserver/check/compiler/parser/parse_stat.go:453
↓ 1 callers
Method
parseAssignStat
varlist ‘=’ explist |
luahelper-lsp/langserver/check/compiler/parser/parse_stat.go:473
↓ 1 callers
Method
parseBreakStat
break
luahelper-lsp/langserver/check/compiler/parser/parse_stat.go:65
↓ 1 callers
Method
parseDoStat
do block end
luahelper-lsp/langserver/check/compiler/parser/parse_stat.go:96
↓ 1 callers
Method
parseEmptyStat
;
luahelper-lsp/langserver/check/compiler/parser/parse_stat.go:59
↓ 1 callers
Method
parseExp0
()
luahelper-lsp/langserver/check/compiler/parser/parse_exp.go:131
↓ 1 callers
Method
parseFieldList
fieldlist ::= field {fieldsep field} [fieldsep]
luahelper-lsp/langserver/check/compiler/parser/parse_exp.go:285
↓ 1 callers
Function
parseFloat
parseFloat 解析浮点数
luahelper-lsp/langserver/check/compiler/parser/parser_number.go:185
↓ 1 callers
Method
parseForStat
for Name ‘=’ exp ‘,’ exp [‘,’ exp] do block end for namelist in explist do block end
luahelper-lsp/langserver/check/compiler/parser/parse_stat.go:223
↓ 1 callers
Method
parseFuncDefStat
function funcname funcbody funcname ::= Name {‘.’ Name} [‘:’ Name] funcbody ::= ‘(’ [parlist] ‘)’ block end parlist ::= namelist [‘,’ ‘...’] | ‘...’ n
luahelper-lsp/langserver/check/compiler/parser/parse_stat.go:530
↓ 1 callers
Method
parseFuncName
funcname ::= Name {‘.’ Name} [‘:’ Name] 设定:最后一个是函数名 倒数第二个是类名
luahelper-lsp/langserver/check/compiler/parser/parse_stat.go:561
↓ 1 callers
Method
parseGotoStat
goto Name
luahelper-lsp/langserver/check/compiler/parser/parse_stat.go:86
↓ 1 callers
Method
parseIKIllegalStat
func (p *Parser) parseIKIllegalStat() *ast.IllegalStat{ l := p.l loc := l.GetNowTokenLoc() l.NextToken() return &ast.IllegalStat{ Name: "", Lo
luahelper-lsp/langserver/check/compiler/parser/parse_stat.go:629
↓ 1 callers
Method
parseIfStat
if exp then block {elseif exp then block} [else block] end
luahelper-lsp/langserver/check/compiler/parser/parse_stat.go:164
↓ 1 callers
Function
parseInteger
parseInteger 解析整型
luahelper-lsp/langserver/check/compiler/parser/parser_number.go:146
↓ 1 callers
Method
parseLabelStat
‘::’ Name ‘::’
luahelper-lsp/langserver/check/compiler/parser/parse_stat.go:74
↓ 1 callers
Method
parseLocalAssignOrFuncDefStat
local function Name funcbody local namelist [‘=’ explist]
luahelper-lsp/langserver/check/compiler/parser/parse_stat.go:382
↓ 1 callers
Method
parseNameExp
()
luahelper-lsp/langserver/check/compiler/parser/parse_prefix_exp.go:132
↓ 1 callers
Method
parseNumberExp
()
luahelper-lsp/langserver/check/compiler/parser/parse_exp.go:175
↓ 1 callers
Method
parseParList
[parlist] parlist ::= namelist [‘,’ ‘...’] | ‘...’
luahelper-lsp/langserver/check/compiler/parser/parse_exp.go:232
↓ 1 callers
Method
parseParensExp
()
luahelper-lsp/langserver/check/compiler/parser/parse_prefix_exp.go:44
↓ 1 callers
Method
parseRepeatStat
repeat block until exp
luahelper-lsp/langserver/check/compiler/parser/parse_stat.go:141
↓ 1 callers
Method
parseRetExps
retstat ::= return [explist] [‘;’] explist ::= exp {‘,’ exp}
luahelper-lsp/langserver/check/compiler/parser/parse_block.go:29
↓ 1 callers
Method
parseStat
* stat ::= ‘;’ | break | ‘::’ Name ‘::’ | goto Name | do block end | while exp do block end | repeat block until exp | if exp then block {else
luahelper-lsp/langserver/check/compiler/parser/parse_stat.go:27
↓ 1 callers
Method
parseStats
()
luahelper-lsp/langserver/check/compiler/parser/parse_block.go:16
← previous
next →
801–900 of 1,325, ranked by callers