MCPcopy Create free account
hub / github.com/ChangeYourWay/Fenrir-CodeAuditTool / NewQueryEngine

Function NewQueryEngine

internal/utils/query_interface.go:17–19  ·  view source on GitHub ↗

NewQueryEngine 创建查询引擎

(index *ASTIndex)

Source from the content-addressed store, hash-verified

15
16// NewQueryEngine 创建查询引擎
17func NewQueryEngine(index *ASTIndex) *QueryEngine {
18 return &QueryEngine{index: index}
19}
20
21// GetAllNodes 获取索引中的所有节点
22func (e *QueryEngine) GetAllNodes() []UniversalASTNode {

Callers 5

TestNameFunction · 0.92
mainFunction · 0.92
mainFunction · 0.92
GetQueryEngineMethod · 0.85
PrintStatisticsMethod · 0.85

Calls

no outgoing calls

Tested by 1

TestNameFunction · 0.74