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>>); 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