Renamings
This commit is contained in:
parent
2490aaf3f4
commit
dbcd2278a6
@ -16,15 +16,15 @@ type SymbolTrackTable = HashMap<Rc<String>, LineNumber>;
|
||||
struct PathToSymbol(Vec<Rc<String>>);
|
||||
|
||||
#[derive(Debug)]
|
||||
struct SymbolPathSegment {
|
||||
segment_name: Rc<String>,
|
||||
segment_type: SymbolPathSegmentKind
|
||||
struct ScopeSegment {
|
||||
scope_name: Rc<String>,
|
||||
scope_type: ScopeType,
|
||||
}
|
||||
|
||||
#[derive(Debug)]
|
||||
enum SymbolPathSegmentKind {
|
||||
NamedScope,
|
||||
TypeVariant
|
||||
enum ScopeType {
|
||||
Function,
|
||||
Type,
|
||||
}
|
||||
|
||||
//cf. p. 150 or so of Language Implementation Patterns
|
||||
|
Loading…
Reference in New Issue
Block a user