private bool isReferenced; //if a symbol is never referenced it will be omitted in the compilation public Symbol(string name, Global.DataType type) { this.name = name; this.type = type; }
public Token(Global.DataType type, string value) { this.type = type; this.value = value; }
public string value; // Often the name, the string, the number, ... (all stored as a string) public Token(Global.DataType type) { this.type = type; }