Skip to content

LoopInterface::IsFortranLoop

Synopsis

Declared in <src/midend/astUtil/astSupport/AnalysisInterface.h>

virtual
bool
IsFortranLoop(
    AstInterface& __fa,
    AstNodePtr const& __fc,
    AstNodePtr* __ivar = 0,
    AstNodePtr* __start = 0,
    AstNodePtr* __stop = 0,
    AstNodePtr* __step = 0,
    AstNodePtr* __body = 0) const = 0;

Return Value

Whether the AST __fc is a Fortran‐style loop

Parameters

Name

Description

__fa

AST Interface to access __fc.

__fc

AST node to parse.

__ivar

Returns node holding iteration variable, if possible.

__start

Returns node holding initial value, if possible.

__stop

Returns node holding bound value, if possible.

__step

Returns node holding increment value, if possible.

__body

Returns node holding iteration body, if possible.

Created with MrDocs