about summary refs log tree commit diff
path: root/src/rustllvm/ExecutionEngineWrapper.cpp
diff options
context:
space:
mode:
authorzslayton <zack.slayton@gmail.com>2014-03-09 01:30:27 -0500
committerZack Slayton <zslayton@us.ibm.com>2014-03-11 12:13:46 -0400
commit9e0cfa23e8b3d2d17302eefd9d728e63e7c6c108 (patch)
tree2c6984d54f0234e53058d6232141120da72a3c0c /src/rustllvm/ExecutionEngineWrapper.cpp
parenta0f20f09fde77fb7330b1a67918744149dca3318 (diff)
downloadrust-9e0cfa23e8b3d2d17302eefd9d728e63e7c6c108.tar.gz
rust-9e0cfa23e8b3d2d17302eefd9d728e63e7c6c108.zip
Added convenience methods and accompanying tests to the Json class.
Fixed some styling issues with trailing whitespace.

- Removed redundant functions.
- Renamed `get` to `find`
- Renamed `get_path` to `find_path`
- Renamed `find` to `search`
- Changed as_object and as_list to return Object and List
  rather than the underlying implementation types
  of TreeMap<~str,Json> and ~[Json]
- Refactored find_path to use a fold() instead of recursion

Formatting fixes.

Fixed spacing, deleted comment.

Added convenience methods and accompanying tests to the Json class.

Updated tests to expect less pointer indirection.
Diffstat (limited to 'src/rustllvm/ExecutionEngineWrapper.cpp')
0 files changed, 0 insertions, 0 deletions