1#[path = "parser_impl.rs"]
2mod parser_impl;
3
4use crate::types::{FileRecord, LocalFileSymbols};
5
6pub fn parse_file(file_path: &str) -> FileRecord {
7 parser_impl::parse_file(file_path)
8}
9
10pub fn parse_file_checked(file_path: &str) -> Result<FileRecord, String> {
11 parser_impl::parse_file_checked(file_path)
12}
13
14pub fn parse_file_symbols(file_path: &str) -> LocalFileSymbols {
15 parser_impl::parse_file_symbols(file_path)
16}
17
18pub fn parse_file_symbols_checked(file_path: &str) -> Result<LocalFileSymbols, String> {
19 parser_impl::parse_file_symbols_checked(file_path)
20}