pub struct SimplePythonParser { /* private fields */ }Implementations§
source§impl SimplePythonParser
impl SimplePythonParser
pub fn parse_py_code( &self, code: String, ) -> Result<ModModule<SourceRange>, IncompleteParseArtifact<AST, ParserRunnerErrors>>
Trait Implementations§
source§impl ASTBuildable for SimplePythonParser
impl ASTBuildable for SimplePythonParser
fn build_ast( &mut self, code: String, ) -> Result<ParseArtifact<AST, ParserRunnerErrors>, IncompleteParseArtifact<AST, ParserRunnerErrors>>
source§impl Debug for SimplePythonParser
impl Debug for SimplePythonParser
source§impl Default for SimplePythonParser
impl Default for SimplePythonParser
source§fn default() -> SimplePythonParser
fn default() -> SimplePythonParser
Returns the “default value” for a type. Read more
source§impl Parsable for SimplePythonParser
impl Parsable for SimplePythonParser
fn parse( code: String, ) -> Result<ParseArtifact, IncompleteParseArtifact<Module, ParseErrors>>
Auto Trait Implementations§
impl Freeze for SimplePythonParser
impl RefUnwindSafe for SimplePythonParser
impl Send for SimplePythonParser
impl Sync for SimplePythonParser
impl Unpin for SimplePythonParser
impl UnwindSafe for SimplePythonParser
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more