mirror of
https://github.com/zeek/zeek.git
synced 2025-10-04 07:38:19 +00:00
Unify all of the Tag types into one type
- Remove tag types for each component type (analyzer, etc) - Add deprecated versions of the old types - Remove unnecessary tag element from templates for TaggedComponent and ComponentManager - Enable TaggedComponent to pass an EnumType when initializing Tag objects - Update some tests that are affected by the tag enum values changing order
This commit is contained in:
parent
4f9f46a0c4
commit
331161138a
46 changed files with 352 additions and 955 deletions
|
@ -23,7 +23,6 @@ namespace analyzer
|
|||
{
|
||||
|
||||
class Analyzer;
|
||||
class Tag;
|
||||
|
||||
} // namespace analyzer
|
||||
|
||||
|
@ -31,12 +30,11 @@ namespace file_analysis
|
|||
{
|
||||
|
||||
class File;
|
||||
class Tag;
|
||||
|
||||
/**
|
||||
* Main entry point for interacting with file analysis.
|
||||
*/
|
||||
class Manager : public plugin::ComponentManager<Tag, Component>
|
||||
class Manager : public plugin::ComponentManager<Component>
|
||||
{
|
||||
public:
|
||||
/**
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue