#ifndef COMPONENT_H #define COMPONENT_H #include "rule.h" #include "pin.h" #include "attribute.h" #include #include #include class Component: AstNode { public: enum ComponentType { OTHER, PROCESSOR, MEMORY }; IdentifierNode name; StringNode tooltip; StringNode source; ComponentType type; std::vector rules; StringNode instanceName; CountNode count; Display display; std::vector pin; std::vector attributes; Component(); }; #endif // COMPONENT_H