diff options
author | Francois-Rene Rideau <tunes@google.com> | 2015-04-10 18:31:43 +0000 |
---|---|---|
committer | Lukacs Berki <lberki@google.com> | 2015-04-13 11:46:38 +0000 |
commit | e6a46b82e8e4e402fc70848f761d5486d2316d8f (patch) | |
tree | f6220192c5cb676be7192ee25e172ddc12096217 /src/main/java/com/google/devtools/build/lib/syntax/GlobList.java | |
parent | 3af12e60e75a8d6acc5c272c29bf562030f6f975 (diff) |
Allow evaluation from String
Lift the Evaluation code from the test files AbstractParserTestCase and
AbstractEvaluationTestCase into new files EvaluationContext.
Remove this code's dependency on FsApparatus (and thus to InMemoryFS),
by making the Lexer accept null as filename.
Also remove dependency on EventCollectionApparatus;
parameterized by an EventHandler.
Have the SkylarkSignatureProcessor use this Evaluation for defaultValue-s.
While refactoring evaluation, have SkylarkShell use it,
which fixes its ValidationEnvironment issues.
TODO: refactor the tests to use this new infrastructure.
--
MOS_MIGRATED_REVID=90824736
Diffstat (limited to 'src/main/java/com/google/devtools/build/lib/syntax/GlobList.java')
0 files changed, 0 insertions, 0 deletions