Skip to content

SageInterface::setFortranNumericLabel

Set a numerical label for a Fortran statement in its exact program-unit label scope. SgLabelSymbol and SgLabelRefExp are created as needed.

Synopsis

Declared in <SageIII/sageInterface/sageInterface.h>

[[visibility("default")]]
void
setFortranNumericLabel(
    SgStatement* stmt,
    int label_value,
    SgLabelSymbol::label_type_enum label_type,
    SgScopeStatement* label_scope);

Parameters

Name Description
stmt This class represents the notion of a statement.
label_type Type of label used (fortran only)
label_scope This class represents the concept of a scope in C++ (e.g. global scope, fuction scope, etc.).

Created with MrDocs