logic: save template parameters as child nodes with member access 'template parameter'

* added access node to graph for template parameters, no icon so far
* don't reexpand function nodes with children when active before
* removed console warnings for edges
This commit is contained in:
Eberhard Graether
2016-01-26 14:38:41 +01:00
parent 91d655f397
commit e0d7f1d613
10 changed files with 51 additions and 331 deletions
@@ -10,6 +10,8 @@ std::string TokenComponentAccess::getAccessString(AccessType access)
return "protected";
case ACCESS_PRIVATE:
return "private";
case ACCESS_TEMPLATE:
return "template parameter";
case ACCESS_NONE:
return "";
}
@@ -31,6 +33,8 @@ TokenComponentAccess::AccessType TokenComponentAccess::intToType(int value)
return ACCESS_PROTECTED;
case 0x4:
return ACCESS_PRIVATE;
case 0x8:
return ACCESS_TEMPLATE;
default:
break;
}
@@ -14,6 +14,7 @@ public:
ACCESS_PUBLIC = 0x1,
ACCESS_PROTECTED = 0x2,
ACCESS_PRIVATE = 0x4,
ACCESS_TEMPLATE = 0x8,
ACCESS_NONE = 0x0
};