parent
9b2157b250
commit
339b8e3b4a
|
@ -5,24 +5,8 @@ import tlang.compiler.symbols.data;
|
|||
import std.conv : to;
|
||||
import gogga;
|
||||
|
||||
/**
|
||||
* SymbolMapper
|
||||
*
|
||||
* Maps Entity's to consistent but unique symbol
|
||||
* names (strings)
|
||||
*/
|
||||
public class SymbolMapper
|
||||
{
|
||||
// Used to map names to entities
|
||||
protected TypeChecker tc;
|
||||
|
||||
this(TypeChecker tc)
|
||||
{
|
||||
this.tc = tc;
|
||||
}
|
||||
|
||||
public abstract string symbolLookup(Entity entityIn);
|
||||
}
|
||||
|
||||
public enum SymbolMappingTechnique : string
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue