internal ReceivingStorageArea CreateAlphanumericStorageArea(CodeElementsParser.AlphanumericStorageAreaContext context) { var storageArea = new ReceivingStorageArea(StorageDataType.Alphanumeric, CreateIdentifier(context.identifier())); // Collect storage area read/writes at the code element level this.storageAreaWrites.Add(storageArea); return storageArea; }
// --- Storage areas where statements results are saved --- internal ReceivingStorageArea CreateConditionStorageArea(CodeElementsParser.ConditionStorageAreaContext context) { var storageArea = new ReceivingStorageArea(StorageDataType.Condition, CreateConditionReference(context.conditionReference())); // Collect storage area read/writes at the code element level this.storageAreaWrites.Add(storageArea); return storageArea; }
internal ReceivingStorageArea CreateIndexStorageArea(CodeElementsParser.IndexStorageAreaContext context) { StorageArea indexStorageArea = new IndexStorageArea(CobolWordsBuilder.CreateIndexNameReference(context.indexNameReference())); var receivingStorageArea = new ReceivingStorageArea(StorageDataType.Numeric, indexStorageArea); // Collect storage area read/writes at the code element level this.storageAreaWrites.Add(receivingStorageArea); return receivingStorageArea; }
public virtual bool Visit(ReceivingStorageArea receivingStorageArea) { return(true); }