# Package org.codehaus.groovy.ast.query

package org.codehaus.groovy.ast.query
A small, read-only fluent query API over the Groovy AST, intended as a declarative alternative to hand-written `ClassCodeVisitorSupport` subclasses for the common "find / collect / detect" cases that arise in AST transformations and compiler checks.

Since:
  6.0.0
See Also:
  - `AstQuery`

- Related Packages
  Package
  Description
  org.codehaus.groovy.ast
  Groovy AST nodes for the syntax of the language
  org.codehaus.groovy.ast.builder
  DSL builders for programmatic AST construction.
  org.codehaus.groovy.ast.decompiled
  Tools for converting decompiled Java bytecode back into AST representation.
  org.codehaus.groovy.ast.expr
  AST nodes for Groovy expressions
  org.codehaus.groovy.ast.stmt
  AST nodes for Groovy statements
  org.codehaus.groovy.ast.tools
  AST manipulation and analysis utilities.
- Class
  Description
  AstContext
  The enclosing context of a candidate node during an `AstQuery` traversal.
  AstQuery<T extends ASTNode>
  A small, read-only, fluent query API over a Groovy AST subtree.