diff options
author | 2015-02-11 16:51:37 +0000 | |
---|---|---|
committer | 2015-02-11 16:51:37 +0000 | |
commit | a46125ca0e4569a41d2d078c3168dbfd8950534a (patch) | |
tree | 505db840e7bf95f8cccede02f64dacbd044f3332 /src/main/java/com/google/devtools/build/lib/syntax/FuncallExpression.java | |
parent | 523d44229c7c9ebba728695a3c6ec8b0f3609638 (diff) |
Extract an EvaluableBlazeQueryEnvironment abstract class from BlazeQueryEnvironment that exposes an evaluateQuery method, and also implements the non-LabelVisitor-specific parts of BlazeQueryEnvironment, for other implementations' uses.
Most of the code is just a straight refactoring of BlazeQueryEnvironment into EvaluableBlazeQueryEnvironment (and BlazeTargetAccessor). Ignoring whitespace changes in [] may be your friend for seeing that it's a straight move.
This also allows us to change tests to use QueryCommand.newQueryEnvironment, in preparation for newQueryEnvironment potentially returning a different EvaluableBlazeQueryEnvironment subclass depending on the circumstances.
--
MOS_MIGRATED_REVID=86088953
Diffstat (limited to 'src/main/java/com/google/devtools/build/lib/syntax/FuncallExpression.java')
0 files changed, 0 insertions, 0 deletions