internal SymbolReferenceVariable CreateClassNameOrObjectReferenceVariable(CodeElementsParser.ClassNameOrObjectReferenceVariableContext context)
 {
     StorageArea storageArea = CreateIdentifierOrClassName(context.identifierOrClassName());
     return new SymbolReferenceVariable(StorageDataType.ClassNameOrObjectReference, storageArea);
 }
Ejemplo n.º 2
0
        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;
        }