internal SymbolReferenceVariable CreateClassNameOrObjectReferenceVariable(CodeElementsParser.ClassNameOrObjectReferenceVariableContext context) { StorageArea storageArea = CreateIdentifierOrClassName(context.identifierOrClassName()); return new SymbolReferenceVariable(StorageDataType.ClassNameOrObjectReference, storageArea); }
internal SymbolReferenceVariable CreateClassNameOrObjectReferenceVariable(CodeElementsParser.ClassNameOrObjectReferenceVariableContext context) { StorageArea storageArea = CreateIdentifierOrClassName(context.identifierOrClassName()); var variable = new SymbolReferenceVariable(StorageDataType.ClassNameOrObjectReference, storageArea); // Collect storage area read/writes at the code element level this.storageAreaReads.Add(storageArea); return variable; }