AstSgNodeAttribute¶
Attribute storing an SgNode.
Synopsis¶
Declared in <src/midend/astProcessing/AstAttributeMechanism.h>
class [[visibility("default")]] AstSgNodeAttribute
: public AstValueAttribute<SgNode*> Description¶
A SgNode attribute may be used to "dynamically add" an SgNode field to an AST node.
Base Classes¶
| Name | Description |
|---|---|
AstValueAttribute<SgNode*> | IR node attribute that stores a copyable value. |
Type Aliases¶
| Name |
|---|
Super |
Member Functions¶
| Name | Description |
|---|---|
AstSgNodeAttributeAstSgNodeAttribute(); [constructor] | Constructors |
attribute_class_namevirtual std::string attribute_class_name() const override; [virtual] | |
copyvirtual AstAttribute* copy() const override; [virtual] | |
getNodeSgNode* getNode(); | |
setNodevoid setNode(SgNode* node); |
Created with MrDocs