Comments (2)
Differences:
Instantiate w/ options:
let ast = SolidityParserAntlr.parse(contract.source, {range: true});
- EOS is the terminating character of the range
- node.start === node.range[0];
- node.end === node.range[1];
- Program --> SourceUnit w/ children
- Contract --> body === subNodes
- .consequent === .trueBody
- .alternate === .falseBody
- BlockStatement === Block
from solidity-coverage.
Closing for the time being - if we implement in-memory code execution tracking we'll likely end up using the solc ast because we'll want the source-map and line-column data to come from the same source.
from solidity-coverage.
Related Issues (20)
- Consider using caret range for dependencies HOT 3
- named mapping keys printing large logs HOT 3
- Coverage overwrites provider logic in extendEnvironment hook HOT 8
- uncovered else statements HOT 1
- ParserError solidity-coverage: v0.8.5 Solidity 0.8.19 HOT 3
- modifierWhitelist causes inaccurate coverage HOT 3
- Specify minimum coverage HOT 1
- v0.9.0 Road Map
- Donating Funds to Solidity-coverage HOT 2
- ...
- Update tests
- Running solidity-coverage against a generic RPC node HOT 12
- Small docs Improvements
- Unskip stack-too-deep unit test HOT 1
- Try/Catch should be treated as branch
- 0% coverage when using hardhat-foundry & foundry.toml is present HOT 15
- Add tests for file level function declarations
- feature: track config state in Hardhat cache
- Tracking Issue: using viaIR in versions >= 0.8.7 HOT 2
- Branch coverage decreases after upgrading to 0.8.7 HOT 10
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from solidity-coverage.