Skip to content

SageInterface::publishGeneratedSubtreeOutputOwner

Publish or validate the exact output owner for generated located nodes before a subtree crosses an attached AST mutation boundary. A physical owner publishes its exact file and occurrence. A semantic owner instead publishes detached transformation descendants as semantic‐only frontend structure and validates existing semantic descendants.

Synopsis

Declared in <SageIII/sageInterface/sageInterface.h>

[[visibility]]
void
publishGeneratedSubtreeOutputOwner(
    SgNode* generatedSubtree,
    SgLocatedNode* exactOwner);

Parameters

Name

Description

generatedSubtree

This class represents the base class for all IR nodes within Sage III.

exactOwner

This class represents the notion of an expression or statement which

Created with MrDocs