コード例 #1
0
        internal ReceivingStorageArea CreateIndexStorageArea(CodeElementsParser.IndexStorageAreaContext context)
        {
            StorageArea indexStorageArea = new IndexStorageArea(
                CobolWordsBuilder.CreateIndexNameReference(context.indexNameReference()));

            return new ReceivingStorageArea(StorageDataType.Numeric, indexStorageArea);
        }
コード例 #2
0
        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;
        }