Renamings

This commit is contained in:
greg 2019-03-11 02:35:42 -07:00
parent 2490aaf3f4
commit dbcd2278a6

View File

@ -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