Add type alias for name scope data structure
This commit is contained in:
parent
1fc028c9fc
commit
ae65455374
@ -5,6 +5,7 @@ use crate::ast::*;
|
||||
use crate::util::ScopeStack;
|
||||
|
||||
type FQSNPrefix = Vec<ScopeSegment>;
|
||||
type NameScopeStack<'t> = ScopeStack<'t, Rc<String>, FQSNPrefix>;
|
||||
|
||||
pub struct ScopeResolver<'a> {
|
||||
symbol_table: &'a mut SymbolTable,
|
||||
|
Loading…
Reference in New Issue
Block a user