Exemplo n.º 1
0
        public FilePropertySpecialRegister(Token specialRegisterName, [NotNull] SymbolReference fileNameReference)
            : base(StorageAreaKind.FilePropertySpecialRegister)
        {
            SpecialRegisterName = specialRegisterName;
            FileNameReference   = fileNameReference;

            // This is both a storage area definition and a reference to the same storage area
            DataDescriptionEntry = new SpecialRegisterDescriptionEntry(specialRegisterName, fileNameReference.ToString());
            SymbolReference      = new SymbolReference(DataDescriptionEntry.DataName);
        }
Exemplo n.º 2
0
        public StorageAreaPropertySpecialRegister(Token specialRegisterName, StorageArea storageAreaReference)
            : base(StorageAreaKind.StorageAreaPropertySpecialRegister)
        {
            SpecialRegisterName       = specialRegisterName;
            OtherStorageAreaReference = storageAreaReference;

            // This is both a storage area definition and a reference to the same storage area
            var storageAreaName = storageAreaReference != null?storageAreaReference.ToString() : "null";

            DataDescriptionEntry = new SpecialRegisterDescriptionEntry(specialRegisterName, storageAreaName);
            SymbolReference      = new SymbolReference(DataDescriptionEntry.DataName);
        }
Exemplo n.º 3
0
 public virtual bool Visit(SpecialRegisterDescriptionEntry specialRegisterDescriptionEntry)
 {
     return(true);
 }