diff options
author | 2015-06-13 03:34:47 +0000 | |
---|---|---|
committer | 2015-06-15 10:51:53 +0000 | |
commit | d61f531427e7448d7900eba03a45674ed5dc000b (patch) | |
tree | 5e34f32565fdad804641eb37877bede73e7bf7ac /src/main/java/com/google/devtools/build/lib/syntax/FlowStatement.java | |
parent | 53594cbfbe74a5568503397a29b600e7c9b40a6b (diff) |
Implement Skylark function repr
Move printing code from EvalUtils to Printer.
Rename functions in Printer:
printValue becomes str or print,
prettyPrintValue becomes repr or write,
formatString becomes format,
makeFormattable becomes strFormattable,
prettyPrintValues becomes listString.
write being self-sufficient is made the reference,
and print is the one that is a wrapper around write,
rather than the other way around, avoiding mutual recursion.
--
MOS_MIGRATED_REVID=95897834
Diffstat (limited to 'src/main/java/com/google/devtools/build/lib/syntax/FlowStatement.java')
0 files changed, 0 insertions, 0 deletions