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>>);
|
struct PathToSymbol(Vec<Rc<String>>);
|
||||||
|
|
||||||
#[derive(Debug)]
|
#[derive(Debug)]
|
||||||
struct SymbolPathSegment {
|
struct ScopeSegment {
|
||||||
segment_name: Rc<String>,
|
scope_name: Rc<String>,
|
||||||
segment_type: SymbolPathSegmentKind
|
scope_type: ScopeType,
|
||||||
}
|
}
|
||||||
|
|
||||||
#[derive(Debug)]
|
#[derive(Debug)]
|
||||||
enum SymbolPathSegmentKind {
|
enum ScopeType {
|
||||||
NamedScope,
|
Function,
|
||||||
TypeVariant
|
Type,
|
||||||
}
|
}
|
||||||
|
|
||||||
//cf. p. 150 or so of Language Implementation Patterns
|
//cf. p. 150 or so of Language Implementation Patterns
|
||||||
|
Loading…
Reference in New Issue
Block a user