Skip to content

SageInterface::promoteSemanticOnlyNodeToGeneratedOutput

Promote one exact semantic‐only frontend node that a transformation has rewritten into an independently emitted lexical node. The caller supplies the attached physical output owner explicitly; semantic descendants are not reclassified implicitly.

Synopsis

Declared in <SageIII/sageInterface/sageInterface.h>

[[visibility]]
void
promoteSemanticOnlyNodeToGeneratedOutput(
    SgLocatedNode* semanticNode,
    SgLocatedNode* exactOwner);

Parameters

Name

Description

semanticNode

This class represents the notion of an expression or statement which

exactOwner

This class represents the notion of an expression or statement which

Created with MrDocs