1 2 3 4 5 6 7 8 9 10 11
use crate::records::symbol::Symbol; use luaur_ast::records::ast_local::AstLocal; impl Symbol { pub fn symbol_ast_local(local: *mut AstLocal) -> Self { Symbol { local, global: luaur_ast::records::ast_name::AstName::default(), } } }