Skip to content

SageInterface::lastStatementOfScopeWithTokenInfo

Used to support token unparsing (when the output the trailing token sequence).

Synopsis

Declared in <SageIII/sageInterface/sageInterface.h>

SgStatement*
lastStatementOfScopeWithTokenInfo(
    SgScopeStatement* scope,
    std::map<SgNode*, TokenStreamSequenceToNodeMapping*>& tokenStreamSequenceMap);

Return Value

This class represents the notion of a statement.

Parameters

Name

Description

scope

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

Created with MrDocs