Skip to content

SageInterface::findContinueStmts

Find all continue statements inside a particular statement, stopping at nested loops Nested loops define their own contexts for continue statements. The function will stop immediately if run on a loop statement. If fortranLabel is non‐empty, continues (CYCLEs) to that label within nested loops are included in the returned list.

Synopsis

Declared in <SageIII/sageInterface/sageInterface.h>

std::vector<SgContinueStmt*>
findContinueStmts(
    SgStatement* code,
    std::string const& fortranLabel = "");

Return Value

A standard container which offers fixed time access to individual elements in any order.

Parameters

Name

Description

code

This class represents the notion of a statement.

Created with MrDocs