Skip to content

Rose::AstJson::RecordNodeConstruction

Synopsis

Declared in <SageIII/astJson/sageAstJsonPrivate.h>

class RecordNodeConstruction;

Enums

Name
Publication

Member Functions

Name Description
RecordNodeConstruction
RecordNodeConstruction() = default; [constructor]
Constructors
~RecordNodeConstruction
~RecordNodeConstruction(); [destructor]
Destructor
borrow
void borrow(SgNode* node);
forEachSource
template<class Action> void forEachSource(Action&& action) const;
isBorrowed
bool isBorrowed(SgNode* node) const;
make
template< class Node, class... Args> Node* make(Args&&... args);
own
SgNode* own(SgNode* node);
preparePublish
void preparePublish();
prepareRollback
void prepareRollback(SourceTypeConstruction& types);
publish
void publish();
publishTo
void publishTo(RecordNodeConstruction& target);
take
void take(InlineExpressionConstruction& source);

Static Member Functions

Name
forgetDeletedNode
static void forgetDeletedNode(SgNode* node);
forgetDeletedNodes
static void forgetDeletedNodes(std::unordered_set<SgNode*> const& nodes);
hasActiveTransaction
static bool hasActiveTransaction();
publishAst
static void publishAst(InlineExpressionConstruction& source);

Private Types

Name
PublicationFrame

Private Type Aliases

Name
Owner

Private Member Functions

Name
contains
bool contains(SgNode* node) const;
drainSymbolTables
void drainSymbolTables();
enrollChildren
void enrollChildren(SgNode* node);
forEachNativeSymbolTable
template<class Action> void forEachNativeSymbolTable( SgNode* root, Action&& action);
prepareTake
void prepareTake(RecordNodeConstruction const& other);
publicationTarget
RecordNodeConstruction* publicationTarget() const;
take
void take(RecordNodeConstruction& other);
takeAst
void takeAst(InlineExpressionConstruction& source);

Private Static Member Functions

Name
activePublication
static PublicationFrame*& activePublication();
activeTransaction
static RecordNodeConstruction*& activeTransaction();
currentPublicationTarget
static 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