Skip to content

AstAttribute::toString

Convert an attribute to a string.

Synopsis

Declared in <src/midend/astProcessing/AstAttributeMechanism.h>

virtual
std::string
toString();

Description

This is used by other components to print the value of an attribute. For example the pdf generation calls this function to print the value of an attribute in the pdf file. The default implementation is to return the attribute address in the heap as a string.

Created with MrDocs