Skip to content

Commit f592d14

Browse files
committed
docs: SolParser docs
1 parent ab306d6 commit f592d14

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

crates/compilers/src/resolver/parse.rs

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,16 @@ use std::{
66
path::{Path, PathBuf},
77
};
88

9+
/// Solidity parser.
10+
///
11+
/// Holds a [`solar_sema::Compiler`] that is used to parse sources incrementally.
12+
/// After project compilation ([`Graph::resolve`]), this will contain all sources parsed by
13+
/// [`Graph`].
14+
///
15+
/// This state is currently lost on `Clone`.
16+
///
17+
/// [`Graph`]: crate::Graph
18+
/// [`Graph::resolve`]: crate::Graph::resolve
919
#[derive(derive_more::Debug)]
1020
pub struct SolParser {
1121
#[debug(ignore)]

0 commit comments

Comments
 (0)