pub fn string_to_stmt(source_str: String) -> Option<P<ast::Stmt>> {
    with_error_checking_parse(source_str, |p| {
        use syntex_syntax::diagnostic::FatalError;
        match p.parse_stmt_nopanic() {
            Ok(p) => p,
            Err(FatalError) => None
        }
    })
}
// parse a string, return a stmt
parse a string, return a stmt
parse a string return a stmt
pub fn string_to_stmt(source_str: String) -> Option<P<ast::Stmt>> {
    with_error_checking_parse(source_str, |p| {
        use syntex_syntax::diagnostic::FatalError;
        match p.parse_stmt_nopanic() {
            Ok(p) => p,
            Err(FatalError) => None
        }
    })
}
pub fn string_to_stmt ( source_str : String ) -> Option < P < ast :: Stmt > > { with_error_checking_parse ( source_str , | p | { use syntex_syntax :: diagnostic :: FatalError ; match p . parse_stmt_nopanic ( ) { Ok ( p ) => p , Err ( FatalError ) => None } } ) }
parse a string, return a stmt
parse a string return a stmt
source_str
String