Пример #1
0
 static Attributes()
 {
     attributes                            = new Dictionary <string, Attribute>();
     attributes["name"]                    = new NameAttribute();
     attributes["level"]                   = new LevelAttribute();
     attributes["value"]                   = new ValueAttribute();
     attributes["type"]                    = new TypeAttribute();
     attributes["sender"]                  = new SenderAttribute();
     attributes["receiver"]                = new ReceiverAttribute();
     attributes["unsafe"]                  = new UnsafeAttribute();
     attributes["function"]                = new FunctionUserAttribute();
     attributes["definitions"]             = new DefinitionsAttribute();
     attributes["usage"]                   = new UsageAttribute();
     attributes["hash"]                    = new HashAttribute();
     attributes["displayableReceivers"]    = new PointerDisplayableReceiversAttribute();
     attributes["receivers"]               = new PointerReceiversAttribute();
     attributes["receiverusage"]           = new ReceiverUsageAttribute();
     attributes["incrementDirection"]      = new incrementDirectionAttribute();
     attributes["needCompute"]             = new NeedComputeAttribute();
     attributes["ispointerincrementation"] = new IsPointerIncrementationAttribute();
     //not used?
     attributes["typecobol"]    = new TypeCobolAttribute();
     attributes["visibility"]   = new VisibilityAttribute();
     attributes["copyname"]     = new LibraryCopyAttribute();
     attributes["programName8"] = new ProgramName8Attribute();
     attributes["imports"]      = new ProgramImportsAttribute();
 }
Пример #2
0
 static Attributes()
 {
     attributes                = new Dictionary <string, Attribute>();
     attributes["name"]        = new NameAttribute();
     attributes["level"]       = new LevelAttribute();
     attributes["type"]        = new TypeAttribute();
     attributes["sender"]      = new SenderAttribute();
     attributes["receiver"]    = new ReceiverAttribute();
     attributes["unsafe"]      = new UnsafeAttribute();
     attributes["function"]    = new FunctionUserAttribute();
     attributes["definitions"] = new DefinitionsAttribute();
     //not used?
     attributes["typecobol"]    = new TypeCobolAttribute();
     attributes["visibility"]   = new VisibilityAttribute();
     attributes["copyname"]     = new LibraryCopyAttribute();
     attributes["programName8"] = new ProgramName8Attribute();
     attributes["imports"]      = new ProgramImportsAttribute();
 }