Skip to content

SageInterface::hasExactSemanticFrontendSourcePosition

Return whether one file‐info record is exact semantic‐only frontend provenance owned by semanticNode. A function declaration can additionally retain its typed physical source‐file association, and an exactly auxiliary‐owned declaration or definition can retain its complete frontend source coordinates, without either becoming a source‐emitted declaration.

Synopsis

Declared in <SageIII/sageInterface/sageInterface.h>

[[visibility]]
bool
hasExactSemanticFrontendSourcePosition(
    SgNode const* semanticNode,
    Sg_File_Info const* position);

Parameters

Name

Description

semanticNode

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

position

This class represents the location of the code associated with the IR node in the

Created with MrDocs