public SpecialRegisterDescriptionEntry(Token specialRegisterName, string storageAreaNameOrFileName) : base() { // Generate a unique symbol name for this special register var generatedSymbolName = new GeneratedSymbolName(specialRegisterName, specialRegisterName.Text + "-" + storageAreaNameOrFileName); DataName = new SymbolDefinition(generatedSymbolName, SymbolType.DataName); SpecialRegisterName = specialRegisterName; }
public FunctionCallResultDescriptionEntry(FunctionCall functionCall, int callSiteId) : base() { // Generate a unique symbol name for the function call at this specific call site var generatedSymbolName = new GeneratedSymbolName(functionCall.FunctionNameToken, functionCall.FunctionName + "-" + callSiteId); DataName = new SymbolDefinition(generatedSymbolName, SymbolType.DataName); FunctionCall = functionCall; }