Skip to main content

luaur_compiler/methods/
compile_error_get_location.rs

1use crate::records::compile_error::CompileError;
2use luaur_ast::records::location::Location;
3
4impl CompileError {
5    pub fn get_location(&self) -> &Location {
6        &self.location
7    }
8}