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