orchestrata_tools.query

Reference › orchestrata_tools › query

Query DSL for filtering and searching the AST index.

The query package filters the AST index with a small query language. dsl defines the Query builder, and evaluator defines QueryEvaluator, which applies a query to an ASTIndex and, for the tested filter, to a test matcher. The package __init__ re-exports both. The query command of __main__ is the entry point. Start with dsl.

3 modules, 132 lines of code.

Modules

Module Summary LOC
__init__ Query DSL for filtering and searching the AST index. 6
dsl Simple query DSL for AST searches. 45
evaluator Execute Query objects against an ASTIndex. 81

Dependency diagram

Package dependency diagram orchestrata_tools.query