Decaf Compiler
Public Attributes | List of all members
Attribute Struct Reference

AST attribute (basically a key-value store for nodes) More...

#include <ast.h>

Public Attributes

const char * key
 Attribute key.
 
void * value
 Attribute value (integral value or pointer to heap)
 
AttributeValueDOTPrinter dot_printer
 Pointer to DOT-printing function (can be NULL if not printable)
 
Destructor dtor
 Pointer to destructor function that should be called to deallocate the attribute value (should be NULL if it's an integral value)
 
struct Attributenext
 Next attribute (if stored in a list)
 

Detailed Description

AST attribute (basically a key-value store for nodes)


The documentation for this struct was generated from the following file: