From dbcd2278a61d4fb23dafd902a0209107ec73f812 Mon Sep 17 00:00:00 2001 From: greg Date: Mon, 11 Mar 2019 02:35:42 -0700 Subject: [PATCH] Renamings --- schala-lang/language/src/symbol_table.rs | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/schala-lang/language/src/symbol_table.rs b/schala-lang/language/src/symbol_table.rs index ef0a12c..9567adf 100644 --- a/schala-lang/language/src/symbol_table.rs +++ b/schala-lang/language/src/symbol_table.rs @@ -16,15 +16,15 @@ type SymbolTrackTable = HashMap, LineNumber>; struct PathToSymbol(Vec>); #[derive(Debug)] -struct SymbolPathSegment { - segment_name: Rc, - segment_type: SymbolPathSegmentKind +struct ScopeSegment { + scope_name: Rc, + scope_type: ScopeType, } #[derive(Debug)] -enum SymbolPathSegmentKind { - NamedScope, - TypeVariant +enum ScopeType { + Function, + Type, } //cf. p. 150 or so of Language Implementation Patterns