Registry / other / solang-parser

solang-parser

JSON →
library0.3.5rscratesunverified

Solang Solidity Parser for parsing Solidity source code.

# Cargo.toml [dependencies] solang-parser = "0.3.5"
INSTALL
IMPORT
SIG · SOLANG-PARSER
S
solang-parser
otherrustv0.3.5
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

parse
✓ use solang_parser::parse;

Parse a Solidity source string.

use solang_parser::parse; fn main() { let source = "contract C {}"; let (unit, _) = parse(source, 0).unwrap(); println!("{:?}", unit); }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.3.5latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
9 hits · last 30 days
node
8
Resources
solang-parser — cargo add solang-parser · libregistry