Interface | Description |
---|---|
QueryEnvironment<NODE_TYPE> |
The environment of a Buck query that can evaluate queries to produce a result.
|
QueryEnvironment.QueryFunction<OUTPUT_TYPE extends QueryTarget,ENV_NODE_TYPE> |
A user-defined query function.
|
QueryEnvironment.TargetEvaluator |
A procedure for evaluating a target literal to
QueryTarget . |
QueryEvaluator<ENV_NODE_TYPE> |
Class | Description |
---|---|
AllPathsFunction<T extends QueryTarget> |
A allpaths(from, to) expression, which computes all paths between the build targets in the set
'from' and the build targets in the set 'to', by following the dependencies between nodes in the
target graph.
|
AttrFilterFunction |
A attrfilter(attribute, value, argument) filter expression, which computes the subset of nodes in
'argument' whose 'attribute' contains the given value.
|
AttrRegexFilterFunction |
A attrregexfilter(attribute, pattern, argument) filter expression, which computes the subset of
nodes in 'argument' whose 'attribute' matches the given pattern.
|
BuildFileFunction<T extends QueryTarget> |
A "buildfile" query expression, which computes the build files that define the given targets.
|
CachingQueryEvaluator<ENV_NODE_TYPE> | |
DepsFunction<T extends QueryTarget> |
A 'deps(x [, depth, next_expr])' expression, which finds the dependencies of the given argument
set 'x'.
|
DepsFunction.FirstOrderDepsFunction<T extends QueryTarget> |
A function that resolves to the current node's target being traversed when evaluating the deps
function.
|
DepsFunction.LookupFunction<OUTPUT_TYPE extends QueryTarget,ENV_NODE_TYPE> |
A function that looks up target variables by name
|
FilterFunction<NODE_TYPE> |
A filter(pattern, argument) expression, evaluates its argument and filters the resulting targets
by applying the given regular expression pattern to the targets' names.
|
InputsFunction<T extends QueryTarget> |
An 'inputs(x)' expression, which finds the direct input files of the given argument set 'x'.
|
KindFunction<T extends QueryTarget> |
A kind(pattern, argument) filter expression, which computes the subset of nodes in 'argument'
whose kind matches the unanchored regex 'pattern'.
|
LabelsFunction |
A labels(label, argument) expression, which returns the targets in the attribute 'label' of the
targets evaluated in the argument
|
NoopQueryEvaluator<ENV_NODE_TYPE> | |
OwnerFunction<ENV_NODE_TYPE extends QueryTarget> |
A "owner" query expression, which computes the rules that own the given files.
|
QueryBuildTarget |
Implementation of
QueryTarget that wraps a BuildTarget . |
QueryEnvironment.Argument<ENV_NODE_TYPE> |
Value of an argument of a user-defined query function.
|
QueryExpression<NODE_TYPE> |
Base class for expressions in the Buck query language.
|
QueryFileTarget |
Implementation of
QueryTarget that wraps a SourcePath . |
QueryNormalizer |
Translates raw query to its canonical view, replacing substitutions if needed
|
RdepsFunction<T extends QueryTarget> |
A 'rdeps(u, x, [, depth])' expression, which finds the reverse dependencies of the given argument
set 'x' within the transitive closure of the set 'u'.
|
TargetLiteral<NODE_TYPE> |
A literal set of targets.
|
TargetPatternCollector<NODE_TYPE> | |
TargetVariablesQueryEnvironment<NODE_TYPE> |
Provides a view of an existing
QueryEnvironment augmented with additional target
variables. |
TestsOfFunction<T extends QueryTarget> |
A "testsof" query expression, which computes the tests of the given targets.
|
Enum | Description |
---|---|
QueryEnvironment.ArgumentType |
Type of an argument of a user-defined query function.
|
QueryEnvironment.TargetEvaluator.Type |
Exception | Description |
---|---|
QueryException |