Ejemplo n.º 1
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;
        }
        internal ReceivingStorageArea CreateIndexStorageArea(CodeElementsParser.IndexStorageAreaContext context)
        {
            StorageArea indexStorageArea = new IndexStorageArea(
                CobolWordsBuilder.CreateIndexNameReference(context.indexNameReference()));

            return new ReceivingStorageArea(StorageDataType.Numeric, indexStorageArea);
        }
Ejemplo n.º 3
0
 public virtual bool Visit(IndexStorageArea indexStorageArea)
 {
     return(true);
 }