pub fn new(filename: &str) -> FileLocation {
        FileLocation {
            filename:   Arc::new(String::from(filename)),
            line:       1,
            chr_idx:    1,
            file_idx:   0
        }
    }
///
/// Creates a location at the start of the file with the specified name
///
Creates a location at the start of the file with the specified name
Creates a location at the start of the file with the specified name
pub fn new(filename: &str) -> FileLocation {
        FileLocation {
            filename:   Arc::new(String::from(filename)),
            line:       1,
            chr_idx:    1,
            file_idx:   0
        }
    }
pub fn new ( filename : & str ) -> FileLocation { FileLocation { filename : Arc :: new ( String :: from ( filename ) ) , line : 1 , chr_idx : 1 , file_idx : 0 } }
Creates a location at the start of the file with the specified name
Creates a location at the start of the file with the specified name
filename
&str
filename
&str