Struct solang_parser::solidity::SourceUnitParser
source · [−]pub struct SourceUnitParser { /* private fields */ }
Implementations
sourceimpl SourceUnitParser
impl SourceUnitParser
pub fn new() -> SourceUnitParser
pub fn parse<'input, __TOKEN: __ToTriple<'input>, __TOKENS: IntoIterator<Item = __TOKEN>>(
&self,
input: &'input str,
file_no: usize,
__tokens0: __TOKENS
) -> Result<SourceUnit, ParseError<usize, Token<'input>, LexicalError>>
Auto Trait Implementations
impl RefUnwindSafe for SourceUnitParser
impl Send for SourceUnitParser
impl Sync for SourceUnitParser
impl Unpin for SourceUnitParser
impl UnwindSafe for SourceUnitParser
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more