Rantanen / intercom

Object based cross-language FFI for Rust
MIT License
63 stars 7 forks source link

Return structured information from parsing a crate #57

Closed Fluxie closed 6 years ago

Fluxie commented 6 years ago

The more structured type information in the generation stage enables e.g. proper const modifiers for the C++ interfaces.

Output format specific conversion logic was moved to appropriate generators.

codecov-io commented 6 years ago

Codecov Report

Merging #57 into master will decrease coverage by 0.11%. The diff coverage is 80.78%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master      #57      +/-   ##
==========================================
- Coverage   76.49%   76.37%   -0.12%     
==========================================
  Files          47       47              
  Lines        2944     3069     +125     
==========================================
+ Hits         2252     2344      +92     
- Misses        692      725      +33
Impacted Files Coverage Δ
intercom-common/src/foreign_ty.rs 70.31% <71.02%> (-9.96%) :arrow_down:
intercom-common/src/generators/idl.rs 82.23% <91.48%> (+0.67%) :arrow_up:
intercom-common/src/generators/cpp.rs 80.23% <91.83%> (+1.04%) :arrow_up:

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update 5a6b2ec...e82a96b. Read the comment docs.

Rantanen commented 6 years ago

Thanks! <3