Package com.tonic.analysis.query.ast
The query language's syntax tree.
-
Interface Summary Interface Description Condition The boolean expression tree of a query'sWHEREclause - the only place booleans live.Condition.Visitor<R> Operand The right-hand side of aCondition.Comparison.Query Root query AST node.Scope Query scope - limits which code locations to analyze.ScopeVisitor<T> Visitor over the closed set of query scope variants. -
Class Summary Class Description Accessor An immutable, fluent path ofSteps that projects a value (or a sub-subject stream) from a subject - e.g.AllScope Search all methods/classes in the project.ClassScope Scope limited to classes matching a pattern or exact name.Condition.And Condition.Comparison accessor OP operand- the single generic leaf.Condition.Count count(<stream> [where (body)]) OP n- cardinality of a (optionally filtered) stream.Condition.Group Condition.Not Condition.Or Condition.Quantifier has|any|all|none <stream> where (body).Condition.Sequence SEQUENCE [ e1, e2, .. ]- an ordered, unanchored regex over the method's instruction stream.Condition.Sequence.Element One pattern element: a matcher evaluated against an instruction, repeated[min,max]times.Condition.True Constant truth, used as an identity element when simplifying/splitting trees.DuringScope Scope limited to events during execution of specific methods.FindQuery FIND query - returns matching entities with evidence.MethodScope Scope limited to methods matching a pattern or signature.Operand.Literal Operand.Ref OrderBy Ordering clause for query results: a sort key and a direction.RunSpec Execution budget and tracing configuration for queries that require running code.RunSpec.Builder Mutable builder for RunSpec instances.ShowQuery SHOW query - displays all matching items without filtering.Step One segment of anAccessorpath: a keyword atom optionally indexed (e.g. -
Enum Summary Enum Description ArgumentType Classification of how a call argument value is produced, with DYNAMIC covering any non-literal source.Condition.Quant Existence/universality of a sub-condition over a sub-subject stream.RunSpec.TraceMode How much execution trace to retain: none, a bounded ring, or the full trace.Target Query target type - what kind of entities the query returns.