#include <ast_attribute_color.h>
Public Types | |
enum | Color { BLACK = 0, WHITE = 1, RED = 2, CYAN = 3, PURPLE = 4, GREEN = 5, BLUE = 6, YELLOW = 7, NO_COLOR = 255 } |
enum | CallHierarchy { IN_CALL_HIERARCHY = 100, NOT_IN_CALL_HIERARCHY = 101 } |
Public Member Functions | |
AstAttributeColor () | |
default constructor where the color is 'NO_COLOR' | |
AstAttributeColor (Color color) | |
constructor which overtakes a user given color | |
Public Attributes | |
Color | color_ |
CallHierarchy | call_hierarchy_ |
This class should be used to attribute ast nodes with colors
risc::tools::AstAttributeColor::AstAttributeColor | ( | ) |
default constructor where the color is 'NO_COLOR'
risc::tools::AstAttributeColor::AstAttributeColor | ( | Color | color | ) |
constructor which overtakes a user given color