Skip to content

SgRangeBasedForStatement::SgRangeBasedForStatement

All overloads of SgRangeBasedForStatement::SgRangeBasedForStatement

Constructor

Synopsis

Declared in <src/frontend/SageIII/Cxx_Grammar.h> (not stored in Git)

SgRangeBasedForStatement(
    Sg_File_Info* startOfConstruct,
    SgVariableDeclaration* iterator_declaration,
    SgVariableDeclaration* range_declaration = nullptr,
    SgVariableDeclaration* begin_declaration = nullptr,
    SgVariableDeclaration* end_declaration = nullptr,
    SgExpression* not_equal_expression = nullptr,
    SgExpression* increment_expression = nullptr,
    SgStatement* loop_body = nullptr);

Parameters

Name Description
startOfConstruct The object to construct from
iterator_declaration This class represents the concept of a C or C++ variable declaration.
range_declaration This class represents the concept of a C or C++ variable declaration.
begin_declaration This class represents the concept of a C or C++ variable declaration.
end_declaration This class represents the concept of a C or C++ variable declaration.
not_equal_expression This class represents the notion of an expression. Expressions
increment_expression This class represents the notion of an expression. Expressions
loop_body This class represents the notion of a statement.

Created with MrDocs