Skip to content

SageInterface::setFortranNumericLabel

Set a numerical label for a Fortran statement. The statement should have a enclosing function definition already. SgLabelSymbol and SgLabelRefExp are created transparently as needed.

Synopsis

Declared in <SageIII/sageInterface/sageInterface.h>

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

Parameters

Name

Description

stmt

This class represents the notion of a statement.

label_scope

This class represents the concept of a scope in C++ (e.g. global scope, fuction scope, etc.).

Created with MrDocs