Rose::AstJson::RecordNodeConstruction¶
Synopsis¶
Declared in <SageIII/astJson/sageAstJsonPrivate.h>
class RecordNodeConstruction; Enums¶
| Name |
|---|
Publication |
Member Functions¶
| Name | Description |
|---|---|
RecordNodeConstructionRecordNodeConstruction() = default; [constructor] | Constructors |
~RecordNodeConstruction~RecordNodeConstruction(); [destructor] | Destructor |
borrowvoid borrow(SgNode* node); | |
forEachSourcetemplate<class Action> void forEachSource(Action&& action) const; | |
isBorrowedbool isBorrowed(SgNode* node) const; | |
maketemplate< class Node, class... Args> Node* make(Args&&... args); | |
ownSgNode* own(SgNode* node); | |
preparePublishvoid preparePublish(); | |
prepareRollbackvoid prepareRollback(SourceTypeConstruction& types); | |
publishvoid publish(); | |
publishTovoid publishTo(RecordNodeConstruction& target); | |
takevoid take(InlineExpressionConstruction& source); |
Static Member Functions¶
| Name |
|---|
forgetDeletedNodestatic void forgetDeletedNode(SgNode* node); |
forgetDeletedNodesstatic void forgetDeletedNodes(std::unordered_set<SgNode*> const& nodes); |
hasActiveTransactionstatic bool hasActiveTransaction(); |
publishAststatic void publishAst(InlineExpressionConstruction& source); |
Private Types¶
| Name |
|---|
PublicationFrame |
Private Type Aliases¶
| Name |
|---|
Owner |
Private Member Functions¶
| Name |
|---|
containsbool contains(SgNode* node) const; |
drainSymbolTablesvoid drainSymbolTables(); |
enrollChildrenvoid enrollChildren(SgNode* node); |
forEachNativeSymbolTabletemplate<class Action> void forEachNativeSymbolTable( SgNode* root, Action&& action); |
prepareTakevoid prepareTake(RecordNodeConstruction const& other); |
publicationTargetRecordNodeConstruction* publicationTarget() const; |
takevoid take(RecordNodeConstruction& other); |
takeAstvoid takeAst(InlineExpressionConstruction& source); |
Private Static Member Functions¶
| Name |
|---|
activePublicationstatic PublicationFrame*& activePublication(); |
activeTransactionstatic RecordNodeConstruction*& activeTransaction(); |
currentPublicationTargetstatic RecordNodeConstruction* currentPublicationTarget(RecordNodeConstruction const* exclude = nullptr); |
Private Data Members¶
| Name |
|---|
borrowed_ |
borrowed_parents_ |
deferred_ |
managed_types_ |
mapped_nodes_ |
owned_ |
owned_index_ |
prepared_ |
prepared_target_ |
previous_ |
publication_parent_ |
published_ |
transaction_ |
Friends¶
| Name | Description |
|---|---|
Rose::AstJson::RecordNodeConstructionScope |
Created with MrDocs